Reply – createFromTexture3d -- is it working?
Your Name
or Cancel
In Reply To
createFromTexture3d -- is it working?
— by Will H. Will H.
Is there an example that uses the CLGLContext createFromTexture3d? Has anyone seen this error?

java.lang.IllegalArgumentException: CL_MEM_COPY_HOST_PTR or CL_MEM_USE_HOST_PTR can not be used with OpenGL Buffers.

I've had success with openCL when it's not linked to openGL, and I got the openCL/openGL interoperability demo to run -- but that demo only shares a vertex buffer object, not a texture.  

I would like to have openCL process an openGL texture that already exists on the GPU.

Does anyone have an example that works? Has anyone tried this?