• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# EGL
2
3[EGL](https://registry.khronos.org/EGL/sdk/docs/man/) is an interface between Khronos rendering APIs (such as [OpenGLES](https://registry.khronos.org/OpenGL-Refpages/es3/) or OpenVG) and the underlying window system. OpenHarmony supports EGL.
4
5## Introducing EGL
6
7To use EGL capabilities, include the following header file:
8
9```cpp
10#include <EGL/egl.h>
11```
12
13Add the following dynamic link library to **CMakeLists.txt**:
14
15```
16libEGL.so
17```
18
19To call the EGL extended APIs, include the following header file and add the macro definition to **CMakeLists.txt**:
20```
21#include <EGL/eglext.h>
22EGL_EGLEXT_PROTOTYPES
23```
24
25## Supported APIs
26
27Currently, OpenHarmony supports the EGL APIs listed in the topic below. The supported APIs will be continuously updated as the version evolves.
28
29
30
31[EGL Symbols Exported from Native APIs](egl-symbol.md)
32