summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/gpu_thread.h')
-rw-r--r--src/video_core/gpu_thread.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h
index c71a419c7..90bcb5958 100644
--- a/src/video_core/gpu_thread.h
+++ b/src/video_core/gpu_thread.h
@@ -77,16 +77,12 @@ struct FlushAndInvalidateRegionCommand final {
77 u64 size; 77 u64 size;
78}; 78};
79 79
80/// Command called within the gpu, to schedule actions after a command list end
81struct OnCommandListEndCommand final {};
82
83/// Command to make the gpu look into pending requests 80/// Command to make the gpu look into pending requests
84struct GPUTickCommand final {}; 81struct GPUTickCommand final {};
85 82
86using CommandData = 83using CommandData =
87 std::variant<std::monostate, SubmitListCommand, SwapBuffersCommand, FlushRegionCommand, 84 std::variant<std::monostate, SubmitListCommand, SwapBuffersCommand, FlushRegionCommand,
88 InvalidateRegionCommand, FlushAndInvalidateRegionCommand, OnCommandListEndCommand, 85 InvalidateRegionCommand, FlushAndInvalidateRegionCommand, GPUTickCommand>;
89 GPUTickCommand>;
90 86
91struct CommandDataContainer { 87struct CommandDataContainer {
92 CommandDataContainer() = default; 88 CommandDataContainer() = default;
@@ -134,8 +130,6 @@ public:
134 /// Notify rasterizer that any caches of the specified region should be flushed and invalidated 130 /// Notify rasterizer that any caches of the specified region should be flushed and invalidated
135 void FlushAndInvalidateRegion(VAddr addr, u64 size); 131 void FlushAndInvalidateRegion(VAddr addr, u64 size);
136 132
137 void OnCommandListEnd();
138
139 void TickGPU(); 133 void TickGPU();
140 134
141private: 135private: