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;
27 std::shared_ptr<Context> context_;
31 using UniqueHandle = std::unique_ptr<void, decltype(&DestroyWindowHandle)>;
37 static VkInstance global_instance_;
40 std::shared_ptr<Context> GetContext()
const override;
46 std::unique_ptr<Surface> AcquireSurfaceFrame(
47 std::shared_ptr<Context> context)
override;
57 static void InitGlobalVulkanInstance();
std::function< void *(void *instance, const char *proc_name)> VKProcAddressResolver
fml::Status SetCapabilities(const std::shared_ptr< Capabilities > &capabilities) override
RuntimeStageBackend GetRuntimeStageBackend() const override
static bool IsVulkanDriverPresent()
PlaygroundImplVK(PlaygroundSwitches switches)