EGL™ is an interface between Khronos rendering APIs such as OpenGL ES or OpenVG and the underlying native platform window system. It handles graphics context management, surface/buffer binding, and rendering synchronization and enables high-performance, accelerated, mixed-mode 2D and 3D rendering using other Khronos APIs.
主要拿來在跨平台(Windows, Linux, Apple, Embedded)的時候, 與各個平台的window做一個連結.
顯示畫面會需要用到它
此本書(OpenGL ES programming guide )介紹EGL提供以下機制
- Communicating with the native windowing system of your system.
- Querying the available sypes and configurations of drawing surfaces.
- Creating drawing surfaces.
- Synchronizing rendering between OpenGL ES 2.0 and other graphics rendering APIs (like OpenVG, or the native drawing commands of your windowing system).
- Managing rendering resources such as texture maps.
Reference:
Khronous-EGL
OpenGL ES programming guide
EGL API online