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 VkInstance global_instance_;
38 std::shared_ptr<Context> GetContext()
const override;
44 std::unique_ptr<Surface> AcquireSurfaceFrame(
45 std::shared_ptr<Context> context)
override;
55 static void InitGlobalVulkanInstance();
std::function< void *(void *instance, const char *proc_name)> VKProcAddressResolver
fml::Status SetCapabilities(const std::shared_ptr< Capabilities > &capabilities) override
static bool IsVulkanDriverPresent()
PlaygroundImplVK(PlaygroundSwitches switches)