diff options
author | Wade Walker <[email protected]> | 2015-09-07 14:46:52 -0500 |
---|---|---|
committer | Wade Walker <[email protected]> | 2015-11-08 14:05:28 -0600 |
commit | e56a17d6d7780b8597c78ce50808c8da68d094b5 (patch) | |
tree | a37f9d5f351dd0b85844521ad7d6897fcecc062c /make/config/cl-common.cfg | |
parent | 85dc2b1357470d2a51a69080d33aac442eae291f (diff) |
Add OpenCL 1.2 and 2.0 headers and CLImpl classes
Added stub includes for OpenCL 1.2 and 2.0. Added new CLImpl versions for
1.2 and 2.0 to the build, but left them unused for now. The CL bindings
used by JOCL are still generated from OpenCL 1.1, so the existing Java
code will be able to stay mostly unchanged in the future.
Diffstat (limited to 'make/config/cl-common.cfg')
-rw-r--r-- | make/config/cl-common.cfg | 25 |
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 |