Currently to pass a texture (or renderbuffer) to OpenCL for some fast crunching on the GPU, and to pass the result back to OpenGL, I’m doing:
- << generate with OpenGL >>
glFinishclEnqueueAcquireGLObjects- << crunch with OpenCL >>
clEnqueueReleaseGLObjectsclFinish- << process with OpenGL >>
Is there a faster method of synchronization than glFinish/clFinish currently supported on NVidia? Is Flush good enough?
Any word on when ARB_cl_event will be supported?
(Usage example: here on Slide 37)
Thanks.