# EGL10

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# EGL10

```
interface EGL10 : EGL
```

|------------------------------------------------------------------------------------------------------------------------------|
| [javax.microedition.khronos.egl.EGL10](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#) |

|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [EGL11](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL11) |----------------------------------------------------------------------------------------------|--------| | [EGL11](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL11) | <br /> | |

## Summary

|                                                                                                                     Constants                                                                                                                      ||
|----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_ALPHA_FORMAT](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_ALPHA_FORMAT:kotlin.Int) <br />                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_ALPHA_MASK_SIZE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_ALPHA_MASK_SIZE:kotlin.Int) <br />                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_ALPHA_SIZE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_ALPHA_SIZE:kotlin.Int) <br />                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_BAD_ACCESS](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_BAD_ACCESS:kotlin.Int) <br />                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_BAD_ALLOC](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_BAD_ALLOC:kotlin.Int) <br />                             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_BAD_ATTRIBUTE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_BAD_ATTRIBUTE:kotlin.Int) <br />                     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_BAD_CONFIG](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_BAD_CONFIG:kotlin.Int) <br />                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_BAD_CONTEXT](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_BAD_CONTEXT:kotlin.Int) <br />                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_BAD_CURRENT_SURFACE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_BAD_CURRENT_SURFACE:kotlin.Int) <br />         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_BAD_DISPLAY](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_BAD_DISPLAY:kotlin.Int) <br />                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_BAD_MATCH](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_BAD_MATCH:kotlin.Int) <br />                             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_BAD_NATIVE_PIXMAP](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_BAD_NATIVE_PIXMAP:kotlin.Int) <br />             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_BAD_NATIVE_WINDOW](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_BAD_NATIVE_WINDOW:kotlin.Int) <br />             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_BAD_PARAMETER](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_BAD_PARAMETER:kotlin.Int) <br />                     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_BAD_SURFACE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_BAD_SURFACE:kotlin.Int) <br />                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_BLUE_SIZE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_BLUE_SIZE:kotlin.Int) <br />                             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_BUFFER_SIZE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_BUFFER_SIZE:kotlin.Int) <br />                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_COLORSPACE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_COLORSPACE:kotlin.Int) <br />                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_COLOR_BUFFER_TYPE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_COLOR_BUFFER_TYPE:kotlin.Int) <br />             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_CONFIG_CAVEAT](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_CONFIG_CAVEAT:kotlin.Int) <br />                     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_CONFIG_ID](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_CONFIG_ID:kotlin.Int) <br />                             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_CORE_NATIVE_ENGINE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_CORE_NATIVE_ENGINE:kotlin.Int) <br />           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_DEPTH_SIZE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_DEPTH_SIZE:kotlin.Int) <br />                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_DONT_CARE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_DONT_CARE:kotlin.Int) <br />                             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_DRAW](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_DRAW:kotlin.Int) <br />                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_EXTENSIONS](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_EXTENSIONS:kotlin.Int) <br />                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_GREEN_SIZE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_GREEN_SIZE:kotlin.Int) <br />                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_HEIGHT](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_HEIGHT:kotlin.Int) <br />                                   |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_HORIZONTAL_RESOLUTION](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_HORIZONTAL_RESOLUTION:kotlin.Int) <br />     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_LARGEST_PBUFFER](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_LARGEST_PBUFFER:kotlin.Int) <br />                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_LEVEL](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_LEVEL:kotlin.Int) <br />                                     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_LUMINANCE_BUFFER](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_LUMINANCE_BUFFER:kotlin.Int) <br />               |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_LUMINANCE_SIZE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_LUMINANCE_SIZE:kotlin.Int) <br />                   |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_MAX_PBUFFER_HEIGHT](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_MAX_PBUFFER_HEIGHT:kotlin.Int) <br />           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_MAX_PBUFFER_PIXELS](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_MAX_PBUFFER_PIXELS:kotlin.Int) <br />           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_MAX_PBUFFER_WIDTH](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_MAX_PBUFFER_WIDTH:kotlin.Int) <br />             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_NATIVE_RENDERABLE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_NATIVE_RENDERABLE:kotlin.Int) <br />             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_NATIVE_VISUAL_ID](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_NATIVE_VISUAL_ID:kotlin.Int) <br />               |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_NATIVE_VISUAL_TYPE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_NATIVE_VISUAL_TYPE:kotlin.Int) <br />           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_NONE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_NONE:kotlin.Int) <br />                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_NON_CONFORMANT_CONFIG](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_NON_CONFORMANT_CONFIG:kotlin.Int) <br />     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_NOT_INITIALIZED](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_NOT_INITIALIZED:kotlin.Int) <br />                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_PBUFFER_BIT](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_PBUFFER_BIT:kotlin.Int) <br />                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_PIXEL_ASPECT_RATIO](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_PIXEL_ASPECT_RATIO:kotlin.Int) <br />           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_PIXMAP_BIT](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_PIXMAP_BIT:kotlin.Int) <br />                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_READ](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_READ:kotlin.Int) <br />                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_RED_SIZE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_RED_SIZE:kotlin.Int) <br />                               |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_RENDERABLE_TYPE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_RENDERABLE_TYPE:kotlin.Int) <br />                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_RENDER_BUFFER](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_RENDER_BUFFER:kotlin.Int) <br />                     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_RGB_BUFFER](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_RGB_BUFFER:kotlin.Int) <br />                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_SAMPLES](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_SAMPLES:kotlin.Int) <br />                                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_SAMPLE_BUFFERS](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_SAMPLE_BUFFERS:kotlin.Int) <br />                   |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_SINGLE_BUFFER](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_SINGLE_BUFFER:kotlin.Int) <br />                     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_SLOW_CONFIG](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_SLOW_CONFIG:kotlin.Int) <br />                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_STENCIL_SIZE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_STENCIL_SIZE:kotlin.Int) <br />                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_SUCCESS](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_SUCCESS:kotlin.Int) <br />                                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_SURFACE_TYPE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_SURFACE_TYPE:kotlin.Int) <br />                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_TRANSPARENT_BLUE_VALUE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_TRANSPARENT_BLUE_VALUE:kotlin.Int) <br />   |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_TRANSPARENT_GREEN_VALUE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_TRANSPARENT_GREEN_VALUE:kotlin.Int) <br /> |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_TRANSPARENT_RED_VALUE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_TRANSPARENT_RED_VALUE:kotlin.Int) <br />     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_TRANSPARENT_RGB](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_TRANSPARENT_RGB:kotlin.Int) <br />                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_TRANSPARENT_TYPE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_TRANSPARENT_TYPE:kotlin.Int) <br />               |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_VENDOR](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_VENDOR:kotlin.Int) <br />                                   |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_VERSION](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_VERSION:kotlin.Int) <br />                                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_VERTICAL_RESOLUTION](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_VERTICAL_RESOLUTION:kotlin.Int) <br />         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_WIDTH](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_WIDTH:kotlin.Int) <br />                                     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EGL_WINDOW_BIT](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_WINDOW_BIT:kotlin.Int) <br />                           |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Public methods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ||
|-----------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                      | [eglChooseConfig](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglChooseConfig(javax.microedition.khronos.egl.EGLDisplay,%20kotlin.IntArray,%20kotlin.Array,%20kotlin.Int,%20kotlin.IntArray))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `attrib_list:` `[IntArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html)!`, `configs:` `[Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)<[EGLConfig](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLConfig)!>!`, `config_size:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `num_config:` `[IntArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html)!`)` <br /> |
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                      | [eglCopyBuffers](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglCopyBuffers(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLSurface,%20kotlin.Any))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `surface:` `[EGLSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLSurface)!`, `native_pixmap:` `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)!`)` <br />                                                                                                                                                                                                                                                                                                         |
| abstract[EGLContext](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLContext)! | [eglCreateContext](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglCreateContext(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLConfig,%20javax.microedition.khronos.egl.EGLContext,%20kotlin.IntArray))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `config:` `[EGLConfig](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLConfig)!`, `share_context:` `[EGLContext](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLContext)!`, `attrib_list:` `[IntArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html)!`)` <br />                                                                                                                  |
| abstract[EGLSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLSurface)! | [eglCreatePbufferSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglCreatePbufferSurface(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLConfig,%20kotlin.IntArray))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `config:` `[EGLConfig](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLConfig)!`, `attrib_list:` `[IntArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html)!`)` <br />                                                                                                                                                                                                                                                                             |
| abstract[EGLSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLSurface)! | [eglCreatePixmapSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglCreatePixmapSurface(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLConfig,%20kotlin.Any,%20kotlin.IntArray))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `config:` `[EGLConfig](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLConfig)!`, `native_pixmap:` `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)!`, `attrib_list:` `[IntArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html)!`)` <br />                                                                                                                                                                 |
| abstract[EGLSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLSurface)! | [eglCreateWindowSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglCreateWindowSurface(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLConfig,%20kotlin.Any,%20kotlin.IntArray))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `config:` `[EGLConfig](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLConfig)!`, `native_window:` `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)!`, `attrib_list:` `[IntArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html)!`)` <br />                                                                                                                                                                 |
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                      | [eglDestroyContext](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglDestroyContext(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLContext))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `context:` `[EGLContext](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLContext)!`)` <br />                                                                                                                                                                                                                                                                                                                                                                                                                 |
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                      | [eglDestroySurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglDestroySurface(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLSurface))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `surface:` `[EGLSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLSurface)!`)` <br />                                                                                                                                                                                                                                                                                                                                                                                                                 |
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                      | [eglGetConfigAttrib](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglGetConfigAttrib(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLConfig,%20kotlin.Int,%20kotlin.IntArray))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `config:` `[EGLConfig](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLConfig)!`, `attribute:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `value:` `[IntArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html)!`)` <br />                                                                                                                                                                                    |
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                      | [eglGetConfigs](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglGetConfigs(javax.microedition.khronos.egl.EGLDisplay,%20kotlin.Array,%20kotlin.Int,%20kotlin.IntArray))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `configs:` `[Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)<[EGLConfig](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLConfig)!>!`, `config_size:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `num_config:` `[IntArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html)!`)` <br />                                                                                                                                 |
| abstract[EGLContext](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLContext)! | [eglGetCurrentContext](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglGetCurrentContext())`()` <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| abstract[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)! | [eglGetCurrentDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglGetCurrentDisplay())`()` <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| abstract[EGLSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLSurface)! | [eglGetCurrentSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglGetCurrentSurface(kotlin.Int))`(`readdraw:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| abstract[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)! | [eglGetDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglGetDisplay(kotlin.Any))`(`native_display:` `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)!`)` <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| abstract[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)                              | [eglGetError](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglGetError())`()` <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                      | [eglInitialize](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglInitialize(javax.microedition.khronos.egl.EGLDisplay,%20kotlin.IntArray))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `major_minor:` `[IntArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html)!`)` <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                      | [eglMakeCurrent](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglMakeCurrent(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLSurface,%20javax.microedition.khronos.egl.EGLSurface,%20javax.microedition.khronos.egl.EGLContext))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `draw:` `[EGLSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLSurface)!`, `read:` `[EGLSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLSurface)!`, `context:` `[EGLContext](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLContext)!`)` <br />                                                                                       |
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                      | [eglQueryContext](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglQueryContext(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLContext,%20kotlin.Int,%20kotlin.IntArray))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `context:` `[EGLContext](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLContext)!`, `attribute:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `value:` `[IntArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html)!`)` <br />                                                                                                                                                                                      |
| abstract[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!                       | [eglQueryString](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglQueryString(javax.microedition.khronos.egl.EGLDisplay,%20kotlin.Int))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `name:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                      | [eglQuerySurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglQuerySurface(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLSurface,%20kotlin.Int,%20kotlin.IntArray))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `surface:` `[EGLSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLSurface)!`, `attribute:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `value:` `[IntArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html)!`)` <br />                                                                                                                                                                                      |
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                      | [eglSwapBuffers](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglSwapBuffers(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLSurface))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`, `surface:` `[EGLSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLSurface)!`)` <br />                                                                                                                                                                                                                                                                                                                                                                                                                       |
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                      | [eglTerminate](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglTerminate(javax.microedition.khronos.egl.EGLDisplay))`(`display:` `[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)!`)` <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                      | [eglWaitGL](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglWaitGL())`()` <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                      | [eglWaitNative](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#eglWaitNative(kotlin.Int,%20kotlin.Any))`(`engine:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `bindTarget:` `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)!`)` <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |

|                                                                                                                                      Properties                                                                                                                                      ||
|---------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)!                             | [EGL_DEFAULT_DISPLAY](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_DEFAULT_DISPLAY:kotlin.Any) <br />                      |
| static[EGLContext](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLContext)! | [EGL_NO_CONTEXT](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_NO_CONTEXT:javax.microedition.khronos.egl.EGLContext) <br /> |
| static[EGLDisplay](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLDisplay)! | [EGL_NO_DISPLAY](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_NO_DISPLAY:javax.microedition.khronos.egl.EGLDisplay) <br /> |
| static[EGLSurface](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGLSurface)! | [EGL_NO_SURFACE](https://developer.android.com/reference/kotlin/javax/microedition/khronos/egl/EGL10#EGL_NO_SURFACE:javax.microedition.khronos.egl.EGLSurface) <br /> |

## Constants

### EGL_ALPHA_FORMAT

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_ALPHA_FORMAT: Int
```  

    Value: 12424

### EGL_ALPHA_MASK_SIZE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_ALPHA_MASK_SIZE: Int
```  

    Value: 12350

### EGL_ALPHA_SIZE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_ALPHA_SIZE: Int
```  

    Value: 12321

### EGL_BAD_ACCESS

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_BAD_ACCESS: Int
```  

    Value: 12290

### EGL_BAD_ALLOC

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_BAD_ALLOC: Int
```  

    Value: 12291

### EGL_BAD_ATTRIBUTE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_BAD_ATTRIBUTE: Int
```  

    Value: 12292

### EGL_BAD_CONFIG

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_BAD_CONFIG: Int
```  

    Value: 12293

### EGL_BAD_CONTEXT

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_BAD_CONTEXT: Int
```  

    Value: 12294

### EGL_BAD_CURRENT_SURFACE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_BAD_CURRENT_SURFACE: Int
```  

    Value: 12295

### EGL_BAD_DISPLAY

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_BAD_DISPLAY: Int
```  

    Value: 12296

### EGL_BAD_MATCH

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_BAD_MATCH: Int
```  

    Value: 12297

### EGL_BAD_NATIVE_PIXMAP

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_BAD_NATIVE_PIXMAP: Int
```  

    Value: 12298

### EGL_BAD_NATIVE_WINDOW

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_BAD_NATIVE_WINDOW: Int
```  

    Value: 12299

### EGL_BAD_PARAMETER

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_BAD_PARAMETER: Int
```  

    Value: 12300

### EGL_BAD_SURFACE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_BAD_SURFACE: Int
```  

    Value: 12301

### EGL_BLUE_SIZE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_BLUE_SIZE: Int
```  

    Value: 12322

### EGL_BUFFER_SIZE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_BUFFER_SIZE: Int
```  

    Value: 12320

### EGL_COLORSPACE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_COLORSPACE: Int
```  

    Value: 12423

### EGL_COLOR_BUFFER_TYPE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_COLOR_BUFFER_TYPE: Int
```  

    Value: 12351

### EGL_CONFIG_CAVEAT

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_CONFIG_CAVEAT: Int
```  

    Value: 12327

### EGL_CONFIG_ID

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_CONFIG_ID: Int
```  

    Value: 12328

### EGL_CORE_NATIVE_ENGINE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_CORE_NATIVE_ENGINE: Int
```  

    Value: 12379

### EGL_DEPTH_SIZE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_DEPTH_SIZE: Int
```  

    Value: 12325

### EGL_DONT_CARE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_DONT_CARE: Int
```  

    Value: -1

### EGL_DRAW

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_DRAW: Int
```  

    Value: 12377

### EGL_EXTENSIONS

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_EXTENSIONS: Int
```  

    Value: 12373

### EGL_GREEN_SIZE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_GREEN_SIZE: Int
```  

    Value: 12323

### EGL_HEIGHT

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_HEIGHT: Int
```  

    Value: 12374

### EGL_HORIZONTAL_RESOLUTION

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_HORIZONTAL_RESOLUTION: Int
```  

    Value: 12432

### EGL_LARGEST_PBUFFER

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_LARGEST_PBUFFER: Int
```  

    Value: 12376

### EGL_LEVEL

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_LEVEL: Int
```  

    Value: 12329

### EGL_LUMINANCE_BUFFER

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_LUMINANCE_BUFFER: Int
```  

    Value: 12431

### EGL_LUMINANCE_SIZE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_LUMINANCE_SIZE: Int
```  

    Value: 12349

### EGL_MAX_PBUFFER_HEIGHT

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_MAX_PBUFFER_HEIGHT: Int
```  

    Value: 12330

### EGL_MAX_PBUFFER_PIXELS

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_MAX_PBUFFER_PIXELS: Int
```  

    Value: 12331

### EGL_MAX_PBUFFER_WIDTH

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_MAX_PBUFFER_WIDTH: Int
```  

    Value: 12332

### EGL_NATIVE_RENDERABLE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_NATIVE_RENDERABLE: Int
```  

    Value: 12333

### EGL_NATIVE_VISUAL_ID

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_NATIVE_VISUAL_ID: Int
```  

    Value: 12334

### EGL_NATIVE_VISUAL_TYPE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_NATIVE_VISUAL_TYPE: Int
```  

    Value: 12335

### EGL_NONE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_NONE: Int
```  

    Value: 12344

### EGL_NON_CONFORMANT_CONFIG

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_NON_CONFORMANT_CONFIG: Int
```  

    Value: 12369

### EGL_NOT_INITIALIZED

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_NOT_INITIALIZED: Int
```  

    Value: 12289

### EGL_PBUFFER_BIT

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_PBUFFER_BIT: Int
```  

    Value: 1

### EGL_PIXEL_ASPECT_RATIO

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_PIXEL_ASPECT_RATIO: Int
```  

    Value: 12434

### EGL_PIXMAP_BIT

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_PIXMAP_BIT: Int
```  

    Value: 2

### EGL_READ

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_READ: Int
```  

    Value: 12378

### EGL_RED_SIZE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_RED_SIZE: Int
```  

    Value: 12324

### EGL_RENDERABLE_TYPE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_RENDERABLE_TYPE: Int
```  

    Value: 12352

### EGL_RENDER_BUFFER

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_RENDER_BUFFER: Int
```  

    Value: 12422

### EGL_RGB_BUFFER

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_RGB_BUFFER: Int
```  

    Value: 12430

### EGL_SAMPLES

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_SAMPLES: Int
```  

    Value: 12337

### EGL_SAMPLE_BUFFERS

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_SAMPLE_BUFFERS: Int
```  

    Value: 12338

### EGL_SINGLE_BUFFER

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_SINGLE_BUFFER: Int
```  

    Value: 12421

### EGL_SLOW_CONFIG

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_SLOW_CONFIG: Int
```  

    Value: 12368

### EGL_STENCIL_SIZE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_STENCIL_SIZE: Int
```  

    Value: 12326

### EGL_SUCCESS

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_SUCCESS: Int
```  

    Value: 12288

### EGL_SURFACE_TYPE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_SURFACE_TYPE: Int
```  

    Value: 12339

### EGL_TRANSPARENT_BLUE_VALUE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_TRANSPARENT_BLUE_VALUE: Int
```  

    Value: 12341

### EGL_TRANSPARENT_GREEN_VALUE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_TRANSPARENT_GREEN_VALUE: Int
```  

    Value: 12342

### EGL_TRANSPARENT_RED_VALUE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_TRANSPARENT_RED_VALUE: Int
```  

    Value: 12343

### EGL_TRANSPARENT_RGB

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_TRANSPARENT_RGB: Int
```  

    Value: 12370

### EGL_TRANSPARENT_TYPE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_TRANSPARENT_TYPE: Int
```  

    Value: 12340

### EGL_VENDOR

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_VENDOR: Int
```  

    Value: 12371

### EGL_VERSION

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_VERSION: Int
```  

    Value: 12372

### EGL_VERTICAL_RESOLUTION

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_VERTICAL_RESOLUTION: Int
```  

    Value: 12433

### EGL_WIDTH

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_WIDTH: Int
```  

    Value: 12375

### EGL_WINDOW_BIT

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_WINDOW_BIT: Int
```  

    Value: 4

## Public methods

### eglChooseConfig

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglChooseConfig(
    display: EGLDisplay!, 
    attrib_list: IntArray!, 
    configs: Array<EGLConfig!>!, 
    config_size: Int, 
    num_config: IntArray!
): Boolean
```  

### eglCopyBuffers

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglCopyBuffers(
    display: EGLDisplay!, 
    surface: EGLSurface!, 
    native_pixmap: Any!
): Boolean
```  

### eglCreateContext

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglCreateContext(
    display: EGLDisplay!, 
    config: EGLConfig!, 
    share_context: EGLContext!, 
    attrib_list: IntArray!
): EGLContext!
```  

### eglCreatePbufferSurface

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglCreatePbufferSurface(
    display: EGLDisplay!, 
    config: EGLConfig!, 
    attrib_list: IntArray!
): EGLSurface!
```  

### eglCreatePixmapSurface

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglCreatePixmapSurface(
    display: EGLDisplay!, 
    config: EGLConfig!, 
    native_pixmap: Any!, 
    attrib_list: IntArray!
): EGLSurface!
```

**Deprecated:** *Deprecated in Java.*  

### eglCreateWindowSurface

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglCreateWindowSurface(
    display: EGLDisplay!, 
    config: EGLConfig!, 
    native_window: Any!, 
    attrib_list: IntArray!
): EGLSurface!
```  

### eglDestroyContext

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglDestroyContext(
    display: EGLDisplay!, 
    context: EGLContext!
): Boolean
```  

### eglDestroySurface

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglDestroySurface(
    display: EGLDisplay!, 
    surface: EGLSurface!
): Boolean
```  

### eglGetConfigAttrib

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglGetConfigAttrib(
    display: EGLDisplay!, 
    config: EGLConfig!, 
    attribute: Int, 
    value: IntArray!
): Boolean
```  

### eglGetConfigs

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglGetConfigs(
    display: EGLDisplay!, 
    configs: Array<EGLConfig!>!, 
    config_size: Int, 
    num_config: IntArray!
): Boolean
```  

### eglGetCurrentContext

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglGetCurrentContext(): EGLContext!
```  

### eglGetCurrentDisplay

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglGetCurrentDisplay(): EGLDisplay!
```  

### eglGetCurrentSurface

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglGetCurrentSurface(readdraw: Int): EGLSurface!
```  

### eglGetDisplay

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglGetDisplay(native_display: Any!): EGLDisplay!
```  

### eglGetError

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglGetError(): Int
```  

### eglInitialize

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglInitialize(
    display: EGLDisplay!, 
    major_minor: IntArray!
): Boolean
```  

### eglMakeCurrent

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglMakeCurrent(
    display: EGLDisplay!, 
    draw: EGLSurface!, 
    read: EGLSurface!, 
    context: EGLContext!
): Boolean
```  

### eglQueryContext

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglQueryContext(
    display: EGLDisplay!, 
    context: EGLContext!, 
    attribute: Int, 
    value: IntArray!
): Boolean
```  

### eglQueryString

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglQueryString(
    display: EGLDisplay!, 
    name: Int
): String!
```  

### eglQuerySurface

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglQuerySurface(
    display: EGLDisplay!, 
    surface: EGLSurface!, 
    attribute: Int, 
    value: IntArray!
): Boolean
```  

### eglSwapBuffers

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglSwapBuffers(
    display: EGLDisplay!, 
    surface: EGLSurface!
): Boolean
```  

### eglTerminate

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglTerminate(display: EGLDisplay!): Boolean
```  

### eglWaitGL

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglWaitGL(): Boolean
```  

### eglWaitNative

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun eglWaitNative(
    engine: Int, 
    bindTarget: Any!
): Boolean
```

## Properties

### EGL_DEFAULT_DISPLAY

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_DEFAULT_DISPLAY: Any!
```  

### EGL_NO_CONTEXT

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_NO_CONTEXT: EGLContext!
```  

### EGL_NO_DISPLAY

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_NO_DISPLAY: EGLDisplay!
```  

### EGL_NO_SURFACE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val EGL_NO_SURFACE: EGLSurface!
```