summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_texture_cache.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-06-02 04:15:55 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-06-21 02:38:33 +0200
commit3809041c24a6ebea009923c14fb36aa1031bf188 (patch)
treeeb998770ed0255ec52649b5f619ddc18550c3afd /src/video_core/renderer_opengl/gl_texture_cache.h
parenttexture_cache: Implement Buffer Copy and detect Turing GPUs Image Copies (diff)
downloadyuzu-3809041c24a6ebea009923c14fb36aa1031bf188.tar
yuzu-3809041c24a6ebea009923c14fb36aa1031bf188.tar.gz
yuzu-3809041c24a6ebea009923c14fb36aa1031bf188.tar.bz2
yuzu-3809041c24a6ebea009923c14fb36aa1031bf188.tar.lz
yuzu-3809041c24a6ebea009923c14fb36aa1031bf188.tar.xz
yuzu-3809041c24a6ebea009923c14fb36aa1031bf188.tar.zst
yuzu-3809041c24a6ebea009923c14fb36aa1031bf188.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h
index f514f137c..dda3bf715 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.h
+++ b/src/video_core/renderer_opengl/gl_texture_cache.h
@@ -137,13 +137,13 @@ public:
protected:
Surface CreateSurface(GPUVAddr gpu_addr, const SurfaceParams& params) override;
- void ImageCopy(Surface src_surface, Surface dst_surface,
+ void ImageCopy(Surface& src_surface, Surface& dst_surface,
const VideoCommon::CopyParams& copy_params) override;
- void ImageBlit(View src_view, View dst_view,
+ void ImageBlit(View& src_view, View& dst_view,
const Tegra::Engines::Fermi2D::Config& copy_config) override;
- void BufferCopy(Surface src_surface, Surface dst_surface) override;
+ void BufferCopy(Surface& src_surface, Surface& dst_surface) override;
private:
GLuint FetchPBO(std::size_t buffer_size);