feature: add ohos build

Change-Id: I297770ae07d71987c74b18c475f28b1c5d734ce7
This commit is contained in:
2025-04-06 01:33:19 +08:00
parent 80df10f902
commit 61dad57c0c
61 changed files with 9782 additions and 20 deletions

View File

@@ -52,6 +52,7 @@ enum _egl_platform_type {
_EGL_PLATFORM_SURFACELESS,
_EGL_PLATFORM_DEVICE,
_EGL_PLATFORM_WINDOWS,
_EGL_PLATFORM_OHOS,
_EGL_NUM_PLATFORMS,
_EGL_INVALID_PLATFORM = -1
@@ -329,6 +330,12 @@ _eglGetAndroidDisplay(void *native_display,
const EGLAttrib *attrib_list);
#endif
#ifdef HAVE_OHOS_PLATFORM
_EGLDisplay*
_eglGetOHOSDisplay(void *native_display,
const EGLAttrib *attrib_list);
#endif
_EGLDisplay*
_eglGetDeviceDisplay(void *native_display,
const EGLAttrib *attrib_list);