Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Confusion between OPEN GL ES and EGL library

I was reading android source code in that I am not getting what does OPEN GL ES library do and what does EGL library do.?

Is there any relationship between this two libraries?

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

like image 668
Jeegar Patel Avatar asked Jan 19 '12 08:01

Jeegar Patel


People also ask

What is the difference between EGL and OpenGL?

There is no relationship between OpenGL and EGL. EGL generally does not run on desktops, and there is no ability to create a desktop OpenGL context through EGL. OpenGL contexts are instead created and managed by platform-specific APIs. On Windows, the WGL API is used.

What is the difference between OpenGL and OpenGL ES?

The main difference between the two is that OpenGL ES is made for embedded systems like smartphones, while OpenGL is the one on desktops. On the coding level, OpenGL ES does not support fixed-function functions like glBegin/glEnd etc... OpenGL can support fixed-function pipeline (using a compatibility profile).

What is OpenGL ES version?

OpenGL ES is a flavor of the OpenGL specification intended for embedded devices. Android supports several versions of the OpenGL ES API: OpenGL ES 1.0 and 1.1 - This API specification is supported by Android 1.0 and higher. OpenGL ES 2.0 - This API specification is supported by Android 2.2 (API level 8) and higher.

What is Lib EGL?

The main library ( libEGL ) is window system neutral. It provides the EGL API entry points and helper functions for use by the drivers. Drivers are dynamically loaded by the main library and most of the EGL API calls are directly dispatched to the drivers. The driver in use decides the window system to support.


1 Answers

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

like image 66
Ronny Vindenes Avatar answered Oct 21 '22 02:10

Ronny Vindenes