[GPU] Translucent trace viewer controls

This commit is contained in:
Triang3l
2022-07-17 17:29:41 +03:00
parent 273a489e2a
commit e8652e544a
2 changed files with 9 additions and 0 deletions

View File

@@ -95,6 +95,11 @@ class TraceViewer : public xe::ui::WindowedApp {
kHostDisasm,
};
// Same as for Dear ImGui tooltips. Windows are translucent as the controls
// may take a pretty large fraction of the screen, especially on small
// screens, so the image from the guest can be seen through them.
static constexpr float kWindowBgAlpha = 0.6f;
bool Load(const std::string_view trace_file_path);
void DrawUI();