9 #include "flutter/fml/concurrent_message_loop.h"
10 #include "flutter/fml/macros.h"
11 #include "flutter/fml/synchronization/sync_switch.h"
26 using UniqueHandle = std::unique_ptr<void, decltype(&DestroyWindowHandle)>;
30 std::unique_ptr<Data> data_;
31 std::shared_ptr<Context> context_;
32 std::shared_ptr<fml::ConcurrentMessageLoop> concurrent_loop_;
33 std::shared_ptr<const fml::SyncSwitch> is_gpu_disabled_sync_switch_;
36 std::shared_ptr<Context> GetContext()
const override;
42 std::unique_ptr<Surface> AcquireSurfaceFrame(
43 std::shared_ptr<Context> context)
override;