summaryrefslogtreecommitdiffstats
path: root/resources/includes
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-04-15 21:38:11 +0200
committerMichael Bien <[email protected]>2010-04-15 21:38:11 +0200
commit2f6ce2419ec465bb40e076746367ae7073f83f45 (patch)
treec1f9a79dbab6f24d422cd23ae8b0a0e9768d3db9 /resources/includes
parentbb14f43134a9332c014e969b600e094edadd2fb0 (diff)
updated cl_ext.h and cl_gl.h (automatically detected by updateder script).
Diffstat (limited to 'resources/includes')
-rw-r--r--resources/includes/CL_orig/cl_ext.h7
-rw-r--r--resources/includes/CL_orig/cl_gl.h13
2 files changed, 16 insertions, 4 deletions
diff --git a/resources/includes/CL_orig/cl_ext.h b/resources/includes/CL_orig/cl_ext.h
index dbe8424d..d61f6e75 100644
--- a/resources/includes/CL_orig/cl_ext.h
+++ b/resources/includes/CL_orig/cl_ext.h
@@ -21,7 +21,7 @@
* MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
******************************************************************************/
-/* $Revision: 10424 $ on $Date: 2010-02-17 14:34:49 -0800 (Wed, 17 Feb 2010) $ */
+/* $Revision: 11041 $ on $Date: 2010-04-14 10:50:06 -0700 (Wed, 14 Apr 2010) $ */
#ifndef __CL_EXT_H
#define __CL_EXT_H
@@ -52,6 +52,11 @@ clIcdGetPlatformIDsKHR(cl_uint /* num_entries */,
cl_platform_id * /* platforms */,
cl_uint * /* num_platforms */);
+typedef CL_API_ENTRY cl_int (CL_API_CALL *clIcdGetPlatformIDsKHR_fn)(
+ cl_uint num_entries,
+ cl_platform_id * platforms,
+ cl_uint * num_platforms);
+
#ifdef __cplusplus
}
#endif
diff --git a/resources/includes/CL_orig/cl_gl.h b/resources/includes/CL_orig/cl_gl.h
index f3a5c2cf..f7da00fa 100644
--- a/resources/includes/CL_orig/cl_gl.h
+++ b/resources/includes/CL_orig/cl_gl.h
@@ -21,7 +21,7 @@
* MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
**********************************************************************************/
-/* $Revision: 10424 $ on $Date: 2010-02-17 14:34:49 -0800 (Wed, 17 Feb 2010) $ */
+/* $Revision: 11041 $ on $Date: 2010-04-14 10:50:06 -0700 (Wed, 14 Apr 2010) $ */
/*
* cl_gl.h contains Khronos-approved (KHR) OpenCL extensions which have
@@ -36,7 +36,7 @@
#include <OpenCL/cl.h>
#else
#include <CL/cl.h>
-#endif
+#endif
#ifdef __cplusplus
extern "C" {
@@ -88,7 +88,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 */,
@@ -139,6 +139,13 @@ clGetGLContextInfoKHR(const cl_context_properties * /* properties */,
void * /* param_value */,
size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
+typedef CL_API_ENTRY cl_int (CL_API_CALL *clGetGLContextInfoKHR_fn)(
+ const cl_context_properties * properties,
+ cl_gl_context_info param_name,
+ size_t param_value_size,
+ void * param_value,
+ size_t * param_value_size_ret);
+
#ifdef __cplusplus
}
#endif