17 bool enable_gpu_tracing);
30 EGLNativeWindowType
window);
35 std::shared_ptr<ReactorWorker> reactor_worker_;
36 std::unique_ptr<impeller::egl::Display>
display_;
37 std::unique_ptr<impeller::egl::Config> onscreen_config_;
38 std::unique_ptr<impeller::egl::Config> offscreen_config_;
39 std::unique_ptr<impeller::egl::Context> onscreen_context_;
40 std::unique_ptr<impeller::egl::Context> offscreen_context_;
41 bool is_valid_ =
false;
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()
Holds state that is shared across Android surfaces.