aboutsummaryrefslogtreecommitdiffstats
path: root/resources/cl-common.cfg
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-09-19 04:34:39 +0200
committerMichael Bien <[email protected]>2009-09-19 04:34:39 +0200
commit8a876cce10aa358ff041a95e5a7a173dc6be3e52 (patch)
tree15a62dfc201d56c2e322f66ab9d886d16515dc9c /resources/cl-common.cfg
parentd31496fc6c4d1e246cfd53beb438312d16f8d582 (diff)
introduced CLGLI interface for OpenCL-OpenGL Interoperability
Diffstat (limited to 'resources/cl-common.cfg')
-rw-r--r--resources/cl-common.cfg17
1 files changed, 17 insertions, 0 deletions
diff --git a/resources/cl-common.cfg b/resources/cl-common.cfg
new file mode 100644
index 00000000..bcdf7ee9
--- /dev/null
+++ b/resources/cl-common.cfg
@@ -0,0 +1,17 @@
+JavaOutputDir gensrc/java
+NativeOutputDir gensrc/native
+
+#map pointers to long as internal representation
+Opaque long cl_context
+Opaque long cl_device_type
+Opaque long cl_command_queue
+Opaque long cl_mem
+Opaque long cl_program
+Opaque long cl_kernel
+Opaque long cl_event
+Opaque long cl_sampler
+
+# TODO doublecheck if not int
+Opaque long cl_platform_id
+Opaque long cl_device_id
+