什么是EGL,我该如何使用 [英] What is EGL And How Can I Use It
问题描述
有人可以向我解释什么是EGL及其作用吗?
Can Anybody explain me what is EGL and what it does?
如何在Linux上的OpenGL-ES中使用EGL?
How can i use EGL with OpenGL-ES On Linux?
EGL是硬件和操作系统之间的一层吗?
Is EGL a Layer Between Hardware And Operating System?
推荐答案
EGL 是一个窗口与系统无关的等效于GLX和WGL API,它们分别在X和Microsoft Windows中启用OpenGL支持.它是Khronos渲染API(例如OpenGL ES或OpenVG)与基础本机平台窗口系统之间的接口.它处理图形上下文管理,表面/缓冲区绑定和渲染同步,并使用其他Khronos API启用高性能,加速的混合模式2D和3D渲染.
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,
如果您在Linux上运行并且不需要X,请查看 Wayland 是在MESA之上构建的替代服务器.
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,我该如何使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!