std::unique_ptr< impeller::egl::Surface > CreateOnscreenSurface(EGLNativeWindowType window)
bool OnscreenContextMakeCurrent(impeller::egl::Surface *onscreen_surface)
bool OnscreenContextClearCurrent()
bool ResourceContextClearCurrent()
bool IsValid() const override
bool ResourceContextMakeCurrent(impeller::egl::Surface *offscreen_surface)
~AndroidContextGLImpeller()
std::unique_ptr< impeller::egl::Surface > CreateOffscreenSurface()
AndroidContextGLImpeller(std::unique_ptr< impeller::egl::Display > display, bool enable_gpu_tracing)
Holds state that is shared across Android surfaces.