diff options
author | Subv <subv2112@gmail.com> | 2018-03-22 21:30:43 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-03-24 17:31:50 +0100 |
commit | 025d1113081c2630f453f6cdc837ae98398c9ba5 (patch) | |
tree | 252208adf93099d58cf1f92d7bd787794fe5efad /src | |
parent | GPU: Implement the Incoming/FinishedPrimitiveBatch debug breakpoints. (diff) | |
download | yuzu-025d1113081c2630f453f6cdc837ae98398c9ba5.tar yuzu-025d1113081c2630f453f6cdc837ae98398c9ba5.tar.gz yuzu-025d1113081c2630f453f6cdc837ae98398c9ba5.tar.bz2 yuzu-025d1113081c2630f453f6cdc837ae98398c9ba5.tar.lz yuzu-025d1113081c2630f453f6cdc837ae98398c9ba5.tar.xz yuzu-025d1113081c2630f453f6cdc837ae98398c9ba5.tar.zst yuzu-025d1113081c2630f453f6cdc837ae98398c9ba5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/main.cpp | 6 | ||||
-rw-r--r-- | src/yuzu/main.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 7b065ee7b..b8c23ae15 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -30,6 +30,7 @@ #include "yuzu/configuration/config.h" #include "yuzu/configuration/configure_dialog.h" #include "yuzu/debugger/graphics/graphics_breakpoints.h" +#include "yuzu/debugger/graphics/graphics_surface.h" #include "yuzu/debugger/profiler.h" #include "yuzu/debugger/registers.h" #include "yuzu/debugger/wait_tree.h" @@ -169,6 +170,11 @@ void GMainWindow::InitializeDebugWidgets() { graphicsBreakpointsWidget->hide(); debug_menu->addAction(graphicsBreakpointsWidget->toggleViewAction()); + graphicsSurfaceWidget = new GraphicsSurfaceWidget(Tegra::g_debug_context, this); + addDockWidget(Qt::RightDockWidgetArea, graphicsSurfaceWidget); + graphicsSurfaceWidget->hide(); + debug_menu->addAction(graphicsSurfaceWidget->toggleViewAction()); + waitTreeWidget = new WaitTreeWidget(this); addDockWidget(Qt::LeftDockWidgetArea, waitTreeWidget); waitTreeWidget->hide(); diff --git a/src/yuzu/main.h b/src/yuzu/main.h index 86528f5b0..0f89607c8 100644 --- a/src/yuzu/main.h +++ b/src/yuzu/main.h @@ -16,6 +16,7 @@ class EmuThread; class GameList; class GImageInfo; class GraphicsBreakPointsWidget; +class GraphicsSurfaceWidget; class GRenderWindow; class MicroProfileDialog; class ProfilerWidget; @@ -155,6 +156,7 @@ private: MicroProfileDialog* microProfileDialog; RegistersWidget* registersWidget; GraphicsBreakPointsWidget* graphicsBreakpointsWidget; + GraphicsSurfaceWidget* graphicsSurfaceWidget; WaitTreeWidget* waitTreeWidget; QAction* actions_recent_files[max_recent_files_item]; |