|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lwjgl.opengles.EGLKHRFenceSync
public final class EGLKHRFenceSync
EGL_KHR_fence_sync wrapper class.
| Field Summary | |
|---|---|
static int |
EGL_CONDITION_SATISFIED_KHR
Returned by eglClientWaitSyncKHR: |
static long |
EGL_FOREVER_KHR
Accepted in the <timeout> parameter of eglClientWaitSyncKHR: |
static long |
EGL_NO_SYNC_KHR
Returned by eglCreateSyncKHR in the event of an error: |
static int |
EGL_SIGNALED_KHR
Returned in <value> when eglGetSyncAttribKHR is called with <attribute> EGL_SYNC_STATUS_KHR: |
static int |
EGL_SYNC_CONDITION_KHR
Accepted by the <attribute> parameter of eglGetSyncAttribKHR: |
static int |
EGL_SYNC_FENCE_KHR
Accepted by the <type> parameter of eglCreateSyncKHR, and returned in <value> when eglGetSyncAttribKHR is called with <attribute> EGL_SYNC_TYPE_KHR: |
static int |
EGL_SYNC_FLUSH_COMMANDS_BIT_KHR
Accepted in the <flags> parameter of eglClientWaitSyncKHR: |
static int |
EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR
Returned in <value> when eglGetSyncAttribKHR is called with <attribute> EGL_SYNC_CONDITION_KHR: |
static int |
EGL_SYNC_STATUS_KHR
Accepted by the <attribute> parameter of eglGetSyncAttribKHR: |
static int |
EGL_SYNC_TYPE_KHR
Accepted by the <attribute> parameter of eglGetSyncAttribKHR: |
static int |
EGL_TIMEOUT_EXPIRED_KHR
Returned by eglClientWaitSyncKHR: |
static int |
EGL_UNSIGNALED_KHR
Returned in <value> when eglGetSyncAttribKHR is called with <attribute> EGL_SYNC_STATUS_KHR: |
| Method Summary | |
|---|---|
static int |
eglClientWaitSyncKHR(EGLDisplay dpy,
EGLSyncKHR sync,
int flags,
long timeout)
Blocks the calling thread until the specified sync object is signaled, or until a specified timeout value expires. |
static EGLSyncKHR |
eglCreateSyncKHR(EGLDisplay dpy,
int type,
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 |
eglDestroySyncKHR(EGLDisplay dpy,
EGLSyncKHR sync)
Destroys an existing sync object. |
static int |
eglGetSyncAttribKHR(EGLDisplay dpy,
EGLSyncKHR sync,
int attribute)
Returns the value of the sync object attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int EGL_SYNC_FENCE_KHR
public static final int EGL_SYNC_TYPE_KHR
public static final int EGL_SYNC_STATUS_KHR
public static final int EGL_SYNC_CONDITION_KHR
public static final int EGL_SIGNALED_KHR
public static final int EGL_UNSIGNALED_KHR
public static final int EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR
public static final int EGL_SYNC_FLUSH_COMMANDS_BIT_KHR
public static final long EGL_FOREVER_KHR
public static final int EGL_TIMEOUT_EXPIRED_KHR
public static final int EGL_CONDITION_SATISFIED_KHR
public static final long EGL_NO_SYNC_KHR
| Method Detail |
|---|
public static EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy,
int type,
java.nio.IntBuffer attrib_list)
throws LWJGLException
dpy - the EGL displaytype - the sync typeattrib_list - an attribute list (may be null)
LWJGLException - if an EGL error occurs.
public static void eglDestroySyncKHR(EGLDisplay dpy,
EGLSyncKHR sync)
throws LWJGLException
sync - the sync object
LWJGLException - if an EGL error occurs.
public static int eglClientWaitSyncKHR(EGLDisplay dpy,
EGLSyncKHR sync,
int flags,
long timeout)
throws LWJGLException
sync - the sync objectflags - the block flagstimeout - the block timeout
LWJGLException - if an EGL error occurs.
public static int eglGetSyncAttribKHR(EGLDisplay dpy,
EGLSyncKHR sync,
int attribute)
throws LWJGLException
sync - the sync objectattribute - the attribute to query
LWJGLException - if an EGL error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||