# EGL14

Added in[API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Constants](https://developer.android.com/reference/android/opengl/EGL14#constants)\|[Fields](https://developer.android.com/reference/android/opengl/EGL14#lfields)\|[Ctors](https://developer.android.com/reference/android/opengl/EGL14#pubctors)\|[Methods](https://developer.android.com/reference/android/opengl/EGL14#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/opengl/EGL14#inhmethods)  

# EGL14

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/opengl/EGL14 "View this page in Kotlin")\|Java

`
public


class
EGL14
`  
`

extends `[Object](https://developer.android.com/reference/java/lang/Object)`


``


`

|---|----------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.opengl.EGL14 |

<br />

*** ** * ** ***

EGL 1.4

## Summary

|                                                                 ### Constants                                                                 ||
|-------|----------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [EGL_ALPHA_MASK_SIZE](https://developer.android.com/reference/android/opengl/EGL14#EGL_ALPHA_MASK_SIZE) <br />                         |
| `int` | [EGL_ALPHA_SIZE](https://developer.android.com/reference/android/opengl/EGL14#EGL_ALPHA_SIZE) <br />                                   |
| `int` | [EGL_BACK_BUFFER](https://developer.android.com/reference/android/opengl/EGL14#EGL_BACK_BUFFER) <br />                                 |
| `int` | [EGL_BAD_ACCESS](https://developer.android.com/reference/android/opengl/EGL14#EGL_BAD_ACCESS) <br />                                   |
| `int` | [EGL_BAD_ALLOC](https://developer.android.com/reference/android/opengl/EGL14#EGL_BAD_ALLOC) <br />                                     |
| `int` | [EGL_BAD_ATTRIBUTE](https://developer.android.com/reference/android/opengl/EGL14#EGL_BAD_ATTRIBUTE) <br />                             |
| `int` | [EGL_BAD_CONFIG](https://developer.android.com/reference/android/opengl/EGL14#EGL_BAD_CONFIG) <br />                                   |
| `int` | [EGL_BAD_CONTEXT](https://developer.android.com/reference/android/opengl/EGL14#EGL_BAD_CONTEXT) <br />                                 |
| `int` | [EGL_BAD_CURRENT_SURFACE](https://developer.android.com/reference/android/opengl/EGL14#EGL_BAD_CURRENT_SURFACE) <br />                 |
| `int` | [EGL_BAD_DISPLAY](https://developer.android.com/reference/android/opengl/EGL14#EGL_BAD_DISPLAY) <br />                                 |
| `int` | [EGL_BAD_MATCH](https://developer.android.com/reference/android/opengl/EGL14#EGL_BAD_MATCH) <br />                                     |
| `int` | [EGL_BAD_NATIVE_PIXMAP](https://developer.android.com/reference/android/opengl/EGL14#EGL_BAD_NATIVE_PIXMAP) <br />                     |
| `int` | [EGL_BAD_NATIVE_WINDOW](https://developer.android.com/reference/android/opengl/EGL14#EGL_BAD_NATIVE_WINDOW) <br />                     |
| `int` | [EGL_BAD_PARAMETER](https://developer.android.com/reference/android/opengl/EGL14#EGL_BAD_PARAMETER) <br />                             |
| `int` | [EGL_BAD_SURFACE](https://developer.android.com/reference/android/opengl/EGL14#EGL_BAD_SURFACE) <br />                                 |
| `int` | [EGL_BIND_TO_TEXTURE_RGB](https://developer.android.com/reference/android/opengl/EGL14#EGL_BIND_TO_TEXTURE_RGB) <br />                 |
| `int` | [EGL_BIND_TO_TEXTURE_RGBA](https://developer.android.com/reference/android/opengl/EGL14#EGL_BIND_TO_TEXTURE_RGBA) <br />               |
| `int` | [EGL_BLUE_SIZE](https://developer.android.com/reference/android/opengl/EGL14#EGL_BLUE_SIZE) <br />                                     |
| `int` | [EGL_BUFFER_DESTROYED](https://developer.android.com/reference/android/opengl/EGL14#EGL_BUFFER_DESTROYED) <br />                       |
| `int` | [EGL_BUFFER_PRESERVED](https://developer.android.com/reference/android/opengl/EGL14#EGL_BUFFER_PRESERVED) <br />                       |
| `int` | [EGL_BUFFER_SIZE](https://developer.android.com/reference/android/opengl/EGL14#EGL_BUFFER_SIZE) <br />                                 |
| `int` | [EGL_CLIENT_APIS](https://developer.android.com/reference/android/opengl/EGL14#EGL_CLIENT_APIS) <br />                                 |
| `int` | [EGL_COLOR_BUFFER_TYPE](https://developer.android.com/reference/android/opengl/EGL14#EGL_COLOR_BUFFER_TYPE) <br />                     |
| `int` | [EGL_CONFIG_CAVEAT](https://developer.android.com/reference/android/opengl/EGL14#EGL_CONFIG_CAVEAT) <br />                             |
| `int` | [EGL_CONFIG_ID](https://developer.android.com/reference/android/opengl/EGL14#EGL_CONFIG_ID) <br />                                     |
| `int` | [EGL_CONFORMANT](https://developer.android.com/reference/android/opengl/EGL14#EGL_CONFORMANT) <br />                                   |
| `int` | [EGL_CONTEXT_CLIENT_TYPE](https://developer.android.com/reference/android/opengl/EGL14#EGL_CONTEXT_CLIENT_TYPE) <br />                 |
| `int` | [EGL_CONTEXT_CLIENT_VERSION](https://developer.android.com/reference/android/opengl/EGL14#EGL_CONTEXT_CLIENT_VERSION) <br />           |
| `int` | [EGL_CONTEXT_LOST](https://developer.android.com/reference/android/opengl/EGL14#EGL_CONTEXT_LOST) <br />                               |
| `int` | [EGL_CORE_NATIVE_ENGINE](https://developer.android.com/reference/android/opengl/EGL14#EGL_CORE_NATIVE_ENGINE) <br />                   |
| `int` | [EGL_DEFAULT_DISPLAY](https://developer.android.com/reference/android/opengl/EGL14#EGL_DEFAULT_DISPLAY) <br />                         |
| `int` | [EGL_DEPTH_SIZE](https://developer.android.com/reference/android/opengl/EGL14#EGL_DEPTH_SIZE) <br />                                   |
| `int` | [EGL_DISPLAY_SCALING](https://developer.android.com/reference/android/opengl/EGL14#EGL_DISPLAY_SCALING) <br />                         |
| `int` | [EGL_DRAW](https://developer.android.com/reference/android/opengl/EGL14#EGL_DRAW) <br />                                               |
| `int` | [EGL_EXTENSIONS](https://developer.android.com/reference/android/opengl/EGL14#EGL_EXTENSIONS) <br />                                   |
| `int` | [EGL_FALSE](https://developer.android.com/reference/android/opengl/EGL14#EGL_FALSE) <br />                                             |
| `int` | [EGL_GREEN_SIZE](https://developer.android.com/reference/android/opengl/EGL14#EGL_GREEN_SIZE) <br />                                   |
| `int` | [EGL_HEIGHT](https://developer.android.com/reference/android/opengl/EGL14#EGL_HEIGHT) <br />                                           |
| `int` | [EGL_HORIZONTAL_RESOLUTION](https://developer.android.com/reference/android/opengl/EGL14#EGL_HORIZONTAL_RESOLUTION) <br />             |
| `int` | [EGL_LARGEST_PBUFFER](https://developer.android.com/reference/android/opengl/EGL14#EGL_LARGEST_PBUFFER) <br />                         |
| `int` | [EGL_LEVEL](https://developer.android.com/reference/android/opengl/EGL14#EGL_LEVEL) <br />                                             |
| `int` | [EGL_LUMINANCE_BUFFER](https://developer.android.com/reference/android/opengl/EGL14#EGL_LUMINANCE_BUFFER) <br />                       |
| `int` | [EGL_LUMINANCE_SIZE](https://developer.android.com/reference/android/opengl/EGL14#EGL_LUMINANCE_SIZE) <br />                           |
| `int` | [EGL_MATCH_NATIVE_PIXMAP](https://developer.android.com/reference/android/opengl/EGL14#EGL_MATCH_NATIVE_PIXMAP) <br />                 |
| `int` | [EGL_MAX_PBUFFER_HEIGHT](https://developer.android.com/reference/android/opengl/EGL14#EGL_MAX_PBUFFER_HEIGHT) <br />                   |
| `int` | [EGL_MAX_PBUFFER_PIXELS](https://developer.android.com/reference/android/opengl/EGL14#EGL_MAX_PBUFFER_PIXELS) <br />                   |
| `int` | [EGL_MAX_PBUFFER_WIDTH](https://developer.android.com/reference/android/opengl/EGL14#EGL_MAX_PBUFFER_WIDTH) <br />                     |
| `int` | [EGL_MAX_SWAP_INTERVAL](https://developer.android.com/reference/android/opengl/EGL14#EGL_MAX_SWAP_INTERVAL) <br />                     |
| `int` | [EGL_MIN_SWAP_INTERVAL](https://developer.android.com/reference/android/opengl/EGL14#EGL_MIN_SWAP_INTERVAL) <br />                     |
| `int` | [EGL_MIPMAP_LEVEL](https://developer.android.com/reference/android/opengl/EGL14#EGL_MIPMAP_LEVEL) <br />                               |
| `int` | [EGL_MIPMAP_TEXTURE](https://developer.android.com/reference/android/opengl/EGL14#EGL_MIPMAP_TEXTURE) <br />                           |
| `int` | [EGL_MULTISAMPLE_RESOLVE](https://developer.android.com/reference/android/opengl/EGL14#EGL_MULTISAMPLE_RESOLVE) <br />                 |
| `int` | [EGL_MULTISAMPLE_RESOLVE_BOX](https://developer.android.com/reference/android/opengl/EGL14#EGL_MULTISAMPLE_RESOLVE_BOX) <br />         |
| `int` | [EGL_MULTISAMPLE_RESOLVE_BOX_BIT](https://developer.android.com/reference/android/opengl/EGL14#EGL_MULTISAMPLE_RESOLVE_BOX_BIT) <br /> |
| `int` | [EGL_MULTISAMPLE_RESOLVE_DEFAULT](https://developer.android.com/reference/android/opengl/EGL14#EGL_MULTISAMPLE_RESOLVE_DEFAULT) <br /> |
| `int` | [EGL_NATIVE_RENDERABLE](https://developer.android.com/reference/android/opengl/EGL14#EGL_NATIVE_RENDERABLE) <br />                     |
| `int` | [EGL_NATIVE_VISUAL_ID](https://developer.android.com/reference/android/opengl/EGL14#EGL_NATIVE_VISUAL_ID) <br />                       |
| `int` | [EGL_NATIVE_VISUAL_TYPE](https://developer.android.com/reference/android/opengl/EGL14#EGL_NATIVE_VISUAL_TYPE) <br />                   |
| `int` | [EGL_NONE](https://developer.android.com/reference/android/opengl/EGL14#EGL_NONE) <br />                                               |
| `int` | [EGL_NON_CONFORMANT_CONFIG](https://developer.android.com/reference/android/opengl/EGL14#EGL_NON_CONFORMANT_CONFIG) <br />             |
| `int` | [EGL_NOT_INITIALIZED](https://developer.android.com/reference/android/opengl/EGL14#EGL_NOT_INITIALIZED) <br />                         |
| `int` | [EGL_NO_TEXTURE](https://developer.android.com/reference/android/opengl/EGL14#EGL_NO_TEXTURE) <br />                                   |
| `int` | [EGL_OPENGL_API](https://developer.android.com/reference/android/opengl/EGL14#EGL_OPENGL_API) <br />                                   |
| `int` | [EGL_OPENGL_BIT](https://developer.android.com/reference/android/opengl/EGL14#EGL_OPENGL_BIT) <br />                                   |
| `int` | [EGL_OPENGL_ES2_BIT](https://developer.android.com/reference/android/opengl/EGL14#EGL_OPENGL_ES2_BIT) <br />                           |
| `int` | [EGL_OPENGL_ES_API](https://developer.android.com/reference/android/opengl/EGL14#EGL_OPENGL_ES_API) <br />                             |
| `int` | [EGL_OPENGL_ES_BIT](https://developer.android.com/reference/android/opengl/EGL14#EGL_OPENGL_ES_BIT) <br />                             |
| `int` | [EGL_OPENVG_API](https://developer.android.com/reference/android/opengl/EGL14#EGL_OPENVG_API) <br />                                   |
| `int` | [EGL_OPENVG_BIT](https://developer.android.com/reference/android/opengl/EGL14#EGL_OPENVG_BIT) <br />                                   |
| `int` | [EGL_OPENVG_IMAGE](https://developer.android.com/reference/android/opengl/EGL14#EGL_OPENVG_IMAGE) <br />                               |
| `int` | [EGL_PBUFFER_BIT](https://developer.android.com/reference/android/opengl/EGL14#EGL_PBUFFER_BIT) <br />                                 |
| `int` | [EGL_PIXEL_ASPECT_RATIO](https://developer.android.com/reference/android/opengl/EGL14#EGL_PIXEL_ASPECT_RATIO) <br />                   |
| `int` | [EGL_PIXMAP_BIT](https://developer.android.com/reference/android/opengl/EGL14#EGL_PIXMAP_BIT) <br />                                   |
| `int` | [EGL_READ](https://developer.android.com/reference/android/opengl/EGL14#EGL_READ) <br />                                               |
| `int` | [EGL_RED_SIZE](https://developer.android.com/reference/android/opengl/EGL14#EGL_RED_SIZE) <br />                                       |
| `int` | [EGL_RENDERABLE_TYPE](https://developer.android.com/reference/android/opengl/EGL14#EGL_RENDERABLE_TYPE) <br />                         |
| `int` | [EGL_RENDER_BUFFER](https://developer.android.com/reference/android/opengl/EGL14#EGL_RENDER_BUFFER) <br />                             |
| `int` | [EGL_RGB_BUFFER](https://developer.android.com/reference/android/opengl/EGL14#EGL_RGB_BUFFER) <br />                                   |
| `int` | [EGL_SAMPLES](https://developer.android.com/reference/android/opengl/EGL14#EGL_SAMPLES) <br />                                         |
| `int` | [EGL_SAMPLE_BUFFERS](https://developer.android.com/reference/android/opengl/EGL14#EGL_SAMPLE_BUFFERS) <br />                           |
| `int` | [EGL_SINGLE_BUFFER](https://developer.android.com/reference/android/opengl/EGL14#EGL_SINGLE_BUFFER) <br />                             |
| `int` | [EGL_SLOW_CONFIG](https://developer.android.com/reference/android/opengl/EGL14#EGL_SLOW_CONFIG) <br />                                 |
| `int` | [EGL_STENCIL_SIZE](https://developer.android.com/reference/android/opengl/EGL14#EGL_STENCIL_SIZE) <br />                               |
| `int` | [EGL_SUCCESS](https://developer.android.com/reference/android/opengl/EGL14#EGL_SUCCESS) <br />                                         |
| `int` | [EGL_SURFACE_TYPE](https://developer.android.com/reference/android/opengl/EGL14#EGL_SURFACE_TYPE) <br />                               |
| `int` | [EGL_SWAP_BEHAVIOR](https://developer.android.com/reference/android/opengl/EGL14#EGL_SWAP_BEHAVIOR) <br />                             |
| `int` | [EGL_SWAP_BEHAVIOR_PRESERVED_BIT](https://developer.android.com/reference/android/opengl/EGL14#EGL_SWAP_BEHAVIOR_PRESERVED_BIT) <br /> |
| `int` | [EGL_TEXTURE_2D](https://developer.android.com/reference/android/opengl/EGL14#EGL_TEXTURE_2D) <br />                                   |
| `int` | [EGL_TEXTURE_FORMAT](https://developer.android.com/reference/android/opengl/EGL14#EGL_TEXTURE_FORMAT) <br />                           |
| `int` | [EGL_TEXTURE_RGB](https://developer.android.com/reference/android/opengl/EGL14#EGL_TEXTURE_RGB) <br />                                 |
| `int` | [EGL_TEXTURE_RGBA](https://developer.android.com/reference/android/opengl/EGL14#EGL_TEXTURE_RGBA) <br />                               |
| `int` | [EGL_TEXTURE_TARGET](https://developer.android.com/reference/android/opengl/EGL14#EGL_TEXTURE_TARGET) <br />                           |
| `int` | [EGL_TRANSPARENT_BLUE_VALUE](https://developer.android.com/reference/android/opengl/EGL14#EGL_TRANSPARENT_BLUE_VALUE) <br />           |
| `int` | [EGL_TRANSPARENT_GREEN_VALUE](https://developer.android.com/reference/android/opengl/EGL14#EGL_TRANSPARENT_GREEN_VALUE) <br />         |
| `int` | [EGL_TRANSPARENT_RED_VALUE](https://developer.android.com/reference/android/opengl/EGL14#EGL_TRANSPARENT_RED_VALUE) <br />             |
| `int` | [EGL_TRANSPARENT_RGB](https://developer.android.com/reference/android/opengl/EGL14#EGL_TRANSPARENT_RGB) <br />                         |
| `int` | [EGL_TRANSPARENT_TYPE](https://developer.android.com/reference/android/opengl/EGL14#EGL_TRANSPARENT_TYPE) <br />                       |
| `int` | [EGL_TRUE](https://developer.android.com/reference/android/opengl/EGL14#EGL_TRUE) <br />                                               |
| `int` | [EGL_VENDOR](https://developer.android.com/reference/android/opengl/EGL14#EGL_VENDOR) <br />                                           |
| `int` | [EGL_VERSION](https://developer.android.com/reference/android/opengl/EGL14#EGL_VERSION) <br />                                         |
| `int` | [EGL_VERTICAL_RESOLUTION](https://developer.android.com/reference/android/opengl/EGL14#EGL_VERTICAL_RESOLUTION) <br />                 |
| `int` | [EGL_VG_ALPHA_FORMAT](https://developer.android.com/reference/android/opengl/EGL14#EGL_VG_ALPHA_FORMAT) <br />                         |
| `int` | [EGL_VG_ALPHA_FORMAT_NONPRE](https://developer.android.com/reference/android/opengl/EGL14#EGL_VG_ALPHA_FORMAT_NONPRE) <br />           |
| `int` | [EGL_VG_ALPHA_FORMAT_PRE](https://developer.android.com/reference/android/opengl/EGL14#EGL_VG_ALPHA_FORMAT_PRE) <br />                 |
| `int` | [EGL_VG_ALPHA_FORMAT_PRE_BIT](https://developer.android.com/reference/android/opengl/EGL14#EGL_VG_ALPHA_FORMAT_PRE_BIT) <br />         |
| `int` | [EGL_VG_COLORSPACE](https://developer.android.com/reference/android/opengl/EGL14#EGL_VG_COLORSPACE) <br />                             |
| `int` | [EGL_VG_COLORSPACE_LINEAR](https://developer.android.com/reference/android/opengl/EGL14#EGL_VG_COLORSPACE_LINEAR) <br />               |
| `int` | [EGL_VG_COLORSPACE_LINEAR_BIT](https://developer.android.com/reference/android/opengl/EGL14#EGL_VG_COLORSPACE_LINEAR_BIT) <br />       |
| `int` | [EGL_VG_COLORSPACE_sRGB](https://developer.android.com/reference/android/opengl/EGL14#EGL_VG_COLORSPACE_sRGB) <br />                   |
| `int` | [EGL_WIDTH](https://developer.android.com/reference/android/opengl/EGL14#EGL_WIDTH) <br />                                             |
| `int` | [EGL_WINDOW_BIT](https://developer.android.com/reference/android/opengl/EGL14#EGL_WINDOW_BIT) <br />                                   |

|                                                                                               ### Fields                                                                                               ||
|--------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|
| ` public static `[EGLContext](https://developer.android.com/reference/android/opengl/EGLContext) | [EGL_NO_CONTEXT](https://developer.android.com/reference/android/opengl/EGL14#EGL_NO_CONTEXT) <br /> |
| ` public static `[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay) | [EGL_NO_DISPLAY](https://developer.android.com/reference/android/opengl/EGL14#EGL_NO_DISPLAY) <br /> |
| ` public static `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface) | [EGL_NO_SURFACE](https://developer.android.com/reference/android/opengl/EGL14#EGL_NO_SURFACE) <br /> |

|                                 ### Public constructors                                  ||
|---------------------------------------------------------------------------------------|---|
| ` `[EGL14](https://developer.android.com/reference/android/opengl/EGL14#EGL14())`() ` |

|                                                                                                                                                                                                                                                                                                                               ### Public methods                                                                                                                                                                                                                                                                                                                               ||
|-------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` static boolean`                                                                         | ` `[eglBindAPI](https://developer.android.com/reference/android/opengl/EGL14#eglBindAPI(int))`(int api) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ` static boolean`                                                                         | ` `[eglBindTexImage](https://developer.android.com/reference/android/opengl/EGL14#eglBindTexImage(android.opengl.EGLDisplay,%20android.opengl.EGLSurface,%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface)` surface, int buffer) `                                                                                                                                                                                                                  |
| ` static boolean`                                                                         | ` `[eglChooseConfig](https://developer.android.com/reference/android/opengl/EGL14#eglChooseConfig(android.opengl.EGLDisplay,%20int[],%20int,%20android.opengl.EGLConfig[],%20int,%20int,%20int[],%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, int[] attrib_list, int attrib_listOffset, `[EGLConfig[]](https://developer.android.com/reference/android/opengl/EGLConfig)` configs, int configsOffset, int config_size, int[] num_config, int num_configOffset) `                                                                |
| ` static boolean`                                                                         | ` `[eglCopyBuffers](https://developer.android.com/reference/android/opengl/EGL14#eglCopyBuffers(android.opengl.EGLDisplay,%20android.opengl.EGLSurface,%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface)` surface, int target) `                                                                                                                                                                                                                    |
| ` static `[EGLContext](https://developer.android.com/reference/android/opengl/EGLContext) | ` `[eglCreateContext](https://developer.android.com/reference/android/opengl/EGL14#eglCreateContext(android.opengl.EGLDisplay,%20android.opengl.EGLConfig,%20android.opengl.EGLContext,%20int[],%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLConfig](https://developer.android.com/reference/android/opengl/EGLConfig)` config, `[EGLContext](https://developer.android.com/reference/android/opengl/EGLContext)` share_context, int[] attrib_list, int offset) `                                                          |
| ` static `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface) | ` `[eglCreatePbufferFromClientBuffer](https://developer.android.com/reference/android/opengl/EGL14#eglCreatePbufferFromClientBuffer(android.opengl.EGLDisplay,%20int,%20int,%20android.opengl.EGLConfig,%20int[],%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, int buftype, int buffer, `[EGLConfig](https://developer.android.com/reference/android/opengl/EGLConfig)` config, int[] attrib_list, int offset) `                                                                                                                 |
| ` static `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface) | ` `[eglCreatePbufferSurface](https://developer.android.com/reference/android/opengl/EGL14#eglCreatePbufferSurface(android.opengl.EGLDisplay,%20android.opengl.EGLConfig,%20int[],%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLConfig](https://developer.android.com/reference/android/opengl/EGLConfig)` config, int[] attrib_list, int offset) `                                                                                                                                                                          |
| ` static `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface) | ` `[eglCreatePixmapSurface](https://developer.android.com/reference/android/opengl/EGL14#eglCreatePixmapSurface(android.opengl.EGLDisplay,%20android.opengl.EGLConfig,%20int,%20int[],%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLConfig](https://developer.android.com/reference/android/opengl/EGLConfig)` config, int pixmap, int[] attrib_list, int offset) `                                                                                                                                                         |
| ` static `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface) | ` `[eglCreateWindowSurface](https://developer.android.com/reference/android/opengl/EGL14#eglCreateWindowSurface(android.opengl.EGLDisplay,%20android.opengl.EGLConfig,%20java.lang.Object,%20int[],%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLConfig](https://developer.android.com/reference/android/opengl/EGLConfig)` config, `[Object](https://developer.android.com/reference/java/lang/Object)` win, int[] attrib_list, int offset) `                                                                              |
| ` static boolean`                                                                         | ` `[eglDestroyContext](https://developer.android.com/reference/android/opengl/EGL14#eglDestroyContext(android.opengl.EGLDisplay,%20android.opengl.EGLContext))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLContext](https://developer.android.com/reference/android/opengl/EGLContext)` ctx) `                                                                                                                                                                                                                                     |
| ` static boolean`                                                                         | ` `[eglDestroySurface](https://developer.android.com/reference/android/opengl/EGL14#eglDestroySurface(android.opengl.EGLDisplay,%20android.opengl.EGLSurface))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface)` surface) `                                                                                                                                                                                                                                 |
| ` static boolean`                                                                         | ` `[eglGetConfigAttrib](https://developer.android.com/reference/android/opengl/EGL14#eglGetConfigAttrib(android.opengl.EGLDisplay,%20android.opengl.EGLConfig,%20int,%20int[],%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLConfig](https://developer.android.com/reference/android/opengl/EGLConfig)` config, int attribute, int[] value, int offset) `                                                                                                                                                                    |
| ` static boolean`                                                                         | ` `[eglGetConfigs](https://developer.android.com/reference/android/opengl/EGL14#eglGetConfigs(android.opengl.EGLDisplay,%20android.opengl.EGLConfig[],%20int,%20int,%20int[],%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLConfig[]](https://developer.android.com/reference/android/opengl/EGLConfig)` configs, int configsOffset, int config_size, int[] num_config, int num_configOffset) `                                                                                                                              |
| ` static `[EGLContext](https://developer.android.com/reference/android/opengl/EGLContext) | ` `[eglGetCurrentContext](https://developer.android.com/reference/android/opengl/EGL14#eglGetCurrentContext())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ` static `[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay) | ` `[eglGetCurrentDisplay](https://developer.android.com/reference/android/opengl/EGL14#eglGetCurrentDisplay())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ` static `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface) | ` `[eglGetCurrentSurface](https://developer.android.com/reference/android/opengl/EGL14#eglGetCurrentSurface(int))`(int readdraw) `                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ` static `[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay) | ` `[eglGetDisplay](https://developer.android.com/reference/android/opengl/EGL14#eglGetDisplay(int))`(int display_id) `                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ` static int`                                                                             | ` `[eglGetError](https://developer.android.com/reference/android/opengl/EGL14#eglGetError())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ` static boolean`                                                                         | ` `[eglInitialize](https://developer.android.com/reference/android/opengl/EGL14#eglInitialize(android.opengl.EGLDisplay,%20int[],%20int,%20int[],%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, int[] major, int majorOffset, int[] minor, int minorOffset) `                                                                                                                                                                                                                                                                     |
| ` static boolean`                                                                         | ` `[eglMakeCurrent](https://developer.android.com/reference/android/opengl/EGL14#eglMakeCurrent(android.opengl.EGLDisplay,%20android.opengl.EGLSurface,%20android.opengl.EGLSurface,%20android.opengl.EGLContext))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface)` draw, `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface)` read, `[EGLContext](https://developer.android.com/reference/android/opengl/EGLContext)` ctx) ` |
| ` static int`                                                                             | ` `[eglQueryAPI](https://developer.android.com/reference/android/opengl/EGL14#eglQueryAPI())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ` static boolean`                                                                         | ` `[eglQueryContext](https://developer.android.com/reference/android/opengl/EGL14#eglQueryContext(android.opengl.EGLDisplay,%20android.opengl.EGLContext,%20int,%20int[],%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLContext](https://developer.android.com/reference/android/opengl/EGLContext)` ctx, int attribute, int[] value, int offset) `                                                                                                                                                                          |
| ` static `[String](https://developer.android.com/reference/java/lang/String)              | ` `[eglQueryString](https://developer.android.com/reference/android/opengl/EGL14#eglQueryString(android.opengl.EGLDisplay,%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, int name) `                                                                                                                                                                                                                                                                                                                                              |
| ` static boolean`                                                                         | ` `[eglQuerySurface](https://developer.android.com/reference/android/opengl/EGL14#eglQuerySurface(android.opengl.EGLDisplay,%20android.opengl.EGLSurface,%20int,%20int[],%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface)` surface, int attribute, int[] value, int offset) `                                                                                                                                                                      |
| ` static boolean`                                                                         | ` `[eglReleaseTexImage](https://developer.android.com/reference/android/opengl/EGL14#eglReleaseTexImage(android.opengl.EGLDisplay,%20android.opengl.EGLSurface,%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface)` surface, int buffer) `                                                                                                                                                                                                            |
| ` static boolean`                                                                         | ` `[eglReleaseThread](https://developer.android.com/reference/android/opengl/EGL14#eglReleaseThread())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` static boolean`                                                                         | ` `[eglSurfaceAttrib](https://developer.android.com/reference/android/opengl/EGL14#eglSurfaceAttrib(android.opengl.EGLDisplay,%20android.opengl.EGLSurface,%20int,%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface)` surface, int attribute, int value) `                                                                                                                                                                                           |
| ` static boolean`                                                                         | ` `[eglSwapBuffers](https://developer.android.com/reference/android/opengl/EGL14#eglSwapBuffers(android.opengl.EGLDisplay,%20android.opengl.EGLSurface))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, `[EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface)` surface) `                                                                                                                                                                                                                                       |
| ` static boolean`                                                                         | ` `[eglSwapInterval](https://developer.android.com/reference/android/opengl/EGL14#eglSwapInterval(android.opengl.EGLDisplay,%20int))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy, int interval) `                                                                                                                                                                                                                                                                                                                                        |
| ` static boolean`                                                                         | ` `[eglTerminate](https://developer.android.com/reference/android/opengl/EGL14#eglTerminate(android.opengl.EGLDisplay))`(`[EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)` dpy) `                                                                                                                                                                                                                                                                                                                                                                   |
| ` static boolean`                                                                         | ` `[eglWaitClient](https://developer.android.com/reference/android/opengl/EGL14#eglWaitClient())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ` static boolean`                                                                         | ` `[eglWaitGL](https://developer.android.com/reference/android/opengl/EGL14#eglWaitGL())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` static boolean`                                                                         | ` `[eglWaitNative](https://developer.android.com/reference/android/opengl/EGL14#eglWaitNative(int))`(int engine) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |

| ### Inherited methods |
|-----------------------|---|
| From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object)` ` |--------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object)          | ` `[clone](https://developer.android.com/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object.                                                                                                                                                      | | ` boolean`                                                                     | ` `[equals](https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](https://developer.android.com/reference/java/lang/Object)` obj) ` Indicates whether some other object is "equal to" this one.                                           | | ` void`                                                                        | ` `[finalize](https://developer.android.com/reference/java/lang/Object#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.                                                          | | ` final `[Class](https://developer.android.com/reference/java/lang/Class)`<?>` | ` `[getClass](https://developer.android.com/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this`Object`.                                                                                                                                                | | ` int`                                                                         | ` `[hashCode](https://developer.android.com/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object.                                                                                                                                                 | | ` final void`                                                                  | ` `[notify](https://developer.android.com/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor.                                                                                                                            | | ` final void`                                                                  | ` `[notifyAll](https://developer.android.com/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor.                                                                                                                         | | ` `[String](https://developer.android.com/reference/java/lang/String)          | ` `[toString](https://developer.android.com/reference/java/lang/Object#toString())`() ` Returns a string representation of the object.                                                                                                                                            | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long,%20int))`(long timeoutMillis, int nanos) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed. | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long))`(long timeoutMillis) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed.                   | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait())`() ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*.                                                                                             | ||

## Constants

### EGL_ALPHA_MASK_SIZE

Added in[API level 17](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 17](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_BACK_BUFFER

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

```
public static final int EGL_BACK_BUFFER
```

<br />

<br />

Constant Value: 12420 (0x00003084)  

### EGL_BAD_ACCESS

Added in[API level 17](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 17](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 17](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 17](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 17](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 17](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 17](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 17](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 17](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 17](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 17](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 17](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_BIND_TO_TEXTURE_RGB

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

```
public static final int EGL_BIND_TO_TEXTURE_RGB
```

<br />

<br />

Constant Value: 12345 (0x00003039)  

### EGL_BIND_TO_TEXTURE_RGBA

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

```
public static final int EGL_BIND_TO_TEXTURE_RGBA
```

<br />

<br />

Constant Value: 12346 (0x0000303a)  

### EGL_BLUE_SIZE

Added in[API level 17](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_DESTROYED

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

```
public static final int EGL_BUFFER_DESTROYED
```

<br />

<br />

Constant Value: 12437 (0x00003095)  

### EGL_BUFFER_PRESERVED

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

```
public static final int EGL_BUFFER_PRESERVED
```

<br />

<br />

Constant Value: 12436 (0x00003094)  

### EGL_BUFFER_SIZE

Added in[API level 17](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_CLIENT_APIS

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

```
public static final int EGL_CLIENT_APIS
```

<br />

<br />

Constant Value: 12429 (0x0000308d)  

### EGL_COLOR_BUFFER_TYPE

Added in[API level 17](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 17](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 17](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_CONFORMANT

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

```
public static final int EGL_CONFORMANT
```

<br />

<br />

Constant Value: 12354 (0x00003042)  

### EGL_CONTEXT_CLIENT_TYPE

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

```
public static final int EGL_CONTEXT_CLIENT_TYPE
```

<br />

<br />

Constant Value: 12439 (0x00003097)  

### EGL_CONTEXT_CLIENT_VERSION

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

```
public static final int EGL_CONTEXT_CLIENT_VERSION
```

<br />

<br />

Constant Value: 12440 (0x00003098)  

### EGL_CONTEXT_LOST

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

```
public static final int EGL_CONTEXT_LOST
```

<br />

<br />

Constant Value: 12302 (0x0000300e)  

### EGL_CORE_NATIVE_ENGINE

Added in[API level 17](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_DEFAULT_DISPLAY

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

```
public static final int EGL_DEFAULT_DISPLAY
```

<br />

<br />

Constant Value: 0 (0x00000000)  

### EGL_DEPTH_SIZE

Added in[API level 17](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_DISPLAY_SCALING

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

```
public static final int EGL_DISPLAY_SCALING
```

<br />

<br />

Constant Value: 10000 (0x00002710)  

### EGL_DRAW

Added in[API level 17](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 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final int EGL_EXTENSIONS
```

<br />

<br />

Constant Value: 12373 (0x00003055)  

### EGL_FALSE

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

```
public static final int EGL_FALSE
```

<br />

<br />

Constant Value: 0 (0x00000000)  

### EGL_GREEN_SIZE

Added in[API level 17](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 17](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 17](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 17](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 17](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 17](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 17](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_MATCH_NATIVE_PIXMAP

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

```
public static final int EGL_MATCH_NATIVE_PIXMAP
```

<br />

<br />

Constant Value: 12353 (0x00003041)  

### EGL_MAX_PBUFFER_HEIGHT

Added in[API level 17](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 17](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 17](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_MAX_SWAP_INTERVAL

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

```
public static final int EGL_MAX_SWAP_INTERVAL
```

<br />

<br />

Constant Value: 12348 (0x0000303c)  

### EGL_MIN_SWAP_INTERVAL

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

```
public static final int EGL_MIN_SWAP_INTERVAL
```

<br />

<br />

Constant Value: 12347 (0x0000303b)  

### EGL_MIPMAP_LEVEL

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

```
public static final int EGL_MIPMAP_LEVEL
```

<br />

<br />

Constant Value: 12419 (0x00003083)  

### EGL_MIPMAP_TEXTURE

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

```
public static final int EGL_MIPMAP_TEXTURE
```

<br />

<br />

Constant Value: 12418 (0x00003082)  

### EGL_MULTISAMPLE_RESOLVE

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

```
public static final int EGL_MULTISAMPLE_RESOLVE
```

<br />

<br />

Constant Value: 12441 (0x00003099)  

### EGL_MULTISAMPLE_RESOLVE_BOX

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

```
public static final int EGL_MULTISAMPLE_RESOLVE_BOX
```

<br />

<br />

Constant Value: 12443 (0x0000309b)  

### EGL_MULTISAMPLE_RESOLVE_BOX_BIT

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

```
public static final int EGL_MULTISAMPLE_RESOLVE_BOX_BIT
```

<br />

<br />

Constant Value: 512 (0x00000200)  

### EGL_MULTISAMPLE_RESOLVE_DEFAULT

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

```
public static final int EGL_MULTISAMPLE_RESOLVE_DEFAULT
```

<br />

<br />

Constant Value: 12442 (0x0000309a)  

### EGL_NATIVE_RENDERABLE

Added in[API level 17](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 17](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 17](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 17](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 17](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 17](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_NO_TEXTURE

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

```
public static final int EGL_NO_TEXTURE
```

<br />

<br />

Constant Value: 12380 (0x0000305c)  

### EGL_OPENGL_API

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

```
public static final int EGL_OPENGL_API
```

<br />

<br />

Constant Value: 12450 (0x000030a2)  

### EGL_OPENGL_BIT

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

```
public static final int EGL_OPENGL_BIT
```

<br />

<br />

Constant Value: 8 (0x00000008)  

### EGL_OPENGL_ES2_BIT

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

```
public static final int EGL_OPENGL_ES2_BIT
```

<br />

<br />

Constant Value: 4 (0x00000004)  

### EGL_OPENGL_ES_API

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

```
public static final int EGL_OPENGL_ES_API
```

<br />

<br />

Constant Value: 12448 (0x000030a0)  

### EGL_OPENGL_ES_BIT

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

```
public static final int EGL_OPENGL_ES_BIT
```

<br />

<br />

Constant Value: 1 (0x00000001)  

### EGL_OPENVG_API

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

```
public static final int EGL_OPENVG_API
```

<br />

<br />

Constant Value: 12449 (0x000030a1)  

### EGL_OPENVG_BIT

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

```
public static final int EGL_OPENVG_BIT
```

<br />

<br />

Constant Value: 2 (0x00000002)  

### EGL_OPENVG_IMAGE

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

```
public static final int EGL_OPENVG_IMAGE
```

<br />

<br />

Constant Value: 12438 (0x00003096)  

### EGL_PBUFFER_BIT

Added in[API level 17](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 17](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 17](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 17](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 17](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 17](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 17](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 17](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 17](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 17](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 17](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 17](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 17](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 17](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 17](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_SWAP_BEHAVIOR

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

```
public static final int EGL_SWAP_BEHAVIOR
```

<br />

<br />

Constant Value: 12435 (0x00003093)  

### EGL_SWAP_BEHAVIOR_PRESERVED_BIT

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

```
public static final int EGL_SWAP_BEHAVIOR_PRESERVED_BIT
```

<br />

<br />

Constant Value: 1024 (0x00000400)  

### EGL_TEXTURE_2D

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

```
public static final int EGL_TEXTURE_2D
```

<br />

<br />

Constant Value: 12383 (0x0000305f)  

### EGL_TEXTURE_FORMAT

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

```
public static final int EGL_TEXTURE_FORMAT
```

<br />

<br />

Constant Value: 12416 (0x00003080)  

### EGL_TEXTURE_RGB

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

```
public static final int EGL_TEXTURE_RGB
```

<br />

<br />

Constant Value: 12381 (0x0000305d)  

### EGL_TEXTURE_RGBA

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

```
public static final int EGL_TEXTURE_RGBA
```

<br />

<br />

Constant Value: 12382 (0x0000305e)  

### EGL_TEXTURE_TARGET

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

```
public static final int EGL_TEXTURE_TARGET
```

<br />

<br />

Constant Value: 12417 (0x00003081)  

### EGL_TRANSPARENT_BLUE_VALUE

Added in[API level 17](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 17](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 17](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 17](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 17](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_TRUE

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

```
public static final int EGL_TRUE
```

<br />

<br />

Constant Value: 1 (0x00000001)  

### EGL_VENDOR

Added in[API level 17](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 17](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 17](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_VG_ALPHA_FORMAT

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

```
public static final int EGL_VG_ALPHA_FORMAT
```

<br />

<br />

Constant Value: 12424 (0x00003088)  

### EGL_VG_ALPHA_FORMAT_NONPRE

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

```
public static final int EGL_VG_ALPHA_FORMAT_NONPRE
```

<br />

<br />

Constant Value: 12427 (0x0000308b)  

### EGL_VG_ALPHA_FORMAT_PRE

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

```
public static final int EGL_VG_ALPHA_FORMAT_PRE
```

<br />

<br />

Constant Value: 12428 (0x0000308c)  

### EGL_VG_ALPHA_FORMAT_PRE_BIT

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

```
public static final int EGL_VG_ALPHA_FORMAT_PRE_BIT
```

<br />

<br />

Constant Value: 64 (0x00000040)  

### EGL_VG_COLORSPACE

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

```
public static final int EGL_VG_COLORSPACE
```

<br />

<br />

Constant Value: 12423 (0x00003087)  

### EGL_VG_COLORSPACE_LINEAR

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

```
public static final int EGL_VG_COLORSPACE_LINEAR
```

<br />

<br />

Constant Value: 12426 (0x0000308a)  

### EGL_VG_COLORSPACE_LINEAR_BIT

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

```
public static final int EGL_VG_COLORSPACE_LINEAR_BIT
```

<br />

<br />

Constant Value: 32 (0x00000020)  

### EGL_VG_COLORSPACE_sRGB

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

```
public static final int EGL_VG_COLORSPACE_sRGB
```

<br />

<br />

Constant Value: 12425 (0x00003089)  

### EGL_WIDTH

Added in[API level 17](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 17](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_NO_CONTEXT

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

```
public static EGLContext EGL_NO_CONTEXT
```

<br />

<br />

### EGL_NO_DISPLAY

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

```
public static EGLDisplay EGL_NO_DISPLAY
```

<br />

<br />

### EGL_NO_SURFACE

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

```
public static EGLSurface EGL_NO_SURFACE
```

<br />

<br />

## Public constructors

### EGL14

```
public EGL14 ()
```

<br />

<br />

## Public methods

### eglBindAPI

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

```
public static boolean eglBindAPI (int api)
```

<br />

<br />

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

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

### eglBindTexImage

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

```
public static boolean eglBindTexImage (EGLDisplay dpy, 
                EGLSurface surface, 
                int buffer)
```

<br />

<br />

|           Parameters           ||
|-----------|---------------------|
| `dpy`     | `EGLDisplay` <br /> |
| `surface` | `EGLSurface` <br /> |
| `buffer`  | `int` <br />        |

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

### eglChooseConfig

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

```
public static boolean eglChooseConfig (EGLDisplay dpy, 
                int[] attrib_list, 
                int attrib_listOffset, 
                EGLConfig[] configs, 
                int configsOffset, 
                int config_size, 
                int[] num_config, 
                int num_configOffset)
```

<br />

<br />

|                Parameters                ||
|---------------------|---------------------|
| `dpy`               | `EGLDisplay` <br /> |
| `attrib_list`       | `int` <br />        |
| `attrib_listOffset` | `int` <br />        |
| `configs`           | `EGLConfig` <br />  |
| `configsOffset`     | `int` <br />        |
| `config_size`       | `int` <br />        |
| `num_config`        | `int` <br />        |
| `num_configOffset`  | `int` <br />        |

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

### eglCopyBuffers

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

```
public static boolean eglCopyBuffers (EGLDisplay dpy, 
                EGLSurface surface, 
                int target)
```

<br />

<br />

|           Parameters           ||
|-----------|---------------------|
| `dpy`     | `EGLDisplay` <br /> |
| `surface` | `EGLSurface` <br /> |
| `target`  | `int` <br />        |

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

### eglCreateContext

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

```
public static EGLContext eglCreateContext (EGLDisplay dpy, 
                EGLConfig config, 
                EGLContext share_context, 
                int[] attrib_list, 
                int offset)
```

<br />

<br />

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

|                                         Returns                                         ||
|---------------------------------------------------------------------------------|--------|
| [EGLContext](https://developer.android.com/reference/android/opengl/EGLContext) | <br /> |

### eglCreatePbufferFromClientBuffer

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

```
public static EGLSurface eglCreatePbufferFromClientBuffer (EGLDisplay dpy, 
                int buftype, 
                int buffer, 
                EGLConfig config, 
                int[] attrib_list, 
                int offset)
```

<br />

<br />

|             Parameters             ||
|---------------|---------------------|
| `dpy`         | `EGLDisplay` <br /> |
| `buftype`     | `int` <br />        |
| `buffer`      | `int` <br />        |
| `config`      | `EGLConfig` <br />  |
| `attrib_list` | `int` <br />        |
| `offset`      | `int` <br />        |

|                                         Returns                                         ||
|---------------------------------------------------------------------------------|--------|
| [EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface) | <br /> |

### eglCreatePbufferSurface

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

```
public static EGLSurface eglCreatePbufferSurface (EGLDisplay dpy, 
                EGLConfig config, 
                int[] attrib_list, 
                int offset)
```

<br />

<br />

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

|                                         Returns                                         ||
|---------------------------------------------------------------------------------|--------|
| [EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface) | <br /> |

### eglCreatePixmapSurface

Added in[API level 17](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 static EGLSurface eglCreatePixmapSurface (EGLDisplay dpy, 
                EGLConfig config, 
                int pixmap, 
                int[] attrib_list, 
                int offset)
```

<br />

<br />

|             Parameters             ||
|---------------|---------------------|
| `dpy`         | `EGLDisplay` <br /> |
| `config`      | `EGLConfig` <br />  |
| `pixmap`      | `int` <br />        |
| `attrib_list` | `int` <br />        |
| `offset`      | `int` <br />        |

|                                         Returns                                         ||
|---------------------------------------------------------------------------------|--------|
| [EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface) | <br /> |

### eglCreateWindowSurface

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

```
public static EGLSurface eglCreateWindowSurface (EGLDisplay dpy, 
                EGLConfig config, 
                Object win, 
                int[] attrib_list, 
                int offset)
```

<br />

<br />

|             Parameters             ||
|---------------|---------------------|
| `dpy`         | `EGLDisplay` <br /> |
| `config`      | `EGLConfig` <br />  |
| `win`         | `Object` <br />     |
| `attrib_list` | `int` <br />        |
| `offset`      | `int` <br />        |

|                                         Returns                                         ||
|---------------------------------------------------------------------------------|--------|
| [EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface) | <br /> |

### eglDestroyContext

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

```
public static boolean eglDestroyContext (EGLDisplay dpy, 
                EGLContext ctx)
```

<br />

<br />

|         Parameters         ||
|-------|---------------------|
| `dpy` | `EGLDisplay` <br /> |
| `ctx` | `EGLContext` <br /> |

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

### eglDestroySurface

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

```
public static boolean eglDestroySurface (EGLDisplay dpy, 
                EGLSurface surface)
```

<br />

<br />

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

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

### eglGetConfigAttrib

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

```
public static boolean eglGetConfigAttrib (EGLDisplay dpy, 
                EGLConfig config, 
                int attribute, 
                int[] value, 
                int offset)
```

<br />

<br />

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

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

### eglGetConfigs

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

```
public static boolean eglGetConfigs (EGLDisplay dpy, 
                EGLConfig[] configs, 
                int configsOffset, 
                int config_size, 
                int[] num_config, 
                int num_configOffset)
```

<br />

<br />

|               Parameters                ||
|--------------------|---------------------|
| `dpy`              | `EGLDisplay` <br /> |
| `configs`          | `EGLConfig` <br />  |
| `configsOffset`    | `int` <br />        |
| `config_size`      | `int` <br />        |
| `num_config`       | `int` <br />        |
| `num_configOffset` | `int` <br />        |

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

### eglGetCurrentContext

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

```
public static EGLContext eglGetCurrentContext ()
```

<br />

<br />

|                                         Returns                                         ||
|---------------------------------------------------------------------------------|--------|
| [EGLContext](https://developer.android.com/reference/android/opengl/EGLContext) | <br /> |

### eglGetCurrentDisplay

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

```
public static EGLDisplay eglGetCurrentDisplay ()
```

<br />

<br />

|                                         Returns                                         ||
|---------------------------------------------------------------------------------|--------|
| [EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay) | <br /> |

### eglGetCurrentSurface

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

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

<br />

<br />

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

|                                         Returns                                         ||
|---------------------------------------------------------------------------------|--------|
| [EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface) | <br /> |

### eglGetDisplay

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

```
public static EGLDisplay eglGetDisplay (int display_id)
```

<br />

<br />

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

|                                         Returns                                         ||
|---------------------------------------------------------------------------------|--------|
| [EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay) | <br /> |

### eglGetError

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

```
public static int eglGetError ()
```

<br />

<br />

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

### eglInitialize

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

```
public static boolean eglInitialize (EGLDisplay dpy, 
                int[] major, 
                int majorOffset, 
                int[] minor, 
                int minorOffset)
```

<br />

<br />

|             Parameters             ||
|---------------|---------------------|
| `dpy`         | `EGLDisplay` <br /> |
| `major`       | `int` <br />        |
| `majorOffset` | `int` <br />        |
| `minor`       | `int` <br />        |
| `minorOffset` | `int` <br />        |

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

### eglMakeCurrent

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

```
public static boolean eglMakeCurrent (EGLDisplay dpy, 
                EGLSurface draw, 
                EGLSurface read, 
                EGLContext ctx)
```

<br />

<br />

|         Parameters          ||
|--------|---------------------|
| `dpy`  | `EGLDisplay` <br /> |
| `draw` | `EGLSurface` <br /> |
| `read` | `EGLSurface` <br /> |
| `ctx`  | `EGLContext` <br /> |

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

### eglQueryAPI

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

```
public static int eglQueryAPI ()
```

<br />

<br />

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

### eglQueryContext

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

```
public static boolean eglQueryContext (EGLDisplay dpy, 
                EGLContext ctx, 
                int attribute, 
                int[] value, 
                int offset)
```

<br />

<br />

|            Parameters            ||
|-------------|---------------------|
| `dpy`       | `EGLDisplay` <br /> |
| `ctx`       | `EGLContext` <br /> |
| `attribute` | `int` <br />        |
| `value`     | `int` <br />        |
| `offset`    | `int` <br />        |

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

### eglQueryString

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

```
public static String eglQueryString (EGLDisplay dpy, 
                int name)
```

<br />

<br />

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

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

### eglQuerySurface

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

```
public static boolean eglQuerySurface (EGLDisplay dpy, 
                EGLSurface surface, 
                int attribute, 
                int[] value, 
                int offset)
```

<br />

<br />

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

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

### eglReleaseTexImage

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

```
public static boolean eglReleaseTexImage (EGLDisplay dpy, 
                EGLSurface surface, 
                int buffer)
```

<br />

<br />

|           Parameters           ||
|-----------|---------------------|
| `dpy`     | `EGLDisplay` <br /> |
| `surface` | `EGLSurface` <br /> |
| `buffer`  | `int` <br />        |

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

### eglReleaseThread

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

```
public static boolean eglReleaseThread ()
```

<br />

<br />

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

### eglSurfaceAttrib

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

```
public static boolean eglSurfaceAttrib (EGLDisplay dpy, 
                EGLSurface surface, 
                int attribute, 
                int value)
```

<br />

<br />

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

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

### eglSwapBuffers

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

```
public static boolean eglSwapBuffers (EGLDisplay dpy, 
                EGLSurface surface)
```

<br />

<br />

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

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

### eglSwapInterval

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

```
public static boolean eglSwapInterval (EGLDisplay dpy, 
                int interval)
```

<br />

<br />

|           Parameters            ||
|------------|---------------------|
| `dpy`      | `EGLDisplay` <br /> |
| `interval` | `int` <br />        |

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

### eglTerminate

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

```
public static boolean eglTerminate (EGLDisplay dpy)
```

<br />

<br />

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

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

### eglWaitClient

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

```
public static boolean eglWaitClient ()
```

<br />

<br />

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

### eglWaitGL

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

```
public static boolean eglWaitGL ()
```

<br />

<br />

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

### eglWaitNative

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

```
public static boolean eglWaitNative (int engine)
```

<br />

<br />

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

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