1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Extract color highlight functionality.

This commit is contained in:
Bartosz Taudul
2019-09-11 18:52:25 +02:00
parent 0850145811
commit 8ddafe4153
2 changed files with 10 additions and 5 deletions
+1
View File
@@ -159,6 +159,7 @@ private:
uint32_t GetZoneColor( const GpuEvent& ev );
uint32_t GetRawZoneColor( const ZoneEvent& ev, uint64_t thread, int depth );
uint32_t GetRawZoneColor( const GpuEvent& ev );
uint32_t HighlightColor( uint32_t color );
uint32_t GetZoneHighlight( const ZoneEvent& ev, uint64_t thread, int depth );
uint32_t GetZoneHighlight( const GpuEvent& ev );
float GetZoneThickness( const ZoneEvent& ev );