The confusion between OPEN GL ES and the EGL library

I read the Android source code in that I don't understand what the OPEN GL ES library does and what the EGL library does.

Is there a connection between these two libraries?

I looked at http://www.khronos.org/opengles/documentation/opengles1_0/html/ but still not getting it.

+8
c android opengl-es egl
source share
5 answers

EGL is the interface between OpenGL ES and the underlying display platform. It is used to create and manage rendering surfaces and graphic contexts.

+7
source share

EGL is used to manage various display buffers (i.e. the images you see on the screen) and the OpenGL ES context. This is required to use OpenGL ES. So you can think of EGL as the initialization level for OpenGL ES.

+4
source share

Please note that the OpenGL desktop has no interaction with EGL, only OpenglES and OpenVG. Take a look here: Can anyone explain how the Chronos stack is? technology combined?

+3
source share

Open GL is basically an API for creating applications that draw 2D and 3D graphics. EGL allows you to display APIs such as OpenGL. You have many pages explaining this, it is not difficult to find if you google OpenGL and EGL. For example, khronos .

+2
source share

If you are familiar with OpenGL programming on Windows, MacOSX, or Linux - EGL is like WGL is on Windows, GLX is on Linux, and AGL / CGL is on MacOSX.

+2
source share

All Articles