Create CL event objects linked to EGL fence sync objects.
#pragma OPENCL EXTENSION cl_khr_egl_event : enable
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.
If this extension is supported by an implementation, the string
cl_khr_egl_event will be present in the
CL_PLATFORM_EXTENSIONS string described in table 4.1 (see
CL_DEVICE_EXTENSIONS string described in table 4.3 (see
cl_khr_egl_event extension is supported, then the following function is enabled:
cl_khr_egl_event extension enables changes to the following: