18 std::unique_ptr<impeller::egl::Display> display,
19 bool enable_gpu_tracing,
20 std::shared_ptr<fml::BasicTaskRunner> io_task_runner);
36 EGLNativeWindowType
window);
41 std::shared_ptr<ReactorWorker> reactor_worker_;
42 std::unique_ptr<impeller::egl::Display>
display_;
43 std::unique_ptr<impeller::egl::Config> onscreen_config_;
44 std::unique_ptr<impeller::egl::Config> offscreen_config_;
45 std::unique_ptr<impeller::egl::Context> onscreen_context_;
46 std::unique_ptr<impeller::egl::Context> offscreen_context_;
47 bool is_valid_ =
false;
48 std::shared_ptr<fml::BasicTaskRunner> io_task_runner_;
std::unique_ptr< impeller::egl::Surface > CreateOnscreenSurface(EGLNativeWindowType window)
bool OnscreenContextMakeCurrent(impeller::egl::Surface *onscreen_surface)
bool OnscreenContextClearCurrent()
bool ResourceContextClearCurrent()
bool IsValid() const override
AndroidRenderingAPI RenderingApi() const override
bool ResourceContextMakeCurrent(impeller::egl::Surface *offscreen_surface)
~AndroidContextGLImpeller()
std::unique_ptr< impeller::egl::Surface > CreateOffscreenSurface()
Holds state that is shared across Android surfaces.