EGL APIs are used between OpenGL ES and the underlying window system.
You can use these APIs to obtain the underlying configuration and information about the EGL display device,
create EGLSurface and EGLContext objects, and associate the created objects.
Then, you can call rendering APIs of OpenGL ES to draw your desired content and save the content on the EGLSurface.
Finally, you call EGL.eglSwapBuffers(EGLDisplay, EGLSurface) to display the content on the screen.
Note: OpenGL ES requires the support of the hardware device. Before using OpenGL ES APIs,check the API version supported by the current device.
| 类 | 说明 |
|---|---|
| EGL | |
| EGLConfig |
Represents a wrapper class for the
EGLConfig object. |
| EGLContext |
Represents a wrapper class for the
EGLContext object. |
| EGLDisplay |
Represents a wrapper class for the
EGLDisplay object. |
| EGLObjectHandle |
Represents a wrapper class for the EGL object.
|
| EGLSurface |
Represents a wrapper class for the
EGLSurface object. |
| ETC1 |
Provides methods to operate on ETC1 textures.
|
| GLES1X | |
| GLES20 | |
| GLES2Ext | |
| GLES30 | |
| GLES31 | |
| GLES32 | |
| GLESExt | |
| Utils |
A utility class that provides methods for comparing floating-point numbers.
|