Manages the lifetime of the on-screen and off-screen rendering contexts on iOS. On-screen contexts ar...
A noop rendering context for usage on simulators without metal support.
std::unique_ptr< GLContextResult > MakeCurrent() override
When using client rendering APIs whose contexts need to be bound to a specific thread,...
sk_sp< GrDirectContext > CreateResourceContext() override
Create a resource context for use on the IO task runner. This resource context is used by Skia to upl...
IOSRenderingBackend GetBackend() const override
Get the rendering backend used by this context.
std::unique_ptr< Texture > CreateExternalTexture(int64_t texture_id, NSObject< FlutterTexture > *texture) override
Creates an external texture proxy of the appropriate client rendering API.
sk_sp< GrDirectContext > GetMainContext() const override
Accessor for the Skia context associated with IOSSurfaces and the raster thread.