Resource Usage UI changes

Add a column that shows the parent marker for the event range (by default the end event ID)
Add an option to prevent combining resource usage across markers (group by marker)
The tooltip for a resource usage entry contains the full marker path
This commit is contained in:
Jake Turner
2025-11-28 15:11:15 +13:00
parent 728ac77bf3
commit c2015de391
7 changed files with 187 additions and 24 deletions
+1 -1
View File
@@ -2392,7 +2392,7 @@ void TextureViewer::OpenResourceContextMenu(ResourceId id, bool input,
m_Ctx.GetResourceInspector()->Inspect(id);
});
CombineUsageEvents(m_Ctx, usage,
CombineUsageEvents(m_Ctx, usage, false,
[this, &contextMenu](uint32_t start, uint32_t end, ResourceUsage use) {
AddResourceUsageEntry(contextMenu, start, end, use);
});