1af69d88dSmrg/********************************************************************************** 253c12917Smaya * Copyright (c) 2008-2019 The Khronos Group Inc. 3af69d88dSmrg * 4af69d88dSmrg * Permission is hereby granted, free of charge, to any person obtaining a 5af69d88dSmrg * copy of this software and/or associated documentation files (the 6af69d88dSmrg * "Materials"), to deal in the Materials without restriction, including 7af69d88dSmrg * without limitation the rights to use, copy, modify, merge, publish, 8af69d88dSmrg * distribute, sublicense, and/or sell copies of the Materials, and to 9af69d88dSmrg * permit persons to whom the Materials are furnished to do so, subject to 10af69d88dSmrg * the following conditions: 11af69d88dSmrg * 12af69d88dSmrg * The above copyright notice and this permission notice shall be included 13af69d88dSmrg * in all copies or substantial portions of the Materials. 14af69d88dSmrg * 1553c12917Smaya * MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS 1653c12917Smaya * KHRONOS STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS 1753c12917Smaya * SPECIFICATIONS AND HEADER INFORMATION ARE LOCATED AT 1853c12917Smaya * https://www.khronos.org/registry/ 1953c12917Smaya * 20af69d88dSmrg * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 21af69d88dSmrg * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 22af69d88dSmrg * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 23af69d88dSmrg * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 24af69d88dSmrg * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 25af69d88dSmrg * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 26af69d88dSmrg * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 27af69d88dSmrg **********************************************************************************/ 28af69d88dSmrg 29af69d88dSmrg#ifndef __OPENCL_CL_GL_EXT_H 30af69d88dSmrg#define __OPENCL_CL_GL_EXT_H 31af69d88dSmrg 32af69d88dSmrg#ifdef __cplusplus 33af69d88dSmrgextern "C" { 34af69d88dSmrg#endif 35af69d88dSmrg 3653c12917Smaya#include <CL/cl_gl.h> 37af69d88dSmrg 38af69d88dSmrg/* 3953c12917Smaya * cl_khr_gl_event extension 40af69d88dSmrg */ 41af69d88dSmrg#define CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR 0x200D 42af69d88dSmrg 43af69d88dSmrgextern CL_API_ENTRY cl_event CL_API_CALL 4453c12917SmayaclCreateEventFromGLsyncKHR(cl_context context, 4553c12917Smaya cl_GLsync cl_GLsync, 4653c12917Smaya cl_int * errcode_ret) CL_EXT_SUFFIX__VERSION_1_1; 47af69d88dSmrg 48af69d88dSmrg#ifdef __cplusplus 49af69d88dSmrg} 50af69d88dSmrg#endif 51af69d88dSmrg 52af69d88dSmrg#endif /* __OPENCL_CL_GL_EXT_H */ 53