5 #ifndef FLUTTER_IMPELLER_PLAYGROUND_BACKEND_VULKAN_PLAYGROUND_IMPL_VK_H_
6 #define FLUTTER_IMPELLER_PLAYGROUND_BACKEND_VULKAN_PLAYGROUND_IMPL_VK_H_
22 const std::shared_ptr<Capabilities>& capabilities)
override;
25 std::shared_ptr<Context> context_;
29 using UniqueHandle = std::unique_ptr<void, decltype(&DestroyWindowHandle)>;
35 static vk::UniqueInstance global_instance_;
38 std::shared_ptr<Context> GetContext()
const override;
44 std::unique_ptr<Surface> AcquireSurfaceFrame(
45 std::shared_ptr<Context> context)
override;
51 static void InitGlobalVulkanInstance();
56 #endif // FLUTTER_IMPELLER_PLAYGROUND_BACKEND_VULKAN_PLAYGROUND_IMPL_VK_H_