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: Add debug label commands to SecondaryCommandBuffer · 45bb2b9c
    Tobin Ehlis authored Apr 22, 2020
    Add begin/end/insert DebugUtilsLabel commands to SecondaryCommandBuffer.
    Switch use of these commands to the outside renderpass command buffer
    instead of directly in the primary command buffer.
    
    This change should maintain the exact same sequence of commands but
    avoids some direct use of the primary command buffer. This is
    desirable for the threaded refactor where a worker thread will
    process the SecondaryCommandBuffer into a primary and the main
    thread will no longer use the primary command buffer directly.
    
    Note that because the debug utils label has an arbitrarily long
    string that we need to adjust the command allocation to allow for
    the string size exceeding the default allocation size. In this case
    we just make a single larger allocation to accommodate the command
    with the large string.
    
    Bug: b/154030403
    Change-Id: Iab7832ffc3d38ce168da2d624bd5b5d5b33ec11b
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2161955
    Commit-Queue: Tobin Ehlis <tobine@google.com>
    Reviewed-by: 's avatarCharlie Lao <cclao@google.com>
    45bb2b9c
ContextVk.cpp 183 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.