Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is EGL And How Can I Use It

Can Anybody explain me what is EGL and what it does?

How can i use EGL with OpenGL-ES On Linux?

Is EGL a Layer Between Hardware And Operating System?

like image 955
user366250 Avatar asked Jun 27 '10 12:06

user366250


1 Answers

EGL is a window system-independent equivalent to the GLX and WGL APIs, which respectively enable OpenGL support in X and Microsoft Windows. It 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.

EGL Architecture

There is an implementation for Mesa called EGL and covered in the Mesa EGL Wiki. Realistically you can't use XEGL / EGL,

If you're running on Linux and don't need X then look at Wayland which is a replacement server built on top of MESA.

like image 50
Richard Harrison Avatar answered Oct 22 '22 18:10

Richard Harrison