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
  • ContextVk.cpp
Find file
BlameHistoryPermalink
  • Tobin Ehlis's avatar
    Vulkan:Migrate events and queries to secondary Cmd Buffer · 21c5af31
    Tobin Ehlis authored Apr 20, 2020
    Replace flushAndGetPrimaryCommandBuffer() function with
    endRenderPassAndGetCommandBuffer() for events and queries. The end
    result should be the same, but this allows a number of places that were
    putting commands directly into the primary to put the commands into
    ANGLE's custom SecondaryCommandBuffer (SCB) instead.
    
    This also fixes a couple of minor bugs related to command buffer
    ordering. flushAndBeginRenderPass() now flushes any outside
    RenderPass (RP) commands first. Also, when insideRP commands are
    flushed to the primary, set "mHasPrimaryCommands = true;"
    
    Bug: b/153666475
    Change-Id: I68413f25d27175afed0a20bc49f22f4c8d01e4fb
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2156932Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCharlie Lao <cclao@google.com>
    Commit-Queue: Tobin Ehlis <tobine@google.com>
    21c5af31
ContextVk.cpp 182 KB
EditWeb IDE
×

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