1bf215546Sopenharmony_ci#ifndef __eglext_h_ 2bf215546Sopenharmony_ci#define __eglext_h_ 1 3bf215546Sopenharmony_ci 4bf215546Sopenharmony_ci#ifdef __cplusplus 5bf215546Sopenharmony_ciextern "C" { 6bf215546Sopenharmony_ci#endif 7bf215546Sopenharmony_ci 8bf215546Sopenharmony_ci/* 9bf215546Sopenharmony_ci** Copyright 2013-2020 The Khronos Group Inc. 10bf215546Sopenharmony_ci** SPDX-License-Identifier: Apache-2.0 11bf215546Sopenharmony_ci** 12bf215546Sopenharmony_ci** This header is generated from the Khronos EGL XML API Registry. 13bf215546Sopenharmony_ci** The current version of the Registry, generator scripts 14bf215546Sopenharmony_ci** used to make the header, and the header can be found at 15bf215546Sopenharmony_ci** http://www.khronos.org/registry/egl 16bf215546Sopenharmony_ci** 17bf215546Sopenharmony_ci** Khronos $Git commit SHA1: dc0b58dca5 $ on $Git commit date: 2021-06-25 01:58:50 +0200 $ 18bf215546Sopenharmony_ci*/ 19bf215546Sopenharmony_ci 20bf215546Sopenharmony_ci#include <EGL/eglplatform.h> 21bf215546Sopenharmony_ci 22bf215546Sopenharmony_ci#define EGL_EGLEXT_VERSION 20210629 23bf215546Sopenharmony_ci 24bf215546Sopenharmony_ci/* Generated C header for: 25bf215546Sopenharmony_ci * API: egl 26bf215546Sopenharmony_ci * Versions considered: .* 27bf215546Sopenharmony_ci * Versions emitted: _nomatch_^ 28bf215546Sopenharmony_ci * Default extensions included: egl 29bf215546Sopenharmony_ci * Additional extensions included: _nomatch_^ 30bf215546Sopenharmony_ci * Extensions removed: _nomatch_^ 31bf215546Sopenharmony_ci */ 32bf215546Sopenharmony_ci 33bf215546Sopenharmony_ci#ifndef EGL_KHR_cl_event 34bf215546Sopenharmony_ci#define EGL_KHR_cl_event 1 35bf215546Sopenharmony_ci#define EGL_CL_EVENT_HANDLE_KHR 0x309C 36bf215546Sopenharmony_ci#define EGL_SYNC_CL_EVENT_KHR 0x30FE 37bf215546Sopenharmony_ci#define EGL_SYNC_CL_EVENT_COMPLETE_KHR 0x30FF 38bf215546Sopenharmony_ci#endif /* EGL_KHR_cl_event */ 39bf215546Sopenharmony_ci 40bf215546Sopenharmony_ci#ifndef EGL_KHR_cl_event2 41bf215546Sopenharmony_ci#define EGL_KHR_cl_event2 1 42bf215546Sopenharmony_citypedef void *EGLSyncKHR; 43bf215546Sopenharmony_citypedef intptr_t EGLAttribKHR; 44bf215546Sopenharmony_citypedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNC64KHRPROC) (EGLDisplay dpy, EGLenum type, const EGLAttribKHR *attrib_list); 45bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 46bf215546Sopenharmony_ciEGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, const EGLAttribKHR *attrib_list); 47bf215546Sopenharmony_ci#endif 48bf215546Sopenharmony_ci#endif /* EGL_KHR_cl_event2 */ 49bf215546Sopenharmony_ci 50bf215546Sopenharmony_ci#ifndef EGL_KHR_client_get_all_proc_addresses 51bf215546Sopenharmony_ci#define EGL_KHR_client_get_all_proc_addresses 1 52bf215546Sopenharmony_ci#endif /* EGL_KHR_client_get_all_proc_addresses */ 53bf215546Sopenharmony_ci 54bf215546Sopenharmony_ci#ifndef EGL_KHR_config_attribs 55bf215546Sopenharmony_ci#define EGL_KHR_config_attribs 1 56bf215546Sopenharmony_ci#define EGL_CONFORMANT_KHR 0x3042 57bf215546Sopenharmony_ci#define EGL_VG_COLORSPACE_LINEAR_BIT_KHR 0x0020 58bf215546Sopenharmony_ci#define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR 0x0040 59bf215546Sopenharmony_ci#endif /* EGL_KHR_config_attribs */ 60bf215546Sopenharmony_ci 61bf215546Sopenharmony_ci#ifndef EGL_KHR_context_flush_control 62bf215546Sopenharmony_ci#define EGL_KHR_context_flush_control 1 63bf215546Sopenharmony_ci#define EGL_CONTEXT_RELEASE_BEHAVIOR_NONE_KHR 0 64bf215546Sopenharmony_ci#define EGL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x2097 65bf215546Sopenharmony_ci#define EGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x2098 66bf215546Sopenharmony_ci#endif /* EGL_KHR_context_flush_control */ 67bf215546Sopenharmony_ci 68bf215546Sopenharmony_ci#ifndef EGL_KHR_create_context 69bf215546Sopenharmony_ci#define EGL_KHR_create_context 1 70bf215546Sopenharmony_ci#define EGL_CONTEXT_MAJOR_VERSION_KHR 0x3098 71bf215546Sopenharmony_ci#define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB 72bf215546Sopenharmony_ci#define EGL_CONTEXT_FLAGS_KHR 0x30FC 73bf215546Sopenharmony_ci#define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD 74bf215546Sopenharmony_ci#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD 75bf215546Sopenharmony_ci#define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE 76bf215546Sopenharmony_ci#define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF 77bf215546Sopenharmony_ci#define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 78bf215546Sopenharmony_ci#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002 79bf215546Sopenharmony_ci#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 80bf215546Sopenharmony_ci#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 81bf215546Sopenharmony_ci#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 82bf215546Sopenharmony_ci#define EGL_OPENGL_ES3_BIT_KHR 0x00000040 83bf215546Sopenharmony_ci#endif /* EGL_KHR_create_context */ 84bf215546Sopenharmony_ci 85bf215546Sopenharmony_ci#ifndef EGL_KHR_create_context_no_error 86bf215546Sopenharmony_ci#define EGL_KHR_create_context_no_error 1 87bf215546Sopenharmony_ci#define EGL_CONTEXT_OPENGL_NO_ERROR_KHR 0x31B3 88bf215546Sopenharmony_ci#endif /* EGL_KHR_create_context_no_error */ 89bf215546Sopenharmony_ci 90bf215546Sopenharmony_ci#ifndef EGL_KHR_debug 91bf215546Sopenharmony_ci#define EGL_KHR_debug 1 92bf215546Sopenharmony_citypedef void *EGLLabelKHR; 93bf215546Sopenharmony_citypedef void *EGLObjectKHR; 94bf215546Sopenharmony_citypedef void (EGLAPIENTRY *EGLDEBUGPROCKHR)(EGLenum error,const char *command,EGLint messageType,EGLLabelKHR threadLabel,EGLLabelKHR objectLabel,const char* message); 95bf215546Sopenharmony_ci#define EGL_OBJECT_THREAD_KHR 0x33B0 96bf215546Sopenharmony_ci#define EGL_OBJECT_DISPLAY_KHR 0x33B1 97bf215546Sopenharmony_ci#define EGL_OBJECT_CONTEXT_KHR 0x33B2 98bf215546Sopenharmony_ci#define EGL_OBJECT_SURFACE_KHR 0x33B3 99bf215546Sopenharmony_ci#define EGL_OBJECT_IMAGE_KHR 0x33B4 100bf215546Sopenharmony_ci#define EGL_OBJECT_SYNC_KHR 0x33B5 101bf215546Sopenharmony_ci#define EGL_OBJECT_STREAM_KHR 0x33B6 102bf215546Sopenharmony_ci#define EGL_DEBUG_MSG_CRITICAL_KHR 0x33B9 103bf215546Sopenharmony_ci#define EGL_DEBUG_MSG_ERROR_KHR 0x33BA 104bf215546Sopenharmony_ci#define EGL_DEBUG_MSG_WARN_KHR 0x33BB 105bf215546Sopenharmony_ci#define EGL_DEBUG_MSG_INFO_KHR 0x33BC 106bf215546Sopenharmony_ci#define EGL_DEBUG_CALLBACK_KHR 0x33B8 107bf215546Sopenharmony_citypedef EGLint (EGLAPIENTRYP PFNEGLDEBUGMESSAGECONTROLKHRPROC) (EGLDEBUGPROCKHR callback, const EGLAttrib *attrib_list); 108bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEBUGKHRPROC) (EGLint attribute, EGLAttrib *value); 109bf215546Sopenharmony_citypedef EGLint (EGLAPIENTRYP PFNEGLLABELOBJECTKHRPROC) (EGLDisplay display, EGLenum objectType, EGLObjectKHR object, EGLLabelKHR label); 110bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 111bf215546Sopenharmony_ciEGLAPI EGLint EGLAPIENTRY eglDebugMessageControlKHR (EGLDEBUGPROCKHR callback, const EGLAttrib *attrib_list); 112bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDebugKHR (EGLint attribute, EGLAttrib *value); 113bf215546Sopenharmony_ciEGLAPI EGLint EGLAPIENTRY eglLabelObjectKHR (EGLDisplay display, EGLenum objectType, EGLObjectKHR object, EGLLabelKHR label); 114bf215546Sopenharmony_ci#endif 115bf215546Sopenharmony_ci#endif /* EGL_KHR_debug */ 116bf215546Sopenharmony_ci 117bf215546Sopenharmony_ci#ifndef EGL_KHR_display_reference 118bf215546Sopenharmony_ci#define EGL_KHR_display_reference 1 119bf215546Sopenharmony_ci#define EGL_TRACK_REFERENCES_KHR 0x3352 120bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBKHRPROC) (EGLDisplay dpy, EGLint name, EGLAttrib *value); 121bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 122bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribKHR (EGLDisplay dpy, EGLint name, EGLAttrib *value); 123bf215546Sopenharmony_ci#endif 124bf215546Sopenharmony_ci#endif /* EGL_KHR_display_reference */ 125bf215546Sopenharmony_ci 126bf215546Sopenharmony_ci#ifndef EGL_KHR_fence_sync 127bf215546Sopenharmony_ci#define EGL_KHR_fence_sync 1 128bf215546Sopenharmony_citypedef khronos_utime_nanoseconds_t EGLTimeKHR; 129bf215546Sopenharmony_ci#ifdef KHRONOS_SUPPORT_INT64 130bf215546Sopenharmony_ci#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0 131bf215546Sopenharmony_ci#define EGL_SYNC_CONDITION_KHR 0x30F8 132bf215546Sopenharmony_ci#define EGL_SYNC_FENCE_KHR 0x30F9 133bf215546Sopenharmony_citypedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); 134bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync); 135bf215546Sopenharmony_citypedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); 136bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); 137bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 138bf215546Sopenharmony_ciEGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); 139bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync); 140bf215546Sopenharmony_ciEGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); 141bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); 142bf215546Sopenharmony_ci#endif 143bf215546Sopenharmony_ci#endif /* KHRONOS_SUPPORT_INT64 */ 144bf215546Sopenharmony_ci#endif /* EGL_KHR_fence_sync */ 145bf215546Sopenharmony_ci 146bf215546Sopenharmony_ci#ifndef EGL_KHR_get_all_proc_addresses 147bf215546Sopenharmony_ci#define EGL_KHR_get_all_proc_addresses 1 148bf215546Sopenharmony_ci#endif /* EGL_KHR_get_all_proc_addresses */ 149bf215546Sopenharmony_ci 150bf215546Sopenharmony_ci#ifndef EGL_KHR_gl_colorspace 151bf215546Sopenharmony_ci#define EGL_KHR_gl_colorspace 1 152bf215546Sopenharmony_ci#define EGL_GL_COLORSPACE_KHR 0x309D 153bf215546Sopenharmony_ci#define EGL_GL_COLORSPACE_SRGB_KHR 0x3089 154bf215546Sopenharmony_ci#define EGL_GL_COLORSPACE_LINEAR_KHR 0x308A 155bf215546Sopenharmony_ci#endif /* EGL_KHR_gl_colorspace */ 156bf215546Sopenharmony_ci 157bf215546Sopenharmony_ci#ifndef EGL_KHR_gl_renderbuffer_image 158bf215546Sopenharmony_ci#define EGL_KHR_gl_renderbuffer_image 1 159bf215546Sopenharmony_ci#define EGL_GL_RENDERBUFFER_KHR 0x30B9 160bf215546Sopenharmony_ci#endif /* EGL_KHR_gl_renderbuffer_image */ 161bf215546Sopenharmony_ci 162bf215546Sopenharmony_ci#ifndef EGL_KHR_gl_texture_2D_image 163bf215546Sopenharmony_ci#define EGL_KHR_gl_texture_2D_image 1 164bf215546Sopenharmony_ci#define EGL_GL_TEXTURE_2D_KHR 0x30B1 165bf215546Sopenharmony_ci#define EGL_GL_TEXTURE_LEVEL_KHR 0x30BC 166bf215546Sopenharmony_ci#endif /* EGL_KHR_gl_texture_2D_image */ 167bf215546Sopenharmony_ci 168bf215546Sopenharmony_ci#ifndef EGL_KHR_gl_texture_3D_image 169bf215546Sopenharmony_ci#define EGL_KHR_gl_texture_3D_image 1 170bf215546Sopenharmony_ci#define EGL_GL_TEXTURE_3D_KHR 0x30B2 171bf215546Sopenharmony_ci#define EGL_GL_TEXTURE_ZOFFSET_KHR 0x30BD 172bf215546Sopenharmony_ci#endif /* EGL_KHR_gl_texture_3D_image */ 173bf215546Sopenharmony_ci 174bf215546Sopenharmony_ci#ifndef EGL_KHR_gl_texture_cubemap_image 175bf215546Sopenharmony_ci#define EGL_KHR_gl_texture_cubemap_image 1 176bf215546Sopenharmony_ci#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR 0x30B3 177bf215546Sopenharmony_ci#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR 0x30B4 178bf215546Sopenharmony_ci#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR 0x30B5 179bf215546Sopenharmony_ci#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR 0x30B6 180bf215546Sopenharmony_ci#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR 0x30B7 181bf215546Sopenharmony_ci#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR 0x30B8 182bf215546Sopenharmony_ci#endif /* EGL_KHR_gl_texture_cubemap_image */ 183bf215546Sopenharmony_ci 184bf215546Sopenharmony_ci#ifndef EGL_KHR_image 185bf215546Sopenharmony_ci#define EGL_KHR_image 1 186bf215546Sopenharmony_citypedef void *EGLImageKHR; 187bf215546Sopenharmony_ci#define EGL_NATIVE_PIXMAP_KHR 0x30B0 188bf215546Sopenharmony_ci#define EGL_NO_IMAGE_KHR EGL_CAST(EGLImageKHR,0) 189bf215546Sopenharmony_citypedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 190bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); 191bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 192bf215546Sopenharmony_ciEGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 193bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image); 194bf215546Sopenharmony_ci#endif 195bf215546Sopenharmony_ci#endif /* EGL_KHR_image */ 196bf215546Sopenharmony_ci 197bf215546Sopenharmony_ci#ifndef EGL_KHR_image_base 198bf215546Sopenharmony_ci#define EGL_KHR_image_base 1 199bf215546Sopenharmony_ci#define EGL_IMAGE_PRESERVED_KHR 0x30D2 200bf215546Sopenharmony_ci#endif /* EGL_KHR_image_base */ 201bf215546Sopenharmony_ci 202bf215546Sopenharmony_ci#ifndef EGL_KHR_image_pixmap 203bf215546Sopenharmony_ci#define EGL_KHR_image_pixmap 1 204bf215546Sopenharmony_ci#endif /* EGL_KHR_image_pixmap */ 205bf215546Sopenharmony_ci 206bf215546Sopenharmony_ci#ifndef EGL_KHR_lock_surface 207bf215546Sopenharmony_ci#define EGL_KHR_lock_surface 1 208bf215546Sopenharmony_ci#define EGL_READ_SURFACE_BIT_KHR 0x0001 209bf215546Sopenharmony_ci#define EGL_WRITE_SURFACE_BIT_KHR 0x0002 210bf215546Sopenharmony_ci#define EGL_LOCK_SURFACE_BIT_KHR 0x0080 211bf215546Sopenharmony_ci#define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100 212bf215546Sopenharmony_ci#define EGL_MATCH_FORMAT_KHR 0x3043 213bf215546Sopenharmony_ci#define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0 214bf215546Sopenharmony_ci#define EGL_FORMAT_RGB_565_KHR 0x30C1 215bf215546Sopenharmony_ci#define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2 216bf215546Sopenharmony_ci#define EGL_FORMAT_RGBA_8888_KHR 0x30C3 217bf215546Sopenharmony_ci#define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4 218bf215546Sopenharmony_ci#define EGL_LOCK_USAGE_HINT_KHR 0x30C5 219bf215546Sopenharmony_ci#define EGL_BITMAP_POINTER_KHR 0x30C6 220bf215546Sopenharmony_ci#define EGL_BITMAP_PITCH_KHR 0x30C7 221bf215546Sopenharmony_ci#define EGL_BITMAP_ORIGIN_KHR 0x30C8 222bf215546Sopenharmony_ci#define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9 223bf215546Sopenharmony_ci#define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA 224bf215546Sopenharmony_ci#define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB 225bf215546Sopenharmony_ci#define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC 226bf215546Sopenharmony_ci#define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD 227bf215546Sopenharmony_ci#define EGL_LOWER_LEFT_KHR 0x30CE 228bf215546Sopenharmony_ci#define EGL_UPPER_LEFT_KHR 0x30CF 229bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list); 230bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface); 231bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 232bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list); 233bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface); 234bf215546Sopenharmony_ci#endif 235bf215546Sopenharmony_ci#endif /* EGL_KHR_lock_surface */ 236bf215546Sopenharmony_ci 237bf215546Sopenharmony_ci#ifndef EGL_KHR_lock_surface2 238bf215546Sopenharmony_ci#define EGL_KHR_lock_surface2 1 239bf215546Sopenharmony_ci#define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110 240bf215546Sopenharmony_ci#endif /* EGL_KHR_lock_surface2 */ 241bf215546Sopenharmony_ci 242bf215546Sopenharmony_ci#ifndef EGL_KHR_lock_surface3 243bf215546Sopenharmony_ci#define EGL_KHR_lock_surface3 1 244bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACE64KHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *value); 245bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 246bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface64KHR (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *value); 247bf215546Sopenharmony_ci#endif 248bf215546Sopenharmony_ci#endif /* EGL_KHR_lock_surface3 */ 249bf215546Sopenharmony_ci 250bf215546Sopenharmony_ci#ifndef EGL_KHR_mutable_render_buffer 251bf215546Sopenharmony_ci#define EGL_KHR_mutable_render_buffer 1 252bf215546Sopenharmony_ci#define EGL_MUTABLE_RENDER_BUFFER_BIT_KHR 0x1000 253bf215546Sopenharmony_ci#endif /* EGL_KHR_mutable_render_buffer */ 254bf215546Sopenharmony_ci 255bf215546Sopenharmony_ci#ifndef EGL_KHR_no_config_context 256bf215546Sopenharmony_ci#define EGL_KHR_no_config_context 1 257bf215546Sopenharmony_ci#define EGL_NO_CONFIG_KHR EGL_CAST(EGLConfig,0) 258bf215546Sopenharmony_ci#endif /* EGL_KHR_no_config_context */ 259bf215546Sopenharmony_ci 260bf215546Sopenharmony_ci#ifndef EGL_KHR_partial_update 261bf215546Sopenharmony_ci#define EGL_KHR_partial_update 1 262bf215546Sopenharmony_ci#define EGL_BUFFER_AGE_KHR 0x313D 263bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); 264bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 265bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); 266bf215546Sopenharmony_ci#endif 267bf215546Sopenharmony_ci#endif /* EGL_KHR_partial_update */ 268bf215546Sopenharmony_ci 269bf215546Sopenharmony_ci#ifndef EGL_KHR_platform_android 270bf215546Sopenharmony_ci#define EGL_KHR_platform_android 1 271bf215546Sopenharmony_ci#define EGL_PLATFORM_ANDROID_KHR 0x3141 272bf215546Sopenharmony_ci#endif /* EGL_KHR_platform_android */ 273bf215546Sopenharmony_ci 274bf215546Sopenharmony_ci#ifndef EGL_KHR_platform_gbm 275bf215546Sopenharmony_ci#define EGL_KHR_platform_gbm 1 276bf215546Sopenharmony_ci#define EGL_PLATFORM_GBM_KHR 0x31D7 277bf215546Sopenharmony_ci#endif /* EGL_KHR_platform_gbm */ 278bf215546Sopenharmony_ci 279bf215546Sopenharmony_ci#ifndef EGL_KHR_platform_ohos 280bf215546Sopenharmony_ci#define EGL_KHR_platform_ohos 1 281bf215546Sopenharmony_ci#define EGL_PLATFORM_OHOS_KHR 0x34E0 282bf215546Sopenharmony_ci#endif /* EGL_KHR_platform_ohos */ 283bf215546Sopenharmony_ci 284bf215546Sopenharmony_ci#ifndef EGL_KHR_platform_wayland 285bf215546Sopenharmony_ci#define EGL_KHR_platform_wayland 1 286bf215546Sopenharmony_ci#define EGL_PLATFORM_WAYLAND_KHR 0x31D8 287bf215546Sopenharmony_ci#endif /* EGL_KHR_platform_wayland */ 288bf215546Sopenharmony_ci 289bf215546Sopenharmony_ci#ifndef EGL_KHR_platform_x11 290bf215546Sopenharmony_ci#define EGL_KHR_platform_x11 1 291bf215546Sopenharmony_ci#define EGL_PLATFORM_X11_KHR 0x31D5 292bf215546Sopenharmony_ci#define EGL_PLATFORM_X11_SCREEN_KHR 0x31D6 293bf215546Sopenharmony_ci#endif /* EGL_KHR_platform_x11 */ 294bf215546Sopenharmony_ci 295bf215546Sopenharmony_ci#ifndef EGL_KHR_reusable_sync 296bf215546Sopenharmony_ci#define EGL_KHR_reusable_sync 1 297bf215546Sopenharmony_ci#ifdef KHRONOS_SUPPORT_INT64 298bf215546Sopenharmony_ci#define EGL_SYNC_STATUS_KHR 0x30F1 299bf215546Sopenharmony_ci#define EGL_SIGNALED_KHR 0x30F2 300bf215546Sopenharmony_ci#define EGL_UNSIGNALED_KHR 0x30F3 301bf215546Sopenharmony_ci#define EGL_TIMEOUT_EXPIRED_KHR 0x30F5 302bf215546Sopenharmony_ci#define EGL_CONDITION_SATISFIED_KHR 0x30F6 303bf215546Sopenharmony_ci#define EGL_SYNC_TYPE_KHR 0x30F7 304bf215546Sopenharmony_ci#define EGL_SYNC_REUSABLE_KHR 0x30FA 305bf215546Sopenharmony_ci#define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001 306bf215546Sopenharmony_ci#define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFFull 307bf215546Sopenharmony_ci#define EGL_NO_SYNC_KHR EGL_CAST(EGLSyncKHR,0) 308bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); 309bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 310bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); 311bf215546Sopenharmony_ci#endif 312bf215546Sopenharmony_ci#endif /* KHRONOS_SUPPORT_INT64 */ 313bf215546Sopenharmony_ci#endif /* EGL_KHR_reusable_sync */ 314bf215546Sopenharmony_ci 315bf215546Sopenharmony_ci#ifndef EGL_KHR_stream 316bf215546Sopenharmony_ci#define EGL_KHR_stream 1 317bf215546Sopenharmony_citypedef void *EGLStreamKHR; 318bf215546Sopenharmony_citypedef khronos_uint64_t EGLuint64KHR; 319bf215546Sopenharmony_ci#ifdef KHRONOS_SUPPORT_INT64 320bf215546Sopenharmony_ci#define EGL_NO_STREAM_KHR EGL_CAST(EGLStreamKHR,0) 321bf215546Sopenharmony_ci#define EGL_CONSUMER_LATENCY_USEC_KHR 0x3210 322bf215546Sopenharmony_ci#define EGL_PRODUCER_FRAME_KHR 0x3212 323bf215546Sopenharmony_ci#define EGL_CONSUMER_FRAME_KHR 0x3213 324bf215546Sopenharmony_ci#define EGL_STREAM_STATE_KHR 0x3214 325bf215546Sopenharmony_ci#define EGL_STREAM_STATE_CREATED_KHR 0x3215 326bf215546Sopenharmony_ci#define EGL_STREAM_STATE_CONNECTING_KHR 0x3216 327bf215546Sopenharmony_ci#define EGL_STREAM_STATE_EMPTY_KHR 0x3217 328bf215546Sopenharmony_ci#define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR 0x3218 329bf215546Sopenharmony_ci#define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR 0x3219 330bf215546Sopenharmony_ci#define EGL_STREAM_STATE_DISCONNECTED_KHR 0x321A 331bf215546Sopenharmony_ci#define EGL_BAD_STREAM_KHR 0x321B 332bf215546Sopenharmony_ci#define EGL_BAD_STATE_KHR 0x321C 333bf215546Sopenharmony_citypedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMKHRPROC) (EGLDisplay dpy, const EGLint *attrib_list); 334bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 335bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); 336bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value); 337bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMU64KHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value); 338bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 339bf215546Sopenharmony_ciEGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamKHR (EGLDisplay dpy, const EGLint *attrib_list); 340bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream); 341bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); 342bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value); 343bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value); 344bf215546Sopenharmony_ci#endif 345bf215546Sopenharmony_ci#endif /* KHRONOS_SUPPORT_INT64 */ 346bf215546Sopenharmony_ci#endif /* EGL_KHR_stream */ 347bf215546Sopenharmony_ci 348bf215546Sopenharmony_ci#ifndef EGL_KHR_stream_attrib 349bf215546Sopenharmony_ci#define EGL_KHR_stream_attrib 1 350bf215546Sopenharmony_ci#ifdef KHRONOS_SUPPORT_INT64 351bf215546Sopenharmony_citypedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMATTRIBKHRPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list); 352bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSETSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib value); 353bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib *value); 354bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); 355bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); 356bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 357bf215546Sopenharmony_ciEGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamAttribKHR (EGLDisplay dpy, const EGLAttrib *attrib_list); 358bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSetStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib value); 359bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib *value); 360bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); 361bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); 362bf215546Sopenharmony_ci#endif 363bf215546Sopenharmony_ci#endif /* KHRONOS_SUPPORT_INT64 */ 364bf215546Sopenharmony_ci#endif /* EGL_KHR_stream_attrib */ 365bf215546Sopenharmony_ci 366bf215546Sopenharmony_ci#ifndef EGL_KHR_stream_consumer_gltexture 367bf215546Sopenharmony_ci#define EGL_KHR_stream_consumer_gltexture 1 368bf215546Sopenharmony_ci#ifdef EGL_KHR_stream 369bf215546Sopenharmony_ci#define EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR 0x321E 370bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 371bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 372bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 373bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 374bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLStreamKHR stream); 375bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR stream); 376bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR stream); 377bf215546Sopenharmony_ci#endif 378bf215546Sopenharmony_ci#endif /* EGL_KHR_stream */ 379bf215546Sopenharmony_ci#endif /* EGL_KHR_stream_consumer_gltexture */ 380bf215546Sopenharmony_ci 381bf215546Sopenharmony_ci#ifndef EGL_KHR_stream_cross_process_fd 382bf215546Sopenharmony_ci#define EGL_KHR_stream_cross_process_fd 1 383bf215546Sopenharmony_citypedef int EGLNativeFileDescriptorKHR; 384bf215546Sopenharmony_ci#ifdef EGL_KHR_stream 385bf215546Sopenharmony_ci#define EGL_NO_FILE_DESCRIPTOR_KHR EGL_CAST(EGLNativeFileDescriptorKHR,-1) 386bf215546Sopenharmony_citypedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 387bf215546Sopenharmony_citypedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); 388bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 389bf215546Sopenharmony_ciEGLAPI EGLNativeFileDescriptorKHR EGLAPIENTRY eglGetStreamFileDescriptorKHR (EGLDisplay dpy, EGLStreamKHR stream); 390bf215546Sopenharmony_ciEGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); 391bf215546Sopenharmony_ci#endif 392bf215546Sopenharmony_ci#endif /* EGL_KHR_stream */ 393bf215546Sopenharmony_ci#endif /* EGL_KHR_stream_cross_process_fd */ 394bf215546Sopenharmony_ci 395bf215546Sopenharmony_ci#ifndef EGL_KHR_stream_fifo 396bf215546Sopenharmony_ci#define EGL_KHR_stream_fifo 1 397bf215546Sopenharmony_ci#ifdef EGL_KHR_stream 398bf215546Sopenharmony_ci#define EGL_STREAM_FIFO_LENGTH_KHR 0x31FC 399bf215546Sopenharmony_ci#define EGL_STREAM_TIME_NOW_KHR 0x31FD 400bf215546Sopenharmony_ci#define EGL_STREAM_TIME_CONSUMER_KHR 0x31FE 401bf215546Sopenharmony_ci#define EGL_STREAM_TIME_PRODUCER_KHR 0x31FF 402bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMTIMEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value); 403bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 404bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value); 405bf215546Sopenharmony_ci#endif 406bf215546Sopenharmony_ci#endif /* EGL_KHR_stream */ 407bf215546Sopenharmony_ci#endif /* EGL_KHR_stream_fifo */ 408bf215546Sopenharmony_ci 409bf215546Sopenharmony_ci#ifndef EGL_KHR_stream_producer_aldatalocator 410bf215546Sopenharmony_ci#define EGL_KHR_stream_producer_aldatalocator 1 411bf215546Sopenharmony_ci#ifdef EGL_KHR_stream 412bf215546Sopenharmony_ci#endif /* EGL_KHR_stream */ 413bf215546Sopenharmony_ci#endif /* EGL_KHR_stream_producer_aldatalocator */ 414bf215546Sopenharmony_ci 415bf215546Sopenharmony_ci#ifndef EGL_KHR_stream_producer_eglsurface 416bf215546Sopenharmony_ci#define EGL_KHR_stream_producer_eglsurface 1 417bf215546Sopenharmony_ci#ifdef EGL_KHR_stream 418bf215546Sopenharmony_ci#define EGL_STREAM_BIT_KHR 0x0800 419bf215546Sopenharmony_citypedef EGLSurface (EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC) (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list); 420bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 421bf215546Sopenharmony_ciEGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list); 422bf215546Sopenharmony_ci#endif 423bf215546Sopenharmony_ci#endif /* EGL_KHR_stream */ 424bf215546Sopenharmony_ci#endif /* EGL_KHR_stream_producer_eglsurface */ 425bf215546Sopenharmony_ci 426bf215546Sopenharmony_ci#ifndef EGL_KHR_surfaceless_context 427bf215546Sopenharmony_ci#define EGL_KHR_surfaceless_context 1 428bf215546Sopenharmony_ci#endif /* EGL_KHR_surfaceless_context */ 429bf215546Sopenharmony_ci 430bf215546Sopenharmony_ci#ifndef EGL_KHR_swap_buffers_with_damage 431bf215546Sopenharmony_ci#define EGL_KHR_swap_buffers_with_damage 1 432bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); 433bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 434bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); 435bf215546Sopenharmony_ci#endif 436bf215546Sopenharmony_ci#endif /* EGL_KHR_swap_buffers_with_damage */ 437bf215546Sopenharmony_ci 438bf215546Sopenharmony_ci#ifndef EGL_KHR_vg_parent_image 439bf215546Sopenharmony_ci#define EGL_KHR_vg_parent_image 1 440bf215546Sopenharmony_ci#define EGL_VG_PARENT_IMAGE_KHR 0x30BA 441bf215546Sopenharmony_ci#endif /* EGL_KHR_vg_parent_image */ 442bf215546Sopenharmony_ci 443bf215546Sopenharmony_ci#ifndef EGL_KHR_wait_sync 444bf215546Sopenharmony_ci#define EGL_KHR_wait_sync 1 445bf215546Sopenharmony_citypedef EGLint (EGLAPIENTRYP PFNEGLWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); 446bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 447bf215546Sopenharmony_ciEGLAPI EGLint EGLAPIENTRY eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); 448bf215546Sopenharmony_ci#endif 449bf215546Sopenharmony_ci#endif /* EGL_KHR_wait_sync */ 450bf215546Sopenharmony_ci 451bf215546Sopenharmony_ci#ifndef EGL_ANDROID_GLES_layers 452bf215546Sopenharmony_ci#define EGL_ANDROID_GLES_layers 1 453bf215546Sopenharmony_ci#endif /* EGL_ANDROID_GLES_layers */ 454bf215546Sopenharmony_ci 455bf215546Sopenharmony_ci#ifndef EGL_ANDROID_blob_cache 456bf215546Sopenharmony_ci#define EGL_ANDROID_blob_cache 1 457bf215546Sopenharmony_citypedef khronos_ssize_t EGLsizeiANDROID; 458bf215546Sopenharmony_citypedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize); 459bf215546Sopenharmony_citypedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize); 460bf215546Sopenharmony_citypedef void (EGLAPIENTRYP PFNEGLSETBLOBCACHEFUNCSANDROIDPROC) (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); 461bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 462bf215546Sopenharmony_ciEGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); 463bf215546Sopenharmony_ci#endif 464bf215546Sopenharmony_ci#endif /* EGL_ANDROID_blob_cache */ 465bf215546Sopenharmony_ci 466bf215546Sopenharmony_ci#ifndef EGL_ANDROID_create_native_client_buffer 467bf215546Sopenharmony_ci#define EGL_ANDROID_create_native_client_buffer 1 468bf215546Sopenharmony_ci#define EGL_NATIVE_BUFFER_USAGE_ANDROID 0x3143 469bf215546Sopenharmony_ci#define EGL_NATIVE_BUFFER_USAGE_PROTECTED_BIT_ANDROID 0x00000001 470bf215546Sopenharmony_ci#define EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID 0x00000002 471bf215546Sopenharmony_ci#define EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID 0x00000004 472bf215546Sopenharmony_citypedef EGLClientBuffer (EGLAPIENTRYP PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC) (const EGLint *attrib_list); 473bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 474bf215546Sopenharmony_ciEGLAPI EGLClientBuffer EGLAPIENTRY eglCreateNativeClientBufferANDROID (const EGLint *attrib_list); 475bf215546Sopenharmony_ci#endif 476bf215546Sopenharmony_ci#endif /* EGL_ANDROID_create_native_client_buffer */ 477bf215546Sopenharmony_ci 478bf215546Sopenharmony_ci#ifndef EGL_ANDROID_framebuffer_target 479bf215546Sopenharmony_ci#define EGL_ANDROID_framebuffer_target 1 480bf215546Sopenharmony_ci#define EGL_FRAMEBUFFER_TARGET_ANDROID 0x3147 481bf215546Sopenharmony_ci#endif /* EGL_ANDROID_framebuffer_target */ 482bf215546Sopenharmony_ci 483bf215546Sopenharmony_ci#ifndef EGL_ANDROID_front_buffer_auto_refresh 484bf215546Sopenharmony_ci#define EGL_ANDROID_front_buffer_auto_refresh 1 485bf215546Sopenharmony_ci#define EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID 0x314C 486bf215546Sopenharmony_ci#endif /* EGL_ANDROID_front_buffer_auto_refresh */ 487bf215546Sopenharmony_ci 488bf215546Sopenharmony_ci#ifndef EGL_ANDROID_get_frame_timestamps 489bf215546Sopenharmony_ci#define EGL_ANDROID_get_frame_timestamps 1 490bf215546Sopenharmony_citypedef khronos_stime_nanoseconds_t EGLnsecsANDROID; 491bf215546Sopenharmony_ci#define EGL_TIMESTAMP_PENDING_ANDROID EGL_CAST(EGLnsecsANDROID,-2) 492bf215546Sopenharmony_ci#define EGL_TIMESTAMP_INVALID_ANDROID EGL_CAST(EGLnsecsANDROID,-1) 493bf215546Sopenharmony_ci#define EGL_TIMESTAMPS_ANDROID 0x3430 494bf215546Sopenharmony_ci#define EGL_COMPOSITE_DEADLINE_ANDROID 0x3431 495bf215546Sopenharmony_ci#define EGL_COMPOSITE_INTERVAL_ANDROID 0x3432 496bf215546Sopenharmony_ci#define EGL_COMPOSITE_TO_PRESENT_LATENCY_ANDROID 0x3433 497bf215546Sopenharmony_ci#define EGL_REQUESTED_PRESENT_TIME_ANDROID 0x3434 498bf215546Sopenharmony_ci#define EGL_RENDERING_COMPLETE_TIME_ANDROID 0x3435 499bf215546Sopenharmony_ci#define EGL_COMPOSITION_LATCH_TIME_ANDROID 0x3436 500bf215546Sopenharmony_ci#define EGL_FIRST_COMPOSITION_START_TIME_ANDROID 0x3437 501bf215546Sopenharmony_ci#define EGL_LAST_COMPOSITION_START_TIME_ANDROID 0x3438 502bf215546Sopenharmony_ci#define EGL_FIRST_COMPOSITION_GPU_FINISHED_TIME_ANDROID 0x3439 503bf215546Sopenharmony_ci#define EGL_DISPLAY_PRESENT_TIME_ANDROID 0x343A 504bf215546Sopenharmony_ci#define EGL_DEQUEUE_READY_TIME_ANDROID 0x343B 505bf215546Sopenharmony_ci#define EGL_READS_DONE_TIME_ANDROID 0x343C 506bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLint name); 507bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETCOMPOSITORTIMINGANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numTimestamps, const EGLint *names, EGLnsecsANDROID *values); 508bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETNEXTFRAMEIDANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR *frameId); 509bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLint timestamp); 510bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETFRAMETIMESTAMPSANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR frameId, EGLint numTimestamps, const EGLint *timestamps, EGLnsecsANDROID *values); 511bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 512bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetCompositorTimingSupportedANDROID (EGLDisplay dpy, EGLSurface surface, EGLint name); 513bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetCompositorTimingANDROID (EGLDisplay dpy, EGLSurface surface, EGLint numTimestamps, const EGLint *names, EGLnsecsANDROID *values); 514bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetNextFrameIdANDROID (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR *frameId); 515bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetFrameTimestampSupportedANDROID (EGLDisplay dpy, EGLSurface surface, EGLint timestamp); 516bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetFrameTimestampsANDROID (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR frameId, EGLint numTimestamps, const EGLint *timestamps, EGLnsecsANDROID *values); 517bf215546Sopenharmony_ci#endif 518bf215546Sopenharmony_ci#endif /* EGL_ANDROID_get_frame_timestamps */ 519bf215546Sopenharmony_ci 520bf215546Sopenharmony_ci#ifndef EGL_ANDROID_get_native_client_buffer 521bf215546Sopenharmony_ci#define EGL_ANDROID_get_native_client_buffer 1 522bf215546Sopenharmony_cistruct AHardwareBuffer; 523bf215546Sopenharmony_citypedef EGLClientBuffer (EGLAPIENTRYP PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC) (const struct AHardwareBuffer *buffer); 524bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 525bf215546Sopenharmony_ciEGLAPI EGLClientBuffer EGLAPIENTRY eglGetNativeClientBufferANDROID (const struct AHardwareBuffer *buffer); 526bf215546Sopenharmony_ci#endif 527bf215546Sopenharmony_ci#endif /* EGL_ANDROID_get_native_client_buffer */ 528bf215546Sopenharmony_ci 529bf215546Sopenharmony_ci#ifndef EGL_ANDROID_image_native_buffer 530bf215546Sopenharmony_ci#define EGL_ANDROID_image_native_buffer 1 531bf215546Sopenharmony_ci#define EGL_NATIVE_BUFFER_ANDROID 0x3140 532bf215546Sopenharmony_ci#endif /* EGL_ANDROID_image_native_buffer */ 533bf215546Sopenharmony_ci 534bf215546Sopenharmony_ci#ifndef EGL_ANDROID_native_fence_sync 535bf215546Sopenharmony_ci#define EGL_ANDROID_native_fence_sync 1 536bf215546Sopenharmony_ci#define EGL_SYNC_NATIVE_FENCE_ANDROID 0x3144 537bf215546Sopenharmony_ci#define EGL_SYNC_NATIVE_FENCE_FD_ANDROID 0x3145 538bf215546Sopenharmony_ci#define EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID 0x3146 539bf215546Sopenharmony_ci#define EGL_NO_NATIVE_FENCE_FD_ANDROID -1 540bf215546Sopenharmony_citypedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC) (EGLDisplay dpy, EGLSyncKHR sync); 541bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 542bf215546Sopenharmony_ciEGLAPI EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync); 543bf215546Sopenharmony_ci#endif 544bf215546Sopenharmony_ci#endif /* EGL_ANDROID_native_fence_sync */ 545bf215546Sopenharmony_ci 546bf215546Sopenharmony_ci#ifndef EGL_ANDROID_presentation_time 547bf215546Sopenharmony_ci#define EGL_ANDROID_presentation_time 1 548bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLPRESENTATIONTIMEANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time); 549bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 550bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglPresentationTimeANDROID (EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time); 551bf215546Sopenharmony_ci#endif 552bf215546Sopenharmony_ci#endif /* EGL_ANDROID_presentation_time */ 553bf215546Sopenharmony_ci 554bf215546Sopenharmony_ci#ifndef EGL_ANDROID_recordable 555bf215546Sopenharmony_ci#define EGL_ANDROID_recordable 1 556bf215546Sopenharmony_ci#define EGL_RECORDABLE_ANDROID 0x3142 557bf215546Sopenharmony_ci#endif /* EGL_ANDROID_recordable */ 558bf215546Sopenharmony_ci 559bf215546Sopenharmony_ci#ifndef EGL_ANGLE_d3d_share_handle_client_buffer 560bf215546Sopenharmony_ci#define EGL_ANGLE_d3d_share_handle_client_buffer 1 561bf215546Sopenharmony_ci#define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200 562bf215546Sopenharmony_ci#endif /* EGL_ANGLE_d3d_share_handle_client_buffer */ 563bf215546Sopenharmony_ci 564bf215546Sopenharmony_ci#ifndef EGL_ANGLE_device_d3d 565bf215546Sopenharmony_ci#define EGL_ANGLE_device_d3d 1 566bf215546Sopenharmony_ci#define EGL_D3D9_DEVICE_ANGLE 0x33A0 567bf215546Sopenharmony_ci#define EGL_D3D11_DEVICE_ANGLE 0x33A1 568bf215546Sopenharmony_ci#endif /* EGL_ANGLE_device_d3d */ 569bf215546Sopenharmony_ci 570bf215546Sopenharmony_ci#ifndef EGL_ANGLE_query_surface_pointer 571bf215546Sopenharmony_ci#define EGL_ANGLE_query_surface_pointer 1 572bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); 573bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 574bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); 575bf215546Sopenharmony_ci#endif 576bf215546Sopenharmony_ci#endif /* EGL_ANGLE_query_surface_pointer */ 577bf215546Sopenharmony_ci 578bf215546Sopenharmony_ci#ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle 579bf215546Sopenharmony_ci#define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1 580bf215546Sopenharmony_ci#endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */ 581bf215546Sopenharmony_ci 582bf215546Sopenharmony_ci#ifndef EGL_ANGLE_sync_control_rate 583bf215546Sopenharmony_ci#define EGL_ANGLE_sync_control_rate 1 584bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETMSCRATEANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *numerator, EGLint *denominator); 585bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 586bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetMscRateANGLE (EGLDisplay dpy, EGLSurface surface, EGLint *numerator, EGLint *denominator); 587bf215546Sopenharmony_ci#endif 588bf215546Sopenharmony_ci#endif /* EGL_ANGLE_sync_control_rate */ 589bf215546Sopenharmony_ci 590bf215546Sopenharmony_ci#ifndef EGL_ANGLE_window_fixed_size 591bf215546Sopenharmony_ci#define EGL_ANGLE_window_fixed_size 1 592bf215546Sopenharmony_ci#define EGL_FIXED_SIZE_ANGLE 0x3201 593bf215546Sopenharmony_ci#endif /* EGL_ANGLE_window_fixed_size */ 594bf215546Sopenharmony_ci 595bf215546Sopenharmony_ci#ifndef EGL_ARM_image_format 596bf215546Sopenharmony_ci#define EGL_ARM_image_format 1 597bf215546Sopenharmony_ci#define EGL_COLOR_COMPONENT_TYPE_UNSIGNED_INTEGER_ARM 0x3287 598bf215546Sopenharmony_ci#define EGL_COLOR_COMPONENT_TYPE_INTEGER_ARM 0x3288 599bf215546Sopenharmony_ci#endif /* EGL_ARM_image_format */ 600bf215546Sopenharmony_ci 601bf215546Sopenharmony_ci#ifndef EGL_ARM_implicit_external_sync 602bf215546Sopenharmony_ci#define EGL_ARM_implicit_external_sync 1 603bf215546Sopenharmony_ci#define EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM 0x328A 604bf215546Sopenharmony_ci#endif /* EGL_ARM_implicit_external_sync */ 605bf215546Sopenharmony_ci 606bf215546Sopenharmony_ci#ifndef EGL_ARM_pixmap_multisample_discard 607bf215546Sopenharmony_ci#define EGL_ARM_pixmap_multisample_discard 1 608bf215546Sopenharmony_ci#define EGL_DISCARD_SAMPLES_ARM 0x3286 609bf215546Sopenharmony_ci#endif /* EGL_ARM_pixmap_multisample_discard */ 610bf215546Sopenharmony_ci 611bf215546Sopenharmony_ci#ifndef EGL_EXT_bind_to_front 612bf215546Sopenharmony_ci#define EGL_EXT_bind_to_front 1 613bf215546Sopenharmony_ci#define EGL_FRONT_BUFFER_EXT 0x3464 614bf215546Sopenharmony_ci#endif /* EGL_EXT_bind_to_front */ 615bf215546Sopenharmony_ci 616bf215546Sopenharmony_ci#ifndef EGL_EXT_buffer_age 617bf215546Sopenharmony_ci#define EGL_EXT_buffer_age 1 618bf215546Sopenharmony_ci#define EGL_BUFFER_AGE_EXT 0x313D 619bf215546Sopenharmony_ci#endif /* EGL_EXT_buffer_age */ 620bf215546Sopenharmony_ci 621bf215546Sopenharmony_ci#ifndef EGL_EXT_client_extensions 622bf215546Sopenharmony_ci#define EGL_EXT_client_extensions 1 623bf215546Sopenharmony_ci#endif /* EGL_EXT_client_extensions */ 624bf215546Sopenharmony_ci 625bf215546Sopenharmony_ci#ifndef EGL_EXT_client_sync 626bf215546Sopenharmony_ci#define EGL_EXT_client_sync 1 627bf215546Sopenharmony_ci#define EGL_SYNC_CLIENT_EXT 0x3364 628bf215546Sopenharmony_ci#define EGL_SYNC_CLIENT_SIGNAL_EXT 0x3365 629bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCLIENTSIGNALSYNCEXTPROC) (EGLDisplay dpy, EGLSync sync, const EGLAttrib *attrib_list); 630bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 631bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglClientSignalSyncEXT (EGLDisplay dpy, EGLSync sync, const EGLAttrib *attrib_list); 632bf215546Sopenharmony_ci#endif 633bf215546Sopenharmony_ci#endif /* EGL_EXT_client_sync */ 634bf215546Sopenharmony_ci 635bf215546Sopenharmony_ci#ifndef EGL_EXT_compositor 636bf215546Sopenharmony_ci#define EGL_EXT_compositor 1 637bf215546Sopenharmony_ci#define EGL_PRIMARY_COMPOSITOR_CONTEXT_EXT 0x3460 638bf215546Sopenharmony_ci#define EGL_EXTERNAL_REF_ID_EXT 0x3461 639bf215546Sopenharmony_ci#define EGL_COMPOSITOR_DROP_NEWEST_FRAME_EXT 0x3462 640bf215546Sopenharmony_ci#define EGL_COMPOSITOR_KEEP_NEWEST_FRAME_EXT 0x3463 641bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC) (const EGLint *external_ref_ids, EGLint num_entries); 642bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC) (EGLint external_ref_id, const EGLint *context_attributes, EGLint num_entries); 643bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC) (EGLint external_ref_id, const EGLint *external_win_ids, EGLint num_entries); 644bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC) (EGLint external_win_id, const EGLint *window_attributes, EGLint num_entries); 645bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC) (EGLint external_win_id); 646bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETSIZEEXTPROC) (EGLint external_win_id, EGLint width, EGLint height); 647bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSWAPPOLICYEXTPROC) (EGLint external_win_id, EGLint policy); 648bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 649bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetContextListEXT (const EGLint *external_ref_ids, EGLint num_entries); 650bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetContextAttributesEXT (EGLint external_ref_id, const EGLint *context_attributes, EGLint num_entries); 651bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetWindowListEXT (EGLint external_ref_id, const EGLint *external_win_ids, EGLint num_entries); 652bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetWindowAttributesEXT (EGLint external_win_id, const EGLint *window_attributes, EGLint num_entries); 653bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglCompositorBindTexWindowEXT (EGLint external_win_id); 654bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetSizeEXT (EGLint external_win_id, EGLint width, EGLint height); 655bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglCompositorSwapPolicyEXT (EGLint external_win_id, EGLint policy); 656bf215546Sopenharmony_ci#endif 657bf215546Sopenharmony_ci#endif /* EGL_EXT_compositor */ 658bf215546Sopenharmony_ci 659bf215546Sopenharmony_ci#ifndef EGL_EXT_config_select_group 660bf215546Sopenharmony_ci#define EGL_EXT_config_select_group 1 661bf215546Sopenharmony_ci#define EGL_CONFIG_SELECT_GROUP_EXT 0x34C0 662bf215546Sopenharmony_ci#endif /* EGL_EXT_config_select_group */ 663bf215546Sopenharmony_ci 664bf215546Sopenharmony_ci#ifndef EGL_EXT_create_context_robustness 665bf215546Sopenharmony_ci#define EGL_EXT_create_context_robustness 1 666bf215546Sopenharmony_ci#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF 667bf215546Sopenharmony_ci#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138 668bf215546Sopenharmony_ci#define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE 669bf215546Sopenharmony_ci#define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF 670bf215546Sopenharmony_ci#endif /* EGL_EXT_create_context_robustness */ 671bf215546Sopenharmony_ci 672bf215546Sopenharmony_ci#ifndef EGL_EXT_device_base 673bf215546Sopenharmony_ci#define EGL_EXT_device_base 1 674bf215546Sopenharmony_citypedef void *EGLDeviceEXT; 675bf215546Sopenharmony_ci#define EGL_NO_DEVICE_EXT EGL_CAST(EGLDeviceEXT,0) 676bf215546Sopenharmony_ci#define EGL_BAD_DEVICE_EXT 0x322B 677bf215546Sopenharmony_ci#define EGL_DEVICE_EXT 0x322C 678bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICEATTRIBEXTPROC) (EGLDeviceEXT device, EGLint attribute, EGLAttrib *value); 679bf215546Sopenharmony_citypedef const char *(EGLAPIENTRYP PFNEGLQUERYDEVICESTRINGEXTPROC) (EGLDeviceEXT device, EGLint name); 680bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devices, EGLint *num_devices); 681bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBEXTPROC) (EGLDisplay dpy, EGLint attribute, EGLAttrib *value); 682bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 683bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDeviceAttribEXT (EGLDeviceEXT device, EGLint attribute, EGLAttrib *value); 684bf215546Sopenharmony_ciEGLAPI const char *EGLAPIENTRY eglQueryDeviceStringEXT (EGLDeviceEXT device, EGLint name); 685bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint *num_devices); 686bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint attribute, EGLAttrib *value); 687bf215546Sopenharmony_ci#endif 688bf215546Sopenharmony_ci#endif /* EGL_EXT_device_base */ 689bf215546Sopenharmony_ci 690bf215546Sopenharmony_ci#ifndef EGL_EXT_device_drm 691bf215546Sopenharmony_ci#define EGL_EXT_device_drm 1 692bf215546Sopenharmony_ci#define EGL_DRM_DEVICE_FILE_EXT 0x3233 693bf215546Sopenharmony_ci#define EGL_DRM_MASTER_FD_EXT 0x333C 694bf215546Sopenharmony_ci#endif /* EGL_EXT_device_drm */ 695bf215546Sopenharmony_ci 696bf215546Sopenharmony_ci#ifndef EGL_EXT_device_drm_render_node 697bf215546Sopenharmony_ci#define EGL_EXT_device_drm_render_node 1 698bf215546Sopenharmony_ci#define EGL_DRM_RENDER_NODE_FILE_EXT 0x3377 699bf215546Sopenharmony_ci#endif /* EGL_EXT_device_drm_render_node */ 700bf215546Sopenharmony_ci 701bf215546Sopenharmony_ci#ifndef EGL_EXT_device_enumeration 702bf215546Sopenharmony_ci#define EGL_EXT_device_enumeration 1 703bf215546Sopenharmony_ci#endif /* EGL_EXT_device_enumeration */ 704bf215546Sopenharmony_ci 705bf215546Sopenharmony_ci#ifndef EGL_EXT_device_openwf 706bf215546Sopenharmony_ci#define EGL_EXT_device_openwf 1 707bf215546Sopenharmony_ci#define EGL_OPENWF_DEVICE_ID_EXT 0x3237 708bf215546Sopenharmony_ci#endif /* EGL_EXT_device_openwf */ 709bf215546Sopenharmony_ci 710bf215546Sopenharmony_ci#ifndef EGL_EXT_device_persistent_id 711bf215546Sopenharmony_ci#define EGL_EXT_device_persistent_id 1 712bf215546Sopenharmony_ci#define EGL_DEVICE_UUID_EXT 0x335C 713bf215546Sopenharmony_ci#define EGL_DRIVER_UUID_EXT 0x335D 714bf215546Sopenharmony_ci#define EGL_DRIVER_NAME_EXT 0x335E 715bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICEBINARYEXTPROC) (EGLDeviceEXT device, EGLint name, EGLint max_size, void *value, EGLint *size); 716bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 717bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDeviceBinaryEXT (EGLDeviceEXT device, EGLint name, EGLint max_size, void *value, EGLint *size); 718bf215546Sopenharmony_ci#endif 719bf215546Sopenharmony_ci#endif /* EGL_EXT_device_persistent_id */ 720bf215546Sopenharmony_ci 721bf215546Sopenharmony_ci#ifndef EGL_EXT_device_query 722bf215546Sopenharmony_ci#define EGL_EXT_device_query 1 723bf215546Sopenharmony_ci#endif /* EGL_EXT_device_query */ 724bf215546Sopenharmony_ci 725bf215546Sopenharmony_ci#ifndef EGL_EXT_device_query_name 726bf215546Sopenharmony_ci#define EGL_EXT_device_query_name 1 727bf215546Sopenharmony_ci#define EGL_RENDERER_EXT 0x335F 728bf215546Sopenharmony_ci#endif /* EGL_EXT_device_query_name */ 729bf215546Sopenharmony_ci 730bf215546Sopenharmony_ci#ifndef EGL_EXT_gl_colorspace_bt2020_linear 731bf215546Sopenharmony_ci#define EGL_EXT_gl_colorspace_bt2020_linear 1 732bf215546Sopenharmony_ci#define EGL_GL_COLORSPACE_BT2020_LINEAR_EXT 0x333F 733bf215546Sopenharmony_ci#endif /* EGL_EXT_gl_colorspace_bt2020_linear */ 734bf215546Sopenharmony_ci 735bf215546Sopenharmony_ci#ifndef EGL_EXT_gl_colorspace_bt2020_pq 736bf215546Sopenharmony_ci#define EGL_EXT_gl_colorspace_bt2020_pq 1 737bf215546Sopenharmony_ci#define EGL_GL_COLORSPACE_BT2020_PQ_EXT 0x3340 738bf215546Sopenharmony_ci#endif /* EGL_EXT_gl_colorspace_bt2020_pq */ 739bf215546Sopenharmony_ci 740bf215546Sopenharmony_ci#ifndef EGL_EXT_gl_colorspace_display_p3 741bf215546Sopenharmony_ci#define EGL_EXT_gl_colorspace_display_p3 1 742bf215546Sopenharmony_ci#define EGL_GL_COLORSPACE_DISPLAY_P3_EXT 0x3363 743bf215546Sopenharmony_ci#endif /* EGL_EXT_gl_colorspace_display_p3 */ 744bf215546Sopenharmony_ci 745bf215546Sopenharmony_ci#ifndef EGL_EXT_gl_colorspace_display_p3_linear 746bf215546Sopenharmony_ci#define EGL_EXT_gl_colorspace_display_p3_linear 1 747bf215546Sopenharmony_ci#define EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT 0x3362 748bf215546Sopenharmony_ci#endif /* EGL_EXT_gl_colorspace_display_p3_linear */ 749bf215546Sopenharmony_ci 750bf215546Sopenharmony_ci#ifndef EGL_EXT_gl_colorspace_display_p3_passthrough 751bf215546Sopenharmony_ci#define EGL_EXT_gl_colorspace_display_p3_passthrough 1 752bf215546Sopenharmony_ci#define EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT 0x3490 753bf215546Sopenharmony_ci#endif /* EGL_EXT_gl_colorspace_display_p3_passthrough */ 754bf215546Sopenharmony_ci 755bf215546Sopenharmony_ci#ifndef EGL_EXT_gl_colorspace_scrgb 756bf215546Sopenharmony_ci#define EGL_EXT_gl_colorspace_scrgb 1 757bf215546Sopenharmony_ci#define EGL_GL_COLORSPACE_SCRGB_EXT 0x3351 758bf215546Sopenharmony_ci#endif /* EGL_EXT_gl_colorspace_scrgb */ 759bf215546Sopenharmony_ci 760bf215546Sopenharmony_ci#ifndef EGL_EXT_gl_colorspace_scrgb_linear 761bf215546Sopenharmony_ci#define EGL_EXT_gl_colorspace_scrgb_linear 1 762bf215546Sopenharmony_ci#define EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT 0x3350 763bf215546Sopenharmony_ci#endif /* EGL_EXT_gl_colorspace_scrgb_linear */ 764bf215546Sopenharmony_ci 765bf215546Sopenharmony_ci#ifndef EGL_EXT_image_dma_buf_import 766bf215546Sopenharmony_ci#define EGL_EXT_image_dma_buf_import 1 767bf215546Sopenharmony_ci#define EGL_LINUX_DMA_BUF_EXT 0x3270 768bf215546Sopenharmony_ci#define EGL_LINUX_DRM_FOURCC_EXT 0x3271 769bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272 770bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273 771bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274 772bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE1_FD_EXT 0x3275 773bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE1_OFFSET_EXT 0x3276 774bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE1_PITCH_EXT 0x3277 775bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE2_FD_EXT 0x3278 776bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE2_OFFSET_EXT 0x3279 777bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE2_PITCH_EXT 0x327A 778bf215546Sopenharmony_ci#define EGL_YUV_COLOR_SPACE_HINT_EXT 0x327B 779bf215546Sopenharmony_ci#define EGL_SAMPLE_RANGE_HINT_EXT 0x327C 780bf215546Sopenharmony_ci#define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT 0x327D 781bf215546Sopenharmony_ci#define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT 0x327E 782bf215546Sopenharmony_ci#define EGL_ITU_REC601_EXT 0x327F 783bf215546Sopenharmony_ci#define EGL_ITU_REC709_EXT 0x3280 784bf215546Sopenharmony_ci#define EGL_ITU_REC2020_EXT 0x3281 785bf215546Sopenharmony_ci#define EGL_YUV_FULL_RANGE_EXT 0x3282 786bf215546Sopenharmony_ci#define EGL_YUV_NARROW_RANGE_EXT 0x3283 787bf215546Sopenharmony_ci#define EGL_YUV_CHROMA_SITING_0_EXT 0x3284 788bf215546Sopenharmony_ci#define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285 789bf215546Sopenharmony_ci#endif /* EGL_EXT_image_dma_buf_import */ 790bf215546Sopenharmony_ci 791bf215546Sopenharmony_ci#ifndef EGL_EXT_image_dma_buf_import_modifiers 792bf215546Sopenharmony_ci#define EGL_EXT_image_dma_buf_import_modifiers 1 793bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE3_FD_EXT 0x3440 794bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE3_OFFSET_EXT 0x3441 795bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE3_PITCH_EXT 0x3442 796bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT 0x3443 797bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT 0x3444 798bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT 0x3445 799bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT 0x3446 800bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT 0x3447 801bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT 0x3448 802bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE3_MODIFIER_LO_EXT 0x3449 803bf215546Sopenharmony_ci#define EGL_DMA_BUF_PLANE3_MODIFIER_HI_EXT 0x344A 804bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDMABUFFORMATSEXTPROC) (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats); 805bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDMABUFMODIFIERSEXTPROC) (EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR *modifiers, EGLBoolean *external_only, EGLint *num_modifiers); 806bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 807bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDmaBufFormatsEXT (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats); 808bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDmaBufModifiersEXT (EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR *modifiers, EGLBoolean *external_only, EGLint *num_modifiers); 809bf215546Sopenharmony_ci#endif 810bf215546Sopenharmony_ci#endif /* EGL_EXT_image_dma_buf_import_modifiers */ 811bf215546Sopenharmony_ci 812bf215546Sopenharmony_ci#ifndef EGL_EXT_image_gl_colorspace 813bf215546Sopenharmony_ci#define EGL_EXT_image_gl_colorspace 1 814bf215546Sopenharmony_ci#define EGL_GL_COLORSPACE_DEFAULT_EXT 0x314D 815bf215546Sopenharmony_ci#endif /* EGL_EXT_image_gl_colorspace */ 816bf215546Sopenharmony_ci 817bf215546Sopenharmony_ci#ifndef EGL_EXT_image_implicit_sync_control 818bf215546Sopenharmony_ci#define EGL_EXT_image_implicit_sync_control 1 819bf215546Sopenharmony_ci#define EGL_IMPORT_SYNC_TYPE_EXT 0x3470 820bf215546Sopenharmony_ci#define EGL_IMPORT_IMPLICIT_SYNC_EXT 0x3471 821bf215546Sopenharmony_ci#define EGL_IMPORT_EXPLICIT_SYNC_EXT 0x3472 822bf215546Sopenharmony_ci#endif /* EGL_EXT_image_implicit_sync_control */ 823bf215546Sopenharmony_ci 824bf215546Sopenharmony_ci#ifndef EGL_EXT_multiview_window 825bf215546Sopenharmony_ci#define EGL_EXT_multiview_window 1 826bf215546Sopenharmony_ci#define EGL_MULTIVIEW_VIEW_COUNT_EXT 0x3134 827bf215546Sopenharmony_ci#endif /* EGL_EXT_multiview_window */ 828bf215546Sopenharmony_ci 829bf215546Sopenharmony_ci#ifndef EGL_EXT_output_base 830bf215546Sopenharmony_ci#define EGL_EXT_output_base 1 831bf215546Sopenharmony_citypedef void *EGLOutputLayerEXT; 832bf215546Sopenharmony_citypedef void *EGLOutputPortEXT; 833bf215546Sopenharmony_ci#define EGL_NO_OUTPUT_LAYER_EXT EGL_CAST(EGLOutputLayerEXT,0) 834bf215546Sopenharmony_ci#define EGL_NO_OUTPUT_PORT_EXT EGL_CAST(EGLOutputPortEXT,0) 835bf215546Sopenharmony_ci#define EGL_BAD_OUTPUT_LAYER_EXT 0x322D 836bf215546Sopenharmony_ci#define EGL_BAD_OUTPUT_PORT_EXT 0x322E 837bf215546Sopenharmony_ci#define EGL_SWAP_INTERVAL_EXT 0x322F 838bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETOUTPUTLAYERSEXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputLayerEXT *layers, EGLint max_layers, EGLint *num_layers); 839bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETOUTPUTPORTSEXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports, EGLint *num_ports); 840bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value); 841bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib *value); 842bf215546Sopenharmony_citypedef const char *(EGLAPIENTRYP PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name); 843bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLOUTPUTPORTATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value); 844bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib *value); 845bf215546Sopenharmony_citypedef const char *(EGLAPIENTRYP PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name); 846bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 847bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetOutputLayersEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputLayerEXT *layers, EGLint max_layers, EGLint *num_layers); 848bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetOutputPortsEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports, EGLint *num_ports); 849bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value); 850bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib *value); 851bf215546Sopenharmony_ciEGLAPI const char *EGLAPIENTRY eglQueryOutputLayerStringEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name); 852bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value); 853bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib *value); 854bf215546Sopenharmony_ciEGLAPI const char *EGLAPIENTRY eglQueryOutputPortStringEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name); 855bf215546Sopenharmony_ci#endif 856bf215546Sopenharmony_ci#endif /* EGL_EXT_output_base */ 857bf215546Sopenharmony_ci 858bf215546Sopenharmony_ci#ifndef EGL_EXT_output_drm 859bf215546Sopenharmony_ci#define EGL_EXT_output_drm 1 860bf215546Sopenharmony_ci#define EGL_DRM_CRTC_EXT 0x3234 861bf215546Sopenharmony_ci#define EGL_DRM_PLANE_EXT 0x3235 862bf215546Sopenharmony_ci#define EGL_DRM_CONNECTOR_EXT 0x3236 863bf215546Sopenharmony_ci#endif /* EGL_EXT_output_drm */ 864bf215546Sopenharmony_ci 865bf215546Sopenharmony_ci#ifndef EGL_EXT_output_openwf 866bf215546Sopenharmony_ci#define EGL_EXT_output_openwf 1 867bf215546Sopenharmony_ci#define EGL_OPENWF_PIPELINE_ID_EXT 0x3238 868bf215546Sopenharmony_ci#define EGL_OPENWF_PORT_ID_EXT 0x3239 869bf215546Sopenharmony_ci#endif /* EGL_EXT_output_openwf */ 870bf215546Sopenharmony_ci 871bf215546Sopenharmony_ci#ifndef EGL_EXT_pixel_format_float 872bf215546Sopenharmony_ci#define EGL_EXT_pixel_format_float 1 873bf215546Sopenharmony_ci#define EGL_COLOR_COMPONENT_TYPE_EXT 0x3339 874bf215546Sopenharmony_ci#define EGL_COLOR_COMPONENT_TYPE_FIXED_EXT 0x333A 875bf215546Sopenharmony_ci#define EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT 0x333B 876bf215546Sopenharmony_ci#endif /* EGL_EXT_pixel_format_float */ 877bf215546Sopenharmony_ci 878bf215546Sopenharmony_ci#ifndef EGL_EXT_platform_base 879bf215546Sopenharmony_ci#define EGL_EXT_platform_base 1 880bf215546Sopenharmony_citypedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum platform, void *native_display, const EGLint *attrib_list); 881bf215546Sopenharmony_citypedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list); 882bf215546Sopenharmony_citypedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list); 883bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 884bf215546Sopenharmony_ciEGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplayEXT (EGLenum platform, void *native_display, const EGLint *attrib_list); 885bf215546Sopenharmony_ciEGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list); 886bf215546Sopenharmony_ciEGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list); 887bf215546Sopenharmony_ci#endif 888bf215546Sopenharmony_ci#endif /* EGL_EXT_platform_base */ 889bf215546Sopenharmony_ci 890bf215546Sopenharmony_ci#ifndef EGL_EXT_platform_device 891bf215546Sopenharmony_ci#define EGL_EXT_platform_device 1 892bf215546Sopenharmony_ci#define EGL_PLATFORM_DEVICE_EXT 0x313F 893bf215546Sopenharmony_ci#endif /* EGL_EXT_platform_device */ 894bf215546Sopenharmony_ci 895bf215546Sopenharmony_ci#ifndef EGL_EXT_platform_wayland 896bf215546Sopenharmony_ci#define EGL_EXT_platform_wayland 1 897bf215546Sopenharmony_ci#define EGL_PLATFORM_WAYLAND_EXT 0x31D8 898bf215546Sopenharmony_ci#endif /* EGL_EXT_platform_wayland */ 899bf215546Sopenharmony_ci 900bf215546Sopenharmony_ci#ifndef EGL_EXT_platform_x11 901bf215546Sopenharmony_ci#define EGL_EXT_platform_x11 1 902bf215546Sopenharmony_ci#define EGL_PLATFORM_X11_EXT 0x31D5 903bf215546Sopenharmony_ci#define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6 904bf215546Sopenharmony_ci#endif /* EGL_EXT_platform_x11 */ 905bf215546Sopenharmony_ci 906bf215546Sopenharmony_ci#ifndef EGL_EXT_platform_xcb 907bf215546Sopenharmony_ci#define EGL_EXT_platform_xcb 1 908bf215546Sopenharmony_ci#define EGL_PLATFORM_XCB_EXT 0x31DC 909bf215546Sopenharmony_ci#define EGL_PLATFORM_XCB_SCREEN_EXT 0x31DE 910bf215546Sopenharmony_ci#endif /* EGL_EXT_platform_xcb */ 911bf215546Sopenharmony_ci 912bf215546Sopenharmony_ci#ifndef EGL_EXT_present_opaque 913bf215546Sopenharmony_ci#define EGL_EXT_present_opaque 1 914bf215546Sopenharmony_ci#define EGL_PRESENT_OPAQUE_EXT 0x31DF 915bf215546Sopenharmony_ci#endif /* EGL_EXT_present_opaque */ 916bf215546Sopenharmony_ci 917bf215546Sopenharmony_ci#ifndef EGL_EXT_protected_content 918bf215546Sopenharmony_ci#define EGL_EXT_protected_content 1 919bf215546Sopenharmony_ci#define EGL_PROTECTED_CONTENT_EXT 0x32C0 920bf215546Sopenharmony_ci#endif /* EGL_EXT_protected_content */ 921bf215546Sopenharmony_ci 922bf215546Sopenharmony_ci#ifndef EGL_EXT_protected_surface 923bf215546Sopenharmony_ci#define EGL_EXT_protected_surface 1 924bf215546Sopenharmony_ci#endif /* EGL_EXT_protected_surface */ 925bf215546Sopenharmony_ci 926bf215546Sopenharmony_ci#ifndef EGL_EXT_stream_consumer_egloutput 927bf215546Sopenharmony_ci#define EGL_EXT_stream_consumer_egloutput 1 928bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMEROUTPUTEXTPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer); 929bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 930bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer); 931bf215546Sopenharmony_ci#endif 932bf215546Sopenharmony_ci#endif /* EGL_EXT_stream_consumer_egloutput */ 933bf215546Sopenharmony_ci 934bf215546Sopenharmony_ci#ifndef EGL_EXT_surface_CTA861_3_metadata 935bf215546Sopenharmony_ci#define EGL_EXT_surface_CTA861_3_metadata 1 936bf215546Sopenharmony_ci#define EGL_CTA861_3_MAX_CONTENT_LIGHT_LEVEL_EXT 0x3360 937bf215546Sopenharmony_ci#define EGL_CTA861_3_MAX_FRAME_AVERAGE_LEVEL_EXT 0x3361 938bf215546Sopenharmony_ci#endif /* EGL_EXT_surface_CTA861_3_metadata */ 939bf215546Sopenharmony_ci 940bf215546Sopenharmony_ci#ifndef EGL_EXT_surface_SMPTE2086_metadata 941bf215546Sopenharmony_ci#define EGL_EXT_surface_SMPTE2086_metadata 1 942bf215546Sopenharmony_ci#define EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT 0x3341 943bf215546Sopenharmony_ci#define EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT 0x3342 944bf215546Sopenharmony_ci#define EGL_SMPTE2086_DISPLAY_PRIMARY_GX_EXT 0x3343 945bf215546Sopenharmony_ci#define EGL_SMPTE2086_DISPLAY_PRIMARY_GY_EXT 0x3344 946bf215546Sopenharmony_ci#define EGL_SMPTE2086_DISPLAY_PRIMARY_BX_EXT 0x3345 947bf215546Sopenharmony_ci#define EGL_SMPTE2086_DISPLAY_PRIMARY_BY_EXT 0x3346 948bf215546Sopenharmony_ci#define EGL_SMPTE2086_WHITE_POINT_X_EXT 0x3347 949bf215546Sopenharmony_ci#define EGL_SMPTE2086_WHITE_POINT_Y_EXT 0x3348 950bf215546Sopenharmony_ci#define EGL_SMPTE2086_MAX_LUMINANCE_EXT 0x3349 951bf215546Sopenharmony_ci#define EGL_SMPTE2086_MIN_LUMINANCE_EXT 0x334A 952bf215546Sopenharmony_ci#define EGL_METADATA_SCALING_EXT 50000 953bf215546Sopenharmony_ci#endif /* EGL_EXT_surface_SMPTE2086_metadata */ 954bf215546Sopenharmony_ci 955bf215546Sopenharmony_ci#ifndef EGL_EXT_swap_buffers_with_damage 956bf215546Sopenharmony_ci#define EGL_EXT_swap_buffers_with_damage 1 957bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); 958bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 959bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); 960bf215546Sopenharmony_ci#endif 961bf215546Sopenharmony_ci#endif /* EGL_EXT_swap_buffers_with_damage */ 962bf215546Sopenharmony_ci 963bf215546Sopenharmony_ci#ifndef EGL_EXT_sync_reuse 964bf215546Sopenharmony_ci#define EGL_EXT_sync_reuse 1 965bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLUNSIGNALSYNCEXTPROC) (EGLDisplay dpy, EGLSync sync, const EGLAttrib *attrib_list); 966bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 967bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglUnsignalSyncEXT (EGLDisplay dpy, EGLSync sync, const EGLAttrib *attrib_list); 968bf215546Sopenharmony_ci#endif 969bf215546Sopenharmony_ci#endif /* EGL_EXT_sync_reuse */ 970bf215546Sopenharmony_ci 971bf215546Sopenharmony_ci#ifndef EGL_EXT_yuv_surface 972bf215546Sopenharmony_ci#define EGL_EXT_yuv_surface 1 973bf215546Sopenharmony_ci#define EGL_YUV_ORDER_EXT 0x3301 974bf215546Sopenharmony_ci#define EGL_YUV_NUMBER_OF_PLANES_EXT 0x3311 975bf215546Sopenharmony_ci#define EGL_YUV_SUBSAMPLE_EXT 0x3312 976bf215546Sopenharmony_ci#define EGL_YUV_DEPTH_RANGE_EXT 0x3317 977bf215546Sopenharmony_ci#define EGL_YUV_CSC_STANDARD_EXT 0x330A 978bf215546Sopenharmony_ci#define EGL_YUV_PLANE_BPP_EXT 0x331A 979bf215546Sopenharmony_ci#define EGL_YUV_BUFFER_EXT 0x3300 980bf215546Sopenharmony_ci#define EGL_YUV_ORDER_YUV_EXT 0x3302 981bf215546Sopenharmony_ci#define EGL_YUV_ORDER_YVU_EXT 0x3303 982bf215546Sopenharmony_ci#define EGL_YUV_ORDER_YUYV_EXT 0x3304 983bf215546Sopenharmony_ci#define EGL_YUV_ORDER_UYVY_EXT 0x3305 984bf215546Sopenharmony_ci#define EGL_YUV_ORDER_YVYU_EXT 0x3306 985bf215546Sopenharmony_ci#define EGL_YUV_ORDER_VYUY_EXT 0x3307 986bf215546Sopenharmony_ci#define EGL_YUV_ORDER_AYUV_EXT 0x3308 987bf215546Sopenharmony_ci#define EGL_YUV_SUBSAMPLE_4_2_0_EXT 0x3313 988bf215546Sopenharmony_ci#define EGL_YUV_SUBSAMPLE_4_2_2_EXT 0x3314 989bf215546Sopenharmony_ci#define EGL_YUV_SUBSAMPLE_4_4_4_EXT 0x3315 990bf215546Sopenharmony_ci#define EGL_YUV_DEPTH_RANGE_LIMITED_EXT 0x3318 991bf215546Sopenharmony_ci#define EGL_YUV_DEPTH_RANGE_FULL_EXT 0x3319 992bf215546Sopenharmony_ci#define EGL_YUV_CSC_STANDARD_601_EXT 0x330B 993bf215546Sopenharmony_ci#define EGL_YUV_CSC_STANDARD_709_EXT 0x330C 994bf215546Sopenharmony_ci#define EGL_YUV_CSC_STANDARD_2020_EXT 0x330D 995bf215546Sopenharmony_ci#define EGL_YUV_PLANE_BPP_0_EXT 0x331B 996bf215546Sopenharmony_ci#define EGL_YUV_PLANE_BPP_8_EXT 0x331C 997bf215546Sopenharmony_ci#define EGL_YUV_PLANE_BPP_10_EXT 0x331D 998bf215546Sopenharmony_ci#endif /* EGL_EXT_yuv_surface */ 999bf215546Sopenharmony_ci 1000bf215546Sopenharmony_ci#ifndef EGL_HI_clientpixmap 1001bf215546Sopenharmony_ci#define EGL_HI_clientpixmap 1 1002bf215546Sopenharmony_cistruct EGLClientPixmapHI { 1003bf215546Sopenharmony_ci void *pData; 1004bf215546Sopenharmony_ci EGLint iWidth; 1005bf215546Sopenharmony_ci EGLint iHeight; 1006bf215546Sopenharmony_ci EGLint iStride; 1007bf215546Sopenharmony_ci}; 1008bf215546Sopenharmony_ci#define EGL_CLIENT_PIXMAP_POINTER_HI 0x8F74 1009bf215546Sopenharmony_citypedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap); 1010bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1011bf215546Sopenharmony_ciEGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap); 1012bf215546Sopenharmony_ci#endif 1013bf215546Sopenharmony_ci#endif /* EGL_HI_clientpixmap */ 1014bf215546Sopenharmony_ci 1015bf215546Sopenharmony_ci#ifndef EGL_HI_colorformats 1016bf215546Sopenharmony_ci#define EGL_HI_colorformats 1 1017bf215546Sopenharmony_ci#define EGL_COLOR_FORMAT_HI 0x8F70 1018bf215546Sopenharmony_ci#define EGL_COLOR_RGB_HI 0x8F71 1019bf215546Sopenharmony_ci#define EGL_COLOR_RGBA_HI 0x8F72 1020bf215546Sopenharmony_ci#define EGL_COLOR_ARGB_HI 0x8F73 1021bf215546Sopenharmony_ci#endif /* EGL_HI_colorformats */ 1022bf215546Sopenharmony_ci 1023bf215546Sopenharmony_ci#ifndef EGL_IMG_context_priority 1024bf215546Sopenharmony_ci#define EGL_IMG_context_priority 1 1025bf215546Sopenharmony_ci#define EGL_CONTEXT_PRIORITY_LEVEL_IMG 0x3100 1026bf215546Sopenharmony_ci#define EGL_CONTEXT_PRIORITY_HIGH_IMG 0x3101 1027bf215546Sopenharmony_ci#define EGL_CONTEXT_PRIORITY_MEDIUM_IMG 0x3102 1028bf215546Sopenharmony_ci#define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103 1029bf215546Sopenharmony_ci#endif /* EGL_IMG_context_priority */ 1030bf215546Sopenharmony_ci 1031bf215546Sopenharmony_ci#ifndef EGL_IMG_image_plane_attribs 1032bf215546Sopenharmony_ci#define EGL_IMG_image_plane_attribs 1 1033bf215546Sopenharmony_ci#define EGL_NATIVE_BUFFER_MULTIPLANE_SEPARATE_IMG 0x3105 1034bf215546Sopenharmony_ci#define EGL_NATIVE_BUFFER_PLANE_OFFSET_IMG 0x3106 1035bf215546Sopenharmony_ci#endif /* EGL_IMG_image_plane_attribs */ 1036bf215546Sopenharmony_ci 1037bf215546Sopenharmony_ci#ifndef EGL_MESA_drm_image 1038bf215546Sopenharmony_ci#define EGL_MESA_drm_image 1 1039bf215546Sopenharmony_ci#define EGL_DRM_BUFFER_FORMAT_MESA 0x31D0 1040bf215546Sopenharmony_ci#define EGL_DRM_BUFFER_USE_MESA 0x31D1 1041bf215546Sopenharmony_ci#define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2 1042bf215546Sopenharmony_ci#define EGL_DRM_BUFFER_MESA 0x31D3 1043bf215546Sopenharmony_ci#define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4 1044bf215546Sopenharmony_ci#define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x00000001 1045bf215546Sopenharmony_ci#define EGL_DRM_BUFFER_USE_SHARE_MESA 0x00000002 1046bf215546Sopenharmony_ci#define EGL_DRM_BUFFER_USE_CURSOR_MESA 0x00000004 1047bf215546Sopenharmony_citypedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint *attrib_list); 1048bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); 1049bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1050bf215546Sopenharmony_ciEGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list); 1051bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); 1052bf215546Sopenharmony_ci#endif 1053bf215546Sopenharmony_ci#endif /* EGL_MESA_drm_image */ 1054bf215546Sopenharmony_ci 1055bf215546Sopenharmony_ci#ifndef EGL_MESA_image_dma_buf_export 1056bf215546Sopenharmony_ci#define EGL_MESA_image_dma_buf_export 1 1057bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, EGLuint64KHR *modifiers); 1058bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDMABUFIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets); 1059bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1060bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageQueryMESA (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, EGLuint64KHR *modifiers); 1061bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageMESA (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets); 1062bf215546Sopenharmony_ci#endif 1063bf215546Sopenharmony_ci#endif /* EGL_MESA_image_dma_buf_export */ 1064bf215546Sopenharmony_ci 1065bf215546Sopenharmony_ci#ifndef EGL_MESA_platform_gbm 1066bf215546Sopenharmony_ci#define EGL_MESA_platform_gbm 1 1067bf215546Sopenharmony_ci#define EGL_PLATFORM_GBM_MESA 0x31D7 1068bf215546Sopenharmony_ci#endif /* EGL_MESA_platform_gbm */ 1069bf215546Sopenharmony_ci 1070bf215546Sopenharmony_ci#ifndef EGL_MESA_platform_surfaceless 1071bf215546Sopenharmony_ci#define EGL_MESA_platform_surfaceless 1 1072bf215546Sopenharmony_ci#define EGL_PLATFORM_SURFACELESS_MESA 0x31DD 1073bf215546Sopenharmony_ci#endif /* EGL_MESA_platform_surfaceless */ 1074bf215546Sopenharmony_ci 1075bf215546Sopenharmony_ci#ifndef EGL_MESA_query_driver 1076bf215546Sopenharmony_ci#define EGL_MESA_query_driver 1 1077bf215546Sopenharmony_citypedef char *(EGLAPIENTRYP PFNEGLGETDISPLAYDRIVERCONFIGPROC) (EGLDisplay dpy); 1078bf215546Sopenharmony_citypedef const char *(EGLAPIENTRYP PFNEGLGETDISPLAYDRIVERNAMEPROC) (EGLDisplay dpy); 1079bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1080bf215546Sopenharmony_ciEGLAPI char *EGLAPIENTRY eglGetDisplayDriverConfig (EGLDisplay dpy); 1081bf215546Sopenharmony_ciEGLAPI const char *EGLAPIENTRY eglGetDisplayDriverName (EGLDisplay dpy); 1082bf215546Sopenharmony_ci#endif 1083bf215546Sopenharmony_ci#endif /* EGL_MESA_query_driver */ 1084bf215546Sopenharmony_ci 1085bf215546Sopenharmony_ci#ifndef EGL_NOK_swap_region 1086bf215546Sopenharmony_ci#define EGL_NOK_swap_region 1 1087bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); 1088bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1089bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); 1090bf215546Sopenharmony_ci#endif 1091bf215546Sopenharmony_ci#endif /* EGL_NOK_swap_region */ 1092bf215546Sopenharmony_ci 1093bf215546Sopenharmony_ci#ifndef EGL_NOK_swap_region2 1094bf215546Sopenharmony_ci#define EGL_NOK_swap_region2 1 1095bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); 1096bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1097bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); 1098bf215546Sopenharmony_ci#endif 1099bf215546Sopenharmony_ci#endif /* EGL_NOK_swap_region2 */ 1100bf215546Sopenharmony_ci 1101bf215546Sopenharmony_ci#ifndef EGL_NOK_texture_from_pixmap 1102bf215546Sopenharmony_ci#define EGL_NOK_texture_from_pixmap 1 1103bf215546Sopenharmony_ci#define EGL_Y_INVERTED_NOK 0x307F 1104bf215546Sopenharmony_ci#endif /* EGL_NOK_texture_from_pixmap */ 1105bf215546Sopenharmony_ci 1106bf215546Sopenharmony_ci#ifndef EGL_NV_3dvision_surface 1107bf215546Sopenharmony_ci#define EGL_NV_3dvision_surface 1 1108bf215546Sopenharmony_ci#define EGL_AUTO_STEREO_NV 0x3136 1109bf215546Sopenharmony_ci#endif /* EGL_NV_3dvision_surface */ 1110bf215546Sopenharmony_ci 1111bf215546Sopenharmony_ci#ifndef EGL_NV_context_priority_realtime 1112bf215546Sopenharmony_ci#define EGL_NV_context_priority_realtime 1 1113bf215546Sopenharmony_ci#define EGL_CONTEXT_PRIORITY_REALTIME_NV 0x3357 1114bf215546Sopenharmony_ci#endif /* EGL_NV_context_priority_realtime */ 1115bf215546Sopenharmony_ci 1116bf215546Sopenharmony_ci#ifndef EGL_NV_coverage_sample 1117bf215546Sopenharmony_ci#define EGL_NV_coverage_sample 1 1118bf215546Sopenharmony_ci#define EGL_COVERAGE_BUFFERS_NV 0x30E0 1119bf215546Sopenharmony_ci#define EGL_COVERAGE_SAMPLES_NV 0x30E1 1120bf215546Sopenharmony_ci#endif /* EGL_NV_coverage_sample */ 1121bf215546Sopenharmony_ci 1122bf215546Sopenharmony_ci#ifndef EGL_NV_coverage_sample_resolve 1123bf215546Sopenharmony_ci#define EGL_NV_coverage_sample_resolve 1 1124bf215546Sopenharmony_ci#define EGL_COVERAGE_SAMPLE_RESOLVE_NV 0x3131 1125bf215546Sopenharmony_ci#define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV 0x3132 1126bf215546Sopenharmony_ci#define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV 0x3133 1127bf215546Sopenharmony_ci#endif /* EGL_NV_coverage_sample_resolve */ 1128bf215546Sopenharmony_ci 1129bf215546Sopenharmony_ci#ifndef EGL_NV_cuda_event 1130bf215546Sopenharmony_ci#define EGL_NV_cuda_event 1 1131bf215546Sopenharmony_ci#define EGL_CUDA_EVENT_HANDLE_NV 0x323B 1132bf215546Sopenharmony_ci#define EGL_SYNC_CUDA_EVENT_NV 0x323C 1133bf215546Sopenharmony_ci#define EGL_SYNC_CUDA_EVENT_COMPLETE_NV 0x323D 1134bf215546Sopenharmony_ci#endif /* EGL_NV_cuda_event */ 1135bf215546Sopenharmony_ci 1136bf215546Sopenharmony_ci#ifndef EGL_NV_depth_nonlinear 1137bf215546Sopenharmony_ci#define EGL_NV_depth_nonlinear 1 1138bf215546Sopenharmony_ci#define EGL_DEPTH_ENCODING_NV 0x30E2 1139bf215546Sopenharmony_ci#define EGL_DEPTH_ENCODING_NONE_NV 0 1140bf215546Sopenharmony_ci#define EGL_DEPTH_ENCODING_NONLINEAR_NV 0x30E3 1141bf215546Sopenharmony_ci#endif /* EGL_NV_depth_nonlinear */ 1142bf215546Sopenharmony_ci 1143bf215546Sopenharmony_ci#ifndef EGL_NV_device_cuda 1144bf215546Sopenharmony_ci#define EGL_NV_device_cuda 1 1145bf215546Sopenharmony_ci#define EGL_CUDA_DEVICE_NV 0x323A 1146bf215546Sopenharmony_ci#endif /* EGL_NV_device_cuda */ 1147bf215546Sopenharmony_ci 1148bf215546Sopenharmony_ci#ifndef EGL_NV_native_query 1149bf215546Sopenharmony_ci#define EGL_NV_native_query 1 1150bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEDISPLAYNVPROC) (EGLDisplay dpy, EGLNativeDisplayType *display_id); 1151bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEWINDOWNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window); 1152bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap); 1153bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1154bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayType *display_id); 1155bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window); 1156bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap); 1157bf215546Sopenharmony_ci#endif 1158bf215546Sopenharmony_ci#endif /* EGL_NV_native_query */ 1159bf215546Sopenharmony_ci 1160bf215546Sopenharmony_ci#ifndef EGL_NV_post_convert_rounding 1161bf215546Sopenharmony_ci#define EGL_NV_post_convert_rounding 1 1162bf215546Sopenharmony_ci#endif /* EGL_NV_post_convert_rounding */ 1163bf215546Sopenharmony_ci 1164bf215546Sopenharmony_ci#ifndef EGL_NV_post_sub_buffer 1165bf215546Sopenharmony_ci#define EGL_NV_post_sub_buffer 1 1166bf215546Sopenharmony_ci#define EGL_POST_SUB_BUFFER_SUPPORTED_NV 0x30BE 1167bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); 1168bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1169bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); 1170bf215546Sopenharmony_ci#endif 1171bf215546Sopenharmony_ci#endif /* EGL_NV_post_sub_buffer */ 1172bf215546Sopenharmony_ci 1173bf215546Sopenharmony_ci#ifndef EGL_NV_quadruple_buffer 1174bf215546Sopenharmony_ci#define EGL_NV_quadruple_buffer 1 1175bf215546Sopenharmony_ci#define EGL_QUADRUPLE_BUFFER_NV 0x3231 1176bf215546Sopenharmony_ci#endif /* EGL_NV_quadruple_buffer */ 1177bf215546Sopenharmony_ci 1178bf215546Sopenharmony_ci#ifndef EGL_NV_robustness_video_memory_purge 1179bf215546Sopenharmony_ci#define EGL_NV_robustness_video_memory_purge 1 1180bf215546Sopenharmony_ci#define EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV 0x334C 1181bf215546Sopenharmony_ci#endif /* EGL_NV_robustness_video_memory_purge */ 1182bf215546Sopenharmony_ci 1183bf215546Sopenharmony_ci#ifndef EGL_NV_stream_consumer_eglimage 1184bf215546Sopenharmony_ci#define EGL_NV_stream_consumer_eglimage 1 1185bf215546Sopenharmony_ci#define EGL_STREAM_CONSUMER_IMAGE_NV 0x3373 1186bf215546Sopenharmony_ci#define EGL_STREAM_IMAGE_ADD_NV 0x3374 1187bf215546Sopenharmony_ci#define EGL_STREAM_IMAGE_REMOVE_NV 0x3375 1188bf215546Sopenharmony_ci#define EGL_STREAM_IMAGE_AVAILABLE_NV 0x3376 1189bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR *modifiers, EGLAttrib *attrib_list); 1190bf215546Sopenharmony_citypedef EGLint (EGLAPIENTRYP PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux); 1191bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMACQUIREIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync); 1192bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMRELEASEIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync); 1193bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1194bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamImageConsumerConnectNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR *modifiers, EGLAttrib *attrib_list); 1195bf215546Sopenharmony_ciEGLAPI EGLint EGLAPIENTRY eglQueryStreamConsumerEventNV (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux); 1196bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamAcquireImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync); 1197bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamReleaseImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync); 1198bf215546Sopenharmony_ci#endif 1199bf215546Sopenharmony_ci#endif /* EGL_NV_stream_consumer_eglimage */ 1200bf215546Sopenharmony_ci 1201bf215546Sopenharmony_ci#ifndef EGL_NV_stream_consumer_gltexture_yuv 1202bf215546Sopenharmony_ci#define EGL_NV_stream_consumer_gltexture_yuv 1 1203bf215546Sopenharmony_ci#define EGL_YUV_PLANE0_TEXTURE_UNIT_NV 0x332C 1204bf215546Sopenharmony_ci#define EGL_YUV_PLANE1_TEXTURE_UNIT_NV 0x332D 1205bf215546Sopenharmony_ci#define EGL_YUV_PLANE2_TEXTURE_UNIT_NV 0x332E 1206bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); 1207bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1208bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalAttribsNV (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); 1209bf215546Sopenharmony_ci#endif 1210bf215546Sopenharmony_ci#endif /* EGL_NV_stream_consumer_gltexture_yuv */ 1211bf215546Sopenharmony_ci 1212bf215546Sopenharmony_ci#ifndef EGL_NV_stream_cross_display 1213bf215546Sopenharmony_ci#define EGL_NV_stream_cross_display 1 1214bf215546Sopenharmony_ci#define EGL_STREAM_CROSS_DISPLAY_NV 0x334E 1215bf215546Sopenharmony_ci#endif /* EGL_NV_stream_cross_display */ 1216bf215546Sopenharmony_ci 1217bf215546Sopenharmony_ci#ifndef EGL_NV_stream_cross_object 1218bf215546Sopenharmony_ci#define EGL_NV_stream_cross_object 1 1219bf215546Sopenharmony_ci#define EGL_STREAM_CROSS_OBJECT_NV 0x334D 1220bf215546Sopenharmony_ci#endif /* EGL_NV_stream_cross_object */ 1221bf215546Sopenharmony_ci 1222bf215546Sopenharmony_ci#ifndef EGL_NV_stream_cross_partition 1223bf215546Sopenharmony_ci#define EGL_NV_stream_cross_partition 1 1224bf215546Sopenharmony_ci#define EGL_STREAM_CROSS_PARTITION_NV 0x323F 1225bf215546Sopenharmony_ci#endif /* EGL_NV_stream_cross_partition */ 1226bf215546Sopenharmony_ci 1227bf215546Sopenharmony_ci#ifndef EGL_NV_stream_cross_process 1228bf215546Sopenharmony_ci#define EGL_NV_stream_cross_process 1 1229bf215546Sopenharmony_ci#define EGL_STREAM_CROSS_PROCESS_NV 0x3245 1230bf215546Sopenharmony_ci#endif /* EGL_NV_stream_cross_process */ 1231bf215546Sopenharmony_ci 1232bf215546Sopenharmony_ci#ifndef EGL_NV_stream_cross_system 1233bf215546Sopenharmony_ci#define EGL_NV_stream_cross_system 1 1234bf215546Sopenharmony_ci#define EGL_STREAM_CROSS_SYSTEM_NV 0x334F 1235bf215546Sopenharmony_ci#endif /* EGL_NV_stream_cross_system */ 1236bf215546Sopenharmony_ci 1237bf215546Sopenharmony_ci#ifndef EGL_NV_stream_dma 1238bf215546Sopenharmony_ci#define EGL_NV_stream_dma 1 1239bf215546Sopenharmony_ci#define EGL_STREAM_DMA_NV 0x3371 1240bf215546Sopenharmony_ci#define EGL_STREAM_DMA_SERVER_NV 0x3372 1241bf215546Sopenharmony_ci#endif /* EGL_NV_stream_dma */ 1242bf215546Sopenharmony_ci 1243bf215546Sopenharmony_ci#ifndef EGL_NV_stream_fifo_next 1244bf215546Sopenharmony_ci#define EGL_NV_stream_fifo_next 1 1245bf215546Sopenharmony_ci#define EGL_PENDING_FRAME_NV 0x3329 1246bf215546Sopenharmony_ci#define EGL_STREAM_TIME_PENDING_NV 0x332A 1247bf215546Sopenharmony_ci#endif /* EGL_NV_stream_fifo_next */ 1248bf215546Sopenharmony_ci 1249bf215546Sopenharmony_ci#ifndef EGL_NV_stream_fifo_synchronous 1250bf215546Sopenharmony_ci#define EGL_NV_stream_fifo_synchronous 1 1251bf215546Sopenharmony_ci#define EGL_STREAM_FIFO_SYNCHRONOUS_NV 0x3336 1252bf215546Sopenharmony_ci#endif /* EGL_NV_stream_fifo_synchronous */ 1253bf215546Sopenharmony_ci 1254bf215546Sopenharmony_ci#ifndef EGL_NV_stream_flush 1255bf215546Sopenharmony_ci#define EGL_NV_stream_flush 1 1256bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMFLUSHNVPROC) (EGLDisplay dpy, EGLStreamKHR stream); 1257bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1258bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglStreamFlushNV (EGLDisplay dpy, EGLStreamKHR stream); 1259bf215546Sopenharmony_ci#endif 1260bf215546Sopenharmony_ci#endif /* EGL_NV_stream_flush */ 1261bf215546Sopenharmony_ci 1262bf215546Sopenharmony_ci#ifndef EGL_NV_stream_frame_limits 1263bf215546Sopenharmony_ci#define EGL_NV_stream_frame_limits 1 1264bf215546Sopenharmony_ci#define EGL_PRODUCER_MAX_FRAME_HINT_NV 0x3337 1265bf215546Sopenharmony_ci#define EGL_CONSUMER_MAX_FRAME_HINT_NV 0x3338 1266bf215546Sopenharmony_ci#endif /* EGL_NV_stream_frame_limits */ 1267bf215546Sopenharmony_ci 1268bf215546Sopenharmony_ci#ifndef EGL_NV_stream_metadata 1269bf215546Sopenharmony_ci#define EGL_NV_stream_metadata 1 1270bf215546Sopenharmony_ci#define EGL_MAX_STREAM_METADATA_BLOCKS_NV 0x3250 1271bf215546Sopenharmony_ci#define EGL_MAX_STREAM_METADATA_BLOCK_SIZE_NV 0x3251 1272bf215546Sopenharmony_ci#define EGL_MAX_STREAM_METADATA_TOTAL_SIZE_NV 0x3252 1273bf215546Sopenharmony_ci#define EGL_PRODUCER_METADATA_NV 0x3253 1274bf215546Sopenharmony_ci#define EGL_CONSUMER_METADATA_NV 0x3254 1275bf215546Sopenharmony_ci#define EGL_PENDING_METADATA_NV 0x3328 1276bf215546Sopenharmony_ci#define EGL_METADATA0_SIZE_NV 0x3255 1277bf215546Sopenharmony_ci#define EGL_METADATA1_SIZE_NV 0x3256 1278bf215546Sopenharmony_ci#define EGL_METADATA2_SIZE_NV 0x3257 1279bf215546Sopenharmony_ci#define EGL_METADATA3_SIZE_NV 0x3258 1280bf215546Sopenharmony_ci#define EGL_METADATA0_TYPE_NV 0x3259 1281bf215546Sopenharmony_ci#define EGL_METADATA1_TYPE_NV 0x325A 1282bf215546Sopenharmony_ci#define EGL_METADATA2_TYPE_NV 0x325B 1283bf215546Sopenharmony_ci#define EGL_METADATA3_TYPE_NV 0x325C 1284bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBNVPROC) (EGLDisplay dpy, EGLint attribute, EGLAttrib *value); 1285bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSETSTREAMMETADATANVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLint n, EGLint offset, EGLint size, const void *data); 1286bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMMETADATANVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum name, EGLint n, EGLint offset, EGLint size, void *data); 1287bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1288bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribNV (EGLDisplay dpy, EGLint attribute, EGLAttrib *value); 1289bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSetStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint n, EGLint offset, EGLint size, const void *data); 1290bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum name, EGLint n, EGLint offset, EGLint size, void *data); 1291bf215546Sopenharmony_ci#endif 1292bf215546Sopenharmony_ci#endif /* EGL_NV_stream_metadata */ 1293bf215546Sopenharmony_ci 1294bf215546Sopenharmony_ci#ifndef EGL_NV_stream_origin 1295bf215546Sopenharmony_ci#define EGL_NV_stream_origin 1 1296bf215546Sopenharmony_ci#define EGL_STREAM_FRAME_ORIGIN_X_NV 0x3366 1297bf215546Sopenharmony_ci#define EGL_STREAM_FRAME_ORIGIN_Y_NV 0x3367 1298bf215546Sopenharmony_ci#define EGL_STREAM_FRAME_MAJOR_AXIS_NV 0x3368 1299bf215546Sopenharmony_ci#define EGL_CONSUMER_AUTO_ORIENTATION_NV 0x3369 1300bf215546Sopenharmony_ci#define EGL_PRODUCER_AUTO_ORIENTATION_NV 0x336A 1301bf215546Sopenharmony_ci#define EGL_LEFT_NV 0x336B 1302bf215546Sopenharmony_ci#define EGL_RIGHT_NV 0x336C 1303bf215546Sopenharmony_ci#define EGL_TOP_NV 0x336D 1304bf215546Sopenharmony_ci#define EGL_BOTTOM_NV 0x336E 1305bf215546Sopenharmony_ci#define EGL_X_AXIS_NV 0x336F 1306bf215546Sopenharmony_ci#define EGL_Y_AXIS_NV 0x3370 1307bf215546Sopenharmony_ci#endif /* EGL_NV_stream_origin */ 1308bf215546Sopenharmony_ci 1309bf215546Sopenharmony_ci#ifndef EGL_NV_stream_remote 1310bf215546Sopenharmony_ci#define EGL_NV_stream_remote 1 1311bf215546Sopenharmony_ci#define EGL_STREAM_STATE_INITIALIZING_NV 0x3240 1312bf215546Sopenharmony_ci#define EGL_STREAM_TYPE_NV 0x3241 1313bf215546Sopenharmony_ci#define EGL_STREAM_PROTOCOL_NV 0x3242 1314bf215546Sopenharmony_ci#define EGL_STREAM_ENDPOINT_NV 0x3243 1315bf215546Sopenharmony_ci#define EGL_STREAM_LOCAL_NV 0x3244 1316bf215546Sopenharmony_ci#define EGL_STREAM_PRODUCER_NV 0x3247 1317bf215546Sopenharmony_ci#define EGL_STREAM_CONSUMER_NV 0x3248 1318bf215546Sopenharmony_ci#define EGL_STREAM_PROTOCOL_FD_NV 0x3246 1319bf215546Sopenharmony_ci#endif /* EGL_NV_stream_remote */ 1320bf215546Sopenharmony_ci 1321bf215546Sopenharmony_ci#ifndef EGL_NV_stream_reset 1322bf215546Sopenharmony_ci#define EGL_NV_stream_reset 1 1323bf215546Sopenharmony_ci#define EGL_SUPPORT_RESET_NV 0x3334 1324bf215546Sopenharmony_ci#define EGL_SUPPORT_REUSE_NV 0x3335 1325bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLRESETSTREAMNVPROC) (EGLDisplay dpy, EGLStreamKHR stream); 1326bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1327bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglResetStreamNV (EGLDisplay dpy, EGLStreamKHR stream); 1328bf215546Sopenharmony_ci#endif 1329bf215546Sopenharmony_ci#endif /* EGL_NV_stream_reset */ 1330bf215546Sopenharmony_ci 1331bf215546Sopenharmony_ci#ifndef EGL_NV_stream_socket 1332bf215546Sopenharmony_ci#define EGL_NV_stream_socket 1 1333bf215546Sopenharmony_ci#define EGL_STREAM_PROTOCOL_SOCKET_NV 0x324B 1334bf215546Sopenharmony_ci#define EGL_SOCKET_HANDLE_NV 0x324C 1335bf215546Sopenharmony_ci#define EGL_SOCKET_TYPE_NV 0x324D 1336bf215546Sopenharmony_ci#endif /* EGL_NV_stream_socket */ 1337bf215546Sopenharmony_ci 1338bf215546Sopenharmony_ci#ifndef EGL_NV_stream_socket_inet 1339bf215546Sopenharmony_ci#define EGL_NV_stream_socket_inet 1 1340bf215546Sopenharmony_ci#define EGL_SOCKET_TYPE_INET_NV 0x324F 1341bf215546Sopenharmony_ci#endif /* EGL_NV_stream_socket_inet */ 1342bf215546Sopenharmony_ci 1343bf215546Sopenharmony_ci#ifndef EGL_NV_stream_socket_unix 1344bf215546Sopenharmony_ci#define EGL_NV_stream_socket_unix 1 1345bf215546Sopenharmony_ci#define EGL_SOCKET_TYPE_UNIX_NV 0x324E 1346bf215546Sopenharmony_ci#endif /* EGL_NV_stream_socket_unix */ 1347bf215546Sopenharmony_ci 1348bf215546Sopenharmony_ci#ifndef EGL_NV_stream_sync 1349bf215546Sopenharmony_ci#define EGL_NV_stream_sync 1 1350bf215546Sopenharmony_ci#define EGL_SYNC_NEW_FRAME_NV 0x321F 1351bf215546Sopenharmony_citypedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESTREAMSYNCNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list); 1352bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1353bf215546Sopenharmony_ciEGLAPI EGLSyncKHR EGLAPIENTRY eglCreateStreamSyncNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list); 1354bf215546Sopenharmony_ci#endif 1355bf215546Sopenharmony_ci#endif /* EGL_NV_stream_sync */ 1356bf215546Sopenharmony_ci 1357bf215546Sopenharmony_ci#ifndef EGL_NV_sync 1358bf215546Sopenharmony_ci#define EGL_NV_sync 1 1359bf215546Sopenharmony_citypedef void *EGLSyncNV; 1360bf215546Sopenharmony_citypedef khronos_utime_nanoseconds_t EGLTimeNV; 1361bf215546Sopenharmony_ci#ifdef KHRONOS_SUPPORT_INT64 1362bf215546Sopenharmony_ci#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV 0x30E6 1363bf215546Sopenharmony_ci#define EGL_SYNC_STATUS_NV 0x30E7 1364bf215546Sopenharmony_ci#define EGL_SIGNALED_NV 0x30E8 1365bf215546Sopenharmony_ci#define EGL_UNSIGNALED_NV 0x30E9 1366bf215546Sopenharmony_ci#define EGL_SYNC_FLUSH_COMMANDS_BIT_NV 0x0001 1367bf215546Sopenharmony_ci#define EGL_FOREVER_NV 0xFFFFFFFFFFFFFFFFull 1368bf215546Sopenharmony_ci#define EGL_ALREADY_SIGNALED_NV 0x30EA 1369bf215546Sopenharmony_ci#define EGL_TIMEOUT_EXPIRED_NV 0x30EB 1370bf215546Sopenharmony_ci#define EGL_CONDITION_SATISFIED_NV 0x30EC 1371bf215546Sopenharmony_ci#define EGL_SYNC_TYPE_NV 0x30ED 1372bf215546Sopenharmony_ci#define EGL_SYNC_CONDITION_NV 0x30EE 1373bf215546Sopenharmony_ci#define EGL_SYNC_FENCE_NV 0x30EF 1374bf215546Sopenharmony_ci#define EGL_NO_SYNC_NV EGL_CAST(EGLSyncNV,0) 1375bf215546Sopenharmony_citypedef EGLSyncNV (EGLAPIENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); 1376bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV sync); 1377bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLFENCENVPROC) (EGLSyncNV sync); 1378bf215546Sopenharmony_citypedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); 1379bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode); 1380bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLint *value); 1381bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1382bf215546Sopenharmony_ciEGLAPI EGLSyncNV EGLAPIENTRY eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); 1383bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncNV (EGLSyncNV sync); 1384bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglFenceNV (EGLSyncNV sync); 1385bf215546Sopenharmony_ciEGLAPI EGLint EGLAPIENTRY eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); 1386bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncNV (EGLSyncNV sync, EGLenum mode); 1387bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value); 1388bf215546Sopenharmony_ci#endif 1389bf215546Sopenharmony_ci#endif /* KHRONOS_SUPPORT_INT64 */ 1390bf215546Sopenharmony_ci#endif /* EGL_NV_sync */ 1391bf215546Sopenharmony_ci 1392bf215546Sopenharmony_ci#ifndef EGL_NV_system_time 1393bf215546Sopenharmony_ci#define EGL_NV_system_time 1 1394bf215546Sopenharmony_citypedef khronos_utime_nanoseconds_t EGLuint64NV; 1395bf215546Sopenharmony_ci#ifdef KHRONOS_SUPPORT_INT64 1396bf215546Sopenharmony_citypedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) (void); 1397bf215546Sopenharmony_citypedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) (void); 1398bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1399bf215546Sopenharmony_ciEGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV (void); 1400bf215546Sopenharmony_ciEGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void); 1401bf215546Sopenharmony_ci#endif 1402bf215546Sopenharmony_ci#endif /* KHRONOS_SUPPORT_INT64 */ 1403bf215546Sopenharmony_ci#endif /* EGL_NV_system_time */ 1404bf215546Sopenharmony_ci 1405bf215546Sopenharmony_ci#ifndef EGL_NV_triple_buffer 1406bf215546Sopenharmony_ci#define EGL_NV_triple_buffer 1 1407bf215546Sopenharmony_ci#define EGL_TRIPLE_BUFFER_NV 0x3230 1408bf215546Sopenharmony_ci#endif /* EGL_NV_triple_buffer */ 1409bf215546Sopenharmony_ci 1410bf215546Sopenharmony_ci#ifndef EGL_OHOS_image_native_buffer 1411bf215546Sopenharmony_ci#define EGL_OHOS_image_native_buffer 1 1412bf215546Sopenharmony_ci#define EGL_NATIVE_BUFFER_OHOS 0x34E1 1413bf215546Sopenharmony_ci#endif /* EGL_OHOS_image_native_buffer */ 1414bf215546Sopenharmony_ci 1415bf215546Sopenharmony_ci#ifndef EGL_TIZEN_image_native_buffer 1416bf215546Sopenharmony_ci#define EGL_TIZEN_image_native_buffer 1 1417bf215546Sopenharmony_ci#define EGL_NATIVE_BUFFER_TIZEN 0x32A0 1418bf215546Sopenharmony_ci#endif /* EGL_TIZEN_image_native_buffer */ 1419bf215546Sopenharmony_ci 1420bf215546Sopenharmony_ci#ifndef EGL_TIZEN_image_native_surface 1421bf215546Sopenharmony_ci#define EGL_TIZEN_image_native_surface 1 1422bf215546Sopenharmony_ci#define EGL_NATIVE_SURFACE_TIZEN 0x32A1 1423bf215546Sopenharmony_ci#endif /* EGL_TIZEN_image_native_surface */ 1424bf215546Sopenharmony_ci 1425bf215546Sopenharmony_ci#ifndef EGL_WL_bind_wayland_display 1426bf215546Sopenharmony_ci#define EGL_WL_bind_wayland_display 1 1427bf215546Sopenharmony_ci#define PFNEGLBINDWAYLANDDISPLAYWL PFNEGLBINDWAYLANDDISPLAYWLPROC 1428bf215546Sopenharmony_ci#define PFNEGLUNBINDWAYLANDDISPLAYWL PFNEGLUNBINDWAYLANDDISPLAYWLPROC 1429bf215546Sopenharmony_ci#define PFNEGLQUERYWAYLANDBUFFERWL PFNEGLQUERYWAYLANDBUFFERWLPROC 1430bf215546Sopenharmony_cistruct wl_display; 1431bf215546Sopenharmony_cistruct wl_resource; 1432bf215546Sopenharmony_ci#define EGL_WAYLAND_BUFFER_WL 0x31D5 1433bf215546Sopenharmony_ci#define EGL_WAYLAND_PLANE_WL 0x31D6 1434bf215546Sopenharmony_ci#define EGL_TEXTURE_Y_U_V_WL 0x31D7 1435bf215546Sopenharmony_ci#define EGL_TEXTURE_Y_UV_WL 0x31D8 1436bf215546Sopenharmony_ci#define EGL_TEXTURE_Y_XUXV_WL 0x31D9 1437bf215546Sopenharmony_ci#define EGL_TEXTURE_EXTERNAL_WL 0x31DA 1438bf215546Sopenharmony_ci#define EGL_WAYLAND_Y_INVERTED_WL 0x31DB 1439bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDWAYLANDDISPLAYWLPROC) (EGLDisplay dpy, struct wl_display *display); 1440bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLUNBINDWAYLANDDISPLAYWLPROC) (EGLDisplay dpy, struct wl_display *display); 1441bf215546Sopenharmony_citypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWLPROC) (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value); 1442bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1443bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglBindWaylandDisplayWL (EGLDisplay dpy, struct wl_display *display); 1444bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglUnbindWaylandDisplayWL (EGLDisplay dpy, struct wl_display *display); 1445bf215546Sopenharmony_ciEGLAPI EGLBoolean EGLAPIENTRY eglQueryWaylandBufferWL (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value); 1446bf215546Sopenharmony_ci#endif 1447bf215546Sopenharmony_ci#endif /* EGL_WL_bind_wayland_display */ 1448bf215546Sopenharmony_ci 1449bf215546Sopenharmony_ci#ifndef EGL_WL_create_wayland_buffer_from_image 1450bf215546Sopenharmony_ci#define EGL_WL_create_wayland_buffer_from_image 1 1451bf215546Sopenharmony_ci#define PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWL PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC 1452bf215546Sopenharmony_cistruct wl_buffer; 1453bf215546Sopenharmony_citypedef struct wl_buffer *(EGLAPIENTRYP PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC) (EGLDisplay dpy, EGLImageKHR image); 1454bf215546Sopenharmony_ci#ifdef EGL_EGLEXT_PROTOTYPES 1455bf215546Sopenharmony_ciEGLAPI struct wl_buffer *EGLAPIENTRY eglCreateWaylandBufferFromImageWL (EGLDisplay dpy, EGLImageKHR image); 1456bf215546Sopenharmony_ci#endif 1457bf215546Sopenharmony_ci#endif /* EGL_WL_create_wayland_buffer_from_image */ 1458bf215546Sopenharmony_ci 1459bf215546Sopenharmony_ci#ifdef __cplusplus 1460bf215546Sopenharmony_ci} 1461bf215546Sopenharmony_ci#endif 1462bf215546Sopenharmony_ci 1463bf215546Sopenharmony_ci#endif 1464