Skip to content

Latest commit

 

History

History
46 lines (25 loc) · 1.43 KB

cl_khr_egl_event.adoc

File metadata and controls

46 lines (25 loc) · 1.43 KB

cl_khr_egl_event

Create CL event objects linked to EGL fence sync objects.

#pragma OPENCL EXTENSION cl_khr_egl_event : enable

Description

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 clGetPlatformInfo) or CL_DEVICE_EXTENSIONS string described in table 4.3 (see clGetDeviceInfo).

If the cl_khr_egl_event extension is supported, then the following function is enabled:

The cl_khr_egl_event extension enables changes to the following: