I want to use Opengl Es for gpgpu implementation of an image processing code. I want to know can I use Opengl Es for this purpose. If I can than which version of Opengl Es will be more appropriate for this purpose (Opengl Es 1.1 or 2.0).
2 Answers
OpenGL ES is a graphics technology for embedded systems, and therefor not quite as powerful as it's bigger brother. OpenGL ES was not designed with doing gpgpu processing in mind, but some algorithms, especially those that work on images and require per-pixel processing can be implemented.
However for real GPGPU programming you should consider OpenCL, Nvidia CUDA or AMD Stream techniques. For more specific information check the GPGPU website http://gpgpu.org/developer
-
1Thank you sir, but if the platform do not support opencl or cuda? Commented Jun 13, 2011 at 9:13
-
3It is possible to do GPGPU on OpenGL (ES) this is what people did before CUDA and the likes where created. It's often called legacy GPGPU. Check this link: gpgpu.org/developer/legacy-gpgpu-graphics-apis– Roy T.Commented Jun 13, 2011 at 9:59
-
1Would someone care to explain the down vote 50 days after this answer was given?– Roy T.Commented Jul 27, 2011 at 12:14
OpenGL ES 2.0 is much more likely to be useful for image processing tasks than ES 1.1. Though OES_framebuffer_object is not part of ES 2.0 core, it is a widely supported extension. This extension gives you the ability to render to textures.
However, be warned: many OpenGL ES devices are powered by PowerVR graphics hardware. While it is a great low-power, relatively high-performance chip, the tile-based rendering architecture is not as fast for image processing.
Exactly what you will need to do will depend on the image processing algorithm you intend to implement.