EGL
EGL is an interface between Khronos rendering APIs (such as OpenGL ES and OpenVG) and the underlying native window system. OpenHarmony supports EGL.
Introducing EGL
To use EGL capabilities, include the following header file:
#include <EGL/egl.h>
Add the following dynamic link library to CMakeLists.txt:
libEGL.so
To call the EGL extended APIs, include the following header file and add the macro definition to CMakeLists.txt:
#include <EGL/eglext.h>
EGL_EGLEXT_PROTOTYPES
Supported APIs
Currently, OpenHarmony supports the EGL APIs listed in the topic below. The supported APIs will be continuously updated as the version evolves.