summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorGravatar Subv2018-03-22 15:19:35 -0500
committerGravatar Subv2018-03-24 11:31:49 -0500
commit77fd0d47e70968bcbc87a3b5607cd29e6211f656 (patch)
tree54e91cede780bbd5bec2612547a61bdd799e36af /src/video_core/gpu.h
parentGPU: Added a method to unswizzle a texture without decoding it. (diff)
downloadyuzu-77fd0d47e70968bcbc87a3b5607cd29e6211f656.tar.gz
yuzu-77fd0d47e70968bcbc87a3b5607cd29e6211f656.tar.xz
yuzu-77fd0d47e70968bcbc87a3b5607cd29e6211f656.zip
Frontend: Ported the GPU breakpoints and surface viewer widgets from citra.
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index 206b3e05e..778b63218 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -13,6 +13,8 @@
13 13
14namespace Tegra { 14namespace Tegra {
15 15
16class DebugContext;
17
16/** 18/**
17 * Struct describing framebuffer configuration 19 * Struct describing framebuffer configuration
18 */ 20 */
@@ -66,6 +68,9 @@ public:
66 /// Processes a command list stored at the specified address in GPU memory. 68 /// Processes a command list stored at the specified address in GPU memory.
67 void ProcessCommandList(GPUVAddr address, u32 size); 69 void ProcessCommandList(GPUVAddr address, u32 size);
68 70
71 /// Returns a reference to the Maxwell3D GPU engine.
72 const Engines::Maxwell3D& Get3DEngine() const;
73
69 std::unique_ptr<MemoryManager> memory_manager; 74 std::unique_ptr<MemoryManager> memory_manager;
70 75
71 Engines::Maxwell3D& Maxwell3D() { 76 Engines::Maxwell3D& Maxwell3D() {