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

Extract thread color getter.

This commit is contained in:
Bartosz Taudul
2019-09-11 18:34:48 +02:00
parent 9cd359f0b9
commit 00409b0b94
2 changed files with 11 additions and 6 deletions
+1
View File
@@ -154,6 +154,7 @@ private:
void HandleZoneViewMouse( int64_t timespan, const ImVec2& wpos, float w, double& pxns );
uint32_t GetThreadColor( uint64_t thread, int depth );
uint32_t GetZoneColor( const ZoneEvent& ev, uint64_t thread, int depth );
uint32_t GetZoneColor( const GpuEvent& ev );
uint32_t GetRawZoneColor( const ZoneEvent& ev, uint64_t thread, int depth );