public class KHREGLEvent
extends java.lang.Object
This extension allows creating OpenCL event objects linked to EGL fence sync objects, potentially improving efficiency of sharing images and buffers
between the two APIs. The companion EGL_KHR_cl_event extension provides the complementary functionality of creating an EGL sync object from an
OpenCL event object.
| Modifier and Type | Field and Description |
|---|---|
static int |
CL_COMMAND_EGL_FENCE_SYNC_OBJECT_KHR
Returned by
GetEventInfo when param_name is EVENT_COMMAND_TYPE. |
static int |
CL_INVALID_EGL_OBJECT_KHR
Returned by clCreateEventFromEGLSyncKHR if sync is not a valid EGLSyncKHR handle created with respect to EGLDisplay display.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
clCreateEventFromEGLSyncKHR(long context,
long sync,
long display,
int[] errcode_ret)
Array version of:
CreateEventFromEGLSyncKHR |
static long |
clCreateEventFromEGLSyncKHR(long context,
long sync,
long display,
java.nio.IntBuffer errcode_ret)
Creates a linked event object.
|
static long |
nclCreateEventFromEGLSyncKHR(long context,
long sync,
long display,
long errcode_ret)
Unsafe version of:
CreateEventFromEGLSyncKHR |
public static final int CL_INVALID_EGL_OBJECT_KHR
public static final int CL_COMMAND_EGL_FENCE_SYNC_OBJECT_KHR
GetEventInfo when param_name is EVENT_COMMAND_TYPE.public static long nclCreateEventFromEGLSyncKHR(long context,
long sync,
long display,
long errcode_ret)
CreateEventFromEGLSyncKHRpublic static long clCreateEventFromEGLSyncKHR(long context,
long sync,
long display,
@Nullable
java.nio.IntBuffer errcode_ret)
context - a valid OpenCL contextsync - the name of a sync object of type EGL15.EGL_SYNC_FENCE created with respect to EGLDisplay display.display - an EGLDisplayerrcode_ret - will return an appropriate error code. If errcode_ret is NULL, no error code is returned.public static long clCreateEventFromEGLSyncKHR(long context,
long sync,
long display,
@Nullable
int[] errcode_ret)
CreateEventFromEGLSyncKHRCopyright LWJGL. All Rights Reserved. License terms.