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