mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Add GPU index accessor.
This commit is contained in:
parent
9fdafb2ecc
commit
06d0989161
@ -12,6 +12,8 @@ class TimelineItemGpu final : public TimelineItem
|
||||
public:
|
||||
TimelineItemGpu( View& view, Worker& worker, GpuCtxData* gpu );
|
||||
|
||||
int GetIdx() const { return m_idx; }
|
||||
|
||||
protected:
|
||||
uint32_t HeaderColor() const override { return 0xFFFFAAAA; }
|
||||
uint32_t HeaderColorInactive() const override { return 0xFF886666; }
|
||||
|
Loading…
Reference in New Issue
Block a user