# EGL10

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Constants](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#constants)\|[Fields](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#lfields)\|[Methods](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#pubmethods)  

# EGL10

`
public


interface
EGL10
`  
`


implements

`[EGL](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL)`


`

|--------------------------------------|
| javax.microedition.khronos.egl.EGL10 |

|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known indirect subclasses [EGL11](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL11) |---------------------------------------------------------------------------------------|---| | [EGL11](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL11) |   | |

<br />

*** ** * ** ***

## Summary

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

|                                                                                                                       ### Fields                                                                                                                       ||
|------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
| ` public static final `[Object](https://developer.android.com/reference/java/lang/Object)                              | [EGL_DEFAULT_DISPLAY](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#EGL_DEFAULT_DISPLAY) <br /> |
| ` public static final `[EGLContext](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLContext) | [EGL_NO_CONTEXT](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#EGL_NO_CONTEXT) <br />           |
| ` public static final `[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay) | [EGL_NO_DISPLAY](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#EGL_NO_DISPLAY) <br />           |
| ` public static final `[EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface) | [EGL_NO_SURFACE](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#EGL_NO_SURFACE) <br />           |

|                                                                                                                                                                                                                                                                                                                                                                                                                    ### Public methods                                                                                                                                                                                                                                                                                                                                                                                                                    ||
|-------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract boolean`                                                                                         | ` `[eglChooseConfig](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglChooseConfig(javax.microedition.khronos.egl.EGLDisplay,%20int[],%20javax.microedition.khronos.egl.EGLConfig[],%20int,%20int[]))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, int[] attrib_list, `[EGLConfig[]](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLConfig)` configs, int config_size, int[] num_config) `                                                                                                                                                                                                                         |
| ` abstract boolean`                                                                                         | ` `[eglCopyBuffers](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglCopyBuffers(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLSurface,%20java.lang.Object))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, `[EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface)` surface, `[Object](https://developer.android.com/reference/java/lang/Object)` native_pixmap) `                                                                                                                                                                                                   |
| ` abstract `[EGLContext](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLContext) | ` `[eglCreateContext](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglCreateContext(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLConfig,%20javax.microedition.khronos.egl.EGLContext,%20int[]))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, `[EGLConfig](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLConfig)` config, `[EGLContext](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLContext)` share_context, int[] attrib_list) `                                                                                                                 |
| ` abstract `[EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface) | ` `[eglCreatePbufferSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglCreatePbufferSurface(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLConfig,%20int[]))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, `[EGLConfig](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLConfig)` config, int[] attrib_list) `                                                                                                                                                                                                                                                                 |
| ` abstract `[EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface) | ` `[eglCreatePixmapSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglCreatePixmapSurface(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLConfig,%20java.lang.Object,%20int[]))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, `[EGLConfig](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLConfig)` config, `[Object](https://developer.android.com/reference/java/lang/Object)` native_pixmap, int[] attrib_list) `                                                                                                                                                           |
| ` abstract `[EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface) | ` `[eglCreateWindowSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglCreateWindowSurface(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLConfig,%20java.lang.Object,%20int[]))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, `[EGLConfig](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLConfig)` config, `[Object](https://developer.android.com/reference/java/lang/Object)` native_window, int[] attrib_list) `                                                                                                                                                           |
| ` abstract boolean`                                                                                         | ` `[eglDestroyContext](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglDestroyContext(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLContext))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, `[EGLContext](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLContext)` context) `                                                                                                                                                                                                                                                                                                     |
| ` abstract boolean`                                                                                         | ` `[eglDestroySurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglDestroySurface(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLSurface))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, `[EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface)` surface) `                                                                                                                                                                                                                                                                                                     |
| ` abstract boolean`                                                                                         | ` `[eglGetConfigAttrib](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglGetConfigAttrib(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLConfig,%20int,%20int[]))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, `[EGLConfig](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLConfig)` config, int attribute, int[] value) `                                                                                                                                                                                                                                                           |
| ` abstract boolean`                                                                                         | ` `[eglGetConfigs](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglGetConfigs(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLConfig[],%20int,%20int[]))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, `[EGLConfig[]](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLConfig)` configs, int config_size, int[] num_config) `                                                                                                                                                                                                                                                         |
| ` abstract `[EGLContext](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLContext) | ` `[eglGetCurrentContext](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglGetCurrentContext())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` abstract `[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay) | ` `[eglGetCurrentDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglGetCurrentDisplay())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` abstract `[EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface) | ` `[eglGetCurrentSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglGetCurrentSurface(int))`(int readdraw) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` abstract `[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay) | ` `[eglGetDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglGetDisplay(java.lang.Object))`(`[Object](https://developer.android.com/reference/java/lang/Object)` native_display) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ` abstract int`                                                                                             | ` `[eglGetError](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglGetError())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ` abstract boolean`                                                                                         | ` `[eglInitialize](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglInitialize(javax.microedition.khronos.egl.EGLDisplay,%20int[]))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, int[] major_minor) `                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` abstract boolean`                                                                                         | ` `[eglMakeCurrent](https://developer.android.com/reference/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))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, `[EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface)` draw, `[EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface)` read, `[EGLContext](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLContext)` context) ` |
| ` abstract boolean`                                                                                         | ` `[eglQueryContext](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglQueryContext(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLContext,%20int,%20int[]))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, `[EGLContext](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLContext)` context, int attribute, int[] value) `                                                                                                                                                                                                                                                             |
| ` abstract `[String](https://developer.android.com/reference/java/lang/String)                              | ` `[eglQueryString](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglQueryString(javax.microedition.khronos.egl.EGLDisplay,%20int))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, int name) `                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ` abstract boolean`                                                                                         | ` `[eglQuerySurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglQuerySurface(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLSurface,%20int,%20int[]))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, `[EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface)` surface, int attribute, int[] value) `                                                                                                                                                                                                                                                             |
| ` abstract boolean`                                                                                         | ` `[eglSwapBuffers](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglSwapBuffers(javax.microedition.khronos.egl.EGLDisplay,%20javax.microedition.khronos.egl.EGLSurface))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display, `[EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface)` surface) `                                                                                                                                                                                                                                                                                                           |
| ` abstract boolean`                                                                                         | ` `[eglTerminate](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglTerminate(javax.microedition.khronos.egl.EGLDisplay))`(`[EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay)` display) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` abstract boolean`                                                                                         | ` `[eglWaitGL](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglWaitGL())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ` abstract boolean`                                                                                         | ` `[eglWaitNative](https://developer.android.com/reference/javax/microedition/khronos/egl/EGL10#eglWaitNative(int,%20java.lang.Object))`(int engine, `[Object](https://developer.android.com/reference/java/lang/Object)` bindTarget) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |

## Constants

### EGL_ALPHA_FORMAT

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

```
public static final int EGL_ALPHA_FORMAT
```

<br />

<br />

Constant Value: 12424 (0x00003088)  

### EGL_ALPHA_MASK_SIZE

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

```
public static final int EGL_ALPHA_MASK_SIZE
```

<br />

<br />

Constant Value: 12350 (0x0000303e)  

### EGL_ALPHA_SIZE

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

```
public static final int EGL_ALPHA_SIZE
```

<br />

<br />

Constant Value: 12321 (0x00003021)  

### EGL_BAD_ACCESS

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

```
public static final int EGL_BAD_ACCESS
```

<br />

<br />

Constant Value: 12290 (0x00003002)  

### EGL_BAD_ALLOC

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

```
public static final int EGL_BAD_ALLOC
```

<br />

<br />

Constant Value: 12291 (0x00003003)  

### EGL_BAD_ATTRIBUTE

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

```
public static final int EGL_BAD_ATTRIBUTE
```

<br />

<br />

Constant Value: 12292 (0x00003004)  

### EGL_BAD_CONFIG

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

```
public static final int EGL_BAD_CONFIG
```

<br />

<br />

Constant Value: 12293 (0x00003005)  

### EGL_BAD_CONTEXT

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

```
public static final int EGL_BAD_CONTEXT
```

<br />

<br />

Constant Value: 12294 (0x00003006)  

### EGL_BAD_CURRENT_SURFACE

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

```
public static final int EGL_BAD_CURRENT_SURFACE
```

<br />

<br />

Constant Value: 12295 (0x00003007)  

### EGL_BAD_DISPLAY

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

```
public static final int EGL_BAD_DISPLAY
```

<br />

<br />

Constant Value: 12296 (0x00003008)  

### EGL_BAD_MATCH

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

```
public static final int EGL_BAD_MATCH
```

<br />

<br />

Constant Value: 12297 (0x00003009)  

### EGL_BAD_NATIVE_PIXMAP

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

```
public static final int EGL_BAD_NATIVE_PIXMAP
```

<br />

<br />

Constant Value: 12298 (0x0000300a)  

### EGL_BAD_NATIVE_WINDOW

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

```
public static final int EGL_BAD_NATIVE_WINDOW
```

<br />

<br />

Constant Value: 12299 (0x0000300b)  

### EGL_BAD_PARAMETER

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

```
public static final int EGL_BAD_PARAMETER
```

<br />

<br />

Constant Value: 12300 (0x0000300c)  

### EGL_BAD_SURFACE

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

```
public static final int EGL_BAD_SURFACE
```

<br />

<br />

Constant Value: 12301 (0x0000300d)  

### EGL_BLUE_SIZE

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

```
public static final int EGL_BLUE_SIZE
```

<br />

<br />

Constant Value: 12322 (0x00003022)  

### EGL_BUFFER_SIZE

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

```
public static final int EGL_BUFFER_SIZE
```

<br />

<br />

Constant Value: 12320 (0x00003020)  

### EGL_COLORSPACE

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

```
public static final int EGL_COLORSPACE
```

<br />

<br />

Constant Value: 12423 (0x00003087)  

### EGL_COLOR_BUFFER_TYPE

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

```
public static final int EGL_COLOR_BUFFER_TYPE
```

<br />

<br />

Constant Value: 12351 (0x0000303f)  

### EGL_CONFIG_CAVEAT

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

```
public static final int EGL_CONFIG_CAVEAT
```

<br />

<br />

Constant Value: 12327 (0x00003027)  

### EGL_CONFIG_ID

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

```
public static final int EGL_CONFIG_ID
```

<br />

<br />

Constant Value: 12328 (0x00003028)  

### EGL_CORE_NATIVE_ENGINE

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

```
public static final int EGL_CORE_NATIVE_ENGINE
```

<br />

<br />

Constant Value: 12379 (0x0000305b)  

### EGL_DEPTH_SIZE

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

```
public static final int EGL_DEPTH_SIZE
```

<br />

<br />

Constant Value: 12325 (0x00003025)  

### EGL_DONT_CARE

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

```
public static final int EGL_DONT_CARE
```

<br />

<br />

Constant Value: -1 (0xffffffff)  

### EGL_DRAW

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

```
public static final int EGL_DRAW
```

<br />

<br />

Constant Value: 12377 (0x00003059)  

### EGL_EXTENSIONS

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

```
public static final int EGL_EXTENSIONS
```

<br />

<br />

Constant Value: 12373 (0x00003055)  

### EGL_GREEN_SIZE

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

```
public static final int EGL_GREEN_SIZE
```

<br />

<br />

Constant Value: 12323 (0x00003023)  

### EGL_HEIGHT

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

```
public static final int EGL_HEIGHT
```

<br />

<br />

Constant Value: 12374 (0x00003056)  

### EGL_HORIZONTAL_RESOLUTION

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

```
public static final int EGL_HORIZONTAL_RESOLUTION
```

<br />

<br />

Constant Value: 12432 (0x00003090)  

### EGL_LARGEST_PBUFFER

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

```
public static final int EGL_LARGEST_PBUFFER
```

<br />

<br />

Constant Value: 12376 (0x00003058)  

### EGL_LEVEL

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

```
public static final int EGL_LEVEL
```

<br />

<br />

Constant Value: 12329 (0x00003029)  

### EGL_LUMINANCE_BUFFER

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

```
public static final int EGL_LUMINANCE_BUFFER
```

<br />

<br />

Constant Value: 12431 (0x0000308f)  

### EGL_LUMINANCE_SIZE

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

```
public static final int EGL_LUMINANCE_SIZE
```

<br />

<br />

Constant Value: 12349 (0x0000303d)  

### EGL_MAX_PBUFFER_HEIGHT

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

```
public static final int EGL_MAX_PBUFFER_HEIGHT
```

<br />

<br />

Constant Value: 12330 (0x0000302a)  

### EGL_MAX_PBUFFER_PIXELS

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

```
public static final int EGL_MAX_PBUFFER_PIXELS
```

<br />

<br />

Constant Value: 12331 (0x0000302b)  

### EGL_MAX_PBUFFER_WIDTH

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

```
public static final int EGL_MAX_PBUFFER_WIDTH
```

<br />

<br />

Constant Value: 12332 (0x0000302c)  

### EGL_NATIVE_RENDERABLE

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

```
public static final int EGL_NATIVE_RENDERABLE
```

<br />

<br />

Constant Value: 12333 (0x0000302d)  

### EGL_NATIVE_VISUAL_ID

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

```
public static final int EGL_NATIVE_VISUAL_ID
```

<br />

<br />

Constant Value: 12334 (0x0000302e)  

### EGL_NATIVE_VISUAL_TYPE

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

```
public static final int EGL_NATIVE_VISUAL_TYPE
```

<br />

<br />

Constant Value: 12335 (0x0000302f)  

### EGL_NONE

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

```
public static final int EGL_NONE
```

<br />

<br />

Constant Value: 12344 (0x00003038)  

### EGL_NON_CONFORMANT_CONFIG

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

```
public static final int EGL_NON_CONFORMANT_CONFIG
```

<br />

<br />

Constant Value: 12369 (0x00003051)  

### EGL_NOT_INITIALIZED

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

```
public static final int EGL_NOT_INITIALIZED
```

<br />

<br />

Constant Value: 12289 (0x00003001)  

### EGL_PBUFFER_BIT

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

```
public static final int EGL_PBUFFER_BIT
```

<br />

<br />

Constant Value: 1 (0x00000001)  

### EGL_PIXEL_ASPECT_RATIO

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

```
public static final int EGL_PIXEL_ASPECT_RATIO
```

<br />

<br />

Constant Value: 12434 (0x00003092)  

### EGL_PIXMAP_BIT

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

```
public static final int EGL_PIXMAP_BIT
```

<br />

<br />

Constant Value: 2 (0x00000002)  

### EGL_READ

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

```
public static final int EGL_READ
```

<br />

<br />

Constant Value: 12378 (0x0000305a)  

### EGL_RED_SIZE

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

```
public static final int EGL_RED_SIZE
```

<br />

<br />

Constant Value: 12324 (0x00003024)  

### EGL_RENDERABLE_TYPE

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

```
public static final int EGL_RENDERABLE_TYPE
```

<br />

<br />

Constant Value: 12352 (0x00003040)  

### EGL_RENDER_BUFFER

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

```
public static final int EGL_RENDER_BUFFER
```

<br />

<br />

Constant Value: 12422 (0x00003086)  

### EGL_RGB_BUFFER

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

```
public static final int EGL_RGB_BUFFER
```

<br />

<br />

Constant Value: 12430 (0x0000308e)  

### EGL_SAMPLES

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

```
public static final int EGL_SAMPLES
```

<br />

<br />

Constant Value: 12337 (0x00003031)  

### EGL_SAMPLE_BUFFERS

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

```
public static final int EGL_SAMPLE_BUFFERS
```

<br />

<br />

Constant Value: 12338 (0x00003032)  

### EGL_SINGLE_BUFFER

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

```
public static final int EGL_SINGLE_BUFFER
```

<br />

<br />

Constant Value: 12421 (0x00003085)  

### EGL_SLOW_CONFIG

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

```
public static final int EGL_SLOW_CONFIG
```

<br />

<br />

Constant Value: 12368 (0x00003050)  

### EGL_STENCIL_SIZE

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

```
public static final int EGL_STENCIL_SIZE
```

<br />

<br />

Constant Value: 12326 (0x00003026)  

### EGL_SUCCESS

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

```
public static final int EGL_SUCCESS
```

<br />

<br />

Constant Value: 12288 (0x00003000)  

### EGL_SURFACE_TYPE

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

```
public static final int EGL_SURFACE_TYPE
```

<br />

<br />

Constant Value: 12339 (0x00003033)  

### EGL_TRANSPARENT_BLUE_VALUE

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

```
public static final int EGL_TRANSPARENT_BLUE_VALUE
```

<br />

<br />

Constant Value: 12341 (0x00003035)  

### EGL_TRANSPARENT_GREEN_VALUE

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

```
public static final int EGL_TRANSPARENT_GREEN_VALUE
```

<br />

<br />

Constant Value: 12342 (0x00003036)  

### EGL_TRANSPARENT_RED_VALUE

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

```
public static final int EGL_TRANSPARENT_RED_VALUE
```

<br />

<br />

Constant Value: 12343 (0x00003037)  

### EGL_TRANSPARENT_RGB

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

```
public static final int EGL_TRANSPARENT_RGB
```

<br />

<br />

Constant Value: 12370 (0x00003052)  

### EGL_TRANSPARENT_TYPE

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

```
public static final int EGL_TRANSPARENT_TYPE
```

<br />

<br />

Constant Value: 12340 (0x00003034)  

### EGL_VENDOR

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

```
public static final int EGL_VENDOR
```

<br />

<br />

Constant Value: 12371 (0x00003053)  

### EGL_VERSION

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

```
public static final int EGL_VERSION
```

<br />

<br />

Constant Value: 12372 (0x00003054)  

### EGL_VERTICAL_RESOLUTION

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

```
public static final int EGL_VERTICAL_RESOLUTION
```

<br />

<br />

Constant Value: 12433 (0x00003091)  

### EGL_WIDTH

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

```
public static final int EGL_WIDTH
```

<br />

<br />

Constant Value: 12375 (0x00003057)  

### EGL_WINDOW_BIT

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

```
public static final int EGL_WINDOW_BIT
```

<br />

<br />

Constant Value: 4 (0x00000004)

## Fields

### EGL_DEFAULT_DISPLAY

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

```
public static final Object EGL_DEFAULT_DISPLAY
```

<br />

<br />

### EGL_NO_CONTEXT

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

```
public static final EGLContext EGL_NO_CONTEXT
```

<br />

<br />

### EGL_NO_DISPLAY

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

```
public static final EGLDisplay EGL_NO_DISPLAY
```

<br />

<br />

### EGL_NO_SURFACE

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

```
public static final EGLSurface EGL_NO_SURFACE
```

<br />

<br />

## Public methods

### eglChooseConfig

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

```
public abstract boolean eglChooseConfig (EGLDisplay display, 
                int[] attrib_list, 
                EGLConfig[] configs, 
                int config_size, 
                int[] num_config)
```

<br />

<br />

|             Parameters             ||
|---------------|---------------------|
| `display`     | `EGLDisplay` <br /> |
| `attrib_list` | `int` <br />        |
| `configs`     | `EGLConfig` <br />  |
| `config_size` | `int` <br />        |
| `num_config`  | `int` <br />        |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### eglCopyBuffers

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

```
public abstract boolean eglCopyBuffers (EGLDisplay display, 
                EGLSurface surface, 
                Object native_pixmap)
```

<br />

<br />

|              Parameters              ||
|-----------------|---------------------|
| `display`       | `EGLDisplay` <br /> |
| `surface`       | `EGLSurface` <br /> |
| `native_pixmap` | `Object` <br />     |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### eglCreateContext

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

```
public abstract EGLContext eglCreateContext (EGLDisplay display, 
                EGLConfig config, 
                EGLContext share_context, 
                int[] attrib_list)
```

<br />

<br />

|              Parameters              ||
|-----------------|---------------------|
| `display`       | `EGLDisplay` <br /> |
| `config`        | `EGLConfig` <br />  |
| `share_context` | `EGLContext` <br /> |
| `attrib_list`   | `int` <br />        |

|                                                 Returns                                                 ||
|-------------------------------------------------------------------------------------------------|--------|
| [EGLContext](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLContext) | <br /> |

### eglCreatePbufferSurface

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

```
public abstract EGLSurface eglCreatePbufferSurface (EGLDisplay display, 
                EGLConfig config, 
                int[] attrib_list)
```

<br />

<br />

|             Parameters             ||
|---------------|---------------------|
| `display`     | `EGLDisplay` <br /> |
| `config`      | `EGLConfig` <br />  |
| `attrib_list` | `int` <br />        |

|                                                 Returns                                                 ||
|-------------------------------------------------------------------------------------------------|--------|
| [EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface) | <br /> |

### eglCreatePixmapSurface

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

```
public abstract EGLSurface eglCreatePixmapSurface (EGLDisplay display, 
                EGLConfig config, 
                Object native_pixmap, 
                int[] attrib_list)
```

<br />

<br />

|              Parameters              ||
|-----------------|---------------------|
| `display`       | `EGLDisplay` <br /> |
| `config`        | `EGLConfig` <br />  |
| `native_pixmap` | `Object` <br />     |
| `attrib_list`   | `int` <br />        |

|                                                 Returns                                                 ||
|-------------------------------------------------------------------------------------------------|--------|
| [EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface) | <br /> |

### eglCreateWindowSurface

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

```
public abstract EGLSurface eglCreateWindowSurface (EGLDisplay display, 
                EGLConfig config, 
                Object native_window, 
                int[] attrib_list)
```

<br />

<br />

|              Parameters              ||
|-----------------|---------------------|
| `display`       | `EGLDisplay` <br /> |
| `config`        | `EGLConfig` <br />  |
| `native_window` | `Object` <br />     |
| `attrib_list`   | `int` <br />        |

|                                                 Returns                                                 ||
|-------------------------------------------------------------------------------------------------|--------|
| [EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface) | <br /> |

### eglDestroyContext

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

```
public abstract boolean eglDestroyContext (EGLDisplay display, 
                EGLContext context)
```

<br />

<br />

|           Parameters           ||
|-----------|---------------------|
| `display` | `EGLDisplay` <br /> |
| `context` | `EGLContext` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### eglDestroySurface

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

```
public abstract boolean eglDestroySurface (EGLDisplay display, 
                EGLSurface surface)
```

<br />

<br />

|           Parameters           ||
|-----------|---------------------|
| `display` | `EGLDisplay` <br /> |
| `surface` | `EGLSurface` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### eglGetConfigAttrib

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

```
public abstract boolean eglGetConfigAttrib (EGLDisplay display, 
                EGLConfig config, 
                int attribute, 
                int[] value)
```

<br />

<br />

|            Parameters            ||
|-------------|---------------------|
| `display`   | `EGLDisplay` <br /> |
| `config`    | `EGLConfig` <br />  |
| `attribute` | `int` <br />        |
| `value`     | `int` <br />        |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### eglGetConfigs

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

```
public abstract boolean eglGetConfigs (EGLDisplay display, 
                EGLConfig[] configs, 
                int config_size, 
                int[] num_config)
```

<br />

<br />

|             Parameters             ||
|---------------|---------------------|
| `display`     | `EGLDisplay` <br /> |
| `configs`     | `EGLConfig` <br />  |
| `config_size` | `int` <br />        |
| `num_config`  | `int` <br />        |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### eglGetCurrentContext

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

```
public abstract EGLContext eglGetCurrentContext ()
```

<br />

<br />

|                                                 Returns                                                 ||
|-------------------------------------------------------------------------------------------------|--------|
| [EGLContext](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLContext) | <br /> |

### eglGetCurrentDisplay

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

```
public abstract EGLDisplay eglGetCurrentDisplay ()
```

<br />

<br />

|                                                 Returns                                                 ||
|-------------------------------------------------------------------------------------------------|--------|
| [EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay) | <br /> |

### eglGetCurrentSurface

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

```
public abstract EGLSurface eglGetCurrentSurface (int readdraw)
```

<br />

<br />

|        Parameters        ||
|------------|--------------|
| `readdraw` | `int` <br /> |

|                                                 Returns                                                 ||
|-------------------------------------------------------------------------------------------------|--------|
| [EGLSurface](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLSurface) | <br /> |

### eglGetDisplay

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

```
public abstract EGLDisplay eglGetDisplay (Object native_display)
```

<br />

<br />

|            Parameters             ||
|------------------|-----------------|
| `native_display` | `Object` <br /> |

|                                                 Returns                                                 ||
|-------------------------------------------------------------------------------------------------|--------|
| [EGLDisplay](https://developer.android.com/reference/javax/microedition/khronos/egl/EGLDisplay) | <br /> |

### eglGetError

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

```
public abstract int eglGetError ()
```

<br />

<br />

|    Returns    ||
|-------|--------|
| `int` | <br /> |

### eglInitialize

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

```
public abstract boolean eglInitialize (EGLDisplay display, 
                int[] major_minor)
```

<br />

<br />

|             Parameters             ||
|---------------|---------------------|
| `display`     | `EGLDisplay` <br /> |
| `major_minor` | `int` <br />        |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### eglMakeCurrent

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

```
public abstract boolean eglMakeCurrent (EGLDisplay display, 
                EGLSurface draw, 
                EGLSurface read, 
                EGLContext context)
```

<br />

<br />

|           Parameters           ||
|-----------|---------------------|
| `display` | `EGLDisplay` <br /> |
| `draw`    | `EGLSurface` <br /> |
| `read`    | `EGLSurface` <br /> |
| `context` | `EGLContext` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### eglQueryContext

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

```
public abstract boolean eglQueryContext (EGLDisplay display, 
                EGLContext context, 
                int attribute, 
                int[] value)
```

<br />

<br />

|            Parameters            ||
|-------------|---------------------|
| `display`   | `EGLDisplay` <br /> |
| `context`   | `EGLContext` <br /> |
| `attribute` | `int` <br />        |
| `value`     | `int` <br />        |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### eglQueryString

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

```
public abstract String eglQueryString (EGLDisplay display, 
                int name)
```

<br />

<br />

|           Parameters           ||
|-----------|---------------------|
| `display` | `EGLDisplay` <br /> |
| `name`    | `int` <br />        |

|                                  Returns                                   ||
|--------------------------------------------------------------------|--------|
| [String](https://developer.android.com/reference/java/lang/String) | <br /> |

### eglQuerySurface

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

```
public abstract boolean eglQuerySurface (EGLDisplay display, 
                EGLSurface surface, 
                int attribute, 
                int[] value)
```

<br />

<br />

|            Parameters            ||
|-------------|---------------------|
| `display`   | `EGLDisplay` <br /> |
| `surface`   | `EGLSurface` <br /> |
| `attribute` | `int` <br />        |
| `value`     | `int` <br />        |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### eglSwapBuffers

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

```
public abstract boolean eglSwapBuffers (EGLDisplay display, 
                EGLSurface surface)
```

<br />

<br />

|           Parameters           ||
|-----------|---------------------|
| `display` | `EGLDisplay` <br /> |
| `surface` | `EGLSurface` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### eglTerminate

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

```
public abstract boolean eglTerminate (EGLDisplay display)
```

<br />

<br />

|           Parameters           ||
|-----------|---------------------|
| `display` | `EGLDisplay` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### eglWaitGL

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

```
public abstract boolean eglWaitGL ()
```

<br />

<br />

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### eglWaitNative

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

```
public abstract boolean eglWaitNative (int engine, 
                Object bindTarget)
```

<br />

<br />

|          Parameters           ||
|--------------|-----------------|
| `engine`     | `int` <br />    |
| `bindTarget` | `Object` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |