aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-08-21 10:29:56 -0400
committerGitHub <noreply@github.com>2019-08-21 10:29:56 -0400
commitd654b3d82eed3093957223b17db12875c7752280 (patch)
tree96d52596f4590f843b3c24a1778fe7af682e0f70 /src/video_core/rasterizer_interface.h
parentdfdd20142e87f284257e3ef148ccc7acd7bbb7f8 (diff)
parente52c8955595c5e3e9e88180847c8eff71356a0c2 (diff)
Merge pull request #2769 from FernandoS27/commands-flush
GPU: Flush commands on every dma pusher step.
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r--src/video_core/rasterizer_interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index 9881df0d5..6e44d51cf 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -50,6 +50,9 @@ public:
/// and invalidated
virtual void FlushAndInvalidateRegion(CacheAddr addr, u64 size) = 0;
+ // Notify the rasterizer to send all written commands to the host GPU.
+ virtual void FlushCommands() = 0;
+
/// Notify rasterizer that a frame is about to finish
virtual void TickFrame() = 0;