From a33e70567bf75fafa47412e05d34d6b370e2f5b6 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 30 Nov 2017 15:34:52 +0100 Subject: [PATCH] Add GUI for GPU context hiding. --- server/TracyView.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index afa03654..1a11f0f6 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -3586,6 +3586,14 @@ void View::DrawOptions() const auto tw = ImGui::GetFontSize(); ImGui::Begin( "Options", &m_showOptions, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_ShowBorders ); ImGui::Checkbox( "Draw GPU zones", &m_drawGpuZones ); + ImGui::Indent( tw ); + for( size_t i=0; ivisible ); + } + ImGui::Unindent( tw ); ImGui::Checkbox( "Draw CPU zones", &m_drawZones ); int ns = (int)m_namespace; ImGui::Combo( "Namespaces", &ns, "Full\0Shortened\0None\0" );