diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-24 07:01:44 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-24 07:01:44 +0200 |
commit | 4b2ff1e00e5073cbb17456fea781f0c12f019f7f (patch) | |
tree | ec17fc13cc59d87e6795a01e9976944eff5d3182 /src | |
parent | gl_shader_disk_cache: Address feedback (diff) | |
download | yuzu-4b2ff1e00e5073cbb17456fea781f0c12f019f7f.tar yuzu-4b2ff1e00e5073cbb17456fea781f0c12f019f7f.tar.gz yuzu-4b2ff1e00e5073cbb17456fea781f0c12f019f7f.tar.bz2 yuzu-4b2ff1e00e5073cbb17456fea781f0c12f019f7f.tar.lz yuzu-4b2ff1e00e5073cbb17456fea781f0c12f019f7f.tar.xz yuzu-4b2ff1e00e5073cbb17456fea781f0c12f019f7f.tar.zst yuzu-4b2ff1e00e5073cbb17456fea781f0c12f019f7f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h index dda3bf715..cdc44a60c 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -6,6 +6,8 @@ #include <array> #include <functional> +#include <memory> +#include <unordered_map> #include <utility> #include <vector> @@ -34,7 +36,7 @@ class CachedSurface final : public VideoCommon::SurfaceBase<View> { friend CachedSurfaceView; public: - explicit CachedSurface(const GPUVAddr gpu_addr, const SurfaceParams& params); + explicit CachedSurface(GPUVAddr gpu_addr, const SurfaceParams& params); ~CachedSurface(); void UploadTexture(std::vector<u8>& staging_buffer) override; @@ -52,7 +54,7 @@ protected: void DecorateSurfaceName(); View CreateView(const ViewParams& view_key) override; - View CreateViewInner(const ViewParams& view_key, const bool is_proxy); + View CreateViewInner(const ViewParams& view_key, bool is_proxy); private: void UploadTextureMipmap(u32 level, std::vector<u8>& staging_buffer); |