summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2016-12-21 23:26:04 -0500
committerGravatar GitHub2016-12-21 23:26:04 -0500
commit067e15d3486207f2233f739f260471f66415f05d (patch)
treec7eb1050f664df4aad518c55b6648807b0cef2db
parentMerge pull request #2319 from yuriks/profile-scopes (diff)
parentcitra-qt: Move graphics debugging code into its own folder (diff)
downloadyuzu-067e15d3486207f2233f739f260471f66415f05d.tar.gz
yuzu-067e15d3486207f2233f739f260471f66415f05d.tar.xz
yuzu-067e15d3486207f2233f739f260471f66415f05d.zip
Merge pull request #2362 from lioncash/graphics
citra-qt: Move graphics debugging code into its own folder
-rw-r--r--src/citra_qt/CMakeLists.txt30
-rw-r--r--src/citra_qt/debugger/graphics/graphics.cpp (renamed from src/citra_qt/debugger/graphics.cpp)2
-rw-r--r--src/citra_qt/debugger/graphics/graphics.h (renamed from src/citra_qt/debugger/graphics.h)0
-rw-r--r--src/citra_qt/debugger/graphics/graphics_breakpoint_observer.cpp (renamed from src/citra_qt/debugger/graphics_breakpoint_observer.cpp)2
-rw-r--r--src/citra_qt/debugger/graphics/graphics_breakpoint_observer.h (renamed from src/citra_qt/debugger/graphics_breakpoint_observer.h)0
-rw-r--r--src/citra_qt/debugger/graphics/graphics_breakpoints.cpp (renamed from src/citra_qt/debugger/graphics_breakpoints.cpp)4
-rw-r--r--src/citra_qt/debugger/graphics/graphics_breakpoints.h (renamed from src/citra_qt/debugger/graphics_breakpoints.h)0
-rw-r--r--src/citra_qt/debugger/graphics/graphics_breakpoints_p.h (renamed from src/citra_qt/debugger/graphics_breakpoints_p.h)0
-rw-r--r--src/citra_qt/debugger/graphics/graphics_cmdlists.cpp (renamed from src/citra_qt/debugger/graphics_cmdlists.cpp)2
-rw-r--r--src/citra_qt/debugger/graphics/graphics_cmdlists.h (renamed from src/citra_qt/debugger/graphics_cmdlists.h)0
-rw-r--r--src/citra_qt/debugger/graphics/graphics_surface.cpp (renamed from src/citra_qt/debugger/graphics_surface.cpp)2
-rw-r--r--src/citra_qt/debugger/graphics/graphics_surface.h (renamed from src/citra_qt/debugger/graphics_surface.h)2
-rw-r--r--src/citra_qt/debugger/graphics/graphics_tracing.cpp (renamed from src/citra_qt/debugger/graphics_tracing.cpp)2
-rw-r--r--src/citra_qt/debugger/graphics/graphics_tracing.h (renamed from src/citra_qt/debugger/graphics_tracing.h)2
-rw-r--r--src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp (renamed from src/citra_qt/debugger/graphics_vertex_shader.cpp)2
-rw-r--r--src/citra_qt/debugger/graphics/graphics_vertex_shader.h (renamed from src/citra_qt/debugger/graphics_vertex_shader.h)2
-rw-r--r--src/citra_qt/main.cpp12
17 files changed, 32 insertions, 32 deletions
diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt
index e1b3566bf..93f1c339d 100644
--- a/src/citra_qt/CMakeLists.txt
+++ b/src/citra_qt/CMakeLists.txt
@@ -6,13 +6,13 @@ set(SRCS
6 config.cpp 6 config.cpp
7 debugger/callstack.cpp 7 debugger/callstack.cpp
8 debugger/disassembler.cpp 8 debugger/disassembler.cpp
9 debugger/graphics.cpp 9 debugger/graphics/graphics.cpp
10 debugger/graphics_breakpoint_observer.cpp 10 debugger/graphics/graphics_breakpoint_observer.cpp
11 debugger/graphics_breakpoints.cpp 11 debugger/graphics/graphics_breakpoints.cpp
12 debugger/graphics_cmdlists.cpp 12 debugger/graphics/graphics_cmdlists.cpp
13 debugger/graphics_surface.cpp 13 debugger/graphics/graphics_surface.cpp
14 debugger/graphics_tracing.cpp 14 debugger/graphics/graphics_tracing.cpp
15 debugger/graphics_vertex_shader.cpp 15 debugger/graphics/graphics_vertex_shader.cpp
16 debugger/profiler.cpp 16 debugger/profiler.cpp
17 debugger/ramview.cpp 17 debugger/ramview.cpp
18 debugger/registers.cpp 18 debugger/registers.cpp
@@ -39,14 +39,14 @@ set(HEADERS
39 config.h 39 config.h
40 debugger/callstack.h 40 debugger/callstack.h
41 debugger/disassembler.h 41 debugger/disassembler.h
42 debugger/graphics.h 42 debugger/graphics/graphics.h
43 debugger/graphics_breakpoint_observer.h 43 debugger/graphics/graphics_breakpoint_observer.h
44 debugger/graphics_breakpoints.h 44 debugger/graphics/graphics_breakpoints.h
45 debugger/graphics_breakpoints_p.h 45 debugger/graphics/graphics_breakpoints_p.h
46 debugger/graphics_cmdlists.h 46 debugger/graphics/graphics_cmdlists.h
47 debugger/graphics_surface.h 47 debugger/graphics/graphics_surface.h
48 debugger/graphics_tracing.h 48 debugger/graphics/graphics_tracing.h
49 debugger/graphics_vertex_shader.h 49 debugger/graphics/graphics_vertex_shader.h
50 debugger/profiler.h 50 debugger/profiler.h
51 debugger/ramview.h 51 debugger/ramview.h
52 debugger/registers.h 52 debugger/registers.h
diff --git a/src/citra_qt/debugger/graphics.cpp b/src/citra_qt/debugger/graphics/graphics.cpp
index ef337827a..6a76adeae 100644
--- a/src/citra_qt/debugger/graphics.cpp
+++ b/src/citra_qt/debugger/graphics/graphics.cpp
@@ -3,7 +3,7 @@
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include <QListView> 5#include <QListView>
6#include "citra_qt/debugger/graphics.h" 6#include "citra_qt/debugger/graphics/graphics.h"
7#include "citra_qt/util/util.h" 7#include "citra_qt/util/util.h"
8 8
9extern GraphicsDebugger g_debugger; 9extern GraphicsDebugger g_debugger;
diff --git a/src/citra_qt/debugger/graphics.h b/src/citra_qt/debugger/graphics/graphics.h
index 8837fb792..8837fb792 100644
--- a/src/citra_qt/debugger/graphics.h
+++ b/src/citra_qt/debugger/graphics/graphics.h
diff --git a/src/citra_qt/debugger/graphics_breakpoint_observer.cpp b/src/citra_qt/debugger/graphics/graphics_breakpoint_observer.cpp
index e01d3440e..dc6070dea 100644
--- a/src/citra_qt/debugger/graphics_breakpoint_observer.cpp
+++ b/src/citra_qt/debugger/graphics/graphics_breakpoint_observer.cpp
@@ -3,7 +3,7 @@
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include <QMetaType> 5#include <QMetaType>
6#include "citra_qt/debugger/graphics_breakpoint_observer.h" 6#include "citra_qt/debugger/graphics/graphics_breakpoint_observer.h"
7 7
8BreakPointObserverDock::BreakPointObserverDock(std::shared_ptr<Pica::DebugContext> debug_context, 8BreakPointObserverDock::BreakPointObserverDock(std::shared_ptr<Pica::DebugContext> debug_context,
9 const QString& title, QWidget* parent) 9 const QString& title, QWidget* parent)
diff --git a/src/citra_qt/debugger/graphics_breakpoint_observer.h b/src/citra_qt/debugger/graphics/graphics_breakpoint_observer.h
index e77df4f5b..e77df4f5b 100644
--- a/src/citra_qt/debugger/graphics_breakpoint_observer.h
+++ b/src/citra_qt/debugger/graphics/graphics_breakpoint_observer.h
diff --git a/src/citra_qt/debugger/graphics_breakpoints.cpp b/src/citra_qt/debugger/graphics/graphics_breakpoints.cpp
index d2a036dfa..030828ba8 100644
--- a/src/citra_qt/debugger/graphics_breakpoints.cpp
+++ b/src/citra_qt/debugger/graphics/graphics_breakpoints.cpp
@@ -7,8 +7,8 @@
7#include <QPushButton> 7#include <QPushButton>
8#include <QTreeView> 8#include <QTreeView>
9#include <QVBoxLayout> 9#include <QVBoxLayout>
10#include "citra_qt/debugger/graphics_breakpoints.h" 10#include "citra_qt/debugger/graphics/graphics_breakpoints.h"
11#include "citra_qt/debugger/graphics_breakpoints_p.h" 11#include "citra_qt/debugger/graphics/graphics_breakpoints_p.h"
12#include "common/assert.h" 12#include "common/assert.h"
13 13
14BreakPointModel::BreakPointModel(std::shared_ptr<Pica::DebugContext> debug_context, QObject* parent) 14BreakPointModel::BreakPointModel(std::shared_ptr<Pica::DebugContext> debug_context, QObject* parent)
diff --git a/src/citra_qt/debugger/graphics_breakpoints.h b/src/citra_qt/debugger/graphics/graphics_breakpoints.h
index bec72a2db..bec72a2db 100644
--- a/src/citra_qt/debugger/graphics_breakpoints.h
+++ b/src/citra_qt/debugger/graphics/graphics_breakpoints.h
diff --git a/src/citra_qt/debugger/graphics_breakpoints_p.h b/src/citra_qt/debugger/graphics/graphics_breakpoints_p.h
index dc64706bd..dc64706bd 100644
--- a/src/citra_qt/debugger/graphics_breakpoints_p.h
+++ b/src/citra_qt/debugger/graphics/graphics_breakpoints_p.h
diff --git a/src/citra_qt/debugger/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics/graphics_cmdlists.cpp
index 98b619dea..dab529e3a 100644
--- a/src/citra_qt/debugger/graphics_cmdlists.cpp
+++ b/src/citra_qt/debugger/graphics/graphics_cmdlists.cpp
@@ -13,7 +13,7 @@
13#include <QSpinBox> 13#include <QSpinBox>
14#include <QTreeView> 14#include <QTreeView>
15#include <QVBoxLayout> 15#include <QVBoxLayout>
16#include "citra_qt/debugger/graphics_cmdlists.h" 16#include "citra_qt/debugger/graphics/graphics_cmdlists.h"
17#include "citra_qt/util/spinbox.h" 17#include "citra_qt/util/spinbox.h"
18#include "citra_qt/util/util.h" 18#include "citra_qt/util/util.h"
19#include "common/vector_math.h" 19#include "common/vector_math.h"
diff --git a/src/citra_qt/debugger/graphics_cmdlists.h b/src/citra_qt/debugger/graphics/graphics_cmdlists.h
index 8f40b94c5..8f40b94c5 100644
--- a/src/citra_qt/debugger/graphics_cmdlists.h
+++ b/src/citra_qt/debugger/graphics/graphics_cmdlists.h
diff --git a/src/citra_qt/debugger/graphics_surface.cpp b/src/citra_qt/debugger/graphics/graphics_surface.cpp
index 906daaa50..4efd95d3c 100644
--- a/src/citra_qt/debugger/graphics_surface.cpp
+++ b/src/citra_qt/debugger/graphics/graphics_surface.cpp
@@ -11,7 +11,7 @@
11#include <QPushButton> 11#include <QPushButton>
12#include <QScrollArea> 12#include <QScrollArea>
13#include <QSpinBox> 13#include <QSpinBox>
14#include "citra_qt/debugger/graphics_surface.h" 14#include "citra_qt/debugger/graphics/graphics_surface.h"
15#include "citra_qt/util/spinbox.h" 15#include "citra_qt/util/spinbox.h"
16#include "common/color.h" 16#include "common/color.h"
17#include "core/hw/gpu.h" 17#include "core/hw/gpu.h"
diff --git a/src/citra_qt/debugger/graphics_surface.h b/src/citra_qt/debugger/graphics/graphics_surface.h
index 19ffb55fb..28f5650a7 100644
--- a/src/citra_qt/debugger/graphics_surface.h
+++ b/src/citra_qt/debugger/graphics/graphics_surface.h
@@ -6,7 +6,7 @@
6 6
7#include <QLabel> 7#include <QLabel>
8#include <QPushButton> 8#include <QPushButton>
9#include "citra_qt/debugger/graphics_breakpoint_observer.h" 9#include "citra_qt/debugger/graphics/graphics_breakpoint_observer.h"
10 10
11class QComboBox; 11class QComboBox;
12class QSpinBox; 12class QSpinBox;
diff --git a/src/citra_qt/debugger/graphics_tracing.cpp b/src/citra_qt/debugger/graphics/graphics_tracing.cpp
index 5c6b74034..716ed50b8 100644
--- a/src/citra_qt/debugger/graphics_tracing.cpp
+++ b/src/citra_qt/debugger/graphics/graphics_tracing.cpp
@@ -12,7 +12,7 @@
12#include <QMessageBox> 12#include <QMessageBox>
13#include <QPushButton> 13#include <QPushButton>
14#include <boost/range/algorithm/copy.hpp> 14#include <boost/range/algorithm/copy.hpp>
15#include "citra_qt/debugger/graphics_tracing.h" 15#include "citra_qt/debugger/graphics/graphics_tracing.h"
16#include "common/common_types.h" 16#include "common/common_types.h"
17#include "core/hw/gpu.h" 17#include "core/hw/gpu.h"
18#include "core/hw/lcd.h" 18#include "core/hw/lcd.h"
diff --git a/src/citra_qt/debugger/graphics_tracing.h b/src/citra_qt/debugger/graphics/graphics_tracing.h
index 20acc91e7..3f73bcd2e 100644
--- a/src/citra_qt/debugger/graphics_tracing.h
+++ b/src/citra_qt/debugger/graphics/graphics_tracing.h
@@ -4,7 +4,7 @@
4 4
5#pragma once 5#pragma once
6 6
7#include "citra_qt/debugger/graphics_breakpoint_observer.h" 7#include "citra_qt/debugger/graphics/graphics_breakpoint_observer.h"
8 8
9class EmuThread; 9class EmuThread;
10 10
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp
index 96b40db1e..b75b94ef8 100644
--- a/src/citra_qt/debugger/graphics_vertex_shader.cpp
+++ b/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp
@@ -14,7 +14,7 @@
14#include <QSignalMapper> 14#include <QSignalMapper>
15#include <QSpinBox> 15#include <QSpinBox>
16#include <QTreeView> 16#include <QTreeView>
17#include "citra_qt/debugger/graphics_vertex_shader.h" 17#include "citra_qt/debugger/graphics/graphics_vertex_shader.h"
18#include "citra_qt/util/util.h" 18#include "citra_qt/util/util.h"
19#include "video_core/pica.h" 19#include "video_core/pica.h"
20#include "video_core/pica_state.h" 20#include "video_core/pica_state.h"
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.h b/src/citra_qt/debugger/graphics/graphics_vertex_shader.h
index 6e62fbb9b..bedea0bed 100644
--- a/src/citra_qt/debugger/graphics_vertex_shader.h
+++ b/src/citra_qt/debugger/graphics/graphics_vertex_shader.h
@@ -6,7 +6,7 @@
6 6
7#include <QAbstractTableModel> 7#include <QAbstractTableModel>
8#include <QTreeView> 8#include <QTreeView>
9#include "citra_qt/debugger/graphics_breakpoint_observer.h" 9#include "citra_qt/debugger/graphics/graphics_breakpoint_observer.h"
10#include "nihstro/parser_shbin.h" 10#include "nihstro/parser_shbin.h"
11#include "video_core/shader/shader.h" 11#include "video_core/shader/shader.h"
12 12
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 4486f0870..e16d3196c 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -17,12 +17,12 @@
17#include "citra_qt/configure_dialog.h" 17#include "citra_qt/configure_dialog.h"
18#include "citra_qt/debugger/callstack.h" 18#include "citra_qt/debugger/callstack.h"
19#include "citra_qt/debugger/disassembler.h" 19#include "citra_qt/debugger/disassembler.h"
20#include "citra_qt/debugger/graphics.h" 20#include "citra_qt/debugger/graphics/graphics.h"
21#include "citra_qt/debugger/graphics_breakpoints.h" 21#include "citra_qt/debugger/graphics/graphics_breakpoints.h"
22#include "citra_qt/debugger/graphics_cmdlists.h" 22#include "citra_qt/debugger/graphics/graphics_cmdlists.h"
23#include "citra_qt/debugger/graphics_surface.h" 23#include "citra_qt/debugger/graphics/graphics_surface.h"
24#include "citra_qt/debugger/graphics_tracing.h" 24#include "citra_qt/debugger/graphics/graphics_tracing.h"
25#include "citra_qt/debugger/graphics_vertex_shader.h" 25#include "citra_qt/debugger/graphics/graphics_vertex_shader.h"
26#include "citra_qt/debugger/profiler.h" 26#include "citra_qt/debugger/profiler.h"
27#include "citra_qt/debugger/ramview.h" 27#include "citra_qt/debugger/ramview.h"
28#include "citra_qt/debugger/registers.h" 28#include "citra_qt/debugger/registers.h"