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
  • SecondaryCommandBuffer.h
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Move CommandBuffer management to RendererVk. · f19a4a20
    Jamie Madill authored Nov 08, 2020
    This consolidates all relevant logic in a single place.
    We no longer need to interact with ContextVk in the worker thread.
    
    This switches the fixed pointer array size to a dynamically sized
    vector. Some of the EGL and ANGLE tests would use a large number of
    Contexts and we were consistently running out of available command
    buffers which would cause a deadlock situation. We can trust other
    parts of the code to throttle the application if it starts to get
    too far ahead of the device and dispense with the hard coded limit
    in the command buffer allocator itself. The resulting code is also
    quite a bit simpler and doesn't need a condition variable.
    
    Also fixes missing initialization in SecondaryCommandBuffer.
    
    Bug: b/172704839
    Change-Id: Icc3a3daf5d6b272db556c0e4c93fb793583966a5
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2525143
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
    f19a4a20
SecondaryCommandBuffer.h 55.4 KB
EditWeb IDE
×

Replace SecondaryCommandBuffer.h

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.