Hi everyone,
on the OpenCL 1.1 quick reference card it says that clCreateFromGLRenderBuffer ‘returns’ a CL Image Object.
In the OpenCL C++ Wrapper library cl::BufferRenderGL is derived from cl::Buffer.
I understand that the underlying structure is almost the same, but a opengl renderbuffer has size information attached to it which can be queried. The same is possible if you call the clGetImageInfo on the cl::BufferRenderGL.
In my eyes cl::BufferRenderGL should be derived from cl::Image as it would allow direct access to image information.
Kind regards,
Florian
Is this the right place to post opencl bugs?