summaryrefslogtreecommitdiffstats
path: root/make/config/clgl-if.cfg
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-01-26 02:14:26 +0100
committerSven Gothel <[email protected]>2014-01-26 02:14:26 +0100
commitaac4c5fc4ab7c77eff3b71f518100dd182ec2c33 (patch)
tree3883e6e9a97146a0cbf503ff67f7b58870fe22dd /make/config/clgl-if.cfg
parentac84afd26ad3b34851a423fb90e6c819b9dc9495 (diff)
Cleanup Build: GlueGen config files, stub_includes; Add JoclVersion, Android JoclVersionActivity
Cleanup Build: - Move gluegen config files into make/config (cleanup) - Move stub_includes into respective folder make/stub_includes and keep resources 'clean' JoclVersion: - Analoge to JoglVersion, replaces JOCLVersion (deprecated for now) - Added text based CL info dump. JoclVersionActivity: - Analog to JoclVersionActivity - Added full launch .. tested on Android (but no OpenCL avail.)
Diffstat (limited to 'make/config/clgl-if.cfg')
-rw-r--r--make/config/clgl-if.cfg26
1 files changed, 26 insertions, 0 deletions
diff --git a/make/config/clgl-if.cfg b/make/config/clgl-if.cfg
new file mode 100644
index 00000000..1671f76c
--- /dev/null
+++ b/make/config/clgl-if.cfg
@@ -0,0 +1,26 @@
+Include cl-common.cfg
+
+#overwrite package
+Package com.jogamp.opencl.llb.gl
+
+import com.jogamp.opencl.llb.CL
+
+Style InterfaceOnly
+
+ClassJavadoc CLGL /**
+ClassJavadoc CLGL * Java bindings to OpenCL, the Open Computing Language.
+ClassJavadoc CLGL * OpenGL - OpenCL interoperability.
+ClassJavadoc CLGL * @author Michael Bien, GlueGen, et al.
+ClassJavadoc CLGL */
+JavaClass CLGL
+
+Extends CLGL CL
+
+#only include token starting with CL_GL_ and methods containing GL
+IgnoreNot CL_GL_.*|cl.*GL.*|.*_GL_.*
+
+CustomJavaCode CLGL /** To be used on Mac OSX instead of {@link #CL_CGL_SHAREGROUP_KHR}}. FIXME: For all Mac OSX versions? */
+CustomJavaCode CLGL public static final int CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE = 0x10000000;
+
+#append to generated c files
+#CustomCCode #include <inttypes.h>