17 #ifndef __OPENCL_CL_EGL_H
18 #define __OPENCL_CL_EGL_H
28 #define CL_COMMAND_EGL_FENCE_SYNC_OBJECT_KHR 0x202F
29 #define CL_COMMAND_ACQUIRE_EGL_OBJECTS_KHR 0x202D
30 #define CL_COMMAND_RELEASE_EGL_OBJECTS_KHR 0x202E
33 #define CL_INVALID_EGL_OBJECT_KHR -1093
34 #define CL_EGL_RESOURCE_NOT_ACQUIRED_KHR -1092
49 #define cl_khr_egl_image 1
53 CLeglDisplayKHR egldisplay,
54 CLeglImageKHR eglimage,
56 const cl_egl_image_properties_khr * properties,
61 CLeglDisplayKHR egldisplay,
62 CLeglImageKHR eglimage,
64 const cl_egl_image_properties_khr * properties,
71 const cl_mem * mem_objects,
72 cl_uint num_events_in_wait_list,
79 const cl_mem * mem_objects,
80 cl_uint num_events_in_wait_list,
88 const cl_mem * mem_objects,
89 cl_uint num_events_in_wait_list,
96 const cl_mem * mem_objects,
97 cl_uint num_events_in_wait_list,
102 #define cl_khr_egl_event 1
107 CLeglDisplayKHR display,
113 CLeglDisplayKHR display,
CL_API_ENTRY cl_int CL_API_CALL clEnqueueAcquireEGLObjectsKHR(cl_command_queue command_queue, cl_uint num_objects, const cl_mem *mem_objects, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
cl_mem(CL_API_CALL * clCreateFromEGLImageKHR_fn)(cl_context context, CLeglDisplayKHR egldisplay, CLeglImageKHR eglimage, cl_mem_flags flags, const cl_egl_image_properties_khr *properties, cl_int *errcode_ret)
struct _cl_context * cl_context
CL_API_ENTRY cl_mem CL_API_CALL clCreateFromEGLImageKHR(cl_context context, CLeglDisplayKHR egldisplay, CLeglImageKHR eglimage, cl_mem_flags flags, const cl_egl_image_properties_khr *properties, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
cl_int(CL_API_CALL * clEnqueueAcquireEGLObjectsKHR_fn)(cl_command_queue command_queue, cl_uint num_objects, const cl_mem *mem_objects, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)
CL_API_ENTRY cl_event CL_API_CALL clCreateEventFromEGLSyncKHR(cl_context context, CLeglSyncKHR sync, CLeglDisplayKHR display, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
cl_int(CL_API_CALL * clEnqueueReleaseEGLObjectsKHR_fn)(cl_command_queue command_queue, cl_uint num_objects, const cl_mem *mem_objects, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)
cl_event(CL_API_CALL * clCreateEventFromEGLSyncKHR_fn)(cl_context context, CLeglSyncKHR sync, CLeglDisplayKHR display, cl_int *errcode_ret)
CL_API_ENTRY cl_int CL_API_CALL clEnqueueReleaseEGLObjectsKHR(cl_command_queue command_queue, cl_uint num_objects, const cl_mem *mem_objects, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
struct _cl_event * cl_event
struct _cl_command_queue * cl_command_queue
intptr_t cl_egl_image_properties_khr