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 |
|---|---|
| public static final int | CL_COMMAND_EGL_FENCE_SYNC_OBJECT_KHR
Returned by |
| public static final int | CL_INVALID_EGL_OBJECT_KHR
Returned by clCreateEventFromEGLSyncKHR if sync is not a valid EGLSyncKHR handle created with respect to EGLDisplay display. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static long | clCreateEventFromEGLSyncKHR(long
a valid OpenCL context context, long the name of a sync object of type sync, long org. created with respect to EGLDisplay display.an display, IntBuffer EGLDisplaywill return an appropriate error code. If errcode_ret)errcode_ret is NULL, no error code is returned.Creates a linked event object. |
| public static long | clCreateEventFromEGLSyncKHR(long context, long sync, long display, int[] errcode_ret)
Array version of: |
| public static long | nclCreateEventFromEGLSyncKHR(long context, long sync, long display, long errcode_ret)
Unsafe version of: |
| CL_COMMAND_EGL_FENCE_SYNC_OBJECT_KHR | back to summary |
|---|---|
| public static final int CL_COMMAND_EGL_FENCE_SYNC_OBJECT_KHR Returned by | |
| CL_INVALID_EGL_OBJECT_KHR | back to summary |
|---|---|
| public static final int CL_INVALID_EGL_OBJECT_KHR Returned by clCreateEventFromEGLSyncKHR if sync is not a valid EGLSyncKHR handle created with respect to EGLDisplay display. | |
| KHREGLEvent | back to summary |
|---|---|
| protected KHREGLEvent() | |
| clCreateEventFromEGLSyncKHR | back to summary |
|---|---|
| public static long clCreateEventFromEGLSyncKHR(long context, long sync, long display, IntBuffer errcode_ret) Creates a linked event object.
| |
| clCreateEventFromEGLSyncKHR | back to summary |
|---|---|
| public static long clCreateEventFromEGLSyncKHR(long context, long sync, long display, int[] errcode_ret) Array version of:
| |
| nclCreateEventFromEGLSyncKHR | back to summary |
|---|---|
| public static long nclCreateEventFromEGLSyncKHR(long context, long sync, long display, long errcode_ret) Unsafe version of: | |