diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-21 22:04:01 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-07-22 03:51:06 +0200 |
commit | 63fbf9a7d3e24c684cf6f0868f30021a8ddf7256 (patch) | |
tree | 741aaf7b4a46bbcce5a25192d8df0c3f3d2c88fd /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | gl_rasterizer_cache: Use GPUVAddr as cache key, not parameter set. (diff) | |
download | yuzu-63fbf9a7d3e24c684cf6f0868f30021a8ddf7256.tar yuzu-63fbf9a7d3e24c684cf6f0868f30021a8ddf7256.tar.gz yuzu-63fbf9a7d3e24c684cf6f0868f30021a8ddf7256.tar.bz2 yuzu-63fbf9a7d3e24c684cf6f0868f30021a8ddf7256.tar.lz yuzu-63fbf9a7d3e24c684cf6f0868f30021a8ddf7256.tar.xz yuzu-63fbf9a7d3e24c684cf6f0868f30021a8ddf7256.tar.zst yuzu-63fbf9a7d3e24c684cf6f0868f30021a8ddf7256.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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index 5124199b2..b084c4db4 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -454,6 +454,9 @@ private: void LoadSurface(const Surface& surface); Surface GetSurface(const SurfaceParams& params); + /// Recreates a surface with new parameters + Surface RecreateSurface(const Surface& surface, const SurfaceParams& new_params); + /// Register surface into the cache void RegisterSurface(const Surface& surface); |