X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Fframebuffer_backend.h;h=30ca17011a0fdc65e585a62c4211533cc6ca05b5;hb=94cadd1618f93239b1cb0acbd4f958257c035c98;hp=d9d7cc90d69f655d72b1b8bc42f8354ee58b72bc;hpb=f4f81f1d86d50b29b9a44b237f67c6f5ad8f0523;p=libs%2Fgl.git diff --git a/source/backends/vulkan/framebuffer_backend.h b/source/backends/vulkan/framebuffer_backend.h index d9d7cc90..30ca1701 100644 --- a/source/backends/vulkan/framebuffer_backend.h +++ b/source/backends/vulkan/framebuffer_backend.h @@ -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 view_handles; std::string debug_name; VulkanFramebuffer(bool); @@ -26,11 +28,14 @@ protected: ~VulkanFramebuffer(); bool is_format_supported(const FrameFormat &); + void format_changed(const FrameFormat &) { } static void require_layered() { } 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; };