summaryrefslogtreecommitdiff
path: root/src/citra_qt/debugger/graphics_breakpoints.cpp
diff options
context:
space:
mode:
authorGravatar Subv2015-07-22 18:20:54 -0500
committerGravatar Subv2015-07-23 11:47:34 -0500
commit6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0 (patch)
tree5e8a1e33d8697550fc7a8eee76755be4bd65015a /src/citra_qt/debugger/graphics_breakpoints.cpp
parentMerge pull request #968 from Subv/texture_filtering (diff)
downloadyuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar.gz
yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar.xz
yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.zip
Qt/GPU Breakpoints: Added three more breakpoint types:
* IncomingDisplayTransfer: Triggered just before a display transfer is performed. * GSPCommandProcessed: Triggered right after a GSP command is processed. * BufferSwapped: Triggered when the frames flip
Diffstat (limited to 'src/citra_qt/debugger/graphics_breakpoints.cpp')
-rw-r--r--src/citra_qt/debugger/graphics_breakpoints.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/citra_qt/debugger/graphics_breakpoints.cpp b/src/citra_qt/debugger/graphics_breakpoints.cpp
index 1da64f616..4606c01f2 100644
--- a/src/citra_qt/debugger/graphics_breakpoints.cpp
+++ b/src/citra_qt/debugger/graphics_breakpoints.cpp
@@ -42,11 +42,14 @@ QVariant BreakPointModel::data(const QModelIndex& index, int role) const
42 case 0: 42 case 0:
43 { 43 {
44 static const std::map<Pica::DebugContext::Event, QString> map = { 44 static const std::map<Pica::DebugContext::Event, QString> map = {
45 { Pica::DebugContext::Event::CommandLoaded, tr("Pica command loaded") }, 45 { Pica::DebugContext::Event::PicaCommandLoaded, tr("Pica command loaded") },
46 { Pica::DebugContext::Event::CommandProcessed, tr("Pica command processed") }, 46 { Pica::DebugContext::Event::PicaCommandProcessed, tr("Pica command processed") },
47 { Pica::DebugContext::Event::IncomingPrimitiveBatch, tr("Incoming primitive batch") }, 47 { Pica::DebugContext::Event::IncomingPrimitiveBatch, tr("Incoming primitive batch") },
48 { Pica::DebugContext::Event::FinishedPrimitiveBatch, tr("Finished primitive batch") }, 48 { Pica::DebugContext::Event::FinishedPrimitiveBatch, tr("Finished primitive batch") },
49 { Pica::DebugContext::Event::VertexLoaded, tr("Vertex loaded") } 49 { Pica::DebugContext::Event::VertexLoaded, tr("Vertex loaded") },
50 { Pica::DebugContext::Event::IncomingDisplayTransfer, tr("Incoming display transfer") },
51 { Pica::DebugContext::Event::GSPCommandProcessed, tr("GSP command processed") },
52 { Pica::DebugContext::Event::BufferSwapped, tr("Buffers swapped") }
50 }; 53 };
51 54
52 DEBUG_ASSERT(map.size() == static_cast<size_t>(Pica::DebugContext::Event::NumEvents)); 55 DEBUG_ASSERT(map.size() == static_cast<size_t>(Pica::DebugContext::Event::NumEvents));