public class NVSync
extends java.lang.Object
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 heavily from the GL_ARB_sync extension, and like that extension, introduces only a single type of sync object, the "fence sync object." Additional types of sync objects may be introduced in later extensions.
Fence sync objects have corresponding fences, which are inserted into client API command streams. A sync object can be queried for a given condition, such as completion of the corresponding fence. Fence completion allows applications to request a partial Finish of an API command stream, wherein all commands issued in a particular client API context will be forced to complete before control is returned to the calling thread.
Requires EGL 1.1.
| Modifier and Type | Field and Description |
|---|---|
static int |
EGL_ALREADY_SIGNALED_NV |
static int |
EGL_CONDITION_SATISFIED_NV |
static long |
EGL_FOREVER_NV |
static long |
EGL_NO_SYNC_NV |
static int |
EGL_SIGNALED_NV |
static int |
EGL_SYNC_CONDITION_NV |
static int |
EGL_SYNC_FENCE_NV |
static int |
EGL_SYNC_FLUSH_COMMANDS_BIT_NV |
static int |
EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV |
static int |
EGL_SYNC_STATUS_NV |
static int |
EGL_SYNC_TYPE_NV |
static int |
EGL_TIMEOUT_EXPIRED_NV |
static int |
EGL_UNSIGNALED_NV |
| Modifier and Type | Method and Description |
|---|---|
static int |
eglClientWaitSyncNV(long sync,
int flags,
long timeout) |
static long |
eglCreateFenceSyncNV(long dpy,
int condition,
int[] attrib_list)
Array version of:
CreateFenceSyncNV |
static long |
eglCreateFenceSyncNV(long dpy,
int condition,
java.nio.IntBuffer attrib_list) |
static boolean |
eglDestroySyncNV(long sync) |
static boolean |
eglFenceNV(long sync) |
static boolean |
eglGetSyncAttribNV(long sync,
int attribute,
int[] value)
Array version of:
GetSyncAttribNV |
static boolean |
eglGetSyncAttribNV(long sync,
int attribute,
java.nio.IntBuffer value) |
static boolean |
eglSignalSyncNV(long sync,
int mode) |
static long |
neglCreateFenceSyncNV(long dpy,
int condition,
long attrib_list) |
static int |
neglGetSyncAttribNV(long sync,
int attribute,
long value) |
public static final int EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV
public static final int EGL_SYNC_STATUS_NV
public static final int EGL_SIGNALED_NV
public static final int EGL_UNSIGNALED_NV
public static final int EGL_SYNC_FLUSH_COMMANDS_BIT_NV
public static final int EGL_ALREADY_SIGNALED_NV
public static final int EGL_TIMEOUT_EXPIRED_NV
public static final int EGL_CONDITION_SATISFIED_NV
public static final int EGL_SYNC_TYPE_NV
public static final int EGL_SYNC_CONDITION_NV
public static final int EGL_SYNC_FENCE_NV
public static final long EGL_FOREVER_NV
public static final long EGL_NO_SYNC_NV
public static long neglCreateFenceSyncNV(long dpy,
int condition,
long attrib_list)
public static long eglCreateFenceSyncNV(long dpy,
int condition,
java.nio.IntBuffer attrib_list)
public static boolean eglDestroySyncNV(long sync)
public static boolean eglFenceNV(long sync)
public static int eglClientWaitSyncNV(long sync,
int flags,
long timeout)
public static boolean eglSignalSyncNV(long sync,
int mode)
public static int neglGetSyncAttribNV(long sync,
int attribute,
long value)
public static boolean eglGetSyncAttribNV(long sync,
int attribute,
java.nio.IntBuffer value)
public static long eglCreateFenceSyncNV(long dpy,
int condition,
int[] attrib_list)
CreateFenceSyncNVpublic static boolean eglGetSyncAttribNV(long sync,
int attribute,
int[] value)
GetSyncAttribNVCopyright LWJGL. All Rights Reserved. License terms.