summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/main.cpp
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-05-18 17:52:22 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-12 12:10:52 +0200
commit6893732348c3689b094c2e9749f8eb9e877028b8 (patch)
tree915e207f2607b85d5a65c9cf08d3cdc360b0adbe /src/citra_qt/main.cpp
parentGPU debugger: Add functionality to inspect command lists. (diff)
downloadyuzu-6893732348c3689b094c2e9749f8eb9e877028b8.tar
yuzu-6893732348c3689b094c2e9749f8eb9e877028b8.tar.gz
yuzu-6893732348c3689b094c2e9749f8eb9e877028b8.tar.bz2
yuzu-6893732348c3689b094c2e9749f8eb9e877028b8.tar.lz
yuzu-6893732348c3689b094c2e9749f8eb9e877028b8.tar.xz
yuzu-6893732348c3689b094c2e9749f8eb9e877028b8.tar.zst
yuzu-6893732348c3689b094c2e9749f8eb9e877028b8.zip
Diffstat (limited to 'src/citra_qt/main.cpp')
-rw-r--r--src/citra_qt/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 79367c3ed..087716c01 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -20,6 +20,7 @@
#include "debugger/callstack.hxx"
#include "debugger/ramview.hxx"
#include "debugger/graphics.hxx"
+#include "debugger/graphics_cmdlists.hxx"
#include "core/system.h"
#include "core/loader.h"
@@ -52,11 +53,16 @@ GMainWindow::GMainWindow()
addDockWidget(Qt::RightDockWidgetArea, graphicsWidget);
callstackWidget->hide();
+ graphicsCommandsWidget = new GPUCommandListWidget(this);
+ addDockWidget(Qt::RightDockWidgetArea, graphicsCommandsWidget);
+ callstackWidget->hide();
+
QMenu* debug_menu = ui.menu_View->addMenu(tr("Debugging"));
debug_menu->addAction(disasmWidget->toggleViewAction());
debug_menu->addAction(registersWidget->toggleViewAction());
debug_menu->addAction(callstackWidget->toggleViewAction());
debug_menu->addAction(graphicsWidget->toggleViewAction());
+ debug_menu->addAction(graphicsCommandsWidget->toggleViewAction());
// Set default UI state
// geometry: 55% of the window contents are in the upper screen half, 45% in the lower half