X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Fframebuffer_backend.h;h=b53d1751928a4098b1e3580776d74f15850c98e5;hb=806f14bc256bfb9dcd435e9985fabac8898e25f6;hp=ff15c0d556a8770dc4159e1994404646f04a8b2a;hpb=99ca354f18119f82f1adeca100cd665a8f640317;p=libs%2Fgl.git diff --git a/source/backends/vulkan/framebuffer_backend.h b/source/backends/vulkan/framebuffer_backend.h index ff15c0d5..b53d1751 100644 --- a/source/backends/vulkan/framebuffer_backend.h +++ b/source/backends/vulkan/framebuffer_backend.h @@ -9,6 +9,7 @@ namespace Msp { namespace GL { class Device; +class Texture; class VulkanFramebuffer: public NonCopyable { @@ -18,6 +19,7 @@ class VulkanFramebuffer: public NonCopyable protected: Device &device; mutable VkFramebuffer handle = 0; + mutable std::vector view_handles; std::string debug_name; VulkanFramebuffer(bool); @@ -30,6 +32,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; };