Classes | |
struct | ConfigDescriptor |
class | Config |
An EGL config. These are returned by the display to indicate support for a specific config descriptor. More... | |
class | Context |
An instance of an EGL context. More... | |
class | Display |
A connection to an EGL display. Only one connection per application instance is sufficient. More... | |
class | Surface |
An instance of an EGL surface. There is no ability to create surfaces directly. Instead, one must be created using a Display connection. More... | |
Enumerations | |
enum class | API { kOpenGL , kOpenGLES2 , kOpenGLES3 } |
enum class | Samples { kOne = 1 , kTwo = 2 , kFour = 4 } |
enum class | ColorFormat { kRGBA8888 , kRGB565 } |
enum class | StencilBits { kZero = 0 , kEight = 8 } |
enum class | DepthBits { kZero = 0 , kEight = 8 , kTwentyFour = 24 } |
enum class | SurfaceType { kWindow , kPBuffer } |
Functions | |
static EGLBoolean | EGLMakeCurrentIfNecessary (EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context) |
std::function< void *(const char *)> | CreateProcAddressResolver () |
Creates a proc address resolver that resolves function pointers to EGL and OpenGL (ES) procs. More... | |
static const char * | EGLErrorToString (EGLint error) |
void | LogEGLError (const char *file, int line) |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
std::function< void *(const char *)> impeller::egl::CreateProcAddressResolver | ( | ) |
Creates a proc address resolver that resolves function pointers to EGL and OpenGL (ES) procs.
Definition at line 12 of file egl.cc.
Referenced by impeller::glvk::Trampoline::Trampoline().
|
static |
|
static |
Definition at line 31 of file context.cc.
Referenced by impeller::egl::Context::ClearCurrent(), and impeller::egl::Context::MakeCurrent().
void impeller::egl::LogEGLError | ( | const char * | file, |
int | line | ||
) |
Definition at line 54 of file egl.cc.
References EGLErrorToString().