Add GPU index accessor.

This commit is contained in:
Bartosz Taudul 2022-09-04 13:52:17 +02:00
parent 9fdafb2ecc
commit 06d0989161
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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; }