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.cpp
Find file
BlameHistoryPermalink
  • Tobin Ehlis's avatar
    Vulkan: Migrate trace events and occlusion queries · 428e4415
    Tobin Ehlis authored Apr 27, 2020
    Moved GPU trace event and occlusion query commands that were on the
    primary command buffer to the SecondaryCommandBuffer (SCB). Putting
    these commands on outside render pass SCB and flushing those commands
    to primary on-demand as needed to maintain ordering of commands.
    
    For resetQueryPool command used by occlusion query, allow the SCB
    to queue up that command for inside RenderPass SCB. This avoids
    ending a renderPass prematurely and allows all outstanding reset
    commands to be executed before the beginRenderPass command since
    the resets must occur outside of a renderPass.
    
    This is groundwork to simplify the hand-off of SCBs from the main
    thread to a worker thread. Long-term we'd like a single SCB that
    can handle both inside and outside renderPass commands at the same
    time to pass to the worker thread for processing into a primary CB.
    
    Bug: b/154030403
    Bug: angleproject:4603
    Change-Id: Ic1023ae27a9b14435743549ea9933edf1c4b318b
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2168114Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
    Reviewed-by: 's avatarCharlie Lao <cclao@google.com>
    Commit-Queue: Tobin Ehlis <tobine@google.com>
    428e4415
SecondaryCommandBuffer.cpp 29 KB
EditWeb IDE
×

Replace SecondaryCommandBuffer.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.