diff options
| author | 2015-02-11 22:17:46 +0100 | |
|---|---|---|
| committer | 2015-02-11 22:17:46 +0100 | |
| commit | f990728ad44246e5eca0e5ace32ea47f68e280c3 (patch) | |
| tree | 40b3e6837a25b8d7b8e269776df9553ad6e3bf41 /src/citra_qt/debugger/graphics_framebuffer.cpp | |
| parent | Merge pull request #558 from kevinhartman/gsp-writereg-mask (diff) | |
| parent | citra-qt: Add a vertex shader debugger. (diff) | |
| download | yuzu-f990728ad44246e5eca0e5ace32ea47f68e280c3.tar.gz yuzu-f990728ad44246e5eca0e5ace32ea47f68e280c3.tar.xz yuzu-f990728ad44246e5eca0e5ace32ea47f68e280c3.zip | |
Merge pull request #384 from neobrain/vertex_shader_debugger
Vertex shader debugger
Diffstat (limited to 'src/citra_qt/debugger/graphics_framebuffer.cpp')
| -rw-r--r-- | src/citra_qt/debugger/graphics_framebuffer.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/citra_qt/debugger/graphics_framebuffer.cpp b/src/citra_qt/debugger/graphics_framebuffer.cpp index 43c59738f..1ba60021f 100644 --- a/src/citra_qt/debugger/graphics_framebuffer.cpp +++ b/src/citra_qt/debugger/graphics_framebuffer.cpp | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | #include <QComboBox> | 6 | #include <QComboBox> |
| 7 | #include <QDebug> | 7 | #include <QDebug> |
| 8 | #include <QLabel> | 8 | #include <QLabel> |
| 9 | #include <QMetaType> | ||
| 10 | #include <QPushButton> | 9 | #include <QPushButton> |
| 11 | #include <QSpinBox> | 10 | #include <QSpinBox> |
| 12 | 11 | ||
| @@ -17,32 +16,6 @@ | |||
| 17 | 16 | ||
| 18 | #include "util/spinbox.h" | 17 | #include "util/spinbox.h" |
| 19 | 18 | ||
| 20 | BreakPointObserverDock::BreakPointObserverDock(std::shared_ptr<Pica::DebugContext> debug_context, | ||
| 21 | const QString& title, QWidget* parent) | ||
| 22 | : QDockWidget(title, parent), BreakPointObserver(debug_context) | ||
| 23 | { | ||
| 24 | qRegisterMetaType<Pica::DebugContext::Event>("Pica::DebugContext::Event"); | ||
| 25 | |||
| 26 | connect(this, SIGNAL(Resumed()), this, SLOT(OnResumed())); | ||
| 27 | |||
| 28 | // NOTE: This signal is emitted from a non-GUI thread, but connect() takes | ||
| 29 | // care of delaying its handling to the GUI thread. | ||
| 30 | connect(this, SIGNAL(BreakPointHit(Pica::DebugContext::Event,void*)), | ||
| 31 | this, SLOT(OnBreakPointHit(Pica::DebugContext::Event,void*)), | ||
| 32 | Qt::BlockingQueuedConnection); | ||
| 33 | } | ||
| 34 | |||
| 35 | void BreakPointObserverDock::OnPicaBreakPointHit(Pica::DebugContext::Event event, void* data) | ||
| 36 | { | ||
| 37 | emit BreakPointHit(event, data); | ||
| 38 | } | ||
| 39 | |||
| 40 | void BreakPointObserverDock::OnPicaResume() | ||
| 41 | { | ||
| 42 | emit Resumed(); | ||
| 43 | } | ||
| 44 | |||
| 45 | |||
| 46 | GraphicsFramebufferWidget::GraphicsFramebufferWidget(std::shared_ptr<Pica::DebugContext> debug_context, | 19 | GraphicsFramebufferWidget::GraphicsFramebufferWidget(std::shared_ptr<Pica::DebugContext> debug_context, |
| 47 | QWidget* parent) | 20 | QWidget* parent) |
| 48 | : BreakPointObserverDock(debug_context, tr("Pica Framebuffer"), parent), | 21 | : BreakPointObserverDock(debug_context, tr("Pica Framebuffer"), parent), |