5 #ifndef FLUTTER_IMPELLER_PLAYGROUND_BACKEND_VULKAN_PLAYGROUND_IMPL_VK_H_
6 #define FLUTTER_IMPELLER_PLAYGROUND_BACKEND_VULKAN_PLAYGROUND_IMPL_VK_H_
8 #include "flutter/fml/macros.h"
21 const std::shared_ptr<Capabilities>& capabilities)
override;
24 std::shared_ptr<Context> context_;
28 using UniqueHandle = std::unique_ptr<void, decltype(&DestroyWindowHandle)>;
33 static vk::UniqueInstance global_instance_;
36 std::shared_ptr<Context> GetContext()
const override;
42 std::unique_ptr<Surface> AcquireSurfaceFrame(
43 std::shared_ptr<Context> context)
override;
49 static void InitGlobalVulkanInstance();
54 #endif // FLUTTER_IMPELLER_PLAYGROUND_BACKEND_VULKAN_PLAYGROUND_IMPL_VK_H_