# EGL15

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

# EGL15

*** ** * ** ***

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

```
class EGL15
```

|---|----------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)               ||
| ↳ | [android.opengl.EGL15](https://developer.android.com/reference/kotlin/android/opengl/EGL15#) |

EGL 1.5

## Summary

|                                                                                                                                 Constants                                                                                                                                  ||
|------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_CL_EVENT_HANDLE](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_CL_EVENT_HANDLE:kotlin.Int) <br />                                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_CONDITION_SATISFIED](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_CONDITION_SATISFIED:kotlin.Int) <br />                                               |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_CONTEXT_MAJOR_VERSION](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_CONTEXT_MAJOR_VERSION:kotlin.Int) <br />                                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_CONTEXT_MINOR_VERSION](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_CONTEXT_MINOR_VERSION:kotlin.Int) <br />                                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT:kotlin.Int) <br />     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT:kotlin.Int) <br />                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_CONTEXT_OPENGL_DEBUG](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_CONTEXT_OPENGL_DEBUG:kotlin.Int) <br />                                             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE:kotlin.Int) <br />                   |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_CONTEXT_OPENGL_PROFILE_MASK](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_CONTEXT_OPENGL_PROFILE_MASK:kotlin.Int) <br />                               |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY:kotlin.Int) <br /> |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_CONTEXT_OPENGL_ROBUST_ACCESS](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_CONTEXT_OPENGL_ROBUST_ACCESS:kotlin.Int) <br />                             |
| static[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | [EGL_FOREVER](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_FOREVER:kotlin.Long) <br />                                                                      |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_GL_COLORSPACE](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_GL_COLORSPACE:kotlin.Int) <br />                                                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_GL_COLORSPACE_LINEAR](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_GL_COLORSPACE_LINEAR:kotlin.Int) <br />                                             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_GL_COLORSPACE_SRGB](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_GL_COLORSPACE_SRGB:kotlin.Int) <br />                                                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_GL_RENDERBUFFER](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_GL_RENDERBUFFER:kotlin.Int) <br />                                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_GL_TEXTURE_2D](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_GL_TEXTURE_2D:kotlin.Int) <br />                                                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_GL_TEXTURE_3D](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_GL_TEXTURE_3D:kotlin.Int) <br />                                                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X:kotlin.Int) <br />                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y:kotlin.Int) <br />                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z:kotlin.Int) <br />                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X:kotlin.Int) <br />                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y:kotlin.Int) <br />                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z:kotlin.Int) <br />                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_GL_TEXTURE_LEVEL](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_GL_TEXTURE_LEVEL:kotlin.Int) <br />                                                     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_GL_TEXTURE_ZOFFSET](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_GL_TEXTURE_ZOFFSET:kotlin.Int) <br />                                                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_IMAGE_PRESERVED](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_IMAGE_PRESERVED:kotlin.Int) <br />                                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_LOSE_CONTEXT_ON_RESET](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_LOSE_CONTEXT_ON_RESET:kotlin.Int) <br />                                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_NO_RESET_NOTIFICATION](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_NO_RESET_NOTIFICATION:kotlin.Int) <br />                                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_OPENGL_ES3_BIT](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_OPENGL_ES3_BIT:kotlin.Int) <br />                                                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_PLATFORM_ANDROID_KHR](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_PLATFORM_ANDROID_KHR:kotlin.Int) <br />                                             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_SIGNALED](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_SIGNALED:kotlin.Int) <br />                                                                     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_SYNC_CL_EVENT](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_SYNC_CL_EVENT:kotlin.Int) <br />                                                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_SYNC_CL_EVENT_COMPLETE](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_SYNC_CL_EVENT_COMPLETE:kotlin.Int) <br />                                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_SYNC_CONDITION](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_SYNC_CONDITION:kotlin.Int) <br />                                                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_SYNC_FENCE](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_SYNC_FENCE:kotlin.Int) <br />                                                                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_SYNC_FLUSH_COMMANDS_BIT](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_SYNC_FLUSH_COMMANDS_BIT:kotlin.Int) <br />                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_SYNC_PRIOR_COMMANDS_COMPLETE](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_SYNC_PRIOR_COMMANDS_COMPLETE:kotlin.Int) <br />                             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_SYNC_STATUS](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_SYNC_STATUS:kotlin.Int) <br />                                                               |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_SYNC_TYPE](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_SYNC_TYPE:kotlin.Int) <br />                                                                   |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_TIMEOUT_EXPIRED](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_TIMEOUT_EXPIRED:kotlin.Int) <br />                                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)   | [EGL_UNSIGNALED](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_UNSIGNALED:kotlin.Int) <br />                                                                 |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                          Public methods                                                                                                                                                                                                                                                                                                                                                                                                                                                          ||
|-----------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)              | [eglClientWaitSync](https://developer.android.com/reference/kotlin/android/opengl/EGL15#eglClientWaitSync(android.opengl.EGLDisplay,%20android.opengl.EGLSync,%20kotlin.Int,%20kotlin.Long))`(`dpy:` `[EGLDisplay](https://developer.android.com/reference/kotlin/android/opengl/EGLDisplay)!`, `sync:` `[EGLSync](https://developer.android.com/reference/kotlin/android/opengl/EGLSync)!`, `flags:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `timeout:` `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` <br />                                                                                                                                                                                                                                            |
| static[EGLImage](https://developer.android.com/reference/kotlin/android/opengl/EGLImage)!     | [eglCreateImage](https://developer.android.com/reference/kotlin/android/opengl/EGL15#eglCreateImage(android.opengl.EGLDisplay,%20android.opengl.EGLContext,%20kotlin.Int,%20kotlin.Long,%20kotlin.LongArray,%20kotlin.Int))`(`dpy:` `[EGLDisplay](https://developer.android.com/reference/kotlin/android/opengl/EGLDisplay)!`, `context:` `[EGLContext](https://developer.android.com/reference/kotlin/android/opengl/EGLContext)!`, `target:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `buffer:` `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`, `attrib_list:` `[LongArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long-array/index.html)!`, `offset:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` <br /> |
| static[EGLSurface](https://developer.android.com/reference/kotlin/android/opengl/EGLSurface)! | [eglCreatePlatformPixmapSurface](https://developer.android.com/reference/kotlin/android/opengl/EGL15#eglCreatePlatformPixmapSurface(android.opengl.EGLDisplay,%20android.opengl.EGLConfig,%20java.nio.Buffer,%20kotlin.LongArray,%20kotlin.Int))`(`dpy:` `[EGLDisplay](https://developer.android.com/reference/kotlin/android/opengl/EGLDisplay)!`, `config:` `[EGLConfig](https://developer.android.com/reference/kotlin/android/opengl/EGLConfig)!`, `native_pixmap:` `[Buffer](https://developer.android.com/reference/kotlin/java/nio/Buffer.html#)!`, `attrib_list:` `[LongArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long-array/index.html)!`, `offset:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` <br />                                                             |
| static[EGLSurface](https://developer.android.com/reference/kotlin/android/opengl/EGLSurface)! | [eglCreatePlatformWindowSurface](https://developer.android.com/reference/kotlin/android/opengl/EGL15#eglCreatePlatformWindowSurface(android.opengl.EGLDisplay,%20android.opengl.EGLConfig,%20java.nio.Buffer,%20kotlin.LongArray,%20kotlin.Int))`(`dpy:` `[EGLDisplay](https://developer.android.com/reference/kotlin/android/opengl/EGLDisplay)!`, `config:` `[EGLConfig](https://developer.android.com/reference/kotlin/android/opengl/EGLConfig)!`, `native_window:` `[Buffer](https://developer.android.com/reference/kotlin/java/nio/Buffer.html#)!`, `attrib_list:` `[LongArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long-array/index.html)!`, `offset:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` <br />                                                             |
| static[EGLSync](https://developer.android.com/reference/kotlin/android/opengl/EGLSync)!       | [eglCreateSync](https://developer.android.com/reference/kotlin/android/opengl/EGL15#eglCreateSync(android.opengl.EGLDisplay,%20kotlin.Int,%20kotlin.LongArray,%20kotlin.Int))`(`dpy:` `[EGLDisplay](https://developer.android.com/reference/kotlin/android/opengl/EGLDisplay)!`, `type:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `attrib_list:` `[LongArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long-array/index.html)!`, `offset:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` <br />                                                                                                                                                                                                                                                 |
| static[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)      | [eglDestroyImage](https://developer.android.com/reference/kotlin/android/opengl/EGL15#eglDestroyImage(android.opengl.EGLDisplay,%20android.opengl.EGLImage))`(`dpy:` `[EGLDisplay](https://developer.android.com/reference/kotlin/android/opengl/EGLDisplay)!`, `image:` `[EGLImage](https://developer.android.com/reference/kotlin/android/opengl/EGLImage)!`)` <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| static[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)      | [eglDestroySync](https://developer.android.com/reference/kotlin/android/opengl/EGL15#eglDestroySync(android.opengl.EGLDisplay,%20android.opengl.EGLSync))`(`dpy:` `[EGLDisplay](https://developer.android.com/reference/kotlin/android/opengl/EGLDisplay)!`, `sync:` `[EGLSync](https://developer.android.com/reference/kotlin/android/opengl/EGLSync)!`)` <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| static[EGLDisplay](https://developer.android.com/reference/kotlin/android/opengl/EGLDisplay)! | [eglGetPlatformDisplay](https://developer.android.com/reference/kotlin/android/opengl/EGL15#eglGetPlatformDisplay(kotlin.Int,%20kotlin.Long,%20kotlin.LongArray,%20kotlin.Int))`(`platform:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `native_display:` `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`, `attrib_list:` `[LongArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long-array/index.html)!`, `offset:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` <br />                                                                                                                                                                                                                                           |
| static[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)      | [eglGetSyncAttrib](https://developer.android.com/reference/kotlin/android/opengl/EGL15#eglGetSyncAttrib(android.opengl.EGLDisplay,%20android.opengl.EGLSync,%20kotlin.Int,%20kotlin.LongArray,%20kotlin.Int))`(`dpy:` `[EGLDisplay](https://developer.android.com/reference/kotlin/android/opengl/EGLDisplay)!`, `sync:` `[EGLSync](https://developer.android.com/reference/kotlin/android/opengl/EGLSync)!`, `attribute:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `value:` `[LongArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long-array/index.html)!`, `offset:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` C function EGLBoolean eglGetSyncAttrib ( EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib \*value )               |
| static[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)      | [eglWaitSync](https://developer.android.com/reference/kotlin/android/opengl/EGL15#eglWaitSync(android.opengl.EGLDisplay,%20android.opengl.EGLSync,%20kotlin.Int))`(`dpy:` `[EGLDisplay](https://developer.android.com/reference/kotlin/android/opengl/EGLDisplay)!`, `sync:` `[EGLSync](https://developer.android.com/reference/kotlin/android/opengl/EGLSync)!`, `flags:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` <br />                                                                                                                                                                                                                                                                                                                                                                  |

|                                                                                                              Properties                                                                                                              ||
|-----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|
| static[EGLContext](https://developer.android.com/reference/kotlin/android/opengl/EGLContext)! | [EGL_NO_CONTEXT](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_NO_CONTEXT:android.opengl.EGLContext) <br /> |
| static[EGLDisplay](https://developer.android.com/reference/kotlin/android/opengl/EGLDisplay)! | [EGL_NO_DISPLAY](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_NO_DISPLAY:android.opengl.EGLDisplay) <br /> |
| static[EGLImage](https://developer.android.com/reference/kotlin/android/opengl/EGLImage)!     | [EGL_NO_IMAGE](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_NO_IMAGE:android.opengl.EGLImage) <br />       |
| static[EGLSurface](https://developer.android.com/reference/kotlin/android/opengl/EGLSurface)! | [EGL_NO_SURFACE](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_NO_SURFACE:android.opengl.EGLSurface) <br /> |
| static[EGLSync](https://developer.android.com/reference/kotlin/android/opengl/EGLSync)!       | [EGL_NO_SYNC](https://developer.android.com/reference/kotlin/android/opengl/EGL15#EGL_NO_SYNC:android.opengl.EGLSync) <br />          |

## Constants

### EGL_CL_EVENT_HANDLE

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

```
static val EGL_CL_EVENT_HANDLE: Int
```  

    Value: 12444

### EGL_CONDITION_SATISFIED

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

```
static val EGL_CONDITION_SATISFIED: Int
```  

    Value: 12534

### EGL_CONTEXT_MAJOR_VERSION

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

```
static val EGL_CONTEXT_MAJOR_VERSION: Int
```  

    Value: 12440

### EGL_CONTEXT_MINOR_VERSION

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

```
static val EGL_CONTEXT_MINOR_VERSION: Int
```  

    Value: 12539

### EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT

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

```
static val EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT: Int
```  

    Value: 2

### EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT

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

```
static val EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT: Int
```  

    Value: 1

### EGL_CONTEXT_OPENGL_DEBUG

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

```
static val EGL_CONTEXT_OPENGL_DEBUG: Int
```  

    Value: 12720

### EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE

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

```
static val EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE: Int
```  

    Value: 12721

### EGL_CONTEXT_OPENGL_PROFILE_MASK

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

```
static val EGL_CONTEXT_OPENGL_PROFILE_MASK: Int
```  

    Value: 12541

### EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY

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

```
static val EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY: Int
```  

    Value: 12733

### EGL_CONTEXT_OPENGL_ROBUST_ACCESS

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

```
static val EGL_CONTEXT_OPENGL_ROBUST_ACCESS: Int
```  

    Value: 12722

### EGL_FOREVER

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

```
static val EGL_FOREVER: Long
```  

    Value: -1L

### EGL_GL_COLORSPACE

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

```
static val EGL_GL_COLORSPACE: Int
```  

    Value: 12445

### EGL_GL_COLORSPACE_LINEAR

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

```
static val EGL_GL_COLORSPACE_LINEAR: Int
```  

    Value: 12426

### EGL_GL_COLORSPACE_SRGB

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

```
static val EGL_GL_COLORSPACE_SRGB: Int
```  

    Value: 12425

### EGL_GL_RENDERBUFFER

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

```
static val EGL_GL_RENDERBUFFER: Int
```  

    Value: 12473

### EGL_GL_TEXTURE_2D

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

```
static val EGL_GL_TEXTURE_2D: Int
```  

    Value: 12465

### EGL_GL_TEXTURE_3D

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

```
static val EGL_GL_TEXTURE_3D: Int
```  

    Value: 12466

### EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X

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

```
static val EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X: Int
```  

    Value: 12468

### EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y

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

```
static val EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y: Int
```  

    Value: 12470

### EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z

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

```
static val EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z: Int
```  

    Value: 12472

### EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X

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

```
static val EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X: Int
```  

    Value: 12467

### EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y

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

```
static val EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y: Int
```  

    Value: 12469

### EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z

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

```
static val EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z: Int
```  

    Value: 12471

### EGL_GL_TEXTURE_LEVEL

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

```
static val EGL_GL_TEXTURE_LEVEL: Int
```  

    Value: 12476

### EGL_GL_TEXTURE_ZOFFSET

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

```
static val EGL_GL_TEXTURE_ZOFFSET: Int
```  

    Value: 12477

### EGL_IMAGE_PRESERVED

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

```
static val EGL_IMAGE_PRESERVED: Int
```  

    Value: 12498

### EGL_LOSE_CONTEXT_ON_RESET

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

```
static val EGL_LOSE_CONTEXT_ON_RESET: Int
```  

    Value: 12735

### EGL_NO_RESET_NOTIFICATION

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

```
static val EGL_NO_RESET_NOTIFICATION: Int
```  

    Value: 12734

### EGL_OPENGL_ES3_BIT

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

```
static val EGL_OPENGL_ES3_BIT: Int
```  

    Value: 64

### EGL_PLATFORM_ANDROID_KHR

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

```
static val EGL_PLATFORM_ANDROID_KHR: Int
```  

    Value: 12609

### EGL_SIGNALED

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

```
static val EGL_SIGNALED: Int
```  

    Value: 12530

### EGL_SYNC_CL_EVENT

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

```
static val EGL_SYNC_CL_EVENT: Int
```  

    Value: 12542

### EGL_SYNC_CL_EVENT_COMPLETE

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

```
static val EGL_SYNC_CL_EVENT_COMPLETE: Int
```  

    Value: 12543

### EGL_SYNC_CONDITION

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

```
static val EGL_SYNC_CONDITION: Int
```  

    Value: 12536

### EGL_SYNC_FENCE

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

```
static val EGL_SYNC_FENCE: Int
```  

    Value: 12537

### EGL_SYNC_FLUSH_COMMANDS_BIT

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

```
static val EGL_SYNC_FLUSH_COMMANDS_BIT: Int
```  

    Value: 1

### EGL_SYNC_PRIOR_COMMANDS_COMPLETE

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

```
static val EGL_SYNC_PRIOR_COMMANDS_COMPLETE: Int
```  

    Value: 12528

### EGL_SYNC_STATUS

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

```
static val EGL_SYNC_STATUS: Int
```  

    Value: 12529

### EGL_SYNC_TYPE

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

```
static val EGL_SYNC_TYPE: Int
```  

    Value: 12535

### EGL_TIMEOUT_EXPIRED

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

```
static val EGL_TIMEOUT_EXPIRED: Int
```  

    Value: 12533

### EGL_UNSIGNALED

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

```
static val EGL_UNSIGNALED: Int
```  

    Value: 12531

## Public methods

### eglClientWaitSync

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

```
static fun eglClientWaitSync(
    dpy: EGLDisplay!, 
    sync: EGLSync!, 
    flags: Int, 
    timeout: Long
): Int
```  

### eglCreateImage

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

```
static fun eglCreateImage(
    dpy: EGLDisplay!, 
    context: EGLContext!, 
    target: Int, 
    buffer: Long, 
    attrib_list: LongArray!, 
    offset: Int
): EGLImage!
```  

### eglCreatePlatformPixmapSurface

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

```
static fun eglCreatePlatformPixmapSurface(
    dpy: EGLDisplay!, 
    config: EGLConfig!, 
    native_pixmap: Buffer!, 
    attrib_list: LongArray!, 
    offset: Int
): EGLSurface!
```  

### eglCreatePlatformWindowSurface

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

```
static fun eglCreatePlatformWindowSurface(
    dpy: EGLDisplay!, 
    config: EGLConfig!, 
    native_window: Buffer!, 
    attrib_list: LongArray!, 
    offset: Int
): EGLSurface!
```  

### eglCreateSync

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

```
static fun eglCreateSync(
    dpy: EGLDisplay!, 
    type: Int, 
    attrib_list: LongArray!, 
    offset: Int
): EGLSync!
```  

### eglDestroyImage

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

```
static fun eglDestroyImage(
    dpy: EGLDisplay!, 
    image: EGLImage!
): Boolean
```  

### eglDestroySync

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

```
static fun eglDestroySync(
    dpy: EGLDisplay!, 
    sync: EGLSync!
): Boolean
```  

### eglGetPlatformDisplay

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

```
static fun eglGetPlatformDisplay(
    platform: Int, 
    native_display: Long, 
    attrib_list: LongArray!, 
    offset: Int
): EGLDisplay!
```  

### eglGetSyncAttrib

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

```
static fun eglGetSyncAttrib(
    dpy: EGLDisplay!, 
    sync: EGLSync!, 
    attribute: Int, 
    value: LongArray!, 
    offset: Int
): Boolean
```

C function EGLBoolean eglGetSyncAttrib ( EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib \*value )  

### eglWaitSync

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

```
static fun eglWaitSync(
    dpy: EGLDisplay!, 
    sync: EGLSync!, 
    flags: Int
): Boolean
```

## Properties

### EGL_NO_CONTEXT

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

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

### EGL_NO_DISPLAY

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

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

### EGL_NO_IMAGE

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

```
static val EGL_NO_IMAGE: EGLImage!
```  

### EGL_NO_SURFACE

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

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

### EGL_NO_SYNC

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

```
static val EGL_NO_SYNC: EGLSync!
```