OpenCL or OpenGL – which one to use?

Posted by Malte Schledjewski on Stack Overflow See other posts from Stack Overflow or by Malte Schledjewski
Published on 2010-05-29T12:46:18Z Indexed on 2010/05/29 12:52 UTC
Read the original article Hit count: 542

Filed under:
|

My Problem involves a black and white image with a black area in the middle. I never worked with OpenGL or OpenCL before so I do not know which one to chose. I want to put some white circles over the area and check at the end whether the whole image is white. I will try many combinations so I want to use the GPU because of its parallelism.

Should I use OpenGL and create the circle as a texture and put it on top of the image or should I write some OpenCL kernels which work on the pixel/entries in the matrix?

© Stack Overflow or respective owner

Related posts about opengl

Related posts about opencl