From 6379f5ff97582160f8e4074e083129b6322b89fe Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Tue, 15 Jun 2010 00:18:09 +0200 Subject: OpenCL 1.1 support. - updated headers - removed deprecated function from HLB - updated javadoc taglets and all references - disabled cl_vendor_ext.h since most of them are now in the official headers - TODO revisit callbacks --- resources/includes/CL_orig/cl_gl.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'resources/includes/CL_orig/cl_gl.h') diff --git a/resources/includes/CL_orig/cl_gl.h b/resources/includes/CL_orig/cl_gl.h index f7da00fa..3b4fe069 100644 --- a/resources/includes/CL_orig/cl_gl.h +++ b/resources/includes/CL_orig/cl_gl.h @@ -1,5 +1,5 @@ /********************************************************************************** - * Copyright (c) 2008-2009 The Khronos Group Inc. + * Copyright (c) 2008-2010 The Khronos Group Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and/or associated documentation files (the @@ -21,7 +21,7 @@ * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. **********************************************************************************/ -/* $Revision: 11041 $ on $Date: 2010-04-14 10:50:06 -0700 (Wed, 14 Apr 2010) $ */ +/* $Revision: 11708 $ on $Date: 2010-06-13 23:36:24 -0700 (Sun, 13 Jun 2010) $ */ /* * cl_gl.h contains Khronos-approved (KHR) OpenCL extensions which have @@ -34,9 +34,10 @@ #ifdef __APPLE__ #include +#include #else #include -#endif +#endif #ifdef __cplusplus extern "C" { @@ -45,6 +46,7 @@ extern "C" { typedef cl_uint cl_gl_object_type; typedef cl_uint cl_gl_texture_info; typedef cl_uint cl_gl_platform_info; +typedef struct __GLsync *cl_GLsync; /* cl_gl_object_type */ #define CL_GL_OBJECT_BUFFER 0x2000 @@ -88,7 +90,7 @@ extern CL_API_ENTRY cl_int CL_API_CALL clGetGLObjectInfo(cl_mem /* memobj */, cl_gl_object_type * /* gl_object_type */, cl_GLuint * /* gl_object_name */) CL_API_SUFFIX__VERSION_1_0; - + extern CL_API_ENTRY cl_int CL_API_CALL clGetGLTextureInfo(cl_mem /* memobj */, cl_gl_texture_info /* param_name */, -- cgit v1.2.3