Skip to content

Add Debug Marker layer with Perfetto support - #9

Merged
olehkuznetsov merged 13 commits into
android-graphics:mainfrom
olehkuznetsov:debug-markers
Apr 15, 2026
Merged

olehkuznetsov merged 13 commits into
android-graphics:mainfrom
olehkuznetsov:debug-markers

Conversation

@olehkuznetsov

Copy link
Copy Markdown
  • Implements VK_LAYER_GOOGLE_DebugMarker to capture object names.
  • Forwards object names to Perfetto traces via TrackEvent.

Perfetto config:
data_sources: { config { name: "track_event" track_event_config { enabled_categories: "VulkanDebugMarker" } } }

- Implements VK_LAYER_GOOGLE_DebugMarker to capture object names.
- Forwards object names to Perfetto traces via TrackEvent.

Perfetto config:
data_sources: {
  config {
    name: "track_event"
    track_event_config {
      enabled_categories: "VulkanDebugMarker"
    }
  }
}

@emrekultursay emrekultursay left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thank you for adding this.

Comment thread layersvt/debug_marker.cpp
Comment thread layersvt/debug_marker.cpp
Comment thread layersvt/debug_marker.cpp Outdated
Comment thread layersvt/debug_marker.cpp
Comment thread layersvt/debug_marker_handwritten_functions.h Outdated
Comment thread layersvt/test/test_debugmarker.cpp Outdated
Comment thread layersvt/debug_marker.h Outdated
Comment thread layersvt/debug_marker.h Outdated
Comment thread layersvt/debug_marker.h Outdated
Comment thread layersvt/debug_marker_handwritten_functions.h
@emrekultursay

Copy link
Copy Markdown

Did you forget to git push?

@olehkuznetsov

Copy link
Copy Markdown
Author

Did you forget to git push?

Done

Comment thread layersvt/debug_marker.h
Comment thread layersvt/debug_marker.cpp
@olehkuznetsov
olehkuznetsov merged commit bbe4489 into android-graphics:main Apr 15, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants