EGL (API)

EGL (OpenGL)
Original authorKhronos Group
DeveloperKhronos Group
Stable release
1.5 / March 19, 2014; 12 years ago (2014-03-19)
Written inC
Operating systemCross-platform
PlatformCross-platform
TypeAPI
Websitewww.khronos.org/egl/

EGL is an interface between Khronos rendering APIs (such as OpenGL, OpenGL ES or OpenVG) and the underlying native platform windowing system. EGL handles graphics context management, surface/buffer binding, rendering synchronization, and enables "high-performance, accelerated, mixed-mode 2D and 3D rendering using other Khronos APIs." EGL is managed by the non-profit technology consortium Khronos Group.

The acronym EGL is an initialism, which starting from EGL version 1.2 refers to Khronos Native Platform Graphics Interface. Prior to version 1.2, the name of the EGL specification was OpenGL ES Native Platform Graphics Interface. X.Org development documentation glossary defines EGL as "Embedded-System Graphics Library".

Adoption

As an interface between OpenGL ES or OpenVG and the underlying windowing system, EGL has found wide adoption.
The Linux graphic stack
Wayland clients use EGL to directly draw into the framebuffer. The display server sits between the kernel (here: Linux kernel) and its clients. It communicates with its clients over a given protocol.
Wayland display server protocol
The free implementations of the Wayland (display server protocol) rely upon the Mesa implementation of EGL. A special library called libwayland-EGL was written to accommodate the access to the framebuffer.

Implementations

See also