public final class EGLNVSync
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
EGL_ALREADY_SIGNALED_NV
Returned by eglClientWaitSyncNV:
|
static int |
EGL_CONDITION_SATISFIED_NV
Returned by eglClientWaitSyncNV:
|
static long |
EGL_FOREVER_NV
Accepted in the <timeout> parameter of eglClientWaitSyncNV:
|
static long |
EGL_NO_SYNC_NV
Returned by eglCreateFenceSyncNV in the event of an error:
|
static int |
EGL_SIGNALED_NV
Accepted as an attribute value in the <attrib_list> parameter of
eglCreateFenceSyncNV for the EGL_SYNC_STATUS_NV attribute, by
the <mode> parameter of eglSignalSyncNV and returned in <value>
when eglGetSyncAttribNV is called with <attribute>
EGL_SYNC_STATUS_NV:
|
static int |
EGL_SYNC_CONDITION_NV
Accepted in the <attribute> parameter of eglGetSyncAttribNV:
|
static int |
EGL_SYNC_FENCE_NV
Returned in <value> when eglGetSyncAttribNV is called with
<attribute> EGL_SYNC_TYPE_NV:
|
static int |
EGL_SYNC_FLUSH_COMMANDS_BIT_NV
Accepted in the <flags> parameter of eglClientWaitSyncNV:
|
static int |
EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV
Accepted in the <condition> parameter of eglCreateFenceSyncNV, and
returned in <value> when eglGetSyncAttribNV is called with <attribute>
EGL_SYNC_CONDITION_NV:
|
static int |
EGL_SYNC_STATUS_NV
Accepted as an attribute name in the <attrib_list> parameter of
eglCreateFenceSyncNV, and by the <attribute> parameter of
eglGetSyncAttribNV:
|
static int |
EGL_SYNC_TYPE_NV
Accepted in the <attribute> parameter of eglGetSyncAttribNV:
|
static int |
EGL_TIMEOUT_EXPIRED_NV
Returned by eglClientWaitSyncNV:
|
static int |
EGL_UNSIGNALED_NV
Accepted as an attribute value in the <attrib_list> parameter of
eglCreateFenceSyncNV for the EGL_SYNC_STATUS_NV attribute, by
the <mode> parameter of eglSignalSyncNV and returned in <value>
when eglGetSyncAttribNV is called with <attribute>
EGL_SYNC_STATUS_NV:
|
Modifier and Type | Method and Description |
---|---|
static int |
eglClientWaitSyncNV(EGLSyncNV sync,
int flags,
long timeout)
Blocks the calling thread until the specified sync object is
signaled, or until a specified timeout value expires.
|
static EGLSyncNV |
eglCreateFenceSyncNV(EGLDisplay dpy,
int condition,
java.nio.IntBuffer attrib_list)
Creates a fence sync object for the specified EGL display and returns
a handle to the new object.
|
static void |
eglDestroySyncNV(EGLSyncNV sync)
Destroys an existing sync object.
|
static void |
eglFenceNV(EGLSyncNV sync)
Inserts a fence command into the command stream of the bound API's current
context and associates it with sync object.
|
static int |
eglGetSyncAttribNV(EGLSyncNV sync,
int attribute)
Returns the value of the sync object attribute.
|
static void |
eglSignalSyncNV(EGLSyncNV sync,
int mode)
Signals or unsignals the sync object by changing its status to
the specified mode.
|
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 long EGL_FOREVER_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_NO_SYNC_NV
public static EGLSyncNV eglCreateFenceSyncNV(EGLDisplay dpy, int condition, java.nio.IntBuffer attrib_list) throws LWJGLException
dpy
- the EGL displaycondition
- the sync conditionattrib_list
- an attribute list (may be null)LWJGLException
- if an EGL error occurs.public static void eglDestroySyncNV(EGLSyncNV sync) throws LWJGLException
sync
- the sync objectLWJGLException
- if an EGL error occurs.public static void eglFenceNV(EGLSyncNV sync) throws LWJGLException
sync
- the sync objectLWJGLException
- if an EGL error occurs.public static int eglClientWaitSyncNV(EGLSyncNV sync, int flags, long timeout) throws LWJGLException
sync
- the sync objectflags
- the block flagstimeout
- the block timeoutLWJGLException
- if an EGL error occurs.public static void eglSignalSyncNV(EGLSyncNV sync, int mode) throws LWJGLException
sync
- the sync objectmode
- the modeLWJGLException
- if an EGL error occurs.public static int eglGetSyncAttribNV(EGLSyncNV sync, int attribute) throws LWJGLException
sync
- the sync objectattribute
- the attribute to queryLWJGLException
- if an EGL error occurs.Copyright © 2002-2009 lwjgl.org. All Rights Reserved.