1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 20:33:52 +00:00

Display GPU context name in options menu.

This commit is contained in:
Bartosz Taudul 2021-01-31 19:05:35 +01:00
parent f068a1d31f
commit ab4d7259ea

View File

@ -8458,6 +8458,12 @@ void View::DrawOptions()
{ {
ImGui::TextDisabled( "%s threads", RealToString( gpuData[i]->threadData.size() ) ); ImGui::TextDisabled( "%s threads", RealToString( gpuData[i]->threadData.size() ) );
} }
if( gpuData[i]->name.Active() )
{
ImGui::PushFont( m_smallFont );
TextFocused( "Name:", m_worker.GetString( gpuData[i]->name ) );
ImGui::PopFont();
}
if( !gpuData[i]->hasCalibration ) if( !gpuData[i]->hasCalibration )
{ {
ImGui::TreePush(); ImGui::TreePush();