diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/cl-common.cfg | 4 | ||||
-rw-r--r-- | resources/cl-if.cfg | 2 | ||||
-rw-r--r-- | resources/cl-impl.cfg | 4 | ||||
-rw-r--r-- | resources/clImplCustomCode.c | 12 | ||||
-rw-r--r-- | resources/clgl-if.cfg | 4 |
5 files changed, 13 insertions, 13 deletions
diff --git a/resources/cl-common.cfg b/resources/cl-common.cfg index c6b7b07f..cea3c5b8 100644 --- a/resources/cl-common.cfg +++ b/resources/cl-common.cfg @@ -1,7 +1,7 @@ JavaOutputDir gensrc/java NativeOutputDir gensrc/native -Package com.mbien.opencl +Package com.jogamp.opencl #map pointers to long as internal representation Opaque long cl_context @@ -87,7 +87,7 @@ NioDirectOnly clGetGLContextInfoKHR #common rename emitted struct accessors #struct cl_image_format RenameJavaType cl_image_format CLImageFormatImpl -StructPackage cl_image_format com.mbien.opencl.impl +StructPackage cl_image_format com.jogamp.opencl.impl #struct fields ([set|get]+FieldName()) RenameJavaMethod image_channel_order imageChannelOrder diff --git a/resources/cl-if.cfg b/resources/cl-if.cfg index 48a87a58..7ba340f7 100644 --- a/resources/cl-if.cfg +++ b/resources/cl-if.cfg @@ -5,7 +5,7 @@ Style InterfaceOnly #imports for all generated java files Import java.nio.IntBuffer Import java.nio.LongBuffer -Import com.mbien.opencl.impl.CLImageFormatImpl +Import com.jogamp.opencl.impl.CLImageFormatImpl ClassJavadoc CL /** ClassJavadoc CL * Java bindings to OpenCL, the Open Computing Language. diff --git a/resources/cl-impl.cfg b/resources/cl-impl.cfg index f1e97150..93dab2ba 100644 --- a/resources/cl-impl.cfg +++ b/resources/cl-impl.cfg @@ -3,8 +3,8 @@ Include cl-common.cfg Style ImplOnly #imports for all generated java files -Import com.mbien.opencl.* -Import com.mbien.opencl.gl.CLGLI +Import com.jogamp.opencl.* +Import com.jogamp.opencl.gl.CLGLI ClassJavadoc CLImpl /** ClassJavadoc CLImpl * Java bindings to OpenCL, the Open Computing Language. diff --git a/resources/clImplCustomCode.c b/resources/clImplCustomCode.c index 747e2c85..ec4735b3 100644 --- a/resources/clImplCustomCode.c +++ b/resources/clImplCustomCode.c @@ -15,7 +15,7 @@ void createContextCallback(const char * c, const void * v, size_t s, void * o) { */ /* Java->C glue code: - * Java package: com.mbien.opencl.impl.CLImpl + * Java package: com.jogamp.opencl.impl.CLImpl * Java method: long clCreateContextFromType(java.nio.IntBuffer props, long device_type, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret) * C function: cl_context clCreateContextFromType( cl_context_properties * properties , * cl_uint num_devices , @@ -25,7 +25,7 @@ void createContextCallback(const char * c, const void * v, size_t s, void * o) { * cl_int * errcode_ret ); */ JNIEXPORT jlong JNICALL -Java_com_mbien_opencl_impl_CLImpl_clCreateContextFromType0(JNIEnv *env, jobject _unused, +Java_com_jogamp_opencl_impl_CLImpl_clCreateContextFromType0(JNIEnv *env, jobject _unused, jobject props, jint props_byte_offset, jobject device_type, jobject cb, jobject data, jobject errcode, jint errcode_byte_offset) { cl_context_properties* _props_ptr = NULL; @@ -57,7 +57,7 @@ Java_com_mbien_opencl_impl_CLImpl_clCreateContextFromType0(JNIEnv *env, jobject * cl_int * errcode_ret ) CL_API_SUFFIX__VERSION_1_0; */ JNIEXPORT jlong JNICALL -Java_com_mbien_opencl_impl_CLImpl_clCreateContext0(JNIEnv *env, jobject _unused, +Java_com_jogamp_opencl_impl_CLImpl_clCreateContext0(JNIEnv *env, jobject _unused, jobject props, jint props_byte_offset, jint numDevices, jobject deviceList, jint device_type_offset, jobject cb, jobject data, jobject errcode, jint errcode_byte_offset) { cl_context_properties* _props_ptr = NULL; @@ -93,7 +93,7 @@ Java_com_mbien_opencl_impl_CLImpl_clCreateContext0(JNIEnv *env, jobject _unused, * void * user_data ) CL_API_SUFFIX__VERSION_1_0; */ JNIEXPORT jint JNICALL -Java_com_mbien_opencl_impl_CLImpl_clBuildProgram0(JNIEnv *env, jobject _unused, +Java_com_jogamp_opencl_impl_CLImpl_clBuildProgram0(JNIEnv *env, jobject _unused, jlong program, jint deviceCount, jobject deviceList, jint device_type_offset, jstring options, jobject cb, jobject data) { const char* _strchars_options = NULL; @@ -124,12 +124,12 @@ Java_com_mbien_opencl_impl_CLImpl_clBuildProgram0(JNIEnv *env, jobject _unused, } /* Java->C glue code: - * Java package: com.mbien.opencl.impl.CLImpl + * Java package: com.jogamp.opencl.impl.CLImpl * Java method: java.nio.ByteBuffer clEnqueueMapImage(long command_queue, long image, int blocking_map, long map_flags, com.jogamp.gluegen.runtime.PointerBuffer origin, com.jogamp.gluegen.runtime.PointerBuffer range, com.jogamp.gluegen.runtime.PointerBuffer image_row_pitch, com.jogamp.gluegen.runtime.PointerBuffer image_slice_pitch, int num_events_in_wait_list, com.jogamp.gluegen.runtime.PointerBuffer event_wait_list, com.jogamp.gluegen.runtime.PointerBuffer event, java.nio.IntBuffer errcode_ret) * C function: void * clEnqueueMapImage(cl_command_queue command_queue, cl_mem image, uint32_t blocking_map, uint64_t map_flags, const size_t * , const size_t * , size_t * image_row_pitch, size_t * image_slice_pitch, uint32_t num_events_in_wait_list, cl_event * event_wait_list, cl_event * event, int32_t * errcode_ret); */ JNIEXPORT jobject JNICALL -Java_com_mbien_opencl_impl_CLImpl_clEnqueueMapImage0__JJIJLjava_lang_Object_2ILjava_lang_Object_2ILjava_lang_Object_2ILjava_lang_Object_2IILjava_lang_Object_2ILjava_lang_Object_2ILjava_lang_Object_2I(JNIEnv *env, jobject _unused, jlong command_queue, jlong image, jint blocking_map, jlong map_flags, jobject origin, jint origin_byte_offset, jobject range, jint range_byte_offset, jobject image_row_pitch, jint image_row_pitch_byte_offset, jobject image_slice_pitch, jint image_slice_pitch_byte_offset, jint num_events_in_wait_list, jobject event_wait_list, jint event_wait_list_byte_offset, jobject event, jint event_byte_offset, jobject errcode_ret, jint errcode_ret_byte_offset) { +Java_com_jogamp_opencl_impl_CLImpl_clEnqueueMapImage0__JJIJLjava_lang_Object_2ILjava_lang_Object_2ILjava_lang_Object_2ILjava_lang_Object_2IILjava_lang_Object_2ILjava_lang_Object_2ILjava_lang_Object_2I(JNIEnv *env, jobject _unused, jlong command_queue, jlong image, jint blocking_map, jlong map_flags, jobject origin, jint origin_byte_offset, jobject range, jint range_byte_offset, jobject image_row_pitch, jint image_row_pitch_byte_offset, jobject image_slice_pitch, jint image_slice_pitch_byte_offset, jint num_events_in_wait_list, jobject event_wait_list, jint event_wait_list_byte_offset, jobject event, jint event_byte_offset, jobject errcode_ret, jint errcode_ret_byte_offset) { size_t * _origin_ptr = NULL; size_t * _range_ptr = NULL; diff --git a/resources/clgl-if.cfg b/resources/clgl-if.cfg index 58e61755..8e3e5292 100644 --- a/resources/clgl-if.cfg +++ b/resources/clgl-if.cfg @@ -1,9 +1,9 @@ Include cl-common.cfg #overwrite package -Package com.mbien.opencl.gl +Package com.jogamp.opencl.gl -import com.mbien.opencl.CL +import com.jogamp.opencl.CL Style InterfaceOnly |