aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/cl-common.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/config/cl-common.cfg')
-rw-r--r--make/config/cl-common.cfg25
1 files changed, 24 insertions, 1 deletions
diff --git a/make/config/cl-common.cfg b/make/config/cl-common.cfg
index 2310d2b5..bf08b025 100644
--- a/make/config/cl-common.cfg
+++ b/make/config/cl-common.cfg
@@ -1,5 +1,4 @@
JavaOutputDir gensrc/java
-NativeOutputDir gensrc/native/jocl
Package com.jogamp.opencl.llb
@@ -31,6 +30,9 @@ Ignore __GLsync
ArgumentIsString clCreateProgramWithSource 2
ArgumentIsString clBuildProgram 3
ArgumentIsString clCreateKernel 1
+ArgumentIsString clCompileProgram 3
+ArgumentIsString clCompileProgram 6
+ArgumentIsString clLinkProgram 3
#common ignore
Ignore clGetExtensionFunctionAddress
@@ -121,6 +123,27 @@ ClassJavadoc CLImageFormatImpl * Struct accessor for cl_image_format.
ClassJavadoc CLImageFormatImpl * @author Michael Bien, GlueGen, et al.
ClassJavadoc CLImageFormatImpl */
+#struct cl_image_desc
+RenameJavaType cl_image_desc CLImageDescImpl
+StructPackage cl_image_desc com.jogamp.opencl.llb.impl
+# ignore this field because it causes GlueGen to erroneously create JNI code
+IgnoreField CLImageDescImpl buffer
+
+#struct fields ([set|get]+FieldName())
+RenameJavaSymbol CLImageDescImpl.image_type imageType
+RenameJavaSymbol CLImageDescImpl.image_width imageWidth
+RenameJavaSymbol CLImageDescImpl.image_height imageHeight
+RenameJavaSymbol CLImageDescImpl.image_depth imageDepth
+RenameJavaSymbol CLImageDescImpl.image_array_size imageArraySize
+RenameJavaSymbol CLImageDescImpl.image_row_pitch imageRowPitch
+RenameJavaSymbol CLImageDescImpl.image_slice_pitch imageSlicePitch
+RenameJavaSymbol CLImageDescImpl.num_mip_levels numMipLevels
+RenameJavaSymbol CLImageDescImpl.num_samples numSamples
+
+ClassJavadoc CLImageDescImpl /**
+ClassJavadoc CLImageDescImpl * Struct accessor for cl_image_desc.
+ClassJavadoc CLImageDescImpl * @author Wade Walker, GlueGen, et al.
+ClassJavadoc CLImageDescImpl */
# Pick up on-line OpenCL doc and link it with the javadoc
TagNativeBinding true