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