I want to know how to transfer data calculated from CL to GL render buffer or frame buffer. I calculated some image data with OpenCL and want to display results. I saw several topics about CL/GL interop, but not clear. What is the fastest and stable way to transfer data from CL to frame buffer?
CL/GL interoperability is fastest way. you can share buffers between GL and CL without copying or moving.
look into SimpleGL and BoxFilterGL examples.