26 FML_CHECK(
false) <<
"Metal not yet implemented.";
32 [](
const char* proc_name,
void* user_data) ->
void* {
34 user_data))(proc_name);
38 &playground_gl_proc_address_callback));
41 FML_CHECK(
false) <<
"Vulkan not yet implemented.";
53 auto impeller_surface = std::make_shared<impeller::Surface>(target);
54 auto surface = Create<Surface>(*context.Get(), impeller_surface);
58 return callback(context, surface);
63 if (interop_context_) {
64 return interop_context_;
66 auto context = Create<Context>(
GetContext(),
nullptr);
70 interop_context_ = std::move(context);
71 return interop_context_;