问题描述
谁能解释一下什么是 EGL 以及它的作用是什么?
如何在 Linux 上将 EGL 与 OpenGL-ES 结合使用?
EGL 是介于硬件和操作系统之间的层吗?
有一个实现,称为 EGL 和 在 Mesa EGL Wiki 中有介绍.实际上你不能使用 XEGL/EGL,
如果您在 Linux 上运行并且不需要 X,那么请查看 Wayland 这是一个建立在 MESA 之上的替代服务器.
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?
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.
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.
这篇关于什么是 EGL 以及如何使用它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!