Opaque handle to EGLContext
Opaque handle to EGLSurface
expose EGL_CONTEXT_MAJOR_VERSION_KHR
expose EGL_CONTEXT_MINOR_VERSION_KHR
expose EGL_DRAW
expose EGL_OPENGL_API
expose EGL_OPENGL_ES_API
expose EGL_READ
Expose eglBindAPI
Expose eglCreateContext
.
Note this automatically uses eglGetDisplay(EGL_DEFAULT_DISPLAY)
for display.
The config is auto hard-coded for now and requests:
EGL_RED_SIZE, 8,
EGL_GREEN_SIZE, 8,
EGL_BLUE_SIZE, 8,
EGL_ALPHA_SIZE, 8,
EGL_DEPTH_SIZE, 24,
EGL_STENCIL_SIZE, 8,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES3_BIT_KHR,
Expose eglDestroyContext
.
Note this automatically uses eglGetDisplay(EGL_DEFAULT_DISPLAY)
for display.
Expose eglInitialize
.
Note this automatically uses eglGetDisplay(EGL_DEFAULT_DISPLAY)
for display.
requested major version
requested minor version
actual major/minor versions.
Expose eglReleaseThread
.
Expose eglSwapBuffers
.
Note this automatically uses eglGetDisplay(EGL_DEFAULT_DISPLAY)
for display.
Expose eglTerminate
.
Generated using TypeDoc
This is minimal bindings to egl APIs needed by webgl polyfills to setup exclusive mode. See this for example: https://github.com/magic-script/magic-script-samples/blob/master/sample-exclusive/src/app.js