From 9ecc606bce374ea093c6321f2d4921b5019a0b18 Mon Sep 17 00:00:00 2001 From: Wade Walker Date: Sun, 15 Dec 2013 16:16:18 -0600 Subject: Bug 884: Add standard JogAmp build files. The new make/build.xml successfully builds and tests the project. The original NetBeans build files are still present, but won't work anymore since the resources directory is now inside the make directory. The new build files are based on those of JOAL. The new build is not yet minimized and cleaned up, because this commit is meant to be the minimum way to get things functional. --- make/resources/cl-context-if.cfg | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 make/resources/cl-context-if.cfg (limited to 'make/resources/cl-context-if.cfg') diff --git a/make/resources/cl-context-if.cfg b/make/resources/cl-context-if.cfg new file mode 100644 index 00000000..0e9a5617 --- /dev/null +++ b/make/resources/cl-context-if.cfg @@ -0,0 +1,23 @@ +Include cl-common.cfg + +Style InterfaceOnly + +Import com.jogamp.opencl.llb.impl.CLImageFormatImpl +Import com.jogamp.opencl.CLErrorHandler + +ClassJavadoc CLContextBinding /** +ClassJavadoc CLContextBinding * Java bindings to OpenCL contexts. +ClassJavadoc CLContextBinding * @author Michael Bien, GlueGen, et al. +ClassJavadoc CLContextBinding */ +JavaClass CLContextBinding + +IgnoreNot clGetSupportedImageFormats.*|.*GetContextInfo.*|.*RetainContext.*|.*ReleaseContext.*|CL_CONTEXT_.* + +#custom implementations +CustomJavaCode CLContextBinding +CustomJavaCode CLContextBinding /** Interface to C language function:
cl_context {@native clCreateContext}(intptr_t * , uint32_t, cl_device_id * , void (*pfn_notify)(const char *, const void *, size_t, void *), void *, int32_t * ); */ +CustomJavaCode CLContextBinding public long clCreateContext(PointerBuffer properties, PointerBuffer devices, CLErrorHandler pfn_notify, IntBuffer errcode_ret); + +CustomJavaCode CLContextBinding +CustomJavaCode CLContextBinding /** Interface to C language function:
cl_context {@native clCreateContextFromType}(cl_context_properties *properties, cl_device_type device_type, void (*pfn_notify)(const char *errinfo, const void *private_info, size_t cb, void *user_data), void *user_data, cl_int *errcode_ret) ; */ +CustomJavaCode CLContextBinding public long clCreateContextFromType(PointerBuffer properties, long device_type, CLErrorHandler pfn_notify, IntBuffer errcode_ret); -- cgit v1.2.3