27 const std::shared_ptr<Capabilities>& capabilities)
override;
33 using UniqueHandle = std::unique_ptr<void,
decltype(&DestroyWindowHandle)>;
37 std::unique_ptr<Data> data_;
38 std::shared_ptr<ContextMTL> context_;
39 std::shared_ptr<fml::ConcurrentMessageLoop> concurrent_loop_;
40 std::shared_ptr<SwapchainTransientsMTL> swapchain_transients_;
41 std::shared_ptr<fml::SyncSwitch> is_gpu_disabled_sync_switch_;
44 std::shared_ptr<Context> GetContext()
const override;
50 std::unique_ptr<Surface> AcquireSurfaceFrame(
51 std::shared_ptr<Context> context)
override;
54 void SetGPUDisabled(
bool disabled)
const override;