24 #ifndef __OPENCL_CL_GL_H
25 #define __OPENCL_CL_GL_H
28 #include <OpenCL/cl_platform.h>
44 #define CL_GL_OBJECT_BUFFER 0x2000
45 #define CL_GL_OBJECT_TEXTURE2D 0x2001
46 #define CL_GL_OBJECT_TEXTURE3D 0x2002
47 #define CL_GL_OBJECT_RENDERBUFFER 0x2003
50 #define CL_GL_TEXTURE_TARGET 0x2004
51 #define CL_GL_MIPMAP_LEVEL 0x2005
65 cl_int * ) CL_API_SUFFIX__VERSION_1_0;
73 cl_int * ) CL_API_SUFFIX__VERSION_1_0;
79 cl_int * ) CL_API_SUFFIX__VERSION_1_0;
84 GLuint * ) CL_API_SUFFIX__VERSION_1_0;
91 size_t * ) CL_API_SUFFIX__VERSION_1_0;
99 cl_event * ) CL_API_SUFFIX__VERSION_1_0;
107 cl_event * ) CL_API_SUFFIX__VERSION_1_0;
113 #endif // __OPENCL_CL_GL_H
cl_uint cl_gl_texture_info
struct _cl_context * cl_context
CL_API_ENTRY cl_mem CL_API_CALL clCreateFromGLTexture3D(cl_context, cl_mem_flags, GLenum, GLint, GLuint, cl_int *) CL_API_SUFFIX__VERSION_1_0
cl_uint cl_gl_platform_info
CL_API_ENTRY cl_int CL_API_CALL clGetGLObjectInfo(cl_mem, cl_gl_object_type *, GLuint *) CL_API_SUFFIX__VERSION_1_0
CL_API_ENTRY cl_int CL_API_CALL clGetGLTextureInfo(cl_mem, cl_gl_texture_info, size_t, void *, size_t *) CL_API_SUFFIX__VERSION_1_0
CL_API_ENTRY cl_mem CL_API_CALL clCreateFromGLTexture2D(cl_context, cl_mem_flags, GLenum, GLint, GLuint, cl_int *) CL_API_SUFFIX__VERSION_1_0
CL_API_ENTRY cl_int CL_API_CALL clEnqueueReleaseGLObjects(cl_command_queue, cl_uint, const cl_mem *, cl_uint, const cl_event *, cl_event *) CL_API_SUFFIX__VERSION_1_0
CL_API_ENTRY cl_mem CL_API_CALL clCreateFromGLBuffer(cl_context, cl_mem_flags, GLuint, int *) CL_API_SUFFIX__VERSION_1_0
struct _cl_event * cl_event
struct _cl_command_queue * cl_command_queue
CL_API_ENTRY cl_int CL_API_CALL clEnqueueAcquireGLObjects(cl_command_queue, cl_uint, const cl_mem *, cl_uint, const cl_event *, cl_event *) CL_API_SUFFIX__VERSION_1_0
CL_API_ENTRY cl_mem CL_API_CALL clCreateFromGLRenderbuffer(cl_context, cl_mem_flags, GLuint, cl_int *) CL_API_SUFFIX__VERSION_1_0
cl_uint cl_gl_object_type