Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • libANGLE
  • renderer
  • vulkan
  • ImageVk.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Recycle dynamic buffer storage. · c773ab98
    Jamie Madill authored Jun 25, 2019
    This adds a free list to the dynamic buffer storage. Buffers are added
    to the free list when the retained buffers are released. They are taken
    from the free list when we allocate a new buffer. We only allocate
    a new buffer in the ring when we run out of free buffers. This reduces
    the amount of time we spend in allocation for frequent updates.
    
    Now that we're recycling buffers inside of DynamicBuffer we also need
    to be a bit more careful about when we allow ourselves to reuse them.
    If they're still in use by the GPU we should not try to modify them.
    
    Bug: angleproject:3082
    Change-Id: Ibee5a7e2fe4a17f4a2f7af6bc6bcce54bdc413c2
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1646548
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarTobin Ehlis <tobine@google.com>
    c773ab98
ImageVk.cpp 5.3 KB
EditWeb IDE
×

Replace ImageVk.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.