5#ifndef FLUTTER_IMPELLER_TOOLKIT_EGL_DISPLAY_H_
6#define FLUTTER_IMPELLER_TOOLKIT_EGL_DISPLAY_H_
80 EGLNativeWindowType
window);
96 virtual std::unique_ptr<Surface>
100 EGLDisplay display_ = EGL_NO_DISPLAY;
An EGL config. These are returned by the display to indicate support for a specific config descriptor...
An instance of an EGL context.
A connection to an EGL display. Only one connection per application instance is sufficient.
virtual std::unique_ptr< Surface > CreatePixelBufferSurface(const Config &config, size_t width, size_t height)
Create an offscreen pixelbuffer surface. These are of limited use except in the context where applica...
virtual std::unique_ptr< Context > CreateContext(const Config &config, const Context *share_context)
Create a context with a supported config. The supported config can be obtained via a successful call ...
virtual bool IsValid() const
virtual std::unique_ptr< Config > ChooseConfig(ConfigDescriptor config) const
Choose a config that most closely matches a given descriptor. If there are no matches,...
virtual std::unique_ptr< Surface > CreateWindowSurface(const Config &config, EGLNativeWindowType window)
Create a window surface. The window is an opaque pointer whose value value is platform specific....