std::unique_ptr< AndroidEGLSurface > CreateOffscreenSurface() const
Allocates an 1x1 pbuffer surface that is used for making the offscreen current for texture uploads.
EGLContext CreateNewContext() const
Create a new EGLContext using the same EGLConfig.
fml::RefPtr< AndroidEnvironmentGL > Environment() const
EGLConfig Config() const
The EGLConfig for this context.
std::unique_ptr< AndroidEGLSurface > CreateOnscreenSurface(const fml::RefPtr< AndroidNativeWindow > &window) const
Allocates an new EGL window surface that is used for on-screen pixels.
EGLContext GetEGLContext() const
Returns the EGLContext.
std::unique_ptr< AndroidEGLSurface > CreatePbufferSurface() const
Allocates an 1x1 pbuffer surface that is used for making the onscreen context current for snapshottin...
bool IsValid() const override
EGLDisplay GetEGLDisplay() const
Returns the EGLDisplay.
bool ClearCurrent() const
Holds state that is shared across Android surfaces.