This extension introduces the concept of "sync objects" into EGL. Sync objects are a synchronization primitive, representing events whose completion can be tested or waited upon. This extension borrows from the GL_ARB_sync extension but introduces a type of sync object known as "reusable sync object" comparable to an OS semaphore. The specification is designed to allow additional types of sync objects to be easily introduced in later extensions.
Reusable sync objects may be used to synchronize activity between threads or between client APIs. Synchronization is accomplished by explicitly changing the status of a reusable object using EGL API commands.
Requires EGL 1..
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final long | |
| public static final long | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static long | |
| public static long | |
| public static boolean | |
| public static boolean | |
| public static boolean | eglGetSyncAttribKHR(long dpy, long sync, int attribute, int[] value)
Array version of: |
| public static boolean | |
| public static long | |
| public static int |
| EGL_CONDITION_SATISFIED_KHR | back to summary |
|---|---|
| public static final int EGL_CONDITION_SATISFIED_KHR | |
| EGL_FOREVER_KHR | back to summary |
|---|---|
| public static final long EGL_FOREVER_KHR | |
| EGL_NO_SYNC_KHR | back to summary |
|---|---|
| public static final long EGL_NO_SYNC_KHR | |
| EGL_SIGNALED_KHR | back to summary |
|---|---|
| public static final int EGL_SIGNALED_KHR | |
| EGL_SYNC_FLUSH_COMMANDS_BIT_KHR | back to summary |
|---|---|
| public static final int EGL_SYNC_FLUSH_COMMANDS_BIT_KHR | |
| EGL_SYNC_REUSABLE_KHR | back to summary |
|---|---|
| public static final int EGL_SYNC_REUSABLE_KHR | |
| EGL_SYNC_STATUS_KHR | back to summary |
|---|---|
| public static final int EGL_SYNC_STATUS_KHR | |
| EGL_SYNC_TYPE_KHR | back to summary |
|---|---|
| public static final int EGL_SYNC_TYPE_KHR | |
| EGL_TIMEOUT_EXPIRED_KHR | back to summary |
|---|---|
| public static final int EGL_TIMEOUT_EXPIRED_KHR | |
| EGL_UNSIGNALED_KHR | back to summary |
|---|---|
| public static final int EGL_UNSIGNALED_KHR | |
| KHRReusableSync | back to summary |
|---|---|
| protected KHRReusableSync() | |
| eglClientWaitSyncKHR | back to summary |
|---|---|
public static int eglClientWaitSyncKHR(long dpy, long sync, int flags, long timeout)
| |
| eglCreateSyncKHR | back to summary |
|---|---|
public static long eglCreateSyncKHR(long dpy, int type, IntBuffer attrib_list)
| |
| eglCreateSyncKHR | back to summary |
|---|---|
| public static long eglCreateSyncKHR(long dpy, int type, int[] attrib_list) Array version of:
| |
| eglDestroySyncKHR | back to summary |
|---|---|
public static boolean eglDestroySyncKHR(long dpy, long sync)
| |
| eglGetSyncAttribKHR | back to summary |
|---|---|
public static boolean eglGetSyncAttribKHR(long dpy, long sync, int attribute, IntBuffer value)
| |
| eglGetSyncAttribKHR | back to summary |
|---|---|
| public static boolean eglGetSyncAttribKHR(long dpy, long sync, int attribute, int[] value) Array version of:
| |
| eglSignalSyncKHR | back to summary |
|---|---|
public static boolean eglSignalSyncKHR(long dpy, long sync, int mode)
| |
| neglCreateSyncKHR | back to summary |
|---|---|
| public static long neglCreateSyncKHR(long dpy, int type, long attrib_list) | |
| neglGetSyncAttribKHR | back to summary |
|---|---|
| public static int neglGetSyncAttribKHR(long dpy, long sync, int attribute, long value) | |