diff options
author | bunnei <bunneidev@gmail.com> | 2019-02-03 04:41:39 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2019-02-07 03:54:25 +0100 |
commit | 35e111876647afbe65a97509c2613da42477a81e (patch) | |
tree | eddd390961e4c81857d49dc6b488bf2efec13ffc /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | gl_rasterizer: Implement a more accurate fermi 2D copy. (diff) | |
download | yuzu-35e111876647afbe65a97509c2613da42477a81e.tar yuzu-35e111876647afbe65a97509c2613da42477a81e.tar.gz yuzu-35e111876647afbe65a97509c2613da42477a81e.tar.bz2 yuzu-35e111876647afbe65a97509c2613da42477a81e.tar.lz yuzu-35e111876647afbe65a97509c2613da42477a81e.tar.xz yuzu-35e111876647afbe65a97509c2613da42477a81e.tar.zst yuzu-35e111876647afbe65a97509c2613da42477a81e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 4 |
1 files changed, 4 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 c742f4a93..2235df9c7 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -444,6 +444,10 @@ private: /// Performs a slow but accurate surface copy, flushing to RAM and reinterpreting the data void AccurateCopySurface(const Surface& src_surface, const Surface& dst_surface); void FastLayeredCopySurface(const Surface& src_surface, const Surface& dst_surface); + void FastCopySurface(const Surface& src_surface, const Surface& dst_surface); + void CopySurface(const Surface& src_surface, const Surface& dst_surface, + const GLuint copy_pbo_handle, const GLenum src_attachment = 0, + const GLenum dst_attachment = 0, const std::size_t cubemap_face = 0); /// 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 |