diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-12-07 02:56:45 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-12-07 04:08:37 +0100 |
commit | 03835d04f42fdcd480b5f5d909b5e5cd81ed62a0 (patch) | |
tree | 6e14cebd99073538bfafdd68d2bc5b41ff38b698 /src/video_core/hwrasterizer_base.h | |
parent | OpenGL: Rename cache functions to better match what they actually do (diff) | |
download | yuzu-03835d04f42fdcd480b5f5d909b5e5cd81ed62a0.tar yuzu-03835d04f42fdcd480b5f5d909b5e5cd81ed62a0.tar.gz yuzu-03835d04f42fdcd480b5f5d909b5e5cd81ed62a0.tar.bz2 yuzu-03835d04f42fdcd480b5f5d909b5e5cd81ed62a0.tar.lz yuzu-03835d04f42fdcd480b5f5d909b5e5cd81ed62a0.tar.xz yuzu-03835d04f42fdcd480b5f5d909b5e5cd81ed62a0.tar.zst yuzu-03835d04f42fdcd480b5f5d909b5e5cd81ed62a0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/hwrasterizer_base.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/video_core/hwrasterizer_base.h b/src/video_core/hwrasterizer_base.h index 54b8892fb..b6390950a 100644 --- a/src/video_core/hwrasterizer_base.h +++ b/src/video_core/hwrasterizer_base.h @@ -32,14 +32,14 @@ public: virtual void DrawTriangles() = 0; /// Commit the rasterizer's framebuffer contents immediately to the current 3DS memory framebuffer - virtual void CommitFramebuffer() = 0; + virtual void FlushFramebuffer() = 0; /// Notify rasterizer that the specified PICA register has been changed virtual void NotifyPicaRegisterChanged(u32 id) = 0; - /// Notify rasterizer that the specified 3DS memory region will be read from after this notification - virtual void NotifyPreRead(PAddr addr, u32 size) = 0; + /// Notify rasterizer that any caches of the specified region should be flushed to 3DS memory. + virtual void FlushRegion(PAddr addr, u32 size) = 0; - /// Notify rasterizer that a 3DS memory region has been changed - virtual void NotifyFlush(PAddr addr, u32 size) = 0; + /// Notify rasterizer that any caches of the specified region should be discraded and reloaded from 3DS memory. + virtual void InvalidateRegion(PAddr addr, u32 size) = 0; }; |