mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Add non-View-dependent thread color getter.
This commit is contained in:
@@ -25,6 +25,7 @@ void TooltipNormalizedName( const char* name, const char* normalized );
|
||||
|
||||
static inline const char* ShortenZoneName( ShortenName type, const char* name ) { ImVec2 tsz = {}; return ShortenZoneName( type, name, tsz, 0 ); }
|
||||
|
||||
uint32_t GetThreadColor( uint64_t thread, int depth, bool dynamic );
|
||||
uint32_t GetPlotColor( const PlotData& plot, const Worker& worker );
|
||||
const char* FormatPlotValue( double val, PlotValueFormatting format );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user