]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/framebuffer_backend.h
Rename VulkanFramebuffer::prepare_image_layouts to synchronize_resources
[libs/gl.git] / source / backends / vulkan / framebuffer_backend.h
index faca5658feb7a0e2b1b5febf1c01d56e174dd787..24c1d9c6d0b238b4866cb5b2617c575372eafdc7 100644 (file)
@@ -27,7 +27,7 @@ protected:
        VulkanFramebuffer(VulkanFramebuffer &&);
        ~VulkanFramebuffer();
 
-       bool is_format_supported(const FrameFormat &);
+       bool is_format_supported(const FrameFormat &) const;
        void format_changed(const FrameFormat &) { }
        static void require_layered() { }
 
@@ -36,7 +36,7 @@ protected:
        void update(unsigned) const;
        void require_complete() const { }
 
-       void prepare_image_layouts(bool = false) const;
+       void synchronize_resources(bool = false) const;
 
        void set_debug_name(const std::string &);
        void set_vulkan_object_name() const;