summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_rasterizer_cache.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-12-07 02:02:35 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-12-07 02:02:52 +0100
commitda80ece8b9a1a6946072634e0025089143b368e1 (patch)
treeeecfa694858fc3cb26dc8e22e2f99872a3ce538a /src/video_core/renderer_opengl/gl_rasterizer_cache.h
parentMerge pull request #1252 from Subv/cam (diff)
downloadyuzu-da80ece8b9a1a6946072634e0025089143b368e1.tar
yuzu-da80ece8b9a1a6946072634e0025089143b368e1.tar.gz
yuzu-da80ece8b9a1a6946072634e0025089143b368e1.tar.bz2
yuzu-da80ece8b9a1a6946072634e0025089143b368e1.tar.lz
yuzu-da80ece8b9a1a6946072634e0025089143b368e1.tar.xz
yuzu-da80ece8b9a1a6946072634e0025089143b368e1.tar.zst
yuzu-da80ece8b9a1a6946072634e0025089143b368e1.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer_cache.h')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h
index 98a48ffbe..b69651427 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h
@@ -23,11 +23,11 @@ public:
LoadAndBindTexture(state, texture_unit, Pica::DebugUtils::TextureInfo::FromPicaRegister(config.config, config.format));
}
- /// Flush any cached resource that touches the flushed region
- void NotifyFlush(PAddr addr, u32 size, bool ignore_hash = false);
+ /// Invalidate any cached resource intersecting the specified region.
+ void InvalidateInRange(PAddr addr, u32 size, bool ignore_hash = false);
- /// Flush all cached OpenGL resources tracked by this cache manager
- void FullFlush();
+ /// Invalidate all cached OpenGL resources tracked by this cache manager
+ void InvalidateAll();
private:
struct CachedTexture {