How can I use Opengl Es to implement gpgpu

I want to use Opengl Es to implement gpgpu image processing code. I want to know if I can use Opengl Es for this purpose. If I can, which version of Opengl Es will be more suitable for this purpose (Opengl Es 1.1 or 2.0).

+6
source share
2 answers

OpenGL ES is a graphics technology for embedded systems, and therefore not as powerful as the larger brother. OpenGL ES was not designed with gpgpu processing in mind, but some algorithms, especially those that work with images and require pixel processing, can be implemented.

However, for real GPGPU programming, you should consider the OpenCL, Nvidia CUDA, or AMD Stream methods. For more information, check out the GPGPU website http://gpgpu.org/developer

+4
source

OpenGL ES 2.0 is much more useful for image processing tasks than ES 1.1. Although OES_framebuffer_object is not part of the ES 2.0 kernel, it is a common extension. This extension gives you the ability to visualize textures.

However, a warning: many OpenGL ES devices are equipped with PowerVR graphics hardware. Although it is a very low-power, relatively high-performance chip, the tile-based rendering architecture does not work so fast for image processing.

What you need to do will depend on the image processing algorithm that you are going to implement.

+3
source

Source: https://habr.com/ru/post/890393/


All Articles