diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-12-07 02:02:35 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-12-07 02:02:52 +0100 |
commit | da80ece8b9a1a6946072634e0025089143b368e1 (patch) | |
tree | eecfa694858fc3cb26dc8e22e2f99872a3ce538a /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | Merge pull request #1252 from Subv/cam (diff) | |
download | yuzu-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.h | 8 |
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 { |