C Specification

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

See Also

Document Notes

For more information, see the OpenCL Extension Specification at URL

Copyright 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0