diff options
author | Wade Walker <[email protected]> | 2015-10-04 14:08:22 -0500 |
---|---|---|
committer | Wade Walker <[email protected]> | 2015-11-08 14:05:31 -0600 |
commit | 0135df38d6ccdf17283a26c9c56adb08a0e6d30e (patch) | |
tree | 5dc9c2b4cee919684cbff454860052fadded2705 /make/config/cl-if.cfg | |
parent | 37c656e3290ff855e1752f9b8a4b830da3000b85 (diff) |
Remove CLGL interface
This removes the last sub-interface that would have to be separately
versioned for future versions of OpenCL. After this, new OpenCL versions
will only create one new interface and one new implementation.
Diffstat (limited to 'make/config/cl-if.cfg')
-rw-r--r-- | make/config/cl-if.cfg | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/make/config/cl-if.cfg b/make/config/cl-if.cfg index d4d600b1..b01ab957 100644 --- a/make/config/cl-if.cfg +++ b/make/config/cl-if.cfg @@ -14,9 +14,6 @@ ClassJavadoc CL * @author Michael Bien, GlueGen, et al. ClassJavadoc CL */ JavaClass CL -#ignore cl-gl interoperability functions. Interface 'CL' is pure OpenCL. -Ignore CL_GL_.*|cl.*GL.*|.*_GL_.* - Ignore clCreateContext Ignore clCreateContextFromType Ignore clBuildProgram @@ -44,3 +41,9 @@ CustomJavaCode CL public int clSetMemObjectDestructorCallback(long memObjID, CL CustomJavaCode CL CustomJavaCode CL /** Interface to C language function: <br> <code> int32_t {@native clSetEventCallback}(cl_event event, cl_int command_exec_callback_type, void (CL_CALLBACK *pfn_event_notify) (cl_event event, cl_int event_command_exec_status, void *user_data), void *user_data); </code> */ CustomJavaCode CL public int clSetEventCallback(long event, int type, CLEventCallback cb); + +CustomJavaCode CL /** To be used on Mac OSX instead of {@link #CL_CGL_SHAREGROUP_KHR}}. FIXME: For all Mac OSX versions? */ +CustomJavaCode CL public static final int CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE = 0x10000000; + +#append to generated c files +#CustomCCode #include <inttypes.h> |