## C Specification

#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:

## Document Notes

For more information, see the OpenCL Extension Specification at URL

Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.