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.

http://www.khronos.org/registry/cl/sdk/ … cated.html

cheers

Looks like clCreateFromGLTexture will handle all texture types.

http://www.khronos.org/registry/cl/sdk/ … xture.html