diff options
author | bunnei <bunneidev@gmail.com> | 2018-10-16 23:20:49 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-10-16 23:20:49 +0200 |
commit | 43b9494a0fc0abb688f97a636fc80ede5f76ae08 (patch) | |
tree | 8914e1d6621aea9d17211ba97b40f8475df8dc84 /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | config: Rename use_accurate_framebuffers -> use_accurate_gpu_emulation. (diff) | |
download | yuzu-43b9494a0fc0abb688f97a636fc80ede5f76ae08.tar yuzu-43b9494a0fc0abb688f97a636fc80ede5f76ae08.tar.gz yuzu-43b9494a0fc0abb688f97a636fc80ede5f76ae08.tar.bz2 yuzu-43b9494a0fc0abb688f97a636fc80ede5f76ae08.tar.lz yuzu-43b9494a0fc0abb688f97a636fc80ede5f76ae08.tar.xz yuzu-43b9494a0fc0abb688f97a636fc80ede5f76ae08.tar.zst yuzu-43b9494a0fc0abb688f97a636fc80ede5f76ae08.zip |
Diffstat (limited to '')
-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 77d925250..7c1cb72d0 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -899,6 +899,9 @@ private: /// Tries to get a reserved surface for the specified parameters Surface TryGetReservedSurface(const SurfaceParams& params); + /// Performs a slow but accurate surface copy, flushing to RAM and reinterpreting the data + void AccurateCopySurface(const Surface& src_surface, const Surface& dst_surface); + /// The surface reserve is a "backup" cache, this is where we put unique surfaces that have /// previously been used. This is to prevent surfaces from being constantly created and /// destroyed when used with different surface parameters. |