summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger/graphics_cmdlists.hxx
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-08-24 14:39:52 +0200
committerTony Wasserka <NeoBrainX@gmail.com>2014-12-09 16:37:34 +0100
commitfd194d95b0f1522b970a2b77f9ea490fb8c3ef08 (patch)
tree61e8f33ae8c83dadc48271b8b872949791637dae /src/citra_qt/debugger/graphics_cmdlists.hxx
parentAdd GUI widget for controlling pica breakpoints. (diff)
downloadyuzu-fd194d95b0f1522b970a2b77f9ea490fb8c3ef08.tar
yuzu-fd194d95b0f1522b970a2b77f9ea490fb8c3ef08.tar.gz
yuzu-fd194d95b0f1522b970a2b77f9ea490fb8c3ef08.tar.bz2
yuzu-fd194d95b0f1522b970a2b77f9ea490fb8c3ef08.tar.lz
yuzu-fd194d95b0f1522b970a2b77f9ea490fb8c3ef08.tar.xz
yuzu-fd194d95b0f1522b970a2b77f9ea490fb8c3ef08.tar.zst
yuzu-fd194d95b0f1522b970a2b77f9ea490fb8c3ef08.zip
Diffstat (limited to 'src/citra_qt/debugger/graphics_cmdlists.hxx')
-rw-r--r--src/citra_qt/debugger/graphics_cmdlists.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/citra_qt/debugger/graphics_cmdlists.hxx b/src/citra_qt/debugger/graphics_cmdlists.hxx
index 31bd2546d..37fe19053 100644
--- a/src/citra_qt/debugger/graphics_cmdlists.hxx
+++ b/src/citra_qt/debugger/graphics_cmdlists.hxx
@@ -11,12 +11,17 @@
#include "video_core/debug_utils/debug_utils.h"
class QPushButton;
+class QTreeView;
class GPUCommandListModel : public QAbstractListModel
{
Q_OBJECT
public:
+ enum {
+ CommandIdRole = Qt::UserRole,
+ };
+
GPUCommandListModel(QObject* parent);
int columnCount(const QModelIndex& parent = QModelIndex()) const override;
@@ -40,6 +45,7 @@ public:
public slots:
void OnToggleTracing();
+ void SetCommandInfo(const QModelIndex&);
signals:
void TracingFinished(const Pica::DebugUtils::PicaTrace&);
@@ -47,5 +53,7 @@ signals:
private:
std::unique_ptr<Pica::DebugUtils::PicaTrace> pica_trace;
+ QTreeView* list_widget;
+ QWidget* command_info_widget;
QPushButton* toggle_tracing;
};