mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 05:03:53 +00:00
Add thread color boxes to zone info windows.
This commit is contained in:
parent
ad2dd09c25
commit
12e2bcb691
@ -5356,6 +5356,8 @@ void View::DrawZoneInfoWindow()
|
||||
TextFocused( "Thread:", m_worker.GetThreadName( tid ) );
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "(%s)", RealToString( tid, true ) );
|
||||
ImGui::SameLine();
|
||||
SmallColorBox( GetThreadColor( tid, 0 ) );
|
||||
if( ev.text.active )
|
||||
{
|
||||
TextFocused( "User text:", m_worker.GetString( ev.text ) );
|
||||
@ -6125,6 +6127,8 @@ void View::DrawGpuInfoWindow()
|
||||
TextFocused( "Thread:", m_worker.GetThreadName( tid ) );
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "(%s)", RealToString( tid, true ) );
|
||||
ImGui::SameLine();
|
||||
SmallColorBox( GetThreadColor( tid, 0 ) );
|
||||
|
||||
ImGui::Separator();
|
||||
ImGui::BeginChild( "##gpuinfo" );
|
||||
|
Loading…
x
Reference in New Issue
Block a user