Deprecated in 1.2 (clCreateFromGLTexture2D)

What are the recommended replacements for the functions deprecated in 1.2?
More specifically, clCreateFromGLTexture2D.

There is clEnqueueCopyBufferToImage, so it should be possible to create a shared image and copy from a CL buffer. But this consumes extra GPU memory, and time copying. … cated.html


Looks like clCreateFromGLTexture will handle all texture types. … xture.html