From ab4d7259ea101675082b42b89c534548c25ff1f3 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 31 Jan 2021 19:05:35 +0100 Subject: [PATCH] Display GPU context name in options menu. --- server/TracyView.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 70a48f40..70033f92 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -8458,6 +8458,12 @@ void View::DrawOptions() { 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 ) { ImGui::TreePush();