Hi
I want to test CL-GL interoperability in OSX 10.8.2, but as I run the demo from github
https://github.com/mbien/jocl-demos/tree/master/src/com/jogamp/opencl/demos/joglinterop , I get this error:
Exception in thread "AWT-EventQueue-0" com.jogamp.opencl.CLException$CLInvalidValueException: can not create CL context [error: CL_INVALID_VALUE]
at com.jogamp.opencl.CLException.checkForError(CLException.java:67)
at com.jogamp.opencl.CLContext.createContext(CLContext.java:230)
at com.jogamp.opencl.gl.CLGLContext.create(CLGLContext.java:126)
at joglinterop.GLCLInteroperabilityDemo.init(GLCLInteroperabilityDemo.java:144)
I can create pure CL contexts and everything works fine in that case, how can I do CL-GL interoperability work in OSX?
Thanks,
Jerry