5 #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SWAPCHAIN_SWAPCHAIN_VK_H_
6 #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SWAPCHAIN_SWAPCHAIN_VK_H_
10 #include "flutter/fml/build_config.h"
18 #endif // FML_OS_ANDROID
30 static std::shared_ptr<SwapchainVK>
Create(
31 const std::shared_ptr<Context>& context,
32 vk::UniqueSurfaceKHR surface,
34 bool enable_msaa =
true);
37 static std::shared_ptr<SwapchainVK>
Create(
38 const std::shared_ptr<Context>& context,
39 ANativeWindow* window,
40 bool enable_msaa =
true);
41 #endif // FML_OS_ANDROID
49 virtual bool IsValid()
const = 0;
65 #endif // FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SWAPCHAIN_SWAPCHAIN_VK_H_