17777dab0Sopenharmony_ci#ifndef __eglext_h_ 27777dab0Sopenharmony_ci#define __eglext_h_ 1 37777dab0Sopenharmony_ci 47777dab0Sopenharmony_ci#ifdef __cplusplus 57777dab0Sopenharmony_ciextern "C" { 67777dab0Sopenharmony_ci#endif 77777dab0Sopenharmony_ci 87777dab0Sopenharmony_ci/* 97777dab0Sopenharmony_ci** Copyright 2013-2020 The Khronos Group Inc. 107777dab0Sopenharmony_ci** SPDX-License-Identifier: Apache-2.0 117777dab0Sopenharmony_ci** 127777dab0Sopenharmony_ci** This header is generated from the Khronos EGL XML API Registry. 137777dab0Sopenharmony_ci** The current version of the Registry, generator scripts 147777dab0Sopenharmony_ci** used to make the header, and the header can be found at 157777dab0Sopenharmony_ci** http://www.khronos.org/registry/egl 167777dab0Sopenharmony_ci** 177777dab0Sopenharmony_ci** Khronos $Git commit SHA1: 76c9410321 $ on $Git commit date: 2022-01-04 20:51:44 +0800 $ 187777dab0Sopenharmony_ci*/ 197777dab0Sopenharmony_ci 207777dab0Sopenharmony_ci#include <EGL/eglplatform.h> 217777dab0Sopenharmony_ci 227777dab0Sopenharmony_ci#define EGL_EGLEXT_VERSION 20220105 237777dab0Sopenharmony_ci 247777dab0Sopenharmony_ci/* Generated C header for: 257777dab0Sopenharmony_ci * API: egl 267777dab0Sopenharmony_ci * Versions considered: .* 277777dab0Sopenharmony_ci * Versions emitted: _nomatch_^ 287777dab0Sopenharmony_ci * Default extensions included: egl 297777dab0Sopenharmony_ci * Additional extensions included: _nomatch_^ 307777dab0Sopenharmony_ci * Extensions removed: _nomatch_^ 317777dab0Sopenharmony_ci */ 327777dab0Sopenharmony_ci 337777dab0Sopenharmony_ci#ifndef EGL_KHR_cl_event 347777dab0Sopenharmony_ci#define EGL_KHR_cl_event 1 357777dab0Sopenharmony_ci#define EGL_CL_EVENT_HANDLE_KHR 0x309C 367777dab0Sopenharmony_ci#define EGL_SYNC_CL_EVENT_KHR 0x30FE 377777dab0Sopenharmony_ci#define EGL_SYNC_CL_EVENT_COMPLETE_KHR 0x30FF 387777dab0Sopenharmony_ci#endif /* EGL_KHR_cl_event */ 397777dab0Sopenharmony_ci 407777dab0Sopenharmony_ci#ifndef EGL_KHR_cl_event2 417777dab0Sopenharmony_ci#define EGL_KHR_cl_event2 1 427777dab0Sopenharmony_citypedef void *EGLSyncKHR; 437777dab0Sopenharmony_citypedef intptr_t EGLAttribKHR; 447777dab0Sopenharmony_citypedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNC64KHRPROC) (EGLDisplay dpy, EGLenum type, const EGLAttribKHR *attrib_list); 457777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 467777dab0Sopenharmony_ciEGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, const EGLAttribKHR *attrib_list); 477777dab0Sopenharmony_ci#endif 487777dab0Sopenharmony_ci#endif /* EGL_KHR_cl_event2 */ 497777dab0Sopenharmony_ci 507777dab0Sopenharmony_ci#ifndef EGL_KHR_client_get_all_proc_addresses 517777dab0Sopenharmony_ci#define EGL_KHR_client_get_all_proc_addresses 1 527777dab0Sopenharmony_ci#endif /* EGL_KHR_client_get_all_proc_addresses */ 537777dab0Sopenharmony_ci 547777dab0Sopenharmony_ci#ifndef EGL_KHR_config_attribs 557777dab0Sopenharmony_ci#define EGL_KHR_config_attribs 1 567777dab0Sopenharmony_ci#define EGL_CONFORMANT_KHR 0x3042 577777dab0Sopenharmony_ci#define EGL_VG_COLORSPACE_LINEAR_BIT_KHR 0x0020 587777dab0Sopenharmony_ci#define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR 0x0040 597777dab0Sopenharmony_ci#endif /* EGL_KHR_config_attribs */ 607777dab0Sopenharmony_ci 617777dab0Sopenharmony_ci#ifndef EGL_KHR_context_flush_control 627777dab0Sopenharmony_ci#define EGL_KHR_context_flush_control 1 637777dab0Sopenharmony_ci#define EGL_CONTEXT_RELEASE_BEHAVIOR_NONE_KHR 0 647777dab0Sopenharmony_ci#define EGL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x2097 657777dab0Sopenharmony_ci#define EGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x2098 667777dab0Sopenharmony_ci#endif /* EGL_KHR_context_flush_control */ 677777dab0Sopenharmony_ci 687777dab0Sopenharmony_ci#ifndef EGL_KHR_create_context 697777dab0Sopenharmony_ci#define EGL_KHR_create_context 1 707777dab0Sopenharmony_ci#define EGL_CONTEXT_MAJOR_VERSION_KHR 0x3098 717777dab0Sopenharmony_ci#define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB 727777dab0Sopenharmony_ci#define EGL_CONTEXT_FLAGS_KHR 0x30FC 737777dab0Sopenharmony_ci#define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD 747777dab0Sopenharmony_ci#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD 757777dab0Sopenharmony_ci#define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE 767777dab0Sopenharmony_ci#define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF 777777dab0Sopenharmony_ci#define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 787777dab0Sopenharmony_ci#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002 797777dab0Sopenharmony_ci#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 807777dab0Sopenharmony_ci#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 817777dab0Sopenharmony_ci#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 827777dab0Sopenharmony_ci#define EGL_OPENGL_ES3_BIT_KHR 0x00000040 837777dab0Sopenharmony_ci#endif /* EGL_KHR_create_context */ 847777dab0Sopenharmony_ci 857777dab0Sopenharmony_ci#ifndef EGL_KHR_create_context_no_error 867777dab0Sopenharmony_ci#define EGL_KHR_create_context_no_error 1 877777dab0Sopenharmony_ci#define EGL_CONTEXT_OPENGL_NO_ERROR_KHR 0x31B3 887777dab0Sopenharmony_ci#endif /* EGL_KHR_create_context_no_error */ 897777dab0Sopenharmony_ci 907777dab0Sopenharmony_ci#ifndef EGL_KHR_debug 917777dab0Sopenharmony_ci#define EGL_KHR_debug 1 927777dab0Sopenharmony_citypedef void *EGLLabelKHR; 937777dab0Sopenharmony_citypedef void *EGLObjectKHR; 947777dab0Sopenharmony_citypedef void (EGLAPIENTRY *EGLDEBUGPROCKHR)(EGLenum error,const char *command,EGLint messageType,EGLLabelKHR threadLabel,EGLLabelKHR objectLabel,const char* message); 957777dab0Sopenharmony_ci#define EGL_OBJECT_THREAD_KHR 0x33B0 967777dab0Sopenharmony_ci#define EGL_OBJECT_DISPLAY_KHR 0x33B1 977777dab0Sopenharmony_ci#define EGL_OBJECT_CONTEXT_KHR 0x33B2 987777dab0Sopenharmony_ci#define EGL_OBJECT_SURFACE_KHR 0x33B3 997777dab0Sopenharmony_ci#define EGL_OBJECT_IMAGE_KHR 0x33B4 1007777dab0Sopenharmony_ci#define EGL_OBJECT_SYNC_KHR 0x33B5 1017777dab0Sopenharmony_ci#define EGL_OBJECT_STREAM_KHR 0x33B6 1027777dab0Sopenharmony_ci#define EGL_DEBUG_MSG_CRITICAL_KHR 0x33B9 1037777dab0Sopenharmony_ci#define EGL_DEBUG_MSG_ERROR_KHR 0x33BA 1047777dab0Sopenharmony_ci#define EGL_DEBUG_MSG_WARN_KHR 0x33BB 1057777dab0Sopenharmony_ci#define EGL_DEBUG_MSG_INFO_KHR 0x33BC 1067777dab0Sopenharmony_ci#define EGL_DEBUG_CALLBACK_KHR 0x33B8 1077777dab0Sopenharmony_citypedef EGLint (EGLAPIENTRYP PFNEGLDEBUGMESSAGECONTROLKHRPROC) (EGLDEBUGPROCKHR callback, const EGLAttrib *attrib_list); 1087777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEBUGKHRPROC) (EGLint attribute, EGLAttrib *value); 1097777dab0Sopenharmony_citypedef EGLint (EGLAPIENTRYP PFNEGLLABELOBJECTKHRPROC) (EGLDisplay display, EGLenum objectType, EGLObjectKHR object, EGLLabelKHR label); 1107777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1117777dab0Sopenharmony_ciEGLAPI EGLint EGLAPIENTRY eglDebugMessageControlKHR (EGLDEBUGPROCKHR callback, const EGLAttrib *attrib_list); 1127777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDebugKHR (EGLint attribute, EGLAttrib *value); 1137777dab0Sopenharmony_ciEGLAPI EGLint EGLAPIENTRY eglLabelObjectKHR (EGLDisplay display, EGLenum objectType, EGLObjectKHR object, EGLLabelKHR label); 1147777dab0Sopenharmony_ci#endif 1157777dab0Sopenharmony_ci#endif /* EGL_KHR_debug */ 1167777dab0Sopenharmony_ci 1177777dab0Sopenharmony_ci#ifndef EGL_KHR_display_reference 1187777dab0Sopenharmony_ci#define EGL_KHR_display_reference 1 1197777dab0Sopenharmony_ci#define EGL_TRACK_REFERENCES_KHR 0x3352 1207777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBKHRPROC) (EGLDisplay dpy, EGLint name, EGLAttrib *value); 1217777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1227777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribKHR (EGLDisplay dpy, EGLint name, EGLAttrib *value); 1237777dab0Sopenharmony_ci#endif 1247777dab0Sopenharmony_ci#endif /* EGL_KHR_display_reference */ 1257777dab0Sopenharmony_ci 1267777dab0Sopenharmony_ci#ifndef EGL_KHR_fence_sync 1277777dab0Sopenharmony_ci#define EGL_KHR_fence_sync 1 1287777dab0Sopenharmony_citypedef khronos_utime_nanoseconds_t EGLTimeKHR; 1297777dab0Sopenharmony_ci#ifdef KHRONOS_SUPPORT_INT64 1307777dab0Sopenharmony_ci#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0 1317777dab0Sopenharmony_ci#define EGL_SYNC_CONDITION_KHR 0x30F8 1327777dab0Sopenharmony_ci#define EGL_SYNC_FENCE_KHR 0x30F9 1337777dab0Sopenharmony_citypedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); 1347777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync); 1357777dab0Sopenharmony_citypedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); 1367777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); 1377777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1387777dab0Sopenharmony_ciEGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); 1397777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync); 1407777dab0Sopenharmony_ciEGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); 1417777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); 1427777dab0Sopenharmony_ci#endif 1437777dab0Sopenharmony_ci#endif /* KHRONOS_SUPPORT_INT64 */ 1447777dab0Sopenharmony_ci#endif /* EGL_KHR_fence_sync */ 1457777dab0Sopenharmony_ci 1467777dab0Sopenharmony_ci#ifndef EGL_KHR_get_all_proc_addresses 1477777dab0Sopenharmony_ci#define EGL_KHR_get_all_proc_addresses 1 1487777dab0Sopenharmony_ci#endif /* EGL_KHR_get_all_proc_addresses */ 1497777dab0Sopenharmony_ci 1507777dab0Sopenharmony_ci#ifndef EGL_KHR_gl_colorspace 1517777dab0Sopenharmony_ci#define EGL_KHR_gl_colorspace 1 1527777dab0Sopenharmony_ci#define EGL_GL_COLORSPACE_KHR 0x309D 1537777dab0Sopenharmony_ci#define EGL_GL_COLORSPACE_SRGB_KHR 0x3089 1547777dab0Sopenharmony_ci#define EGL_GL_COLORSPACE_LINEAR_KHR 0x308A 1557777dab0Sopenharmony_ci#endif /* EGL_KHR_gl_colorspace */ 1567777dab0Sopenharmony_ci 1577777dab0Sopenharmony_ci#ifndef EGL_KHR_gl_renderbuffer_image 1587777dab0Sopenharmony_ci#define EGL_KHR_gl_renderbuffer_image 1 1597777dab0Sopenharmony_ci#define EGL_GL_RENDERBUFFER_KHR 0x30B9 1607777dab0Sopenharmony_ci#endif /* EGL_KHR_gl_renderbuffer_image */ 1617777dab0Sopenharmony_ci 1627777dab0Sopenharmony_ci#ifndef EGL_KHR_gl_texture_2D_image 1637777dab0Sopenharmony_ci#define EGL_KHR_gl_texture_2D_image 1 1647777dab0Sopenharmony_ci#define EGL_GL_TEXTURE_2D_KHR 0x30B1 1657777dab0Sopenharmony_ci#define EGL_GL_TEXTURE_LEVEL_KHR 0x30BC 1667777dab0Sopenharmony_ci#endif /* EGL_KHR_gl_texture_2D_image */ 1677777dab0Sopenharmony_ci 1687777dab0Sopenharmony_ci#ifndef EGL_KHR_gl_texture_3D_image 1697777dab0Sopenharmony_ci#define EGL_KHR_gl_texture_3D_image 1 1707777dab0Sopenharmony_ci#define EGL_GL_TEXTURE_3D_KHR 0x30B2 1717777dab0Sopenharmony_ci#define EGL_GL_TEXTURE_ZOFFSET_KHR 0x30BD 1727777dab0Sopenharmony_ci#endif /* EGL_KHR_gl_texture_3D_image */ 1737777dab0Sopenharmony_ci 1747777dab0Sopenharmony_ci#ifndef EGL_KHR_gl_texture_cubemap_image 1757777dab0Sopenharmony_ci#define EGL_KHR_gl_texture_cubemap_image 1 1767777dab0Sopenharmony_ci#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR 0x30B3 1777777dab0Sopenharmony_ci#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR 0x30B4 1787777dab0Sopenharmony_ci#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR 0x30B5 1797777dab0Sopenharmony_ci#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR 0x30B6 1807777dab0Sopenharmony_ci#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR 0x30B7 1817777dab0Sopenharmony_ci#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR 0x30B8 1827777dab0Sopenharmony_ci#endif /* EGL_KHR_gl_texture_cubemap_image */ 1837777dab0Sopenharmony_ci 1847777dab0Sopenharmony_ci#ifndef EGL_KHR_image 1857777dab0Sopenharmony_ci#define EGL_KHR_image 1 1867777dab0Sopenharmony_citypedef void *EGLImageKHR; 1877777dab0Sopenharmony_ci#define EGL_NATIVE_PIXMAP_KHR 0x30B0 1887777dab0Sopenharmony_ci#define EGL_NO_IMAGE_KHR EGL_CAST(EGLImageKHR,0) 1897777dab0Sopenharmony_citypedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 1907777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); 1917777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1927777dab0Sopenharmony_ciEGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 1937777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image); 1947777dab0Sopenharmony_ci#endif 1957777dab0Sopenharmony_ci#endif /* EGL_KHR_image */ 1967777dab0Sopenharmony_ci 1977777dab0Sopenharmony_ci#ifndef EGL_KHR_image_base 1987777dab0Sopenharmony_ci#define EGL_KHR_image_base 1 1997777dab0Sopenharmony_ci#define EGL_IMAGE_PRESERVED_KHR 0x30D2 2007777dab0Sopenharmony_ci#endif /* EGL_KHR_image_base */ 2017777dab0Sopenharmony_ci 2027777dab0Sopenharmony_ci#ifndef EGL_KHR_image_pixmap 2037777dab0Sopenharmony_ci#define EGL_KHR_image_pixmap 1 2047777dab0Sopenharmony_ci#endif /* EGL_KHR_image_pixmap */ 2057777dab0Sopenharmony_ci 2067777dab0Sopenharmony_ci#ifndef EGL_KHR_lock_surface 2077777dab0Sopenharmony_ci#define EGL_KHR_lock_surface 1 2087777dab0Sopenharmony_ci#define EGL_READ_SURFACE_BIT_KHR 0x0001 2097777dab0Sopenharmony_ci#define EGL_WRITE_SURFACE_BIT_KHR 0x0002 2107777dab0Sopenharmony_ci#define EGL_LOCK_SURFACE_BIT_KHR 0x0080 2117777dab0Sopenharmony_ci#define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100 2127777dab0Sopenharmony_ci#define EGL_MATCH_FORMAT_KHR 0x3043 2137777dab0Sopenharmony_ci#define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0 2147777dab0Sopenharmony_ci#define EGL_FORMAT_RGB_565_KHR 0x30C1 2157777dab0Sopenharmony_ci#define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2 2167777dab0Sopenharmony_ci#define EGL_FORMAT_RGBA_8888_KHR 0x30C3 2177777dab0Sopenharmony_ci#define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4 2187777dab0Sopenharmony_ci#define EGL_LOCK_USAGE_HINT_KHR 0x30C5 2197777dab0Sopenharmony_ci#define EGL_BITMAP_POINTER_KHR 0x30C6 2207777dab0Sopenharmony_ci#define EGL_BITMAP_PITCH_KHR 0x30C7 2217777dab0Sopenharmony_ci#define EGL_BITMAP_ORIGIN_KHR 0x30C8 2227777dab0Sopenharmony_ci#define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9 2237777dab0Sopenharmony_ci#define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA 2247777dab0Sopenharmony_ci#define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB 2257777dab0Sopenharmony_ci#define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC 2267777dab0Sopenharmony_ci#define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD 2277777dab0Sopenharmony_ci#define EGL_LOWER_LEFT_KHR 0x30CE 2287777dab0Sopenharmony_ci#define EGL_UPPER_LEFT_KHR 0x30CF 2297777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list); 2307777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface); 2317777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 2327777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list); 2337777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface); 2347777dab0Sopenharmony_ci#endif 2357777dab0Sopenharmony_ci#endif /* EGL_KHR_lock_surface */ 2367777dab0Sopenharmony_ci 2377777dab0Sopenharmony_ci#ifndef EGL_KHR_lock_surface2 2387777dab0Sopenharmony_ci#define EGL_KHR_lock_surface2 1 2397777dab0Sopenharmony_ci#define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110 2407777dab0Sopenharmony_ci#endif /* EGL_KHR_lock_surface2 */ 2417777dab0Sopenharmony_ci 2427777dab0Sopenharmony_ci#ifndef EGL_KHR_lock_surface3 2437777dab0Sopenharmony_ci#define EGL_KHR_lock_surface3 1 2447777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACE64KHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *value); 2457777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 2467777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface64KHR (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *value); 2477777dab0Sopenharmony_ci#endif 2487777dab0Sopenharmony_ci#endif /* EGL_KHR_lock_surface3 */ 2497777dab0Sopenharmony_ci 2507777dab0Sopenharmony_ci#ifndef EGL_KHR_mutable_render_buffer 2517777dab0Sopenharmony_ci#define EGL_KHR_mutable_render_buffer 1 2527777dab0Sopenharmony_ci#define EGL_MUTABLE_RENDER_BUFFER_BIT_KHR 0x1000 2537777dab0Sopenharmony_ci#endif /* EGL_KHR_mutable_render_buffer */ 2547777dab0Sopenharmony_ci 2557777dab0Sopenharmony_ci#ifndef EGL_KHR_no_config_context 2567777dab0Sopenharmony_ci#define EGL_KHR_no_config_context 1 2577777dab0Sopenharmony_ci#define EGL_NO_CONFIG_KHR EGL_CAST(EGLConfig,0) 2587777dab0Sopenharmony_ci#endif /* EGL_KHR_no_config_context */ 2597777dab0Sopenharmony_ci 2607777dab0Sopenharmony_ci#ifndef EGL_KHR_partial_update 2617777dab0Sopenharmony_ci#define EGL_KHR_partial_update 1 2627777dab0Sopenharmony_ci#define EGL_BUFFER_AGE_KHR 0x313D 2637777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); 2647777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 2657777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); 2667777dab0Sopenharmony_ci#endif 2677777dab0Sopenharmony_ci#endif /* EGL_KHR_partial_update */ 2687777dab0Sopenharmony_ci 2697777dab0Sopenharmony_ci#ifndef EGL_KHR_platform_android 2707777dab0Sopenharmony_ci#define EGL_KHR_platform_android 1 2717777dab0Sopenharmony_ci#define EGL_PLATFORM_ANDROID_KHR 0x3141 2727777dab0Sopenharmony_ci#endif /* EGL_KHR_platform_android */ 2737777dab0Sopenharmony_ci 2747777dab0Sopenharmony_ci#ifndef EGL_KHR_platform_gbm 2757777dab0Sopenharmony_ci#define EGL_KHR_platform_gbm 1 2767777dab0Sopenharmony_ci#define EGL_PLATFORM_GBM_KHR 0x31D7 2777777dab0Sopenharmony_ci#endif /* EGL_KHR_platform_gbm */ 2787777dab0Sopenharmony_ci 2797777dab0Sopenharmony_ci#ifndef EGL_KHR_platform_ohos 2807777dab0Sopenharmony_ci#define EGL_KHR_platform_ohos 1 2817777dab0Sopenharmony_ci#define EGL_PLATFORM_OHOS_KHR 0x34E0 2827777dab0Sopenharmony_ci#endif /* EGL_KHR_platform_ohos */ 2837777dab0Sopenharmony_ci 2847777dab0Sopenharmony_ci#ifndef EGL_KHR_platform_wayland 2857777dab0Sopenharmony_ci#define EGL_KHR_platform_wayland 1 2867777dab0Sopenharmony_ci#define EGL_PLATFORM_WAYLAND_KHR 0x31D8 2877777dab0Sopenharmony_ci#endif /* EGL_KHR_platform_wayland */ 2887777dab0Sopenharmony_ci 2897777dab0Sopenharmony_ci#ifndef EGL_KHR_platform_x11 2907777dab0Sopenharmony_ci#define EGL_KHR_platform_x11 1 2917777dab0Sopenharmony_ci#define EGL_PLATFORM_X11_KHR 0x31D5 2927777dab0Sopenharmony_ci#define EGL_PLATFORM_X11_SCREEN_KHR 0x31D6 2937777dab0Sopenharmony_ci#endif /* EGL_KHR_platform_x11 */ 2947777dab0Sopenharmony_ci 2957777dab0Sopenharmony_ci#ifndef EGL_KHR_reusable_sync 2967777dab0Sopenharmony_ci#define EGL_KHR_reusable_sync 1 2977777dab0Sopenharmony_ci#ifdef KHRONOS_SUPPORT_INT64 2987777dab0Sopenharmony_ci#define EGL_SYNC_STATUS_KHR 0x30F1 2997777dab0Sopenharmony_ci#define EGL_SIGNALED_KHR 0x30F2 3007777dab0Sopenharmony_ci#define EGL_UNSIGNALED_KHR 0x30F3 3017777dab0Sopenharmony_ci#define EGL_TIMEOUT_EXPIRED_KHR 0x30F5 3027777dab0Sopenharmony_ci#define EGL_CONDITION_SATISFIED_KHR 0x30F6 3037777dab0Sopenharmony_ci#define EGL_SYNC_TYPE_KHR 0x30F7 3047777dab0Sopenharmony_ci#define EGL_SYNC_REUSABLE_KHR 0x30FA 3057777dab0Sopenharmony_ci#define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001 3067777dab0Sopenharmony_ci#define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFFull 3077777dab0Sopenharmony_ci#define EGL_NO_SYNC_KHR EGL_CAST(EGLSyncKHR,0) 3087777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); 3097777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 3107777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); 3117777dab0Sopenharmony_ci#endif 3127777dab0Sopenharmony_ci#endif /* KHRONOS_SUPPORT_INT64 */ 3137777dab0Sopenharmony_ci#endif /* EGL_KHR_reusable_sync */ 3147777dab0Sopenharmony_ci 3157777dab0Sopenharmony_ci#ifndef EGL_KHR_stream 3167777dab0Sopenharmony_ci#define EGL_KHR_stream 1 3177777dab0Sopenharmony_citypedef void *EGLStreamKHR; 3187777dab0Sopenharmony_citypedef khronos_uint64_t EGLuint64KHR; 3197777dab0Sopenharmony_ci#ifdef KHRONOS_SUPPORT_INT64 3207777dab0Sopenharmony_ci#define EGL_NO_STREAM_KHR EGL_CAST(EGLStreamKHR,0) 3217777dab0Sopenharmony_ci#define EGL_CONSUMER_LATENCY_USEC_KHR 0x3210 3227777dab0Sopenharmony_ci#define EGL_PRODUCER_FRAME_KHR 0x3212 3237777dab0Sopenharmony_ci#define EGL_CONSUMER_FRAME_KHR 0x3213 3247777dab0Sopenharmony_ci#define EGL_STREAM_STATE_KHR 0x3214 3257777dab0Sopenharmony_ci#define EGL_STREAM_STATE_CREATED_KHR 0x3215 3267777dab0Sopenharmony_ci#define EGL_STREAM_STATE_CONNECTING_KHR 0x3216 3277777dab0Sopenharmony_ci#define EGL_STREAM_STATE_EMPTY_KHR 0x3217 3287777dab0Sopenharmony_ci#define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR 0x3218 3297777dab0Sopenharmony_ci#define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR 0x3219 3307777dab0Sopenharmony_ci#define EGL_STREAM_STATE_DISCONNECTED_KHR 0x321A 3317777dab0Sopenharmony_ci#define EGL_BAD_STREAM_KHR 0x321B 3327777dab0Sopenharmony_ci#define EGL_BAD_STATE_KHR 0x321C 3337777dab0Sopenharmony_citypedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMKHRPROC) (EGLDisplay dpy, const EGLint *attrib_list); 3347777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 3357777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); 3367777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value); 3377777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMU64KHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value); 3387777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 3397777dab0Sopenharmony_ciEGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamKHR (EGLDisplay dpy, const EGLint *attrib_list); 3407777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream); 3417777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); 3427777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value); 3437777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value); 3447777dab0Sopenharmony_ci#endif 3457777dab0Sopenharmony_ci#endif /* KHRONOS_SUPPORT_INT64 */ 3467777dab0Sopenharmony_ci#endif /* EGL_KHR_stream */ 3477777dab0Sopenharmony_ci 3487777dab0Sopenharmony_ci#ifndef EGL_KHR_stream_attrib 3497777dab0Sopenharmony_ci#define EGL_KHR_stream_attrib 1 3507777dab0Sopenharmony_ci#ifdef KHRONOS_SUPPORT_INT64 3517777dab0Sopenharmony_citypedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMATTRIBKHRPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list); 3527777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSETSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib value); 3537777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib *value); 3547777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); 3557777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); 3567777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 3577777dab0Sopenharmony_ciEGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamAttribKHR (EGLDisplay dpy, const EGLAttrib *attrib_list); 3587777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSetStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib value); 3597777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib *value); 3607777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); 3617777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); 3627777dab0Sopenharmony_ci#endif 3637777dab0Sopenharmony_ci#endif /* KHRONOS_SUPPORT_INT64 */ 3647777dab0Sopenharmony_ci#endif /* EGL_KHR_stream_attrib */ 3657777dab0Sopenharmony_ci 3667777dab0Sopenharmony_ci#ifndef EGL_KHR_stream_consumer_gltexture 3677777dab0Sopenharmony_ci#define EGL_KHR_stream_consumer_gltexture 1 3687777dab0Sopenharmony_ci#ifdef EGL_KHR_stream 3697777dab0Sopenharmony_ci#define EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR 0x321E 3707777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 3717777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 3727777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 3737777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 3747777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLStreamKHR stream); 3757777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR stream); 3767777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR stream); 3777777dab0Sopenharmony_ci#endif 3787777dab0Sopenharmony_ci#endif /* EGL_KHR_stream */ 3797777dab0Sopenharmony_ci#endif /* EGL_KHR_stream_consumer_gltexture */ 3807777dab0Sopenharmony_ci 3817777dab0Sopenharmony_ci#ifndef EGL_KHR_stream_cross_process_fd 3827777dab0Sopenharmony_ci#define EGL_KHR_stream_cross_process_fd 1 3837777dab0Sopenharmony_citypedef int EGLNativeFileDescriptorKHR; 3847777dab0Sopenharmony_ci#ifdef EGL_KHR_stream 3857777dab0Sopenharmony_ci#define EGL_NO_FILE_DESCRIPTOR_KHR EGL_CAST(EGLNativeFileDescriptorKHR,-1) 3867777dab0Sopenharmony_citypedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 3877777dab0Sopenharmony_citypedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); 3887777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 3897777dab0Sopenharmony_ciEGLAPI EGLNativeFileDescriptorKHR EGLAPIENTRY eglGetStreamFileDescriptorKHR (EGLDisplay dpy, EGLStreamKHR stream); 3907777dab0Sopenharmony_ciEGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); 3917777dab0Sopenharmony_ci#endif 3927777dab0Sopenharmony_ci#endif /* EGL_KHR_stream */ 3937777dab0Sopenharmony_ci#endif /* EGL_KHR_stream_cross_process_fd */ 3947777dab0Sopenharmony_ci 3957777dab0Sopenharmony_ci#ifndef EGL_KHR_stream_fifo 3967777dab0Sopenharmony_ci#define EGL_KHR_stream_fifo 1 3977777dab0Sopenharmony_ci#ifdef EGL_KHR_stream 3987777dab0Sopenharmony_ci#define EGL_STREAM_FIFO_LENGTH_KHR 0x31FC 3997777dab0Sopenharmony_ci#define EGL_STREAM_TIME_NOW_KHR 0x31FD 4007777dab0Sopenharmony_ci#define EGL_STREAM_TIME_CONSUMER_KHR 0x31FE 4017777dab0Sopenharmony_ci#define EGL_STREAM_TIME_PRODUCER_KHR 0x31FF 4027777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMTIMEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value); 4037777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 4047777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value); 4057777dab0Sopenharmony_ci#endif 4067777dab0Sopenharmony_ci#endif /* EGL_KHR_stream */ 4077777dab0Sopenharmony_ci#endif /* EGL_KHR_stream_fifo */ 4087777dab0Sopenharmony_ci 4097777dab0Sopenharmony_ci#ifndef EGL_KHR_stream_producer_aldatalocator 4107777dab0Sopenharmony_ci#define EGL_KHR_stream_producer_aldatalocator 1 4117777dab0Sopenharmony_ci#ifdef EGL_KHR_stream 4127777dab0Sopenharmony_ci#endif /* EGL_KHR_stream */ 4137777dab0Sopenharmony_ci#endif /* EGL_KHR_stream_producer_aldatalocator */ 4147777dab0Sopenharmony_ci 4157777dab0Sopenharmony_ci#ifndef EGL_KHR_stream_producer_eglsurface 4167777dab0Sopenharmony_ci#define EGL_KHR_stream_producer_eglsurface 1 4177777dab0Sopenharmony_ci#ifdef EGL_KHR_stream 4187777dab0Sopenharmony_ci#define EGL_STREAM_BIT_KHR 0x0800 4197777dab0Sopenharmony_citypedef EGLSurface (EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC) (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list); 4207777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 4217777dab0Sopenharmony_ciEGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list); 4227777dab0Sopenharmony_ci#endif 4237777dab0Sopenharmony_ci#endif /* EGL_KHR_stream */ 4247777dab0Sopenharmony_ci#endif /* EGL_KHR_stream_producer_eglsurface */ 4257777dab0Sopenharmony_ci 4267777dab0Sopenharmony_ci#ifndef EGL_KHR_surfaceless_context 4277777dab0Sopenharmony_ci#define EGL_KHR_surfaceless_context 1 4287777dab0Sopenharmony_ci#endif /* EGL_KHR_surfaceless_context */ 4297777dab0Sopenharmony_ci 4307777dab0Sopenharmony_ci#ifndef EGL_KHR_swap_buffers_with_damage 4317777dab0Sopenharmony_ci#define EGL_KHR_swap_buffers_with_damage 1 4327777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); 4337777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 4347777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); 4357777dab0Sopenharmony_ci#endif 4367777dab0Sopenharmony_ci#endif /* EGL_KHR_swap_buffers_with_damage */ 4377777dab0Sopenharmony_ci 4387777dab0Sopenharmony_ci#ifndef EGL_KHR_vg_parent_image 4397777dab0Sopenharmony_ci#define EGL_KHR_vg_parent_image 1 4407777dab0Sopenharmony_ci#define EGL_VG_PARENT_IMAGE_KHR 0x30BA 4417777dab0Sopenharmony_ci#endif /* EGL_KHR_vg_parent_image */ 4427777dab0Sopenharmony_ci 4437777dab0Sopenharmony_ci#ifndef EGL_KHR_wait_sync 4447777dab0Sopenharmony_ci#define EGL_KHR_wait_sync 1 4457777dab0Sopenharmony_citypedef EGLint (EGLAPIENTRYP PFNEGLWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); 4467777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 4477777dab0Sopenharmony_ciEGLAPI EGLint EGLAPIENTRY eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); 4487777dab0Sopenharmony_ci#endif 4497777dab0Sopenharmony_ci#endif /* EGL_KHR_wait_sync */ 4507777dab0Sopenharmony_ci 4517777dab0Sopenharmony_ci#ifndef EGL_ANDROID_GLES_layers 4527777dab0Sopenharmony_ci#define EGL_ANDROID_GLES_layers 1 4537777dab0Sopenharmony_ci#endif /* EGL_ANDROID_GLES_layers */ 4547777dab0Sopenharmony_ci 4557777dab0Sopenharmony_ci#ifndef EGL_ANDROID_blob_cache 4567777dab0Sopenharmony_ci#define EGL_ANDROID_blob_cache 1 4577777dab0Sopenharmony_citypedef khronos_ssize_t EGLsizeiANDROID; 4587777dab0Sopenharmony_citypedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize); 4597777dab0Sopenharmony_citypedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize); 4607777dab0Sopenharmony_citypedef void (EGLAPIENTRYP PFNEGLSETBLOBCACHEFUNCSANDROIDPROC) (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); 4617777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 4627777dab0Sopenharmony_ciEGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); 4637777dab0Sopenharmony_ci#endif 4647777dab0Sopenharmony_ci#endif /* EGL_ANDROID_blob_cache */ 4657777dab0Sopenharmony_ci 4667777dab0Sopenharmony_ci#ifndef EGL_ANDROID_create_native_client_buffer 4677777dab0Sopenharmony_ci#define EGL_ANDROID_create_native_client_buffer 1 4687777dab0Sopenharmony_ci#define EGL_NATIVE_BUFFER_USAGE_ANDROID 0x3143 4697777dab0Sopenharmony_ci#define EGL_NATIVE_BUFFER_USAGE_PROTECTED_BIT_ANDROID 0x00000001 4707777dab0Sopenharmony_ci#define EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID 0x00000002 4717777dab0Sopenharmony_ci#define EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID 0x00000004 4727777dab0Sopenharmony_citypedef EGLClientBuffer (EGLAPIENTRYP PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC) (const EGLint *attrib_list); 4737777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 4747777dab0Sopenharmony_ciEGLAPI EGLClientBuffer EGLAPIENTRY eglCreateNativeClientBufferANDROID (const EGLint *attrib_list); 4757777dab0Sopenharmony_ci#endif 4767777dab0Sopenharmony_ci#endif /* EGL_ANDROID_create_native_client_buffer */ 4777777dab0Sopenharmony_ci 4787777dab0Sopenharmony_ci#ifndef EGL_ANDROID_framebuffer_target 4797777dab0Sopenharmony_ci#define EGL_ANDROID_framebuffer_target 1 4807777dab0Sopenharmony_ci#define EGL_FRAMEBUFFER_TARGET_ANDROID 0x3147 4817777dab0Sopenharmony_ci#endif /* EGL_ANDROID_framebuffer_target */ 4827777dab0Sopenharmony_ci 4837777dab0Sopenharmony_ci#ifndef EGL_ANDROID_front_buffer_auto_refresh 4847777dab0Sopenharmony_ci#define EGL_ANDROID_front_buffer_auto_refresh 1 4857777dab0Sopenharmony_ci#define EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID 0x314C 4867777dab0Sopenharmony_ci#endif /* EGL_ANDROID_front_buffer_auto_refresh */ 4877777dab0Sopenharmony_ci 4887777dab0Sopenharmony_ci#ifndef EGL_ANDROID_get_frame_timestamps 4897777dab0Sopenharmony_ci#define EGL_ANDROID_get_frame_timestamps 1 4907777dab0Sopenharmony_citypedef khronos_stime_nanoseconds_t EGLnsecsANDROID; 4917777dab0Sopenharmony_ci#define EGL_TIMESTAMP_PENDING_ANDROID EGL_CAST(EGLnsecsANDROID,-2) 4927777dab0Sopenharmony_ci#define EGL_TIMESTAMP_INVALID_ANDROID EGL_CAST(EGLnsecsANDROID,-1) 4937777dab0Sopenharmony_ci#define EGL_TIMESTAMPS_ANDROID 0x3430 4947777dab0Sopenharmony_ci#define EGL_COMPOSITE_DEADLINE_ANDROID 0x3431 4957777dab0Sopenharmony_ci#define EGL_COMPOSITE_INTERVAL_ANDROID 0x3432 4967777dab0Sopenharmony_ci#define EGL_COMPOSITE_TO_PRESENT_LATENCY_ANDROID 0x3433 4977777dab0Sopenharmony_ci#define EGL_REQUESTED_PRESENT_TIME_ANDROID 0x3434 4987777dab0Sopenharmony_ci#define EGL_RENDERING_COMPLETE_TIME_ANDROID 0x3435 4997777dab0Sopenharmony_ci#define EGL_COMPOSITION_LATCH_TIME_ANDROID 0x3436 5007777dab0Sopenharmony_ci#define EGL_FIRST_COMPOSITION_START_TIME_ANDROID 0x3437 5017777dab0Sopenharmony_ci#define EGL_LAST_COMPOSITION_START_TIME_ANDROID 0x3438 5027777dab0Sopenharmony_ci#define EGL_FIRST_COMPOSITION_GPU_FINISHED_TIME_ANDROID 0x3439 5037777dab0Sopenharmony_ci#define EGL_DISPLAY_PRESENT_TIME_ANDROID 0x343A 5047777dab0Sopenharmony_ci#define EGL_DEQUEUE_READY_TIME_ANDROID 0x343B 5057777dab0Sopenharmony_ci#define EGL_READS_DONE_TIME_ANDROID 0x343C 5067777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLint name); 5077777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETCOMPOSITORTIMINGANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numTimestamps, const EGLint *names, EGLnsecsANDROID *values); 5087777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETNEXTFRAMEIDANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR *frameId); 5097777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLint timestamp); 5107777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETFRAMETIMESTAMPSANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR frameId, EGLint numTimestamps, const EGLint *timestamps, EGLnsecsANDROID *values); 5117777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 5127777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetCompositorTimingSupportedANDROID (EGLDisplay dpy, EGLSurface surface, EGLint name); 5137777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetCompositorTimingANDROID (EGLDisplay dpy, EGLSurface surface, EGLint numTimestamps, const EGLint *names, EGLnsecsANDROID *values); 5147777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetNextFrameIdANDROID (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR *frameId); 5157777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetFrameTimestampSupportedANDROID (EGLDisplay dpy, EGLSurface surface, EGLint timestamp); 5167777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetFrameTimestampsANDROID (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR frameId, EGLint numTimestamps, const EGLint *timestamps, EGLnsecsANDROID *values); 5177777dab0Sopenharmony_ci#endif 5187777dab0Sopenharmony_ci#endif /* EGL_ANDROID_get_frame_timestamps */ 5197777dab0Sopenharmony_ci 5207777dab0Sopenharmony_ci#ifndef EGL_ANDROID_get_native_client_buffer 5217777dab0Sopenharmony_ci#define EGL_ANDROID_get_native_client_buffer 1 5227777dab0Sopenharmony_cistruct AHardwareBuffer; 5237777dab0Sopenharmony_citypedef EGLClientBuffer (EGLAPIENTRYP PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC) (const struct AHardwareBuffer *buffer); 5247777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 5257777dab0Sopenharmony_ciEGLAPI EGLClientBuffer EGLAPIENTRY eglGetNativeClientBufferANDROID (const struct AHardwareBuffer *buffer); 5267777dab0Sopenharmony_ci#endif 5277777dab0Sopenharmony_ci#endif /* EGL_ANDROID_get_native_client_buffer */ 5287777dab0Sopenharmony_ci 5297777dab0Sopenharmony_ci#ifndef EGL_ANDROID_image_native_buffer 5307777dab0Sopenharmony_ci#define EGL_ANDROID_image_native_buffer 1 5317777dab0Sopenharmony_ci#define EGL_NATIVE_BUFFER_ANDROID 0x3140 5327777dab0Sopenharmony_ci#endif /* EGL_ANDROID_image_native_buffer */ 5337777dab0Sopenharmony_ci 5347777dab0Sopenharmony_ci#ifndef EGL_ANDROID_native_fence_sync 5357777dab0Sopenharmony_ci#define EGL_ANDROID_native_fence_sync 1 5367777dab0Sopenharmony_ci#define EGL_SYNC_NATIVE_FENCE_ANDROID 0x3144 5377777dab0Sopenharmony_ci#define EGL_SYNC_NATIVE_FENCE_FD_ANDROID 0x3145 5387777dab0Sopenharmony_ci#define EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID 0x3146 5397777dab0Sopenharmony_ci#define EGL_NO_NATIVE_FENCE_FD_ANDROID -1 5407777dab0Sopenharmony_citypedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC) (EGLDisplay dpy, EGLSyncKHR sync); 5417777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 5427777dab0Sopenharmony_ciEGLAPI EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync); 5437777dab0Sopenharmony_ci#endif 5447777dab0Sopenharmony_ci#endif /* EGL_ANDROID_native_fence_sync */ 5457777dab0Sopenharmony_ci 5467777dab0Sopenharmony_ci#ifndef EGL_ANDROID_presentation_time 5477777dab0Sopenharmony_ci#define EGL_ANDROID_presentation_time 1 5487777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLPRESENTATIONTIMEANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time); 5497777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 5507777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglPresentationTimeANDROID (EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time); 5517777dab0Sopenharmony_ci#endif 5527777dab0Sopenharmony_ci#endif /* EGL_ANDROID_presentation_time */ 5537777dab0Sopenharmony_ci 5547777dab0Sopenharmony_ci#ifndef EGL_ANDROID_recordable 5557777dab0Sopenharmony_ci#define EGL_ANDROID_recordable 1 5567777dab0Sopenharmony_ci#define EGL_RECORDABLE_ANDROID 0x3142 5577777dab0Sopenharmony_ci#endif /* EGL_ANDROID_recordable */ 5587777dab0Sopenharmony_ci 5597777dab0Sopenharmony_ci#ifndef EGL_ANGLE_d3d_share_handle_client_buffer 5607777dab0Sopenharmony_ci#define EGL_ANGLE_d3d_share_handle_client_buffer 1 5617777dab0Sopenharmony_ci#define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200 5627777dab0Sopenharmony_ci#endif /* EGL_ANGLE_d3d_share_handle_client_buffer */ 5637777dab0Sopenharmony_ci 5647777dab0Sopenharmony_ci#ifndef EGL_ANGLE_device_d3d 5657777dab0Sopenharmony_ci#define EGL_ANGLE_device_d3d 1 5667777dab0Sopenharmony_ci#define EGL_D3D9_DEVICE_ANGLE 0x33A0 5677777dab0Sopenharmony_ci#define EGL_D3D11_DEVICE_ANGLE 0x33A1 5687777dab0Sopenharmony_ci#endif /* EGL_ANGLE_device_d3d */ 5697777dab0Sopenharmony_ci 5707777dab0Sopenharmony_ci#ifndef EGL_ANGLE_query_surface_pointer 5717777dab0Sopenharmony_ci#define EGL_ANGLE_query_surface_pointer 1 5727777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); 5737777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 5747777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); 5757777dab0Sopenharmony_ci#endif 5767777dab0Sopenharmony_ci#endif /* EGL_ANGLE_query_surface_pointer */ 5777777dab0Sopenharmony_ci 5787777dab0Sopenharmony_ci#ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle 5797777dab0Sopenharmony_ci#define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1 5807777dab0Sopenharmony_ci#endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */ 5817777dab0Sopenharmony_ci 5827777dab0Sopenharmony_ci#ifndef EGL_ANGLE_sync_control_rate 5837777dab0Sopenharmony_ci#define EGL_ANGLE_sync_control_rate 1 5847777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETMSCRATEANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *numerator, EGLint *denominator); 5857777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 5867777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetMscRateANGLE (EGLDisplay dpy, EGLSurface surface, EGLint *numerator, EGLint *denominator); 5877777dab0Sopenharmony_ci#endif 5887777dab0Sopenharmony_ci#endif /* EGL_ANGLE_sync_control_rate */ 5897777dab0Sopenharmony_ci 5907777dab0Sopenharmony_ci#ifndef EGL_ANGLE_window_fixed_size 5917777dab0Sopenharmony_ci#define EGL_ANGLE_window_fixed_size 1 5927777dab0Sopenharmony_ci#define EGL_FIXED_SIZE_ANGLE 0x3201 5937777dab0Sopenharmony_ci#endif /* EGL_ANGLE_window_fixed_size */ 5947777dab0Sopenharmony_ci 5957777dab0Sopenharmony_ci#ifndef EGL_ARM_image_format 5967777dab0Sopenharmony_ci#define EGL_ARM_image_format 1 5977777dab0Sopenharmony_ci#define EGL_COLOR_COMPONENT_TYPE_UNSIGNED_INTEGER_ARM 0x3287 5987777dab0Sopenharmony_ci#define EGL_COLOR_COMPONENT_TYPE_INTEGER_ARM 0x3288 5997777dab0Sopenharmony_ci#endif /* EGL_ARM_image_format */ 6007777dab0Sopenharmony_ci 6017777dab0Sopenharmony_ci#ifndef EGL_ARM_implicit_external_sync 6027777dab0Sopenharmony_ci#define EGL_ARM_implicit_external_sync 1 6037777dab0Sopenharmony_ci#define EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM 0x328A 6047777dab0Sopenharmony_ci#endif /* EGL_ARM_implicit_external_sync */ 6057777dab0Sopenharmony_ci 6067777dab0Sopenharmony_ci#ifndef EGL_ARM_pixmap_multisample_discard 6077777dab0Sopenharmony_ci#define EGL_ARM_pixmap_multisample_discard 1 6087777dab0Sopenharmony_ci#define EGL_DISCARD_SAMPLES_ARM 0x3286 6097777dab0Sopenharmony_ci#endif /* EGL_ARM_pixmap_multisample_discard */ 6107777dab0Sopenharmony_ci 6117777dab0Sopenharmony_ci#ifndef EGL_EXT_bind_to_front 6127777dab0Sopenharmony_ci#define EGL_EXT_bind_to_front 1 6137777dab0Sopenharmony_ci#define EGL_FRONT_BUFFER_EXT 0x3464 6147777dab0Sopenharmony_ci#endif /* EGL_EXT_bind_to_front */ 6157777dab0Sopenharmony_ci 6167777dab0Sopenharmony_ci#ifndef EGL_EXT_buffer_age 6177777dab0Sopenharmony_ci#define EGL_EXT_buffer_age 1 6187777dab0Sopenharmony_ci#define EGL_BUFFER_AGE_EXT 0x313D 6197777dab0Sopenharmony_ci#endif /* EGL_EXT_buffer_age */ 6207777dab0Sopenharmony_ci 6217777dab0Sopenharmony_ci#ifndef EGL_EXT_client_extensions 6227777dab0Sopenharmony_ci#define EGL_EXT_client_extensions 1 6237777dab0Sopenharmony_ci#endif /* EGL_EXT_client_extensions */ 6247777dab0Sopenharmony_ci 6257777dab0Sopenharmony_ci#ifndef EGL_EXT_client_sync 6267777dab0Sopenharmony_ci#define EGL_EXT_client_sync 1 6277777dab0Sopenharmony_ci#define EGL_SYNC_CLIENT_EXT 0x3364 6287777dab0Sopenharmony_ci#define EGL_SYNC_CLIENT_SIGNAL_EXT 0x3365 6297777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCLIENTSIGNALSYNCEXTPROC) (EGLDisplay dpy, EGLSync sync, const EGLAttrib *attrib_list); 6307777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 6317777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglClientSignalSyncEXT (EGLDisplay dpy, EGLSync sync, const EGLAttrib *attrib_list); 6327777dab0Sopenharmony_ci#endif 6337777dab0Sopenharmony_ci#endif /* EGL_EXT_client_sync */ 6347777dab0Sopenharmony_ci 6357777dab0Sopenharmony_ci#ifndef EGL_EXT_compositor 6367777dab0Sopenharmony_ci#define EGL_EXT_compositor 1 6377777dab0Sopenharmony_ci#define EGL_PRIMARY_COMPOSITOR_CONTEXT_EXT 0x3460 6387777dab0Sopenharmony_ci#define EGL_EXTERNAL_REF_ID_EXT 0x3461 6397777dab0Sopenharmony_ci#define EGL_COMPOSITOR_DROP_NEWEST_FRAME_EXT 0x3462 6407777dab0Sopenharmony_ci#define EGL_COMPOSITOR_KEEP_NEWEST_FRAME_EXT 0x3463 6417777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC) (const EGLint *external_ref_ids, EGLint num_entries); 6427777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC) (EGLint external_ref_id, const EGLint *context_attributes, EGLint num_entries); 6437777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC) (EGLint external_ref_id, const EGLint *external_win_ids, EGLint num_entries); 6447777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC) (EGLint external_win_id, const EGLint *window_attributes, EGLint num_entries); 6457777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC) (EGLint external_win_id); 6467777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETSIZEEXTPROC) (EGLint external_win_id, EGLint width, EGLint height); 6477777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSWAPPOLICYEXTPROC) (EGLint external_win_id, EGLint policy); 6487777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 6497777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetContextListEXT (const EGLint *external_ref_ids, EGLint num_entries); 6507777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetContextAttributesEXT (EGLint external_ref_id, const EGLint *context_attributes, EGLint num_entries); 6517777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetWindowListEXT (EGLint external_ref_id, const EGLint *external_win_ids, EGLint num_entries); 6527777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetWindowAttributesEXT (EGLint external_win_id, const EGLint *window_attributes, EGLint num_entries); 6537777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglCompositorBindTexWindowEXT (EGLint external_win_id); 6547777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetSizeEXT (EGLint external_win_id, EGLint width, EGLint height); 6557777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglCompositorSwapPolicyEXT (EGLint external_win_id, EGLint policy); 6567777dab0Sopenharmony_ci#endif 6577777dab0Sopenharmony_ci#endif /* EGL_EXT_compositor */ 6587777dab0Sopenharmony_ci 6597777dab0Sopenharmony_ci#ifndef EGL_EXT_config_select_group 6607777dab0Sopenharmony_ci#define EGL_EXT_config_select_group 1 6617777dab0Sopenharmony_ci#define EGL_CONFIG_SELECT_GROUP_EXT 0x34C0 6627777dab0Sopenharmony_ci#endif /* EGL_EXT_config_select_group */ 6637777dab0Sopenharmony_ci 6647777dab0Sopenharmony_ci#ifndef EGL_EXT_create_context_robustness 6657777dab0Sopenharmony_ci#define EGL_EXT_create_context_robustness 1 6667777dab0Sopenharmony_ci#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF 6677777dab0Sopenharmony_ci#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138 6687777dab0Sopenharmony_ci#define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE 6697777dab0Sopenharmony_ci#define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF 6707777dab0Sopenharmony_ci#endif /* EGL_EXT_create_context_robustness */ 6717777dab0Sopenharmony_ci 6727777dab0Sopenharmony_ci#ifndef EGL_EXT_device_base 6737777dab0Sopenharmony_ci#define EGL_EXT_device_base 1 6747777dab0Sopenharmony_citypedef void *EGLDeviceEXT; 6757777dab0Sopenharmony_ci#define EGL_NO_DEVICE_EXT EGL_CAST(EGLDeviceEXT,0) 6767777dab0Sopenharmony_ci#define EGL_BAD_DEVICE_EXT 0x322B 6777777dab0Sopenharmony_ci#define EGL_DEVICE_EXT 0x322C 6787777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICEATTRIBEXTPROC) (EGLDeviceEXT device, EGLint attribute, EGLAttrib *value); 6797777dab0Sopenharmony_citypedef const char *(EGLAPIENTRYP PFNEGLQUERYDEVICESTRINGEXTPROC) (EGLDeviceEXT device, EGLint name); 6807777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devices, EGLint *num_devices); 6817777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBEXTPROC) (EGLDisplay dpy, EGLint attribute, EGLAttrib *value); 6827777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 6837777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDeviceAttribEXT (EGLDeviceEXT device, EGLint attribute, EGLAttrib *value); 6847777dab0Sopenharmony_ciEGLAPI const char *EGLAPIENTRY eglQueryDeviceStringEXT (EGLDeviceEXT device, EGLint name); 6857777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint *num_devices); 6867777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint attribute, EGLAttrib *value); 6877777dab0Sopenharmony_ci#endif 6887777dab0Sopenharmony_ci#endif /* EGL_EXT_device_base */ 6897777dab0Sopenharmony_ci 6907777dab0Sopenharmony_ci#ifndef EGL_EXT_device_drm 6917777dab0Sopenharmony_ci#define EGL_EXT_device_drm 1 6927777dab0Sopenharmony_ci#define EGL_DRM_DEVICE_FILE_EXT 0x3233 6937777dab0Sopenharmony_ci#define EGL_DRM_MASTER_FD_EXT 0x333C 6947777dab0Sopenharmony_ci#endif /* EGL_EXT_device_drm */ 6957777dab0Sopenharmony_ci 6967777dab0Sopenharmony_ci#ifndef EGL_EXT_device_drm_render_node 6977777dab0Sopenharmony_ci#define EGL_EXT_device_drm_render_node 1 6987777dab0Sopenharmony_ci#define EGL_DRM_RENDER_NODE_FILE_EXT 0x3377 6997777dab0Sopenharmony_ci#endif /* EGL_EXT_device_drm_render_node */ 7007777dab0Sopenharmony_ci 7017777dab0Sopenharmony_ci#ifndef EGL_EXT_device_enumeration 7027777dab0Sopenharmony_ci#define EGL_EXT_device_enumeration 1 7037777dab0Sopenharmony_ci#endif /* EGL_EXT_device_enumeration */ 7047777dab0Sopenharmony_ci 7057777dab0Sopenharmony_ci#ifndef EGL_EXT_device_openwf 7067777dab0Sopenharmony_ci#define EGL_EXT_device_openwf 1 7077777dab0Sopenharmony_ci#define EGL_OPENWF_DEVICE_ID_EXT 0x3237 7087777dab0Sopenharmony_ci#define EGL_OPENWF_DEVICE_EXT 0x333D 7097777dab0Sopenharmony_ci#endif /* EGL_EXT_device_openwf */ 7107777dab0Sopenharmony_ci 7117777dab0Sopenharmony_ci#ifndef EGL_EXT_device_persistent_id 7127777dab0Sopenharmony_ci#define EGL_EXT_device_persistent_id 1 7137777dab0Sopenharmony_ci#define EGL_DEVICE_UUID_EXT 0x335C 7147777dab0Sopenharmony_ci#define EGL_DRIVER_UUID_EXT 0x335D 7157777dab0Sopenharmony_ci#define EGL_DRIVER_NAME_EXT 0x335E 7167777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICEBINARYEXTPROC) (EGLDeviceEXT device, EGLint name, EGLint max_size, void *value, EGLint *size); 7177777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 7187777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDeviceBinaryEXT (EGLDeviceEXT device, EGLint name, EGLint max_size, void *value, EGLint *size); 7197777dab0Sopenharmony_ci#endif 7207777dab0Sopenharmony_ci#endif /* EGL_EXT_device_persistent_id */ 7217777dab0Sopenharmony_ci 7227777dab0Sopenharmony_ci#ifndef EGL_EXT_device_query 7237777dab0Sopenharmony_ci#define EGL_EXT_device_query 1 7247777dab0Sopenharmony_ci#endif /* EGL_EXT_device_query */ 7257777dab0Sopenharmony_ci 7267777dab0Sopenharmony_ci#ifndef EGL_EXT_device_query_name 7277777dab0Sopenharmony_ci#define EGL_EXT_device_query_name 1 7287777dab0Sopenharmony_ci#define EGL_RENDERER_EXT 0x335F 7297777dab0Sopenharmony_ci#endif /* EGL_EXT_device_query_name */ 7307777dab0Sopenharmony_ci 7317777dab0Sopenharmony_ci#ifndef EGL_EXT_gl_colorspace_bt2020_linear 7327777dab0Sopenharmony_ci#define EGL_EXT_gl_colorspace_bt2020_linear 1 7337777dab0Sopenharmony_ci#define EGL_GL_COLORSPACE_BT2020_LINEAR_EXT 0x333F 7347777dab0Sopenharmony_ci#endif /* EGL_EXT_gl_colorspace_bt2020_linear */ 7357777dab0Sopenharmony_ci 7367777dab0Sopenharmony_ci#ifndef EGL_EXT_gl_colorspace_bt2020_pq 7377777dab0Sopenharmony_ci#define EGL_EXT_gl_colorspace_bt2020_pq 1 7387777dab0Sopenharmony_ci#define EGL_GL_COLORSPACE_BT2020_PQ_EXT 0x3340 7397777dab0Sopenharmony_ci#endif /* EGL_EXT_gl_colorspace_bt2020_pq */ 7407777dab0Sopenharmony_ci 7417777dab0Sopenharmony_ci#ifndef EGL_EXT_gl_colorspace_display_p3 7427777dab0Sopenharmony_ci#define EGL_EXT_gl_colorspace_display_p3 1 7437777dab0Sopenharmony_ci#define EGL_GL_COLORSPACE_DISPLAY_P3_EXT 0x3363 7447777dab0Sopenharmony_ci#endif /* EGL_EXT_gl_colorspace_display_p3 */ 7457777dab0Sopenharmony_ci 7467777dab0Sopenharmony_ci#ifndef EGL_EXT_gl_colorspace_display_p3_linear 7477777dab0Sopenharmony_ci#define EGL_EXT_gl_colorspace_display_p3_linear 1 7487777dab0Sopenharmony_ci#define EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT 0x3362 7497777dab0Sopenharmony_ci#endif /* EGL_EXT_gl_colorspace_display_p3_linear */ 7507777dab0Sopenharmony_ci 7517777dab0Sopenharmony_ci#ifndef EGL_EXT_gl_colorspace_display_p3_passthrough 7527777dab0Sopenharmony_ci#define EGL_EXT_gl_colorspace_display_p3_passthrough 1 7537777dab0Sopenharmony_ci#define EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT 0x3490 7547777dab0Sopenharmony_ci#endif /* EGL_EXT_gl_colorspace_display_p3_passthrough */ 7557777dab0Sopenharmony_ci 7567777dab0Sopenharmony_ci#ifndef EGL_EXT_gl_colorspace_scrgb 7577777dab0Sopenharmony_ci#define EGL_EXT_gl_colorspace_scrgb 1 7587777dab0Sopenharmony_ci#define EGL_GL_COLORSPACE_SCRGB_EXT 0x3351 7597777dab0Sopenharmony_ci#endif /* EGL_EXT_gl_colorspace_scrgb */ 7607777dab0Sopenharmony_ci 7617777dab0Sopenharmony_ci#ifndef EGL_EXT_gl_colorspace_scrgb_linear 7627777dab0Sopenharmony_ci#define EGL_EXT_gl_colorspace_scrgb_linear 1 7637777dab0Sopenharmony_ci#define EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT 0x3350 7647777dab0Sopenharmony_ci#endif /* EGL_EXT_gl_colorspace_scrgb_linear */ 7657777dab0Sopenharmony_ci 7667777dab0Sopenharmony_ci#ifndef EGL_EXT_image_dma_buf_import 7677777dab0Sopenharmony_ci#define EGL_EXT_image_dma_buf_import 1 7687777dab0Sopenharmony_ci#define EGL_LINUX_DMA_BUF_EXT 0x3270 7697777dab0Sopenharmony_ci#define EGL_LINUX_DRM_FOURCC_EXT 0x3271 7707777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272 7717777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273 7727777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274 7737777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE1_FD_EXT 0x3275 7747777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE1_OFFSET_EXT 0x3276 7757777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE1_PITCH_EXT 0x3277 7767777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE2_FD_EXT 0x3278 7777777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE2_OFFSET_EXT 0x3279 7787777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE2_PITCH_EXT 0x327A 7797777dab0Sopenharmony_ci#define EGL_YUV_COLOR_SPACE_HINT_EXT 0x327B 7807777dab0Sopenharmony_ci#define EGL_SAMPLE_RANGE_HINT_EXT 0x327C 7817777dab0Sopenharmony_ci#define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT 0x327D 7827777dab0Sopenharmony_ci#define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT 0x327E 7837777dab0Sopenharmony_ci#define EGL_ITU_REC601_EXT 0x327F 7847777dab0Sopenharmony_ci#define EGL_ITU_REC709_EXT 0x3280 7857777dab0Sopenharmony_ci#define EGL_ITU_REC2020_EXT 0x3281 7867777dab0Sopenharmony_ci#define EGL_YUV_FULL_RANGE_EXT 0x3282 7877777dab0Sopenharmony_ci#define EGL_YUV_NARROW_RANGE_EXT 0x3283 7887777dab0Sopenharmony_ci#define EGL_YUV_CHROMA_SITING_0_EXT 0x3284 7897777dab0Sopenharmony_ci#define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285 7907777dab0Sopenharmony_ci#endif /* EGL_EXT_image_dma_buf_import */ 7917777dab0Sopenharmony_ci 7927777dab0Sopenharmony_ci#ifndef EGL_EXT_image_dma_buf_import_modifiers 7937777dab0Sopenharmony_ci#define EGL_EXT_image_dma_buf_import_modifiers 1 7947777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE3_FD_EXT 0x3440 7957777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE3_OFFSET_EXT 0x3441 7967777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE3_PITCH_EXT 0x3442 7977777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT 0x3443 7987777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT 0x3444 7997777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT 0x3445 8007777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT 0x3446 8017777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT 0x3447 8027777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT 0x3448 8037777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE3_MODIFIER_LO_EXT 0x3449 8047777dab0Sopenharmony_ci#define EGL_DMA_BUF_PLANE3_MODIFIER_HI_EXT 0x344A 8057777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDMABUFFORMATSEXTPROC) (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats); 8067777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDMABUFMODIFIERSEXTPROC) (EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR *modifiers, EGLBoolean *external_only, EGLint *num_modifiers); 8077777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 8087777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDmaBufFormatsEXT (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats); 8097777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDmaBufModifiersEXT (EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR *modifiers, EGLBoolean *external_only, EGLint *num_modifiers); 8107777dab0Sopenharmony_ci#endif 8117777dab0Sopenharmony_ci#endif /* EGL_EXT_image_dma_buf_import_modifiers */ 8127777dab0Sopenharmony_ci 8137777dab0Sopenharmony_ci#ifndef EGL_EXT_image_gl_colorspace 8147777dab0Sopenharmony_ci#define EGL_EXT_image_gl_colorspace 1 8157777dab0Sopenharmony_ci#define EGL_GL_COLORSPACE_DEFAULT_EXT 0x314D 8167777dab0Sopenharmony_ci#endif /* EGL_EXT_image_gl_colorspace */ 8177777dab0Sopenharmony_ci 8187777dab0Sopenharmony_ci#ifndef EGL_EXT_image_implicit_sync_control 8197777dab0Sopenharmony_ci#define EGL_EXT_image_implicit_sync_control 1 8207777dab0Sopenharmony_ci#define EGL_IMPORT_SYNC_TYPE_EXT 0x3470 8217777dab0Sopenharmony_ci#define EGL_IMPORT_IMPLICIT_SYNC_EXT 0x3471 8227777dab0Sopenharmony_ci#define EGL_IMPORT_EXPLICIT_SYNC_EXT 0x3472 8237777dab0Sopenharmony_ci#endif /* EGL_EXT_image_implicit_sync_control */ 8247777dab0Sopenharmony_ci 8257777dab0Sopenharmony_ci#ifndef EGL_EXT_multiview_window 8267777dab0Sopenharmony_ci#define EGL_EXT_multiview_window 1 8277777dab0Sopenharmony_ci#define EGL_MULTIVIEW_VIEW_COUNT_EXT 0x3134 8287777dab0Sopenharmony_ci#endif /* EGL_EXT_multiview_window */ 8297777dab0Sopenharmony_ci 8307777dab0Sopenharmony_ci#ifndef EGL_EXT_output_base 8317777dab0Sopenharmony_ci#define EGL_EXT_output_base 1 8327777dab0Sopenharmony_citypedef void *EGLOutputLayerEXT; 8337777dab0Sopenharmony_citypedef void *EGLOutputPortEXT; 8347777dab0Sopenharmony_ci#define EGL_NO_OUTPUT_LAYER_EXT EGL_CAST(EGLOutputLayerEXT,0) 8357777dab0Sopenharmony_ci#define EGL_NO_OUTPUT_PORT_EXT EGL_CAST(EGLOutputPortEXT,0) 8367777dab0Sopenharmony_ci#define EGL_BAD_OUTPUT_LAYER_EXT 0x322D 8377777dab0Sopenharmony_ci#define EGL_BAD_OUTPUT_PORT_EXT 0x322E 8387777dab0Sopenharmony_ci#define EGL_SWAP_INTERVAL_EXT 0x322F 8397777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETOUTPUTLAYERSEXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputLayerEXT *layers, EGLint max_layers, EGLint *num_layers); 8407777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETOUTPUTPORTSEXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports, EGLint *num_ports); 8417777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value); 8427777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib *value); 8437777dab0Sopenharmony_citypedef const char *(EGLAPIENTRYP PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name); 8447777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLOUTPUTPORTATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value); 8457777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib *value); 8467777dab0Sopenharmony_citypedef const char *(EGLAPIENTRYP PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name); 8477777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 8487777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetOutputLayersEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputLayerEXT *layers, EGLint max_layers, EGLint *num_layers); 8497777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetOutputPortsEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports, EGLint *num_ports); 8507777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value); 8517777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib *value); 8527777dab0Sopenharmony_ciEGLAPI const char *EGLAPIENTRY eglQueryOutputLayerStringEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name); 8537777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value); 8547777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib *value); 8557777dab0Sopenharmony_ciEGLAPI const char *EGLAPIENTRY eglQueryOutputPortStringEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name); 8567777dab0Sopenharmony_ci#endif 8577777dab0Sopenharmony_ci#endif /* EGL_EXT_output_base */ 8587777dab0Sopenharmony_ci 8597777dab0Sopenharmony_ci#ifndef EGL_EXT_output_drm 8607777dab0Sopenharmony_ci#define EGL_EXT_output_drm 1 8617777dab0Sopenharmony_ci#define EGL_DRM_CRTC_EXT 0x3234 8627777dab0Sopenharmony_ci#define EGL_DRM_PLANE_EXT 0x3235 8637777dab0Sopenharmony_ci#define EGL_DRM_CONNECTOR_EXT 0x3236 8647777dab0Sopenharmony_ci#endif /* EGL_EXT_output_drm */ 8657777dab0Sopenharmony_ci 8667777dab0Sopenharmony_ci#ifndef EGL_EXT_output_openwf 8677777dab0Sopenharmony_ci#define EGL_EXT_output_openwf 1 8687777dab0Sopenharmony_ci#define EGL_OPENWF_PIPELINE_ID_EXT 0x3238 8697777dab0Sopenharmony_ci#define EGL_OPENWF_PORT_ID_EXT 0x3239 8707777dab0Sopenharmony_ci#endif /* EGL_EXT_output_openwf */ 8717777dab0Sopenharmony_ci 8727777dab0Sopenharmony_ci#ifndef EGL_EXT_pixel_format_float 8737777dab0Sopenharmony_ci#define EGL_EXT_pixel_format_float 1 8747777dab0Sopenharmony_ci#define EGL_COLOR_COMPONENT_TYPE_EXT 0x3339 8757777dab0Sopenharmony_ci#define EGL_COLOR_COMPONENT_TYPE_FIXED_EXT 0x333A 8767777dab0Sopenharmony_ci#define EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT 0x333B 8777777dab0Sopenharmony_ci#endif /* EGL_EXT_pixel_format_float */ 8787777dab0Sopenharmony_ci 8797777dab0Sopenharmony_ci#ifndef EGL_EXT_platform_base 8807777dab0Sopenharmony_ci#define EGL_EXT_platform_base 1 8817777dab0Sopenharmony_citypedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum platform, void *native_display, const EGLint *attrib_list); 8827777dab0Sopenharmony_citypedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list); 8837777dab0Sopenharmony_citypedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list); 8847777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 8857777dab0Sopenharmony_ciEGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplayEXT (EGLenum platform, void *native_display, const EGLint *attrib_list); 8867777dab0Sopenharmony_ciEGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list); 8877777dab0Sopenharmony_ciEGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list); 8887777dab0Sopenharmony_ci#endif 8897777dab0Sopenharmony_ci#endif /* EGL_EXT_platform_base */ 8907777dab0Sopenharmony_ci 8917777dab0Sopenharmony_ci#ifndef EGL_EXT_platform_device 8927777dab0Sopenharmony_ci#define EGL_EXT_platform_device 1 8937777dab0Sopenharmony_ci#define EGL_PLATFORM_DEVICE_EXT 0x313F 8947777dab0Sopenharmony_ci#endif /* EGL_EXT_platform_device */ 8957777dab0Sopenharmony_ci 8967777dab0Sopenharmony_ci#ifndef EGL_EXT_platform_wayland 8977777dab0Sopenharmony_ci#define EGL_EXT_platform_wayland 1 8987777dab0Sopenharmony_ci#define EGL_PLATFORM_WAYLAND_EXT 0x31D8 8997777dab0Sopenharmony_ci#endif /* EGL_EXT_platform_wayland */ 9007777dab0Sopenharmony_ci 9017777dab0Sopenharmony_ci#ifndef EGL_EXT_platform_x11 9027777dab0Sopenharmony_ci#define EGL_EXT_platform_x11 1 9037777dab0Sopenharmony_ci#define EGL_PLATFORM_X11_EXT 0x31D5 9047777dab0Sopenharmony_ci#define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6 9057777dab0Sopenharmony_ci#endif /* EGL_EXT_platform_x11 */ 9067777dab0Sopenharmony_ci 9077777dab0Sopenharmony_ci#ifndef EGL_EXT_platform_xcb 9087777dab0Sopenharmony_ci#define EGL_EXT_platform_xcb 1 9097777dab0Sopenharmony_ci#define EGL_PLATFORM_XCB_EXT 0x31DC 9107777dab0Sopenharmony_ci#define EGL_PLATFORM_XCB_SCREEN_EXT 0x31DE 9117777dab0Sopenharmony_ci#endif /* EGL_EXT_platform_xcb */ 9127777dab0Sopenharmony_ci 9137777dab0Sopenharmony_ci#ifndef EGL_EXT_present_opaque 9147777dab0Sopenharmony_ci#define EGL_EXT_present_opaque 1 9157777dab0Sopenharmony_ci#define EGL_PRESENT_OPAQUE_EXT 0x31DF 9167777dab0Sopenharmony_ci#endif /* EGL_EXT_present_opaque */ 9177777dab0Sopenharmony_ci 9187777dab0Sopenharmony_ci#ifndef EGL_EXT_protected_content 9197777dab0Sopenharmony_ci#define EGL_EXT_protected_content 1 9207777dab0Sopenharmony_ci#define EGL_PROTECTED_CONTENT_EXT 0x32C0 9217777dab0Sopenharmony_ci#endif /* EGL_EXT_protected_content */ 9227777dab0Sopenharmony_ci 9237777dab0Sopenharmony_ci#ifndef EGL_EXT_protected_surface 9247777dab0Sopenharmony_ci#define EGL_EXT_protected_surface 1 9257777dab0Sopenharmony_ci#endif /* EGL_EXT_protected_surface */ 9267777dab0Sopenharmony_ci 9277777dab0Sopenharmony_ci#ifndef EGL_EXT_stream_consumer_egloutput 9287777dab0Sopenharmony_ci#define EGL_EXT_stream_consumer_egloutput 1 9297777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMEROUTPUTEXTPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer); 9307777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 9317777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer); 9327777dab0Sopenharmony_ci#endif 9337777dab0Sopenharmony_ci#endif /* EGL_EXT_stream_consumer_egloutput */ 9347777dab0Sopenharmony_ci 9357777dab0Sopenharmony_ci#ifndef EGL_EXT_surface_CTA861_3_metadata 9367777dab0Sopenharmony_ci#define EGL_EXT_surface_CTA861_3_metadata 1 9377777dab0Sopenharmony_ci#define EGL_CTA861_3_MAX_CONTENT_LIGHT_LEVEL_EXT 0x3360 9387777dab0Sopenharmony_ci#define EGL_CTA861_3_MAX_FRAME_AVERAGE_LEVEL_EXT 0x3361 9397777dab0Sopenharmony_ci#endif /* EGL_EXT_surface_CTA861_3_metadata */ 9407777dab0Sopenharmony_ci 9417777dab0Sopenharmony_ci#ifndef EGL_EXT_surface_SMPTE2086_metadata 9427777dab0Sopenharmony_ci#define EGL_EXT_surface_SMPTE2086_metadata 1 9437777dab0Sopenharmony_ci#define EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT 0x3341 9447777dab0Sopenharmony_ci#define EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT 0x3342 9457777dab0Sopenharmony_ci#define EGL_SMPTE2086_DISPLAY_PRIMARY_GX_EXT 0x3343 9467777dab0Sopenharmony_ci#define EGL_SMPTE2086_DISPLAY_PRIMARY_GY_EXT 0x3344 9477777dab0Sopenharmony_ci#define EGL_SMPTE2086_DISPLAY_PRIMARY_BX_EXT 0x3345 9487777dab0Sopenharmony_ci#define EGL_SMPTE2086_DISPLAY_PRIMARY_BY_EXT 0x3346 9497777dab0Sopenharmony_ci#define EGL_SMPTE2086_WHITE_POINT_X_EXT 0x3347 9507777dab0Sopenharmony_ci#define EGL_SMPTE2086_WHITE_POINT_Y_EXT 0x3348 9517777dab0Sopenharmony_ci#define EGL_SMPTE2086_MAX_LUMINANCE_EXT 0x3349 9527777dab0Sopenharmony_ci#define EGL_SMPTE2086_MIN_LUMINANCE_EXT 0x334A 9537777dab0Sopenharmony_ci#define EGL_METADATA_SCALING_EXT 50000 9547777dab0Sopenharmony_ci#endif /* EGL_EXT_surface_SMPTE2086_metadata */ 9557777dab0Sopenharmony_ci 9567777dab0Sopenharmony_ci#ifndef EGL_EXT_surface_compression 9577777dab0Sopenharmony_ci#define EGL_EXT_surface_compression 1 9587777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_EXT 0x34B0 9597777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_PLANE1_EXT 0x328E 9607777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_PLANE2_EXT 0x328F 9617777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT 0x34B1 9627777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT 0x34B2 9637777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT 0x34B4 9647777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT 0x34B5 9657777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT 0x34B6 9667777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT 0x34B7 9677777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT 0x34B8 9687777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT 0x34B9 9697777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT 0x34BA 9707777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT 0x34BB 9717777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT 0x34BC 9727777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT 0x34BD 9737777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT 0x34BE 9747777dab0Sopenharmony_ci#define EGL_SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT 0x34BF 9757777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSUPPORTEDCOMPRESSIONRATESEXTPROC) (EGLDisplay dpy, EGLConfig *configs, const EGLAttrib *attrib_list, EGLint *rates, EGLint rate_size, EGLint *num_rates); 9767777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 9777777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQuerySupportedCompressionRatesEXT (EGLDisplay dpy, EGLConfig *configs, const EGLAttrib *attrib_list, EGLint *rates, EGLint rate_size, EGLint *num_rates); 9787777dab0Sopenharmony_ci#endif 9797777dab0Sopenharmony_ci#endif /* EGL_EXT_surface_compression */ 9807777dab0Sopenharmony_ci 9817777dab0Sopenharmony_ci#ifndef EGL_EXT_swap_buffers_with_damage 9827777dab0Sopenharmony_ci#define EGL_EXT_swap_buffers_with_damage 1 9837777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); 9847777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 9857777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); 9867777dab0Sopenharmony_ci#endif 9877777dab0Sopenharmony_ci#endif /* EGL_EXT_swap_buffers_with_damage */ 9887777dab0Sopenharmony_ci 9897777dab0Sopenharmony_ci#ifndef EGL_EXT_sync_reuse 9907777dab0Sopenharmony_ci#define EGL_EXT_sync_reuse 1 9917777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLUNSIGNALSYNCEXTPROC) (EGLDisplay dpy, EGLSync sync, const EGLAttrib *attrib_list); 9927777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 9937777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglUnsignalSyncEXT (EGLDisplay dpy, EGLSync sync, const EGLAttrib *attrib_list); 9947777dab0Sopenharmony_ci#endif 9957777dab0Sopenharmony_ci#endif /* EGL_EXT_sync_reuse */ 9967777dab0Sopenharmony_ci 9977777dab0Sopenharmony_ci#ifndef EGL_EXT_yuv_surface 9987777dab0Sopenharmony_ci#define EGL_EXT_yuv_surface 1 9997777dab0Sopenharmony_ci#define EGL_YUV_ORDER_EXT 0x3301 10007777dab0Sopenharmony_ci#define EGL_YUV_NUMBER_OF_PLANES_EXT 0x3311 10017777dab0Sopenharmony_ci#define EGL_YUV_SUBSAMPLE_EXT 0x3312 10027777dab0Sopenharmony_ci#define EGL_YUV_DEPTH_RANGE_EXT 0x3317 10037777dab0Sopenharmony_ci#define EGL_YUV_CSC_STANDARD_EXT 0x330A 10047777dab0Sopenharmony_ci#define EGL_YUV_PLANE_BPP_EXT 0x331A 10057777dab0Sopenharmony_ci#define EGL_YUV_BUFFER_EXT 0x3300 10067777dab0Sopenharmony_ci#define EGL_YUV_ORDER_YUV_EXT 0x3302 10077777dab0Sopenharmony_ci#define EGL_YUV_ORDER_YVU_EXT 0x3303 10087777dab0Sopenharmony_ci#define EGL_YUV_ORDER_YUYV_EXT 0x3304 10097777dab0Sopenharmony_ci#define EGL_YUV_ORDER_UYVY_EXT 0x3305 10107777dab0Sopenharmony_ci#define EGL_YUV_ORDER_YVYU_EXT 0x3306 10117777dab0Sopenharmony_ci#define EGL_YUV_ORDER_VYUY_EXT 0x3307 10127777dab0Sopenharmony_ci#define EGL_YUV_ORDER_AYUV_EXT 0x3308 10137777dab0Sopenharmony_ci#define EGL_YUV_SUBSAMPLE_4_2_0_EXT 0x3313 10147777dab0Sopenharmony_ci#define EGL_YUV_SUBSAMPLE_4_2_2_EXT 0x3314 10157777dab0Sopenharmony_ci#define EGL_YUV_SUBSAMPLE_4_4_4_EXT 0x3315 10167777dab0Sopenharmony_ci#define EGL_YUV_DEPTH_RANGE_LIMITED_EXT 0x3318 10177777dab0Sopenharmony_ci#define EGL_YUV_DEPTH_RANGE_FULL_EXT 0x3319 10187777dab0Sopenharmony_ci#define EGL_YUV_CSC_STANDARD_601_EXT 0x330B 10197777dab0Sopenharmony_ci#define EGL_YUV_CSC_STANDARD_709_EXT 0x330C 10207777dab0Sopenharmony_ci#define EGL_YUV_CSC_STANDARD_2020_EXT 0x330D 10217777dab0Sopenharmony_ci#define EGL_YUV_PLANE_BPP_0_EXT 0x331B 10227777dab0Sopenharmony_ci#define EGL_YUV_PLANE_BPP_8_EXT 0x331C 10237777dab0Sopenharmony_ci#define EGL_YUV_PLANE_BPP_10_EXT 0x331D 10247777dab0Sopenharmony_ci#endif /* EGL_EXT_yuv_surface */ 10257777dab0Sopenharmony_ci 10267777dab0Sopenharmony_ci#ifndef EGL_HI_clientpixmap 10277777dab0Sopenharmony_ci#define EGL_HI_clientpixmap 1 10287777dab0Sopenharmony_cistruct EGLClientPixmapHI { 10297777dab0Sopenharmony_ci void *pData; 10307777dab0Sopenharmony_ci EGLint iWidth; 10317777dab0Sopenharmony_ci EGLint iHeight; 10327777dab0Sopenharmony_ci EGLint iStride; 10337777dab0Sopenharmony_ci}; 10347777dab0Sopenharmony_ci#define EGL_CLIENT_PIXMAP_POINTER_HI 0x8F74 10357777dab0Sopenharmony_citypedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap); 10367777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 10377777dab0Sopenharmony_ciEGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap); 10387777dab0Sopenharmony_ci#endif 10397777dab0Sopenharmony_ci#endif /* EGL_HI_clientpixmap */ 10407777dab0Sopenharmony_ci 10417777dab0Sopenharmony_ci#ifndef EGL_HI_colorformats 10427777dab0Sopenharmony_ci#define EGL_HI_colorformats 1 10437777dab0Sopenharmony_ci#define EGL_COLOR_FORMAT_HI 0x8F70 10447777dab0Sopenharmony_ci#define EGL_COLOR_RGB_HI 0x8F71 10457777dab0Sopenharmony_ci#define EGL_COLOR_RGBA_HI 0x8F72 10467777dab0Sopenharmony_ci#define EGL_COLOR_ARGB_HI 0x8F73 10477777dab0Sopenharmony_ci#endif /* EGL_HI_colorformats */ 10487777dab0Sopenharmony_ci 10497777dab0Sopenharmony_ci#ifndef EGL_IMG_context_priority 10507777dab0Sopenharmony_ci#define EGL_IMG_context_priority 1 10517777dab0Sopenharmony_ci#define EGL_CONTEXT_PRIORITY_LEVEL_IMG 0x3100 10527777dab0Sopenharmony_ci#define EGL_CONTEXT_PRIORITY_HIGH_IMG 0x3101 10537777dab0Sopenharmony_ci#define EGL_CONTEXT_PRIORITY_MEDIUM_IMG 0x3102 10547777dab0Sopenharmony_ci#define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103 10557777dab0Sopenharmony_ci#endif /* EGL_IMG_context_priority */ 10567777dab0Sopenharmony_ci 10577777dab0Sopenharmony_ci#ifndef EGL_IMG_image_plane_attribs 10587777dab0Sopenharmony_ci#define EGL_IMG_image_plane_attribs 1 10597777dab0Sopenharmony_ci#define EGL_NATIVE_BUFFER_MULTIPLANE_SEPARATE_IMG 0x3105 10607777dab0Sopenharmony_ci#define EGL_NATIVE_BUFFER_PLANE_OFFSET_IMG 0x3106 10617777dab0Sopenharmony_ci#endif /* EGL_IMG_image_plane_attribs */ 10627777dab0Sopenharmony_ci 10637777dab0Sopenharmony_ci#ifndef EGL_MESA_drm_image 10647777dab0Sopenharmony_ci#define EGL_MESA_drm_image 1 10657777dab0Sopenharmony_ci#define EGL_DRM_BUFFER_FORMAT_MESA 0x31D0 10667777dab0Sopenharmony_ci#define EGL_DRM_BUFFER_USE_MESA 0x31D1 10677777dab0Sopenharmony_ci#define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2 10687777dab0Sopenharmony_ci#define EGL_DRM_BUFFER_MESA 0x31D3 10697777dab0Sopenharmony_ci#define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4 10707777dab0Sopenharmony_ci#define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x00000001 10717777dab0Sopenharmony_ci#define EGL_DRM_BUFFER_USE_SHARE_MESA 0x00000002 10727777dab0Sopenharmony_ci#define EGL_DRM_BUFFER_USE_CURSOR_MESA 0x00000004 10737777dab0Sopenharmony_citypedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint *attrib_list); 10747777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); 10757777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 10767777dab0Sopenharmony_ciEGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list); 10777777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); 10787777dab0Sopenharmony_ci#endif 10797777dab0Sopenharmony_ci#endif /* EGL_MESA_drm_image */ 10807777dab0Sopenharmony_ci 10817777dab0Sopenharmony_ci#ifndef EGL_MESA_image_dma_buf_export 10827777dab0Sopenharmony_ci#define EGL_MESA_image_dma_buf_export 1 10837777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, EGLuint64KHR *modifiers); 10847777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDMABUFIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets); 10857777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 10867777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageQueryMESA (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, EGLuint64KHR *modifiers); 10877777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageMESA (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets); 10887777dab0Sopenharmony_ci#endif 10897777dab0Sopenharmony_ci#endif /* EGL_MESA_image_dma_buf_export */ 10907777dab0Sopenharmony_ci 10917777dab0Sopenharmony_ci#ifndef EGL_MESA_platform_gbm 10927777dab0Sopenharmony_ci#define EGL_MESA_platform_gbm 1 10937777dab0Sopenharmony_ci#define EGL_PLATFORM_GBM_MESA 0x31D7 10947777dab0Sopenharmony_ci#endif /* EGL_MESA_platform_gbm */ 10957777dab0Sopenharmony_ci 10967777dab0Sopenharmony_ci#ifndef EGL_MESA_platform_surfaceless 10977777dab0Sopenharmony_ci#define EGL_MESA_platform_surfaceless 1 10987777dab0Sopenharmony_ci#define EGL_PLATFORM_SURFACELESS_MESA 0x31DD 10997777dab0Sopenharmony_ci#endif /* EGL_MESA_platform_surfaceless */ 11007777dab0Sopenharmony_ci 11017777dab0Sopenharmony_ci#ifndef EGL_MESA_query_driver 11027777dab0Sopenharmony_ci#define EGL_MESA_query_driver 1 11037777dab0Sopenharmony_citypedef char *(EGLAPIENTRYP PFNEGLGETDISPLAYDRIVERCONFIGPROC) (EGLDisplay dpy); 11047777dab0Sopenharmony_citypedef const char *(EGLAPIENTRYP PFNEGLGETDISPLAYDRIVERNAMEPROC) (EGLDisplay dpy); 11057777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 11067777dab0Sopenharmony_ciEGLAPI char *EGLAPIENTRY eglGetDisplayDriverConfig (EGLDisplay dpy); 11077777dab0Sopenharmony_ciEGLAPI const char *EGLAPIENTRY eglGetDisplayDriverName (EGLDisplay dpy); 11087777dab0Sopenharmony_ci#endif 11097777dab0Sopenharmony_ci#endif /* EGL_MESA_query_driver */ 11107777dab0Sopenharmony_ci 11117777dab0Sopenharmony_ci#ifndef EGL_NOK_swap_region 11127777dab0Sopenharmony_ci#define EGL_NOK_swap_region 1 11137777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); 11147777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 11157777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); 11167777dab0Sopenharmony_ci#endif 11177777dab0Sopenharmony_ci#endif /* EGL_NOK_swap_region */ 11187777dab0Sopenharmony_ci 11197777dab0Sopenharmony_ci#ifndef EGL_NOK_swap_region2 11207777dab0Sopenharmony_ci#define EGL_NOK_swap_region2 1 11217777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); 11227777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 11237777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); 11247777dab0Sopenharmony_ci#endif 11257777dab0Sopenharmony_ci#endif /* EGL_NOK_swap_region2 */ 11267777dab0Sopenharmony_ci 11277777dab0Sopenharmony_ci#ifndef EGL_NOK_texture_from_pixmap 11287777dab0Sopenharmony_ci#define EGL_NOK_texture_from_pixmap 1 11297777dab0Sopenharmony_ci#define EGL_Y_INVERTED_NOK 0x307F 11307777dab0Sopenharmony_ci#endif /* EGL_NOK_texture_from_pixmap */ 11317777dab0Sopenharmony_ci 11327777dab0Sopenharmony_ci#ifndef EGL_NV_3dvision_surface 11337777dab0Sopenharmony_ci#define EGL_NV_3dvision_surface 1 11347777dab0Sopenharmony_ci#define EGL_AUTO_STEREO_NV 0x3136 11357777dab0Sopenharmony_ci#endif /* EGL_NV_3dvision_surface */ 11367777dab0Sopenharmony_ci 11377777dab0Sopenharmony_ci#ifndef EGL_NV_context_priority_realtime 11387777dab0Sopenharmony_ci#define EGL_NV_context_priority_realtime 1 11397777dab0Sopenharmony_ci#define EGL_CONTEXT_PRIORITY_REALTIME_NV 0x3357 11407777dab0Sopenharmony_ci#endif /* EGL_NV_context_priority_realtime */ 11417777dab0Sopenharmony_ci 11427777dab0Sopenharmony_ci#ifndef EGL_NV_coverage_sample 11437777dab0Sopenharmony_ci#define EGL_NV_coverage_sample 1 11447777dab0Sopenharmony_ci#define EGL_COVERAGE_BUFFERS_NV 0x30E0 11457777dab0Sopenharmony_ci#define EGL_COVERAGE_SAMPLES_NV 0x30E1 11467777dab0Sopenharmony_ci#endif /* EGL_NV_coverage_sample */ 11477777dab0Sopenharmony_ci 11487777dab0Sopenharmony_ci#ifndef EGL_NV_coverage_sample_resolve 11497777dab0Sopenharmony_ci#define EGL_NV_coverage_sample_resolve 1 11507777dab0Sopenharmony_ci#define EGL_COVERAGE_SAMPLE_RESOLVE_NV 0x3131 11517777dab0Sopenharmony_ci#define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV 0x3132 11527777dab0Sopenharmony_ci#define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV 0x3133 11537777dab0Sopenharmony_ci#endif /* EGL_NV_coverage_sample_resolve */ 11547777dab0Sopenharmony_ci 11557777dab0Sopenharmony_ci#ifndef EGL_NV_cuda_event 11567777dab0Sopenharmony_ci#define EGL_NV_cuda_event 1 11577777dab0Sopenharmony_ci#define EGL_CUDA_EVENT_HANDLE_NV 0x323B 11587777dab0Sopenharmony_ci#define EGL_SYNC_CUDA_EVENT_NV 0x323C 11597777dab0Sopenharmony_ci#define EGL_SYNC_CUDA_EVENT_COMPLETE_NV 0x323D 11607777dab0Sopenharmony_ci#endif /* EGL_NV_cuda_event */ 11617777dab0Sopenharmony_ci 11627777dab0Sopenharmony_ci#ifndef EGL_NV_depth_nonlinear 11637777dab0Sopenharmony_ci#define EGL_NV_depth_nonlinear 1 11647777dab0Sopenharmony_ci#define EGL_DEPTH_ENCODING_NV 0x30E2 11657777dab0Sopenharmony_ci#define EGL_DEPTH_ENCODING_NONE_NV 0 11667777dab0Sopenharmony_ci#define EGL_DEPTH_ENCODING_NONLINEAR_NV 0x30E3 11677777dab0Sopenharmony_ci#endif /* EGL_NV_depth_nonlinear */ 11687777dab0Sopenharmony_ci 11697777dab0Sopenharmony_ci#ifndef EGL_NV_device_cuda 11707777dab0Sopenharmony_ci#define EGL_NV_device_cuda 1 11717777dab0Sopenharmony_ci#define EGL_CUDA_DEVICE_NV 0x323A 11727777dab0Sopenharmony_ci#endif /* EGL_NV_device_cuda */ 11737777dab0Sopenharmony_ci 11747777dab0Sopenharmony_ci#ifndef EGL_NV_native_query 11757777dab0Sopenharmony_ci#define EGL_NV_native_query 1 11767777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEDISPLAYNVPROC) (EGLDisplay dpy, EGLNativeDisplayType *display_id); 11777777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEWINDOWNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window); 11787777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap); 11797777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 11807777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayType *display_id); 11817777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window); 11827777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap); 11837777dab0Sopenharmony_ci#endif 11847777dab0Sopenharmony_ci#endif /* EGL_NV_native_query */ 11857777dab0Sopenharmony_ci 11867777dab0Sopenharmony_ci#ifndef EGL_NV_post_convert_rounding 11877777dab0Sopenharmony_ci#define EGL_NV_post_convert_rounding 1 11887777dab0Sopenharmony_ci#endif /* EGL_NV_post_convert_rounding */ 11897777dab0Sopenharmony_ci 11907777dab0Sopenharmony_ci#ifndef EGL_NV_post_sub_buffer 11917777dab0Sopenharmony_ci#define EGL_NV_post_sub_buffer 1 11927777dab0Sopenharmony_ci#define EGL_POST_SUB_BUFFER_SUPPORTED_NV 0x30BE 11937777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); 11947777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 11957777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); 11967777dab0Sopenharmony_ci#endif 11977777dab0Sopenharmony_ci#endif /* EGL_NV_post_sub_buffer */ 11987777dab0Sopenharmony_ci 11997777dab0Sopenharmony_ci#ifndef EGL_NV_quadruple_buffer 12007777dab0Sopenharmony_ci#define EGL_NV_quadruple_buffer 1 12017777dab0Sopenharmony_ci#define EGL_QUADRUPLE_BUFFER_NV 0x3231 12027777dab0Sopenharmony_ci#endif /* EGL_NV_quadruple_buffer */ 12037777dab0Sopenharmony_ci 12047777dab0Sopenharmony_ci#ifndef EGL_NV_robustness_video_memory_purge 12057777dab0Sopenharmony_ci#define EGL_NV_robustness_video_memory_purge 1 12067777dab0Sopenharmony_ci#define EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV 0x334C 12077777dab0Sopenharmony_ci#endif /* EGL_NV_robustness_video_memory_purge */ 12087777dab0Sopenharmony_ci 12097777dab0Sopenharmony_ci#ifndef EGL_NV_stream_consumer_eglimage 12107777dab0Sopenharmony_ci#define EGL_NV_stream_consumer_eglimage 1 12117777dab0Sopenharmony_ci#define EGL_STREAM_CONSUMER_IMAGE_NV 0x3373 12127777dab0Sopenharmony_ci#define EGL_STREAM_IMAGE_ADD_NV 0x3374 12137777dab0Sopenharmony_ci#define EGL_STREAM_IMAGE_REMOVE_NV 0x3375 12147777dab0Sopenharmony_ci#define EGL_STREAM_IMAGE_AVAILABLE_NV 0x3376 12157777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR *modifiers, EGLAttrib *attrib_list); 12167777dab0Sopenharmony_citypedef EGLint (EGLAPIENTRYP PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux); 12177777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMACQUIREIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync); 12187777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMRELEASEIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync); 12197777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 12207777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamImageConsumerConnectNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR *modifiers, EGLAttrib *attrib_list); 12217777dab0Sopenharmony_ciEGLAPI EGLint EGLAPIENTRY eglQueryStreamConsumerEventNV (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux); 12227777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamAcquireImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync); 12237777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamReleaseImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync); 12247777dab0Sopenharmony_ci#endif 12257777dab0Sopenharmony_ci#endif /* EGL_NV_stream_consumer_eglimage */ 12267777dab0Sopenharmony_ci 12277777dab0Sopenharmony_ci#ifndef EGL_NV_stream_consumer_gltexture_yuv 12287777dab0Sopenharmony_ci#define EGL_NV_stream_consumer_gltexture_yuv 1 12297777dab0Sopenharmony_ci#define EGL_YUV_PLANE0_TEXTURE_UNIT_NV 0x332C 12307777dab0Sopenharmony_ci#define EGL_YUV_PLANE1_TEXTURE_UNIT_NV 0x332D 12317777dab0Sopenharmony_ci#define EGL_YUV_PLANE2_TEXTURE_UNIT_NV 0x332E 12327777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); 12337777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 12347777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalAttribsNV (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); 12357777dab0Sopenharmony_ci#endif 12367777dab0Sopenharmony_ci#endif /* EGL_NV_stream_consumer_gltexture_yuv */ 12377777dab0Sopenharmony_ci 12387777dab0Sopenharmony_ci#ifndef EGL_NV_stream_cross_display 12397777dab0Sopenharmony_ci#define EGL_NV_stream_cross_display 1 12407777dab0Sopenharmony_ci#define EGL_STREAM_CROSS_DISPLAY_NV 0x334E 12417777dab0Sopenharmony_ci#endif /* EGL_NV_stream_cross_display */ 12427777dab0Sopenharmony_ci 12437777dab0Sopenharmony_ci#ifndef EGL_NV_stream_cross_object 12447777dab0Sopenharmony_ci#define EGL_NV_stream_cross_object 1 12457777dab0Sopenharmony_ci#define EGL_STREAM_CROSS_OBJECT_NV 0x334D 12467777dab0Sopenharmony_ci#endif /* EGL_NV_stream_cross_object */ 12477777dab0Sopenharmony_ci 12487777dab0Sopenharmony_ci#ifndef EGL_NV_stream_cross_partition 12497777dab0Sopenharmony_ci#define EGL_NV_stream_cross_partition 1 12507777dab0Sopenharmony_ci#define EGL_STREAM_CROSS_PARTITION_NV 0x323F 12517777dab0Sopenharmony_ci#endif /* EGL_NV_stream_cross_partition */ 12527777dab0Sopenharmony_ci 12537777dab0Sopenharmony_ci#ifndef EGL_NV_stream_cross_process 12547777dab0Sopenharmony_ci#define EGL_NV_stream_cross_process 1 12557777dab0Sopenharmony_ci#define EGL_STREAM_CROSS_PROCESS_NV 0x3245 12567777dab0Sopenharmony_ci#endif /* EGL_NV_stream_cross_process */ 12577777dab0Sopenharmony_ci 12587777dab0Sopenharmony_ci#ifndef EGL_NV_stream_cross_system 12597777dab0Sopenharmony_ci#define EGL_NV_stream_cross_system 1 12607777dab0Sopenharmony_ci#define EGL_STREAM_CROSS_SYSTEM_NV 0x334F 12617777dab0Sopenharmony_ci#endif /* EGL_NV_stream_cross_system */ 12627777dab0Sopenharmony_ci 12637777dab0Sopenharmony_ci#ifndef EGL_NV_stream_dma 12647777dab0Sopenharmony_ci#define EGL_NV_stream_dma 1 12657777dab0Sopenharmony_ci#define EGL_STREAM_DMA_NV 0x3371 12667777dab0Sopenharmony_ci#define EGL_STREAM_DMA_SERVER_NV 0x3372 12677777dab0Sopenharmony_ci#endif /* EGL_NV_stream_dma */ 12687777dab0Sopenharmony_ci 12697777dab0Sopenharmony_ci#ifndef EGL_NV_stream_fifo_next 12707777dab0Sopenharmony_ci#define EGL_NV_stream_fifo_next 1 12717777dab0Sopenharmony_ci#define EGL_PENDING_FRAME_NV 0x3329 12727777dab0Sopenharmony_ci#define EGL_STREAM_TIME_PENDING_NV 0x332A 12737777dab0Sopenharmony_ci#endif /* EGL_NV_stream_fifo_next */ 12747777dab0Sopenharmony_ci 12757777dab0Sopenharmony_ci#ifndef EGL_NV_stream_fifo_synchronous 12767777dab0Sopenharmony_ci#define EGL_NV_stream_fifo_synchronous 1 12777777dab0Sopenharmony_ci#define EGL_STREAM_FIFO_SYNCHRONOUS_NV 0x3336 12787777dab0Sopenharmony_ci#endif /* EGL_NV_stream_fifo_synchronous */ 12797777dab0Sopenharmony_ci 12807777dab0Sopenharmony_ci#ifndef EGL_NV_stream_flush 12817777dab0Sopenharmony_ci#define EGL_NV_stream_flush 1 12827777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMFLUSHNVPROC) (EGLDisplay dpy, EGLStreamKHR stream); 12837777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 12847777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamFlushNV (EGLDisplay dpy, EGLStreamKHR stream); 12857777dab0Sopenharmony_ci#endif 12867777dab0Sopenharmony_ci#endif /* EGL_NV_stream_flush */ 12877777dab0Sopenharmony_ci 12887777dab0Sopenharmony_ci#ifndef EGL_NV_stream_frame_limits 12897777dab0Sopenharmony_ci#define EGL_NV_stream_frame_limits 1 12907777dab0Sopenharmony_ci#define EGL_PRODUCER_MAX_FRAME_HINT_NV 0x3337 12917777dab0Sopenharmony_ci#define EGL_CONSUMER_MAX_FRAME_HINT_NV 0x3338 12927777dab0Sopenharmony_ci#endif /* EGL_NV_stream_frame_limits */ 12937777dab0Sopenharmony_ci 12947777dab0Sopenharmony_ci#ifndef EGL_NV_stream_metadata 12957777dab0Sopenharmony_ci#define EGL_NV_stream_metadata 1 12967777dab0Sopenharmony_ci#define EGL_MAX_STREAM_METADATA_BLOCKS_NV 0x3250 12977777dab0Sopenharmony_ci#define EGL_MAX_STREAM_METADATA_BLOCK_SIZE_NV 0x3251 12987777dab0Sopenharmony_ci#define EGL_MAX_STREAM_METADATA_TOTAL_SIZE_NV 0x3252 12997777dab0Sopenharmony_ci#define EGL_PRODUCER_METADATA_NV 0x3253 13007777dab0Sopenharmony_ci#define EGL_CONSUMER_METADATA_NV 0x3254 13017777dab0Sopenharmony_ci#define EGL_PENDING_METADATA_NV 0x3328 13027777dab0Sopenharmony_ci#define EGL_METADATA0_SIZE_NV 0x3255 13037777dab0Sopenharmony_ci#define EGL_METADATA1_SIZE_NV 0x3256 13047777dab0Sopenharmony_ci#define EGL_METADATA2_SIZE_NV 0x3257 13057777dab0Sopenharmony_ci#define EGL_METADATA3_SIZE_NV 0x3258 13067777dab0Sopenharmony_ci#define EGL_METADATA0_TYPE_NV 0x3259 13077777dab0Sopenharmony_ci#define EGL_METADATA1_TYPE_NV 0x325A 13087777dab0Sopenharmony_ci#define EGL_METADATA2_TYPE_NV 0x325B 13097777dab0Sopenharmony_ci#define EGL_METADATA3_TYPE_NV 0x325C 13107777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBNVPROC) (EGLDisplay dpy, EGLint attribute, EGLAttrib *value); 13117777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSETSTREAMMETADATANVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLint n, EGLint offset, EGLint size, const void *data); 13127777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMMETADATANVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum name, EGLint n, EGLint offset, EGLint size, void *data); 13137777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 13147777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribNV (EGLDisplay dpy, EGLint attribute, EGLAttrib *value); 13157777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSetStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint n, EGLint offset, EGLint size, const void *data); 13167777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum name, EGLint n, EGLint offset, EGLint size, void *data); 13177777dab0Sopenharmony_ci#endif 13187777dab0Sopenharmony_ci#endif /* EGL_NV_stream_metadata */ 13197777dab0Sopenharmony_ci 13207777dab0Sopenharmony_ci#ifndef EGL_NV_stream_origin 13217777dab0Sopenharmony_ci#define EGL_NV_stream_origin 1 13227777dab0Sopenharmony_ci#define EGL_STREAM_FRAME_ORIGIN_X_NV 0x3366 13237777dab0Sopenharmony_ci#define EGL_STREAM_FRAME_ORIGIN_Y_NV 0x3367 13247777dab0Sopenharmony_ci#define EGL_STREAM_FRAME_MAJOR_AXIS_NV 0x3368 13257777dab0Sopenharmony_ci#define EGL_CONSUMER_AUTO_ORIENTATION_NV 0x3369 13267777dab0Sopenharmony_ci#define EGL_PRODUCER_AUTO_ORIENTATION_NV 0x336A 13277777dab0Sopenharmony_ci#define EGL_LEFT_NV 0x336B 13287777dab0Sopenharmony_ci#define EGL_RIGHT_NV 0x336C 13297777dab0Sopenharmony_ci#define EGL_TOP_NV 0x336D 13307777dab0Sopenharmony_ci#define EGL_BOTTOM_NV 0x336E 13317777dab0Sopenharmony_ci#define EGL_X_AXIS_NV 0x336F 13327777dab0Sopenharmony_ci#define EGL_Y_AXIS_NV 0x3370 13337777dab0Sopenharmony_ci#endif /* EGL_NV_stream_origin */ 13347777dab0Sopenharmony_ci 13357777dab0Sopenharmony_ci#ifndef EGL_NV_stream_remote 13367777dab0Sopenharmony_ci#define EGL_NV_stream_remote 1 13377777dab0Sopenharmony_ci#define EGL_STREAM_STATE_INITIALIZING_NV 0x3240 13387777dab0Sopenharmony_ci#define EGL_STREAM_TYPE_NV 0x3241 13397777dab0Sopenharmony_ci#define EGL_STREAM_PROTOCOL_NV 0x3242 13407777dab0Sopenharmony_ci#define EGL_STREAM_ENDPOINT_NV 0x3243 13417777dab0Sopenharmony_ci#define EGL_STREAM_LOCAL_NV 0x3244 13427777dab0Sopenharmony_ci#define EGL_STREAM_PRODUCER_NV 0x3247 13437777dab0Sopenharmony_ci#define EGL_STREAM_CONSUMER_NV 0x3248 13447777dab0Sopenharmony_ci#define EGL_STREAM_PROTOCOL_FD_NV 0x3246 13457777dab0Sopenharmony_ci#endif /* EGL_NV_stream_remote */ 13467777dab0Sopenharmony_ci 13477777dab0Sopenharmony_ci#ifndef EGL_NV_stream_reset 13487777dab0Sopenharmony_ci#define EGL_NV_stream_reset 1 13497777dab0Sopenharmony_ci#define EGL_SUPPORT_RESET_NV 0x3334 13507777dab0Sopenharmony_ci#define EGL_SUPPORT_REUSE_NV 0x3335 13517777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLRESETSTREAMNVPROC) (EGLDisplay dpy, EGLStreamKHR stream); 13527777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 13537777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglResetStreamNV (EGLDisplay dpy, EGLStreamKHR stream); 13547777dab0Sopenharmony_ci#endif 13557777dab0Sopenharmony_ci#endif /* EGL_NV_stream_reset */ 13567777dab0Sopenharmony_ci 13577777dab0Sopenharmony_ci#ifndef EGL_NV_stream_socket 13587777dab0Sopenharmony_ci#define EGL_NV_stream_socket 1 13597777dab0Sopenharmony_ci#define EGL_STREAM_PROTOCOL_SOCKET_NV 0x324B 13607777dab0Sopenharmony_ci#define EGL_SOCKET_HANDLE_NV 0x324C 13617777dab0Sopenharmony_ci#define EGL_SOCKET_TYPE_NV 0x324D 13627777dab0Sopenharmony_ci#endif /* EGL_NV_stream_socket */ 13637777dab0Sopenharmony_ci 13647777dab0Sopenharmony_ci#ifndef EGL_NV_stream_socket_inet 13657777dab0Sopenharmony_ci#define EGL_NV_stream_socket_inet 1 13667777dab0Sopenharmony_ci#define EGL_SOCKET_TYPE_INET_NV 0x324F 13677777dab0Sopenharmony_ci#endif /* EGL_NV_stream_socket_inet */ 13687777dab0Sopenharmony_ci 13697777dab0Sopenharmony_ci#ifndef EGL_NV_stream_socket_unix 13707777dab0Sopenharmony_ci#define EGL_NV_stream_socket_unix 1 13717777dab0Sopenharmony_ci#define EGL_SOCKET_TYPE_UNIX_NV 0x324E 13727777dab0Sopenharmony_ci#endif /* EGL_NV_stream_socket_unix */ 13737777dab0Sopenharmony_ci 13747777dab0Sopenharmony_ci#ifndef EGL_NV_stream_sync 13757777dab0Sopenharmony_ci#define EGL_NV_stream_sync 1 13767777dab0Sopenharmony_ci#define EGL_SYNC_NEW_FRAME_NV 0x321F 13777777dab0Sopenharmony_citypedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESTREAMSYNCNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list); 13787777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 13797777dab0Sopenharmony_ciEGLAPI EGLSyncKHR EGLAPIENTRY eglCreateStreamSyncNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list); 13807777dab0Sopenharmony_ci#endif 13817777dab0Sopenharmony_ci#endif /* EGL_NV_stream_sync */ 13827777dab0Sopenharmony_ci 13837777dab0Sopenharmony_ci#ifndef EGL_NV_sync 13847777dab0Sopenharmony_ci#define EGL_NV_sync 1 13857777dab0Sopenharmony_citypedef void *EGLSyncNV; 13867777dab0Sopenharmony_citypedef khronos_utime_nanoseconds_t EGLTimeNV; 13877777dab0Sopenharmony_ci#ifdef KHRONOS_SUPPORT_INT64 13887777dab0Sopenharmony_ci#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV 0x30E6 13897777dab0Sopenharmony_ci#define EGL_SYNC_STATUS_NV 0x30E7 13907777dab0Sopenharmony_ci#define EGL_SIGNALED_NV 0x30E8 13917777dab0Sopenharmony_ci#define EGL_UNSIGNALED_NV 0x30E9 13927777dab0Sopenharmony_ci#define EGL_SYNC_FLUSH_COMMANDS_BIT_NV 0x0001 13937777dab0Sopenharmony_ci#define EGL_FOREVER_NV 0xFFFFFFFFFFFFFFFFull 13947777dab0Sopenharmony_ci#define EGL_ALREADY_SIGNALED_NV 0x30EA 13957777dab0Sopenharmony_ci#define EGL_TIMEOUT_EXPIRED_NV 0x30EB 13967777dab0Sopenharmony_ci#define EGL_CONDITION_SATISFIED_NV 0x30EC 13977777dab0Sopenharmony_ci#define EGL_SYNC_TYPE_NV 0x30ED 13987777dab0Sopenharmony_ci#define EGL_SYNC_CONDITION_NV 0x30EE 13997777dab0Sopenharmony_ci#define EGL_SYNC_FENCE_NV 0x30EF 14007777dab0Sopenharmony_ci#define EGL_NO_SYNC_NV EGL_CAST(EGLSyncNV,0) 14017777dab0Sopenharmony_citypedef EGLSyncNV (EGLAPIENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); 14027777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV sync); 14037777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLFENCENVPROC) (EGLSyncNV sync); 14047777dab0Sopenharmony_citypedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); 14057777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode); 14067777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLint *value); 14077777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 14087777dab0Sopenharmony_ciEGLAPI EGLSyncNV EGLAPIENTRY eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); 14097777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncNV (EGLSyncNV sync); 14107777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglFenceNV (EGLSyncNV sync); 14117777dab0Sopenharmony_ciEGLAPI EGLint EGLAPIENTRY eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); 14127777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncNV (EGLSyncNV sync, EGLenum mode); 14137777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value); 14147777dab0Sopenharmony_ci#endif 14157777dab0Sopenharmony_ci#endif /* KHRONOS_SUPPORT_INT64 */ 14167777dab0Sopenharmony_ci#endif /* EGL_NV_sync */ 14177777dab0Sopenharmony_ci 14187777dab0Sopenharmony_ci#ifndef EGL_NV_system_time 14197777dab0Sopenharmony_ci#define EGL_NV_system_time 1 14207777dab0Sopenharmony_citypedef khronos_utime_nanoseconds_t EGLuint64NV; 14217777dab0Sopenharmony_ci#ifdef KHRONOS_SUPPORT_INT64 14227777dab0Sopenharmony_citypedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) (void); 14237777dab0Sopenharmony_citypedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) (void); 14247777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 14257777dab0Sopenharmony_ciEGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV (void); 14267777dab0Sopenharmony_ciEGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void); 14277777dab0Sopenharmony_ci#endif 14287777dab0Sopenharmony_ci#endif /* KHRONOS_SUPPORT_INT64 */ 14297777dab0Sopenharmony_ci#endif /* EGL_NV_system_time */ 14307777dab0Sopenharmony_ci 14317777dab0Sopenharmony_ci#ifndef EGL_NV_triple_buffer 14327777dab0Sopenharmony_ci#define EGL_NV_triple_buffer 1 14337777dab0Sopenharmony_ci#define EGL_TRIPLE_BUFFER_NV 0x3230 14347777dab0Sopenharmony_ci#endif /* EGL_NV_triple_buffer */ 14357777dab0Sopenharmony_ci 14367777dab0Sopenharmony_ci#ifndef EGL_OHOS_image_native_buffer 14377777dab0Sopenharmony_ci#define EGL_OHOS_image_native_buffer 1 14387777dab0Sopenharmony_ci#define EGL_NATIVE_BUFFER_OHOS 0x34E1 14397777dab0Sopenharmony_ci#endif /* EGL_OHOS_image_native_buffer */ 14407777dab0Sopenharmony_ci 14417777dab0Sopenharmony_ci#ifndef EGL_TIZEN_image_native_buffer 14427777dab0Sopenharmony_ci#define EGL_TIZEN_image_native_buffer 1 14437777dab0Sopenharmony_ci#define EGL_NATIVE_BUFFER_TIZEN 0x32A0 14447777dab0Sopenharmony_ci#endif /* EGL_TIZEN_image_native_buffer */ 14457777dab0Sopenharmony_ci 14467777dab0Sopenharmony_ci#ifndef EGL_TIZEN_image_native_surface 14477777dab0Sopenharmony_ci#define EGL_TIZEN_image_native_surface 1 14487777dab0Sopenharmony_ci#define EGL_NATIVE_SURFACE_TIZEN 0x32A1 14497777dab0Sopenharmony_ci#endif /* EGL_TIZEN_image_native_surface */ 14507777dab0Sopenharmony_ci 14517777dab0Sopenharmony_ci#ifndef EGL_WL_bind_wayland_display 14527777dab0Sopenharmony_ci#define EGL_WL_bind_wayland_display 1 14537777dab0Sopenharmony_ci#define PFNEGLBINDWAYLANDDISPLAYWL PFNEGLBINDWAYLANDDISPLAYWLPROC 14547777dab0Sopenharmony_ci#define PFNEGLUNBINDWAYLANDDISPLAYWL PFNEGLUNBINDWAYLANDDISPLAYWLPROC 14557777dab0Sopenharmony_ci#define PFNEGLQUERYWAYLANDBUFFERWL PFNEGLQUERYWAYLANDBUFFERWLPROC 14567777dab0Sopenharmony_cistruct wl_display; 14577777dab0Sopenharmony_cistruct wl_resource; 14587777dab0Sopenharmony_ci#define EGL_WAYLAND_BUFFER_WL 0x31D5 14597777dab0Sopenharmony_ci#define EGL_WAYLAND_PLANE_WL 0x31D6 14607777dab0Sopenharmony_ci#define EGL_TEXTURE_Y_U_V_WL 0x31D7 14617777dab0Sopenharmony_ci#define EGL_TEXTURE_Y_UV_WL 0x31D8 14627777dab0Sopenharmony_ci#define EGL_TEXTURE_Y_XUXV_WL 0x31D9 14637777dab0Sopenharmony_ci#define EGL_TEXTURE_EXTERNAL_WL 0x31DA 14647777dab0Sopenharmony_ci#define EGL_WAYLAND_Y_INVERTED_WL 0x31DB 14657777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDWAYLANDDISPLAYWLPROC) (EGLDisplay dpy, struct wl_display *display); 14667777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLUNBINDWAYLANDDISPLAYWLPROC) (EGLDisplay dpy, struct wl_display *display); 14677777dab0Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWLPROC) (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value); 14687777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 14697777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglBindWaylandDisplayWL (EGLDisplay dpy, struct wl_display *display); 14707777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglUnbindWaylandDisplayWL (EGLDisplay dpy, struct wl_display *display); 14717777dab0Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryWaylandBufferWL (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value); 14727777dab0Sopenharmony_ci#endif 14737777dab0Sopenharmony_ci#endif /* EGL_WL_bind_wayland_display */ 14747777dab0Sopenharmony_ci 14757777dab0Sopenharmony_ci#ifndef EGL_WL_create_wayland_buffer_from_image 14767777dab0Sopenharmony_ci#define EGL_WL_create_wayland_buffer_from_image 1 14777777dab0Sopenharmony_ci#define PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWL PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC 14787777dab0Sopenharmony_cistruct wl_buffer; 14797777dab0Sopenharmony_citypedef struct wl_buffer *(EGLAPIENTRYP PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC) (EGLDisplay dpy, EGLImageKHR image); 14807777dab0Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 14817777dab0Sopenharmony_ciEGLAPI struct wl_buffer *EGLAPIENTRY eglCreateWaylandBufferFromImageWL (EGLDisplay dpy, EGLImageKHR image); 14827777dab0Sopenharmony_ci#endif 14837777dab0Sopenharmony_ci#endif /* EGL_WL_create_wayland_buffer_from_image */ 14847777dab0Sopenharmony_ci 14857777dab0Sopenharmony_ci#ifdef __cplusplus 14867777dab0Sopenharmony_ci} 14877777dab0Sopenharmony_ci#endif 14887777dab0Sopenharmony_ci 14897777dab0Sopenharmony_ci#endif 1490