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
  • DebugAnnotatorVk.h
Find file
BlameHistoryPermalink
  • Ian Elliott's avatar
    Vulkan: Plumb OpenGL ES commands to AGI/debuggers · bc4ec4c1
    Ian Elliott authored Oct 05, 2020
    Use vkCmd*DebugUtilsLabelEXT() calls to delimit all GLES commands, and
    group them under GLES draw/dispatch calls.  Plumb calls from the EVENT
    macro (for every GL entrypoint) to vkCmd*DebugUtilsLabelEXT() via a
    newly-implemented DebugAnnotatorVk class.  Use a new dirty bit so that
    cached entrypoints are associated with a triggering draw/dispatch
    command.
    
    The DebugAnnotatorVk::beginEvent() method saves a string in a vector
    of all GL commands in ContextVk.  The dirty bit converts the strings
    into begin-end vkCmd*DebugUtilsLabelEXT() pairs.  The
    DebugAnnotatorVk::endEvent() method makes the final
    vkCmdEndDebugUtilsLabelEXT() call for a draw/dispatch command.
    
    Enable the OGL->VK mapping feature by setting
    "angle_enable_trace = true" in GN args.
    
    Bug: b/162068318
    Bug: b/169243237
    Change-Id: I61b6a8d113168c0ce578d6efd002d8a393659aba
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2451517Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Ian Elliott <ianelliott@google.com>
    bc4ec4c1
DebugAnnotatorVk.h 1.13 KB
EditWeb IDE
×

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