mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +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:
|
public:
|
||||||
TimelineItemGpu( View& view, Worker& worker, GpuCtxData* gpu );
|
TimelineItemGpu( View& view, Worker& worker, GpuCtxData* gpu );
|
||||||
|
|
||||||
|
int GetIdx() const { return m_idx; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
uint32_t HeaderColor() const override { return 0xFFFFAAAA; }
|
uint32_t HeaderColor() const override { return 0xFFFFAAAA; }
|
||||||
uint32_t HeaderColorInactive() const override { return 0xFF886666; }
|
uint32_t HeaderColorInactive() const override { return 0xFF886666; }
|
||||||
|
Loading…
Reference in New Issue
Block a user