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

# EGL15

*** ** * ** ***

` public final class EGL15 `   
` extends https://developer.android.com/reference/java/lang/Object ` ` `

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

<br />

*** ** * ** ***

EGL 1.5

## Summary

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_CL_EVENT_HANDLE` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_CONDITION_SATISFIED` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_CONTEXT_MAJOR_VERSION` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_CONTEXT_MINOR_VERSION` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_CONTEXT_OPENGL_DEBUG` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_CONTEXT_OPENGL_PROFILE_MASK` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_CONTEXT_OPENGL_ROBUST_ACCESS` <br /> |
| `long` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_FOREVER` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_GL_COLORSPACE` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_GL_COLORSPACE_LINEAR` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_GL_COLORSPACE_SRGB` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_GL_RENDERBUFFER` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_GL_TEXTURE_2D` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_GL_TEXTURE_3D` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_GL_TEXTURE_LEVEL` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_GL_TEXTURE_ZOFFSET` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_IMAGE_PRESERVED` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_LOSE_CONTEXT_ON_RESET` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_NO_RESET_NOTIFICATION` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_OPENGL_ES3_BIT` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_PLATFORM_ANDROID_KHR` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_SIGNALED` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_SYNC_CL_EVENT` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_SYNC_CL_EVENT_COMPLETE` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_SYNC_CONDITION` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_SYNC_FENCE` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_SYNC_FLUSH_COMMANDS_BIT` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_SYNC_PRIOR_COMMANDS_COMPLETE` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_SYNC_STATUS` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_SYNC_TYPE` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_TIMEOUT_EXPIRED` <br /> |
| `int` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_UNSIGNALED` <br /> |

| ### Fields ||
|---|---|
| ` public static final https://developer.android.com/reference/android/opengl/EGLContext` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_NO_CONTEXT` <br /> |
| ` public static final https://developer.android.com/reference/android/opengl/EGLDisplay` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_NO_DISPLAY` <br /> |
| ` public static final https://developer.android.com/reference/android/opengl/EGLImage` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_NO_IMAGE` <br /> |
| ` public static final https://developer.android.com/reference/android/opengl/EGLSurface` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_NO_SURFACE` <br /> |
| ` public static final https://developer.android.com/reference/android/opengl/EGLSync` | `https://developer.android.com/reference/android/opengl/EGL15#EGL_NO_SYNC` <br /> |

| ### Public methods ||
|---|---|
| ` static int` | ` https://developer.android.com/reference/android/opengl/EGL15#eglClientWaitSync(android.opengl.EGLDisplay,%20android.opengl.EGLSync,%20int,%20long)(https://developer.android.com/reference/android/opengl/EGLDisplay dpy, https://developer.android.com/reference/android/opengl/EGLSync sync, int flags, long timeout) ` |
| ` static https://developer.android.com/reference/android/opengl/EGLImage` | ` https://developer.android.com/reference/android/opengl/EGL15#eglCreateImage(android.opengl.EGLDisplay,%20android.opengl.EGLContext,%20int,%20long,%20long[],%20int)(https://developer.android.com/reference/android/opengl/EGLDisplay dpy, https://developer.android.com/reference/android/opengl/EGLContext context, int target, long buffer, long[] attrib_list, int offset) ` |
| ` static https://developer.android.com/reference/android/opengl/EGLSurface` | ` https://developer.android.com/reference/android/opengl/EGL15#eglCreatePlatformPixmapSurface(android.opengl.EGLDisplay,%20android.opengl.EGLConfig,%20java.nio.Buffer,%20long[],%20int)(https://developer.android.com/reference/android/opengl/EGLDisplay dpy, https://developer.android.com/reference/android/opengl/EGLConfig config, https://developer.android.com/reference/java/nio/Buffer native_pixmap, long[] attrib_list, int offset) ` |
| ` static https://developer.android.com/reference/android/opengl/EGLSurface` | ` https://developer.android.com/reference/android/opengl/EGL15#eglCreatePlatformWindowSurface(android.opengl.EGLDisplay,%20android.opengl.EGLConfig,%20java.nio.Buffer,%20long[],%20int)(https://developer.android.com/reference/android/opengl/EGLDisplay dpy, https://developer.android.com/reference/android/opengl/EGLConfig config, https://developer.android.com/reference/java/nio/Buffer native_window, long[] attrib_list, int offset) ` |
| ` static https://developer.android.com/reference/android/opengl/EGLSync` | ` https://developer.android.com/reference/android/opengl/EGL15#eglCreateSync(android.opengl.EGLDisplay,%20int,%20long[],%20int)(https://developer.android.com/reference/android/opengl/EGLDisplay dpy, int type, long[] attrib_list, int offset) ` |
| ` static boolean` | ` https://developer.android.com/reference/android/opengl/EGL15#eglDestroyImage(android.opengl.EGLDisplay,%20android.opengl.EGLImage)(https://developer.android.com/reference/android/opengl/EGLDisplay dpy, https://developer.android.com/reference/android/opengl/EGLImage image) ` |
| ` static boolean` | ` https://developer.android.com/reference/android/opengl/EGL15#eglDestroySync(android.opengl.EGLDisplay,%20android.opengl.EGLSync)(https://developer.android.com/reference/android/opengl/EGLDisplay dpy, https://developer.android.com/reference/android/opengl/EGLSync sync) ` |
| ` static https://developer.android.com/reference/android/opengl/EGLDisplay` | ` https://developer.android.com/reference/android/opengl/EGL15#eglGetPlatformDisplay(int,%20long,%20long[],%20int)(int platform, long native_display, long[] attrib_list, int offset) ` |
| ` static boolean` | ` https://developer.android.com/reference/android/opengl/EGL15#eglGetSyncAttrib(android.opengl.EGLDisplay,%20android.opengl.EGLSync,%20int,%20long[],%20int)(https://developer.android.com/reference/android/opengl/EGLDisplay dpy, https://developer.android.com/reference/android/opengl/EGLSync sync, int attribute, long[] value, int offset) ` C function EGLBoolean eglGetSyncAttrib ( EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib \*value ) |
| ` static boolean` | ` https://developer.android.com/reference/android/opengl/EGL15#eglWaitSync(android.opengl.EGLDisplay,%20android.opengl.EGLSync,%20int)(https://developer.android.com/reference/android/opengl/EGLDisplay dpy, https://developer.android.com/reference/android/opengl/EGLSync sync, int flags) ` |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` 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 https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` 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` ` 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` ` 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_CL_EVENT_HANDLE

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

```
public static final int EGL_CL_EVENT_HANDLE
```

<br />

<br />

Constant Value: 12444 (0x0000309c)

### EGL_CONDITION_SATISFIED

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

```
public static final int EGL_CONDITION_SATISFIED
```

<br />

<br />

Constant Value: 12534 (0x000030f6)

### EGL_CONTEXT_MAJOR_VERSION

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

```
public static final int EGL_CONTEXT_MAJOR_VERSION
```

<br />

<br />

Constant Value: 12440 (0x00003098)

### EGL_CONTEXT_MINOR_VERSION

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

```
public static final int EGL_CONTEXT_MINOR_VERSION
```

<br />

<br />

Constant Value: 12539 (0x000030fb)

### EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT

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

```
public static final int EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT
```

<br />

<br />

Constant Value: 2 (0x00000002)

### EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT

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

```
public static final int EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT
```

<br />

<br />

Constant Value: 1 (0x00000001)

### EGL_CONTEXT_OPENGL_DEBUG

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

```
public static final int EGL_CONTEXT_OPENGL_DEBUG
```

<br />

<br />

Constant Value: 12720 (0x000031b0)

### EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE

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

```
public static final int EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE
```

<br />

<br />

Constant Value: 12721 (0x000031b1)

### EGL_CONTEXT_OPENGL_PROFILE_MASK

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

```
public static final int EGL_CONTEXT_OPENGL_PROFILE_MASK
```

<br />

<br />

Constant Value: 12541 (0x000030fd)

### EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY

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

```
public static final int EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY
```

<br />

<br />

Constant Value: 12733 (0x000031bd)

### EGL_CONTEXT_OPENGL_ROBUST_ACCESS

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

```
public static final int EGL_CONTEXT_OPENGL_ROBUST_ACCESS
```

<br />

<br />

Constant Value: 12722 (0x000031b2)

### EGL_FOREVER

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

```
public static final long EGL_FOREVER
```

<br />

<br />

Constant Value: -1 (0xffffffffffffffff)

### EGL_GL_COLORSPACE

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

```
public static final int EGL_GL_COLORSPACE
```

<br />

<br />

Constant Value: 12445 (0x0000309d)

### EGL_GL_COLORSPACE_LINEAR

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

```
public static final int EGL_GL_COLORSPACE_LINEAR
```

<br />

<br />

Constant Value: 12426 (0x0000308a)

### EGL_GL_COLORSPACE_SRGB

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

```
public static final int EGL_GL_COLORSPACE_SRGB
```

<br />

<br />

Constant Value: 12425 (0x00003089)

### EGL_GL_RENDERBUFFER

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

```
public static final int EGL_GL_RENDERBUFFER
```

<br />

<br />

Constant Value: 12473 (0x000030b9)

### EGL_GL_TEXTURE_2D

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

```
public static final int EGL_GL_TEXTURE_2D
```

<br />

<br />

Constant Value: 12465 (0x000030b1)

### EGL_GL_TEXTURE_3D

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

```
public static final int EGL_GL_TEXTURE_3D
```

<br />

<br />

Constant Value: 12466 (0x000030b2)

### EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X

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

```
public static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X
```

<br />

<br />

Constant Value: 12468 (0x000030b4)

### EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y

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

```
public static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
```

<br />

<br />

Constant Value: 12470 (0x000030b6)

### EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z

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

```
public static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
```

<br />

<br />

Constant Value: 12472 (0x000030b8)

### EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X

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

```
public static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X
```

<br />

<br />

Constant Value: 12467 (0x000030b3)

### EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y

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

```
public static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y
```

<br />

<br />

Constant Value: 12469 (0x000030b5)

### EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z

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

```
public static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z
```

<br />

<br />

Constant Value: 12471 (0x000030b7)

### EGL_GL_TEXTURE_LEVEL

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

```
public static final int EGL_GL_TEXTURE_LEVEL
```

<br />

<br />

Constant Value: 12476 (0x000030bc)

### EGL_GL_TEXTURE_ZOFFSET

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

```
public static final int EGL_GL_TEXTURE_ZOFFSET
```

<br />

<br />

Constant Value: 12477 (0x000030bd)

### EGL_IMAGE_PRESERVED

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

```
public static final int EGL_IMAGE_PRESERVED
```

<br />

<br />

Constant Value: 12498 (0x000030d2)

### EGL_LOSE_CONTEXT_ON_RESET

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

```
public static final int EGL_LOSE_CONTEXT_ON_RESET
```

<br />

<br />

Constant Value: 12735 (0x000031bf)

### EGL_NO_RESET_NOTIFICATION

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

```
public static final int EGL_NO_RESET_NOTIFICATION
```

<br />

<br />

Constant Value: 12734 (0x000031be)

### EGL_OPENGL_ES3_BIT

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

```
public static final int EGL_OPENGL_ES3_BIT
```

<br />

<br />

Constant Value: 64 (0x00000040)

### EGL_PLATFORM_ANDROID_KHR

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

```
public static final int EGL_PLATFORM_ANDROID_KHR
```

<br />

<br />

Constant Value: 12609 (0x00003141)

### EGL_SIGNALED

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

```
public static final int EGL_SIGNALED
```

<br />

<br />

Constant Value: 12530 (0x000030f2)

### EGL_SYNC_CL_EVENT

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

```
public static final int EGL_SYNC_CL_EVENT
```

<br />

<br />

Constant Value: 12542 (0x000030fe)

### EGL_SYNC_CL_EVENT_COMPLETE

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

```
public static final int EGL_SYNC_CL_EVENT_COMPLETE
```

<br />

<br />

Constant Value: 12543 (0x000030ff)

### EGL_SYNC_CONDITION

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

```
public static final int EGL_SYNC_CONDITION
```

<br />

<br />

Constant Value: 12536 (0x000030f8)

### EGL_SYNC_FENCE

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

```
public static final int EGL_SYNC_FENCE
```

<br />

<br />

Constant Value: 12537 (0x000030f9)

### EGL_SYNC_FLUSH_COMMANDS_BIT

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

```
public static final int EGL_SYNC_FLUSH_COMMANDS_BIT
```

<br />

<br />

Constant Value: 1 (0x00000001)

### EGL_SYNC_PRIOR_COMMANDS_COMPLETE

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

```
public static final int EGL_SYNC_PRIOR_COMMANDS_COMPLETE
```

<br />

<br />

Constant Value: 12528 (0x000030f0)

### EGL_SYNC_STATUS

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

```
public static final int EGL_SYNC_STATUS
```

<br />

<br />

Constant Value: 12529 (0x000030f1)

### EGL_SYNC_TYPE

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

```
public static final int EGL_SYNC_TYPE
```

<br />

<br />

Constant Value: 12535 (0x000030f7)

### EGL_TIMEOUT_EXPIRED

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

```
public static final int EGL_TIMEOUT_EXPIRED
```

<br />

<br />

Constant Value: 12533 (0x000030f5)

### EGL_UNSIGNALED

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

```
public static final int EGL_UNSIGNALED
```

<br />

<br />

Constant Value: 12531 (0x000030f3)

## Fields

### EGL_NO_CONTEXT

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

```
public static final EGLContext EGL_NO_CONTEXT
```

<br />

<br />

### EGL_NO_DISPLAY

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

```
public static final EGLDisplay EGL_NO_DISPLAY
```

<br />

<br />

### EGL_NO_IMAGE

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

```
public static final EGLImage EGL_NO_IMAGE
```

<br />

<br />

### EGL_NO_SURFACE

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

```
public static final EGLSurface EGL_NO_SURFACE
```

<br />

<br />

### EGL_NO_SYNC

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

```
public static final EGLSync EGL_NO_SYNC
```

<br />

<br />

## Public methods

### eglClientWaitSync

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

```
public static int eglClientWaitSync (EGLDisplay dpy, 
                EGLSync sync, 
                int flags, 
                long timeout)
```

<br />

<br />

| Parameters ||
|---|---|
| `dpy` | `EGLDisplay` <br /> |
| `sync` | `EGLSync` <br /> |
| `flags` | `int` <br /> |
| `timeout` | `long` <br /> |

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

### eglCreateImage

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

```
public static EGLImage eglCreateImage (EGLDisplay dpy, 
                EGLContext context, 
                int target, 
                long buffer, 
                long[] attrib_list, 
                int offset)
```

<br />

<br />

| Parameters ||
|---|---|
| `dpy` | `EGLDisplay` <br /> |
| `context` | `EGLContext` <br /> |
| `target` | `int` <br /> |
| `buffer` | `long` <br /> |
| `attrib_list` | `long` <br /> |
| `offset` | `int` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/opengl/EGLImage` | <br /> |

### eglCreatePlatformPixmapSurface

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

```
public static EGLSurface eglCreatePlatformPixmapSurface (EGLDisplay dpy, 
                EGLConfig config, 
                Buffer native_pixmap, 
                long[] attrib_list, 
                int offset)
```

<br />

<br />

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

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/opengl/EGLSurface` | <br /> |

### eglCreatePlatformWindowSurface

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

```
public static EGLSurface eglCreatePlatformWindowSurface (EGLDisplay dpy, 
                EGLConfig config, 
                Buffer native_window, 
                long[] attrib_list, 
                int offset)
```

<br />

<br />

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

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/opengl/EGLSurface` | <br /> |

### eglCreateSync

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

```
public static EGLSync eglCreateSync (EGLDisplay dpy, 
                int type, 
                long[] attrib_list, 
                int offset)
```

<br />

<br />

| Parameters ||
|---|---|
| `dpy` | `EGLDisplay` <br /> |
| `type` | `int` <br /> |
| `attrib_list` | `long` <br /> |
| `offset` | `int` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/opengl/EGLSync` | <br /> |

### eglDestroyImage

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

```
public static boolean eglDestroyImage (EGLDisplay dpy, 
                EGLImage image)
```

<br />

<br />

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

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

### eglDestroySync

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

```
public static boolean eglDestroySync (EGLDisplay dpy, 
                EGLSync sync)
```

<br />

<br />

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

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

### eglGetPlatformDisplay

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

```
public static EGLDisplay eglGetPlatformDisplay (int platform, 
                long native_display, 
                long[] attrib_list, 
                int offset)
```

<br />

<br />

| Parameters ||
|---|---|
| `platform` | `int` <br /> |
| `native_display` | `long` <br /> |
| `attrib_list` | `long` <br /> |
| `offset` | `int` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/opengl/EGLDisplay` | <br /> |

### eglGetSyncAttrib

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

```
public static boolean eglGetSyncAttrib (EGLDisplay dpy, 
                EGLSync sync, 
                int attribute, 
                long[] value, 
                int offset)
```

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

<br />

| Parameters ||
|---|---|
| `dpy` | `EGLDisplay` <br /> |
| `sync` | `EGLSync` <br /> |
| `attribute` | `int` <br /> |
| `value` | `long` <br /> |
| `offset` | `int` <br /> |

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

### eglWaitSync

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

```
public static boolean eglWaitSync (EGLDisplay dpy, 
                EGLSync sync, 
                int flags)
```

<br />

<br />

| Parameters ||
|---|---|
| `dpy` | `EGLDisplay` <br /> |
| `sync` | `EGLSync` <br /> |
| `flags` | `int` <br /> |

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