Skip to content

layersvt: Key DebugMarker object names by device - #46

Open
olehkuznetsov wants to merge 1 commit into
android-graphics:pr-debugmarker-clock-pidfrom
olehkuznetsov:pr-debugmarker-device-key
Open

olehkuznetsov wants to merge 1 commit into
android-graphics:pr-debugmarker-clock-pidfrom
olehkuznetsov:pr-debugmarker-device-key

Conversation

@olehkuznetsov

Copy link
Copy Markdown

Non-dispatchable handles are only unique within their VkDevice, so
two devices in one process can return the same handle value. Naming
an object on one device overwrote the name of an unrelated object on
another, and the lost name was missing from later session replays.
Key stored names by device as well as object type and handle.

Bug:
Test: new tests - DebugMarkerTests#SameHandleOnDifferentDevicesTest
Change-Id: I8c0edd4d958451aebf1fbd17df1cb0cb6a6a6964

@olehkuznetsov
olehkuznetsov changed the base branch from main to pr-debugmarker-clock-pid October 15, 2026 16:06
@olehkuznetsov
olehkuznetsov force-pushed the pr-debugmarker-device-key branch from fd5e79b to 317d9f9 Compare October 19, 2026 09:12
Non-dispatchable handles are only unique within their VkDevice, so
two devices in one process can return the same handle value. Naming
an object on one device overwrote the name of an unrelated object on
another, and the lost name was missing from later session replays.
Key stored names by device as well as object type and handle.

Bug:
Test: new tests - DebugMarkerTests#SameHandleOnDifferentDevicesTest
Change-Id: I8c0edd4d958451aebf1fbd17df1cb0cb6a6a6964
@olehkuznetsov
olehkuznetsov force-pushed the pr-debugmarker-clock-pid branch from 6b4218f to 31f5e38 Compare October 19, 2026 09:18
@olehkuznetsov
olehkuznetsov force-pushed the pr-debugmarker-device-key branch from 317d9f9 to ce7f840 Compare October 19, 2026 09:18
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.

1 participant