19 DEFINE_WRAPPERTYPEINFO();
28 std::optional<std::string>& out_error);
30 explicit Context(std::shared_ptr<impeller::Context> context);
41 static std::shared_ptr<impeller::Context> default_context_;
43 std::shared_ptr<impeller::Context> context_;
static std::shared_ptr< impeller::Context > GetOverrideContext()
static void SetOverrideContext(std::shared_ptr< impeller::Context > context)
std::shared_ptr< impeller::Context > & GetContextShared()
impeller::Context & GetContext()
static std::shared_ptr< impeller::Context > GetDefaultContext(std::optional< std::string > &out_error)
To do anything rendering related with Impeller, you need a context.
FLUTTER_GPU_EXPORT int InternalFlutterGpu_Context_GetDefaultDepthStencilFormat(flutter::gpu::Context *wrapper)
FLUTTER_GPU_EXPORT Dart_Handle InternalFlutterGpu_Context_InitializeDefault(Dart_Handle wrapper)
FLUTTER_GPU_EXPORT int InternalFlutterGpu_Context_GetBackendType(flutter::gpu::Context *wrapper)
FLUTTER_GPU_EXPORT bool InternalFlutterGpu_Context_GetSupportsOffscreenMSAA(flutter::gpu::Context *wrapper)
FLUTTER_GPU_EXPORT int InternalFlutterGpu_Context_GetMinimumUniformByteAlignment(flutter::gpu::Context *wrapper)
FLUTTER_GPU_EXPORT int InternalFlutterGpu_Context_GetDefaultStencilFormat(flutter::gpu::Context *wrapper)
FLUTTER_GPU_EXPORT int InternalFlutterGpu_Context_GetDefaultColorFormat(flutter::gpu::Context *wrapper)