mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
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:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user