summaryrefslogtreecommitdiffstats
path: root/resources/OpenCL.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/OpenCL.cfg
parentd31496fc6c4d1e246cfd53beb438312d16f8d582 (diff)
introduced CLGLI interface for OpenCL-OpenGL Interoperability
Diffstat (limited to 'resources/OpenCL.cfg')
-rw-r--r--resources/OpenCL.cfg24
1 files changed, 6 insertions, 18 deletions
diff --git a/resources/OpenCL.cfg b/resources/OpenCL.cfg
index 9ac199c1..5cf23c88 100644
--- a/resources/OpenCL.cfg
+++ b/resources/OpenCL.cfg
@@ -1,10 +1,12 @@
+Include cl-common.cfg
+
Package com.mbien.opencl
Style InterfaceAndImpl
#imports for all generated java files
Import com.mbien.opencl.*
-Import java.nio.*
+#Import java.nio.*
ClassJavadoc CL /**
ClassJavadoc CL * Java bindings to OpenCL, the Open Computing Language.
@@ -12,24 +14,10 @@ ClassJavadoc CL * @autor Michael Bien
ClassJavadoc CL */
JavaClass CL
-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
+ImplJavaClass CLImpl
+Implements CLImpl CLGLI
#append to generated c files
CustomCCode #include <cl.h>
CustomCCode #include <gl3.h>
-CustomCCode #include <inttypes.h>
+CustomCCode #include <inttypes.h> \ No newline at end of file