]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/framebuffer_backend.h
Some adjustments to includes
[libs/gl.git] / source / backends / vulkan / framebuffer_backend.h
index ff15c0d556a8770dc4159e1994404646f04a8b2a..3fa75421cb03b2f61a1ca61e54561999c5441000 100644 (file)
@@ -9,15 +9,18 @@ namespace Msp {
 namespace GL {
 
 class Device;
+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);
@@ -30,6 +33,8 @@ protected:
        void update(unsigned) const;
        void require_complete() const { }
 
+       void prepare_image_layouts(bool = false) const;
+
        void set_debug_name(const std::string &);
        void set_vulkan_object_name() const;
 };