5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SWAPCHAIN_SWAPCHAIN_VK_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SWAPCHAIN_SWAPCHAIN_VK_H_
25 static std::shared_ptr<SwapchainVK>
Create(
26 const std::shared_ptr<Context>& context,
29 bool enable_msaa =
true);
static sk_sp< Effect > Create()
A swapchain that adapts to the underlying surface going out of date. If the caller cannot acquire the...
virtual bool IsValid() const =0
virtual std::unique_ptr< Surface > AcquireNextDrawable()=0
virtual void UpdateSurfaceSize(const ISize &size)=0
Mark the current swapchain configuration as dirty, forcing it to be recreated on the next frame.
SwapchainVK(const SwapchainVK &)=delete
virtual vk::Format GetSurfaceFormat() const =0
SwapchainVK & operator=(const SwapchainVK &)=delete