diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-17 00:59:46 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-17 00:59:46 +0100 |
commit | 978f598ff64d3bd0299d06c47e6cbd63a496122c (patch) | |
tree | 068f59369198281c5388b1164ed6cb5522ba5a8e /src/video_core/renderer_vulkan/vk_texture_cache.h | |
parent | TextureCache: Add automatic anisotropic filtering and refactor code. (diff) | |
download | yuzu-978f598ff64d3bd0299d06c47e6cbd63a496122c.tar yuzu-978f598ff64d3bd0299d06c47e6cbd63a496122c.tar.gz yuzu-978f598ff64d3bd0299d06c47e6cbd63a496122c.tar.bz2 yuzu-978f598ff64d3bd0299d06c47e6cbd63a496122c.tar.lz yuzu-978f598ff64d3bd0299d06c47e6cbd63a496122c.tar.xz yuzu-978f598ff64d3bd0299d06c47e6cbd63a496122c.tar.zst yuzu-978f598ff64d3bd0299d06c47e6cbd63a496122c.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_texture_cache.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.h b/src/video_core/renderer_vulkan/vk_texture_cache.h index 9d149d306..ff28b4e96 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.h +++ b/src/video_core/renderer_vulkan/vk_texture_cache.h @@ -162,6 +162,14 @@ public: const VideoCommon::ImageViewInfo&, GPUVAddr); explicit ImageView(TextureCacheRuntime&, const VideoCommon::NullImageViewParams&); + ~ImageView(); + + ImageView(const ImageView&) = delete; + ImageView& operator=(const ImageView&) = delete; + + ImageView(ImageView&&) = default; + ImageView& operator=(ImageView&&) = default; + [[nodiscard]] VkImageView DepthView(); [[nodiscard]] VkImageView StencilView(); @@ -235,6 +243,14 @@ public: explicit Framebuffer(TextureCacheRuntime& runtime, ImageView* color_buffer, ImageView* depth_buffer, VkExtent2D extent); + ~Framebuffer(); + + Framebuffer(const Framebuffer&) = delete; + Framebuffer& operator=(const Framebuffer&) = delete; + + Framebuffer(Framebuffer&&) = default; + Framebuffer& operator=(Framebuffer&&) = default; + void CreateFramebuffer(TextureCacheRuntime& runtime, std::span<ImageView*, NUM_RT> color_buffers, ImageView* depth_buffer); |