Add inline callstack display to zone info window.

This commit is contained in:
Bartosz Taudul
2026-03-17 01:00:21 +01:00
parent 79d165190a
commit 94e5ff2cfb
@@ -1081,6 +1081,15 @@ void View::DrawZoneInfoWindow()
}
}
if( m_worker.HasZoneExtra( ev ) && m_worker.GetZoneExtra( ev ).callstack.Val() != 0 )
{
if( ImGui::TreeNode( "Call stack" ) )
{
DrawCallstackTable( m_worker.GetZoneExtra( ev ).callstack.Val(), false );
ImGui::TreePop();
}
}
ImGui::EndChild();
}
ImGui::End();
@@ -1545,6 +1554,15 @@ void View::DrawGpuInfoWindow()
}
}
if( ev.callstack.Val() != 0 )
{
if( ImGui::TreeNode( "Call stack" ) )
{
DrawCallstackTable( ev.callstack.Val(), false );
ImGui::TreePop();
}
}
ImGui::EndChild();
}
ImGui::End();