]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/framebuffer_backend.h
Rework multisample resolve to use resolve attachments
[libs/gl.git] / source / backends / vulkan / framebuffer_backend.h
index b990d307db6dbf4c119917553a3c56073f208c11..30ca17011a0fdc65e585a62c4211533cc6ca05b5 100644 (file)
@@ -13,12 +13,14 @@ class Texture;
 
 class VulkanFramebuffer: public NonCopyable
 {
+       friend class RenderPass;
        friend class VulkanCommands;
        friend class VulkanPipelineState;
 
 protected:
        Device &device;
        mutable VkFramebuffer handle = 0;
+       mutable std::vector<VkImageView> view_handles;
        std::string debug_name;
 
        VulkanFramebuffer(bool);
@@ -26,6 +28,7 @@ protected:
        ~VulkanFramebuffer();
 
        bool is_format_supported(const FrameFormat &);
+       void format_changed(const FrameFormat &) { }
        static void require_layered() { }
 
        void update(unsigned) const;