diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-24 07:45:03 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:36:11 +0200 |
commit | 5f3aacdc3760f0e9e0daeda3ee4c55e42fc9397e (patch) | |
tree | 6c95776e1de8c347544745df1784424cafaeb414 /src/video_core/renderer_opengl/gl_texture_cache.h | |
parent | texture_cache: Flush 3D textures in the order they are drawn (diff) | |
download | yuzu-5f3aacdc3760f0e9e0daeda3ee4c55e42fc9397e.tar yuzu-5f3aacdc3760f0e9e0daeda3ee4c55e42fc9397e.tar.gz yuzu-5f3aacdc3760f0e9e0daeda3ee4c55e42fc9397e.tar.bz2 yuzu-5f3aacdc3760f0e9e0daeda3ee4c55e42fc9397e.tar.lz yuzu-5f3aacdc3760f0e9e0daeda3ee4c55e42fc9397e.tar.xz yuzu-5f3aacdc3760f0e9e0daeda3ee4c55e42fc9397e.tar.zst yuzu-5f3aacdc3760f0e9e0daeda3ee4c55e42fc9397e.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_texture_cache.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h index e6448c6f8..0a69be233 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -39,8 +39,6 @@ public: explicit CachedSurface(TextureCacheOpenGL& texture_cache, const SurfaceParams& params); ~CachedSurface(); - void LoadBuffer(); - GLenum GetTarget() const { return target; } @@ -54,9 +52,8 @@ protected: std::unique_ptr<CachedSurfaceView> CreateView(const ViewKey& view_key); - void FlushBufferImpl(); - void UploadTextureImpl(); + void DownloadTextureImpl(); private: void UploadTextureMipmap(u32 level); @@ -68,8 +65,6 @@ private: GLenum target{}; OGLTexture texture; - - std::vector<u8> staging_buffer; }; class CachedSurfaceView final { |