OPEN GL ES和EGL库之间的混淆

时间:2021-11-28 18:59:16

I was reading android source code in that I am not getting what does OPEN GL ES library do and what does EGL library do.?

我正在阅读android源代码,因为我没有得到OPEN GL ES库的功能以及EGL库的功能。

Is there any relationship between this two libraries?

这两个图书馆之间有什么关系吗?

I have looked at http://www.khronos.org/opengles/documentation/opengles1_0/html/ but still not getting.

我查看了http://www.khronos.org/opengles/documentation/opengles1_0/html/,但仍未获得。

5 个解决方案

#1


7  

EGL is the interface between OpenGL ES and the underlying native display platform. It is used to create & manage rendering surfaces & graphics contexts.

EGL是OpenGL ES与底层本机显示平台之间的接口。它用于创建和管理渲染表面和图形上下文。

#2


4  

EGL is used to manage the various display buffers (ie: images you see on the screen) and the OpenGL ES context. These are necessary to use OpenGL ES. So you can think of EGL as an initialization layer for OpenGL ES.

EGL用于管理各种显示缓冲区(即:您在屏幕上看到的图像)和OpenGL ES上下文。这些是使用OpenGL ES所必需的。因此,您可以将EGL视为OpenGL ES的初始化层。

#3


3  

Note that desktop OpenGL has no interaction with EGL, only OpenglES and OpenVG. Take a look here: Can anyone explain the way the "Khronos stack" of technologies fits together?

请注意,桌面OpenGL与EGL没有交互,只有OpenglES和OpenVG。看看这里:任何人都可以解释技术的“Khronos堆栈”的组合方式吗?

#4


2  

Open GL is basically an API for creating applications that draw 2D and 3D graphics. EGL allows you to render APIs like OpenGL. You have many pages explaining this, not difficult to find if you google OpenGL and EGL. For example at khronos.

Open GL基本上是用于创建绘制2D和3D图形的应用程序的API。 EGL允许您呈现像OpenGL这样的API。你有很多页面解释这个,如果你是谷歌OpenGL和EGL不难找到。例如在khronos。

#5


2  

If you are familiar with programming OpenGL on Windows, MacOSX or Linux - EGL is similar as what WGL is on Windows, GLX is on Linux and what AGL/CGL is on MacOSX.

如果您熟悉在Windows,MacOSX或Linux上编程OpenGL - EGL与Windows上的WGL类似,GLX在Linux上,而AGL / CGL在MacOSX上。

#1


7  

EGL is the interface between OpenGL ES and the underlying native display platform. It is used to create & manage rendering surfaces & graphics contexts.

EGL是OpenGL ES与底层本机显示平台之间的接口。它用于创建和管理渲染表面和图形上下文。

#2


4  

EGL is used to manage the various display buffers (ie: images you see on the screen) and the OpenGL ES context. These are necessary to use OpenGL ES. So you can think of EGL as an initialization layer for OpenGL ES.

EGL用于管理各种显示缓冲区(即:您在屏幕上看到的图像)和OpenGL ES上下文。这些是使用OpenGL ES所必需的。因此,您可以将EGL视为OpenGL ES的初始化层。

#3


3  

Note that desktop OpenGL has no interaction with EGL, only OpenglES and OpenVG. Take a look here: Can anyone explain the way the "Khronos stack" of technologies fits together?

请注意,桌面OpenGL与EGL没有交互,只有OpenglES和OpenVG。看看这里:任何人都可以解释技术的“Khronos堆栈”的组合方式吗?

#4


2  

Open GL is basically an API for creating applications that draw 2D and 3D graphics. EGL allows you to render APIs like OpenGL. You have many pages explaining this, not difficult to find if you google OpenGL and EGL. For example at khronos.

Open GL基本上是用于创建绘制2D和3D图形的应用程序的API。 EGL允许您呈现像OpenGL这样的API。你有很多页面解释这个,如果你是谷歌OpenGL和EGL不难找到。例如在khronos。

#5


2  

If you are familiar with programming OpenGL on Windows, MacOSX or Linux - EGL is similar as what WGL is on Windows, GLX is on Linux and what AGL/CGL is on MacOSX.

如果您熟悉在Windows,MacOSX或Linux上编程OpenGL - EGL与Windows上的WGL类似,GLX在Linux上,而AGL / CGL在MacOSX上。