1cb93a386Sopenharmony_ci#ifndef __gles2_gl2ext_h_ 2cb93a386Sopenharmony_ci#define __gles2_gl2ext_h_ 1 3cb93a386Sopenharmony_ci 4cb93a386Sopenharmony_ci#ifdef __cplusplus 5cb93a386Sopenharmony_ciextern "C" { 6cb93a386Sopenharmony_ci#endif 7cb93a386Sopenharmony_ci 8cb93a386Sopenharmony_ci/* 9cb93a386Sopenharmony_ci** Copyright (c) 2013-2017 The Khronos Group Inc. 10cb93a386Sopenharmony_ci** 11cb93a386Sopenharmony_ci** Permission is hereby granted, free of charge, to any person obtaining a 12cb93a386Sopenharmony_ci** copy of this software and/or associated documentation files (the 13cb93a386Sopenharmony_ci** "Materials"), to deal in the Materials without restriction, including 14cb93a386Sopenharmony_ci** without limitation the rights to use, copy, modify, merge, publish, 15cb93a386Sopenharmony_ci** distribute, sublicense, and/or sell copies of the Materials, and to 16cb93a386Sopenharmony_ci** permit persons to whom the Materials are furnished to do so, subject to 17cb93a386Sopenharmony_ci** the following conditions: 18cb93a386Sopenharmony_ci** 19cb93a386Sopenharmony_ci** The above copyright notice and this permission notice shall be included 20cb93a386Sopenharmony_ci** in all copies or substantial portions of the Materials. 21cb93a386Sopenharmony_ci** 22cb93a386Sopenharmony_ci** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 23cb93a386Sopenharmony_ci** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 24cb93a386Sopenharmony_ci** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 25cb93a386Sopenharmony_ci** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 26cb93a386Sopenharmony_ci** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 27cb93a386Sopenharmony_ci** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 28cb93a386Sopenharmony_ci** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 29cb93a386Sopenharmony_ci*/ 30cb93a386Sopenharmony_ci/* 31cb93a386Sopenharmony_ci** This header is generated from the Khronos OpenGL / OpenGL ES XML 32cb93a386Sopenharmony_ci** API Registry. The current version of the Registry, generator scripts 33cb93a386Sopenharmony_ci** used to make the header, and the header can be found at 34cb93a386Sopenharmony_ci** https://github.com/KhronosGroup/OpenGL-Registry 35cb93a386Sopenharmony_ci*/ 36cb93a386Sopenharmony_ci 37cb93a386Sopenharmony_ci#ifndef GL_APIENTRYP 38cb93a386Sopenharmony_ci#define GL_APIENTRYP GL_APIENTRY* 39cb93a386Sopenharmony_ci#endif 40cb93a386Sopenharmony_ci 41cb93a386Sopenharmony_ci/* Generated on date 20180316 */ 42cb93a386Sopenharmony_ci 43cb93a386Sopenharmony_ci/* Generated C header for: 44cb93a386Sopenharmony_ci * API: gles2 45cb93a386Sopenharmony_ci * Profile: common 46cb93a386Sopenharmony_ci * Versions considered: 2\.[0-9] 47cb93a386Sopenharmony_ci * Versions emitted: _nomatch_^ 48cb93a386Sopenharmony_ci * Default extensions included: gles2 49cb93a386Sopenharmony_ci * Additional extensions included: _nomatch_^ 50cb93a386Sopenharmony_ci * Extensions removed: _nomatch_^ 51cb93a386Sopenharmony_ci */ 52cb93a386Sopenharmony_ci 53cb93a386Sopenharmony_ci#ifndef GL_KHR_blend_equation_advanced 54cb93a386Sopenharmony_ci#define GL_KHR_blend_equation_advanced 1 55cb93a386Sopenharmony_ci#define GL_MULTIPLY_KHR 0x9294 56cb93a386Sopenharmony_ci#define GL_SCREEN_KHR 0x9295 57cb93a386Sopenharmony_ci#define GL_OVERLAY_KHR 0x9296 58cb93a386Sopenharmony_ci#define GL_DARKEN_KHR 0x9297 59cb93a386Sopenharmony_ci#define GL_LIGHTEN_KHR 0x9298 60cb93a386Sopenharmony_ci#define GL_COLORDODGE_KHR 0x9299 61cb93a386Sopenharmony_ci#define GL_COLORBURN_KHR 0x929A 62cb93a386Sopenharmony_ci#define GL_HARDLIGHT_KHR 0x929B 63cb93a386Sopenharmony_ci#define GL_SOFTLIGHT_KHR 0x929C 64cb93a386Sopenharmony_ci#define GL_DIFFERENCE_KHR 0x929E 65cb93a386Sopenharmony_ci#define GL_EXCLUSION_KHR 0x92A0 66cb93a386Sopenharmony_ci#define GL_HSL_HUE_KHR 0x92AD 67cb93a386Sopenharmony_ci#define GL_HSL_SATURATION_KHR 0x92AE 68cb93a386Sopenharmony_ci#define GL_HSL_COLOR_KHR 0x92AF 69cb93a386Sopenharmony_ci#define GL_HSL_LUMINOSITY_KHR 0x92B0 70cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void); 71cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 72cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBlendBarrierKHR (void); 73cb93a386Sopenharmony_ci#endif 74cb93a386Sopenharmony_ci#endif /* GL_KHR_blend_equation_advanced */ 75cb93a386Sopenharmony_ci 76cb93a386Sopenharmony_ci#ifndef GL_KHR_blend_equation_advanced_coherent 77cb93a386Sopenharmony_ci#define GL_KHR_blend_equation_advanced_coherent 1 78cb93a386Sopenharmony_ci#define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285 79cb93a386Sopenharmony_ci#endif /* GL_KHR_blend_equation_advanced_coherent */ 80cb93a386Sopenharmony_ci 81cb93a386Sopenharmony_ci#ifndef GL_KHR_context_flush_control 82cb93a386Sopenharmony_ci#define GL_KHR_context_flush_control 1 83cb93a386Sopenharmony_ci#define GL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x82FB 84cb93a386Sopenharmony_ci#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x82FC 85cb93a386Sopenharmony_ci#endif /* GL_KHR_context_flush_control */ 86cb93a386Sopenharmony_ci 87cb93a386Sopenharmony_ci#ifndef GL_KHR_debug 88cb93a386Sopenharmony_ci#define GL_KHR_debug 1 89cb93a386Sopenharmony_citypedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); 90cb93a386Sopenharmony_ci#define GL_SAMPLER 0x82E6 91cb93a386Sopenharmony_ci#define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242 92cb93a386Sopenharmony_ci#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243 93cb93a386Sopenharmony_ci#define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244 94cb93a386Sopenharmony_ci#define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245 95cb93a386Sopenharmony_ci#define GL_DEBUG_SOURCE_API_KHR 0x8246 96cb93a386Sopenharmony_ci#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247 97cb93a386Sopenharmony_ci#define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248 98cb93a386Sopenharmony_ci#define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249 99cb93a386Sopenharmony_ci#define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A 100cb93a386Sopenharmony_ci#define GL_DEBUG_SOURCE_OTHER_KHR 0x824B 101cb93a386Sopenharmony_ci#define GL_DEBUG_TYPE_ERROR_KHR 0x824C 102cb93a386Sopenharmony_ci#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D 103cb93a386Sopenharmony_ci#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E 104cb93a386Sopenharmony_ci#define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F 105cb93a386Sopenharmony_ci#define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250 106cb93a386Sopenharmony_ci#define GL_DEBUG_TYPE_OTHER_KHR 0x8251 107cb93a386Sopenharmony_ci#define GL_DEBUG_TYPE_MARKER_KHR 0x8268 108cb93a386Sopenharmony_ci#define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269 109cb93a386Sopenharmony_ci#define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A 110cb93a386Sopenharmony_ci#define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B 111cb93a386Sopenharmony_ci#define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C 112cb93a386Sopenharmony_ci#define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D 113cb93a386Sopenharmony_ci#define GL_BUFFER_KHR 0x82E0 114cb93a386Sopenharmony_ci#define GL_SHADER_KHR 0x82E1 115cb93a386Sopenharmony_ci#define GL_PROGRAM_KHR 0x82E2 116cb93a386Sopenharmony_ci#define GL_VERTEX_ARRAY_KHR 0x8074 117cb93a386Sopenharmony_ci#define GL_QUERY_KHR 0x82E3 118cb93a386Sopenharmony_ci#define GL_PROGRAM_PIPELINE_KHR 0x82E4 119cb93a386Sopenharmony_ci#define GL_SAMPLER_KHR 0x82E6 120cb93a386Sopenharmony_ci#define GL_MAX_LABEL_LENGTH_KHR 0x82E8 121cb93a386Sopenharmony_ci#define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143 122cb93a386Sopenharmony_ci#define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144 123cb93a386Sopenharmony_ci#define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145 124cb93a386Sopenharmony_ci#define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146 125cb93a386Sopenharmony_ci#define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147 126cb93a386Sopenharmony_ci#define GL_DEBUG_SEVERITY_LOW_KHR 0x9148 127cb93a386Sopenharmony_ci#define GL_DEBUG_OUTPUT_KHR 0x92E0 128cb93a386Sopenharmony_ci#define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002 129cb93a386Sopenharmony_ci#define GL_STACK_OVERFLOW_KHR 0x0503 130cb93a386Sopenharmony_ci#define GL_STACK_UNDERFLOW_KHR 0x0504 131cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 132cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 133cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam); 134cb93a386Sopenharmony_citypedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 135cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); 136cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void); 137cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); 138cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); 139cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label); 140cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); 141cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params); 142cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 143cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 144cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 145cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam); 146cb93a386Sopenharmony_ciGL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 147cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message); 148cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void); 149cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); 150cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); 151cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label); 152cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); 153cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params); 154cb93a386Sopenharmony_ci#endif 155cb93a386Sopenharmony_ci#endif /* GL_KHR_debug */ 156cb93a386Sopenharmony_ci 157cb93a386Sopenharmony_ci#ifndef GL_KHR_no_error 158cb93a386Sopenharmony_ci#define GL_KHR_no_error 1 159cb93a386Sopenharmony_ci#define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008 160cb93a386Sopenharmony_ci#endif /* GL_KHR_no_error */ 161cb93a386Sopenharmony_ci 162cb93a386Sopenharmony_ci#ifndef GL_KHR_parallel_shader_compile 163cb93a386Sopenharmony_ci#define GL_KHR_parallel_shader_compile 1 164cb93a386Sopenharmony_ci#define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0 165cb93a386Sopenharmony_ci#define GL_COMPLETION_STATUS_KHR 0x91B1 166cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count); 167cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 168cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count); 169cb93a386Sopenharmony_ci#endif 170cb93a386Sopenharmony_ci#endif /* GL_KHR_parallel_shader_compile */ 171cb93a386Sopenharmony_ci 172cb93a386Sopenharmony_ci#ifndef GL_KHR_robust_buffer_access_behavior 173cb93a386Sopenharmony_ci#define GL_KHR_robust_buffer_access_behavior 1 174cb93a386Sopenharmony_ci#endif /* GL_KHR_robust_buffer_access_behavior */ 175cb93a386Sopenharmony_ci 176cb93a386Sopenharmony_ci#ifndef GL_KHR_robustness 177cb93a386Sopenharmony_ci#define GL_KHR_robustness 1 178cb93a386Sopenharmony_ci#define GL_CONTEXT_ROBUST_ACCESS_KHR 0x90F3 179cb93a386Sopenharmony_ci#define GL_LOSE_CONTEXT_ON_RESET_KHR 0x8252 180cb93a386Sopenharmony_ci#define GL_GUILTY_CONTEXT_RESET_KHR 0x8253 181cb93a386Sopenharmony_ci#define GL_INNOCENT_CONTEXT_RESET_KHR 0x8254 182cb93a386Sopenharmony_ci#define GL_UNKNOWN_CONTEXT_RESET_KHR 0x8255 183cb93a386Sopenharmony_ci#define GL_RESET_NOTIFICATION_STRATEGY_KHR 0x8256 184cb93a386Sopenharmony_ci#define GL_NO_RESET_NOTIFICATION_KHR 0x8261 185cb93a386Sopenharmony_ci#define GL_CONTEXT_LOST_KHR 0x0507 186cb93a386Sopenharmony_citypedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC) (void); 187cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLREADNPIXELSKHRPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 188cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 189cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); 190cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 191cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 192cb93a386Sopenharmony_ciGL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusKHR (void); 193cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 194cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 195cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint *params); 196cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 197cb93a386Sopenharmony_ci#endif 198cb93a386Sopenharmony_ci#endif /* GL_KHR_robustness */ 199cb93a386Sopenharmony_ci 200cb93a386Sopenharmony_ci#ifndef GL_KHR_texture_compression_astc_hdr 201cb93a386Sopenharmony_ci#define GL_KHR_texture_compression_astc_hdr 1 202cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 203cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 204cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 205cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 206cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 207cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 208cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 209cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 210cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 211cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 212cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA 213cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB 214cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC 215cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD 216cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 217cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 218cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 219cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 220cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 221cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 222cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 223cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 224cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 225cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 226cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA 227cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB 228cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC 229cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD 230cb93a386Sopenharmony_ci#endif /* GL_KHR_texture_compression_astc_hdr */ 231cb93a386Sopenharmony_ci 232cb93a386Sopenharmony_ci#ifndef GL_KHR_texture_compression_astc_ldr 233cb93a386Sopenharmony_ci#define GL_KHR_texture_compression_astc_ldr 1 234cb93a386Sopenharmony_ci#endif /* GL_KHR_texture_compression_astc_ldr */ 235cb93a386Sopenharmony_ci 236cb93a386Sopenharmony_ci#ifndef GL_KHR_texture_compression_astc_sliced_3d 237cb93a386Sopenharmony_ci#define GL_KHR_texture_compression_astc_sliced_3d 1 238cb93a386Sopenharmony_ci#endif /* GL_KHR_texture_compression_astc_sliced_3d */ 239cb93a386Sopenharmony_ci 240cb93a386Sopenharmony_ci#ifndef GL_OES_EGL_image 241cb93a386Sopenharmony_ci#define GL_OES_EGL_image 1 242cb93a386Sopenharmony_citypedef void *GLeglImageOES; 243cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); 244cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); 245cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 246cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); 247cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); 248cb93a386Sopenharmony_ci#endif 249cb93a386Sopenharmony_ci#endif /* GL_OES_EGL_image */ 250cb93a386Sopenharmony_ci 251cb93a386Sopenharmony_ci#ifndef GL_OES_EGL_image_external 252cb93a386Sopenharmony_ci#define GL_OES_EGL_image_external 1 253cb93a386Sopenharmony_ci#define GL_TEXTURE_EXTERNAL_OES 0x8D65 254cb93a386Sopenharmony_ci#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 255cb93a386Sopenharmony_ci#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 256cb93a386Sopenharmony_ci#define GL_SAMPLER_EXTERNAL_OES 0x8D66 257cb93a386Sopenharmony_ci#endif /* GL_OES_EGL_image_external */ 258cb93a386Sopenharmony_ci 259cb93a386Sopenharmony_ci#ifndef GL_OES_EGL_image_external_essl3 260cb93a386Sopenharmony_ci#define GL_OES_EGL_image_external_essl3 1 261cb93a386Sopenharmony_ci#endif /* GL_OES_EGL_image_external_essl3 */ 262cb93a386Sopenharmony_ci 263cb93a386Sopenharmony_ci#ifndef GL_OES_compressed_ETC1_RGB8_sub_texture 264cb93a386Sopenharmony_ci#define GL_OES_compressed_ETC1_RGB8_sub_texture 1 265cb93a386Sopenharmony_ci#endif /* GL_OES_compressed_ETC1_RGB8_sub_texture */ 266cb93a386Sopenharmony_ci 267cb93a386Sopenharmony_ci#ifndef GL_OES_compressed_ETC1_RGB8_texture 268cb93a386Sopenharmony_ci#define GL_OES_compressed_ETC1_RGB8_texture 1 269cb93a386Sopenharmony_ci#define GL_ETC1_RGB8_OES 0x8D64 270cb93a386Sopenharmony_ci#endif /* GL_OES_compressed_ETC1_RGB8_texture */ 271cb93a386Sopenharmony_ci 272cb93a386Sopenharmony_ci#ifndef GL_OES_compressed_paletted_texture 273cb93a386Sopenharmony_ci#define GL_OES_compressed_paletted_texture 1 274cb93a386Sopenharmony_ci#define GL_PALETTE4_RGB8_OES 0x8B90 275cb93a386Sopenharmony_ci#define GL_PALETTE4_RGBA8_OES 0x8B91 276cb93a386Sopenharmony_ci#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 277cb93a386Sopenharmony_ci#define GL_PALETTE4_RGBA4_OES 0x8B93 278cb93a386Sopenharmony_ci#define GL_PALETTE4_RGB5_A1_OES 0x8B94 279cb93a386Sopenharmony_ci#define GL_PALETTE8_RGB8_OES 0x8B95 280cb93a386Sopenharmony_ci#define GL_PALETTE8_RGBA8_OES 0x8B96 281cb93a386Sopenharmony_ci#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 282cb93a386Sopenharmony_ci#define GL_PALETTE8_RGBA4_OES 0x8B98 283cb93a386Sopenharmony_ci#define GL_PALETTE8_RGB5_A1_OES 0x8B99 284cb93a386Sopenharmony_ci#endif /* GL_OES_compressed_paletted_texture */ 285cb93a386Sopenharmony_ci 286cb93a386Sopenharmony_ci#ifndef GL_OES_copy_image 287cb93a386Sopenharmony_ci#define GL_OES_copy_image 1 288cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAOESPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); 289cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 290cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCopyImageSubDataOES (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); 291cb93a386Sopenharmony_ci#endif 292cb93a386Sopenharmony_ci#endif /* GL_OES_copy_image */ 293cb93a386Sopenharmony_ci 294cb93a386Sopenharmony_ci#ifndef GL_OES_depth24 295cb93a386Sopenharmony_ci#define GL_OES_depth24 1 296cb93a386Sopenharmony_ci#define GL_DEPTH_COMPONENT24_OES 0x81A6 297cb93a386Sopenharmony_ci#endif /* GL_OES_depth24 */ 298cb93a386Sopenharmony_ci 299cb93a386Sopenharmony_ci#ifndef GL_OES_depth32 300cb93a386Sopenharmony_ci#define GL_OES_depth32 1 301cb93a386Sopenharmony_ci#define GL_DEPTH_COMPONENT32_OES 0x81A7 302cb93a386Sopenharmony_ci#endif /* GL_OES_depth32 */ 303cb93a386Sopenharmony_ci 304cb93a386Sopenharmony_ci#ifndef GL_OES_depth_texture 305cb93a386Sopenharmony_ci#define GL_OES_depth_texture 1 306cb93a386Sopenharmony_ci#endif /* GL_OES_depth_texture */ 307cb93a386Sopenharmony_ci 308cb93a386Sopenharmony_ci#ifndef GL_OES_draw_buffers_indexed 309cb93a386Sopenharmony_ci#define GL_OES_draw_buffers_indexed 1 310cb93a386Sopenharmony_ci#define GL_MIN 0x8007 311cb93a386Sopenharmony_ci#define GL_MAX 0x8008 312cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLENABLEIOESPROC) (GLenum target, GLuint index); 313cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDISABLEIOESPROC) (GLenum target, GLuint index); 314cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIOESPROC) (GLuint buf, GLenum mode); 315cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIOESPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 316cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBLENDFUNCIOESPROC) (GLuint buf, GLenum src, GLenum dst); 317cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIOESPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 318cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOLORMASKIOESPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 319cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIOESPROC) (GLenum target, GLuint index); 320cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 321cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glEnableiOES (GLenum target, GLuint index); 322cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDisableiOES (GLenum target, GLuint index); 323cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBlendEquationiOES (GLuint buf, GLenum mode); 324cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBlendEquationSeparateiOES (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 325cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBlendFunciOES (GLuint buf, GLenum src, GLenum dst); 326cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 327cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glColorMaskiOES (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 328cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsEnablediOES (GLenum target, GLuint index); 329cb93a386Sopenharmony_ci#endif 330cb93a386Sopenharmony_ci#endif /* GL_OES_draw_buffers_indexed */ 331cb93a386Sopenharmony_ci 332cb93a386Sopenharmony_ci#ifndef GL_OES_draw_elements_base_vertex 333cb93a386Sopenharmony_ci#define GL_OES_draw_elements_base_vertex 1 334cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 335cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 336cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 337cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); 338cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 339cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 340cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 341cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 342cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); 343cb93a386Sopenharmony_ci#endif 344cb93a386Sopenharmony_ci#endif /* GL_OES_draw_elements_base_vertex */ 345cb93a386Sopenharmony_ci 346cb93a386Sopenharmony_ci#ifndef GL_OES_element_index_uint 347cb93a386Sopenharmony_ci#define GL_OES_element_index_uint 1 348cb93a386Sopenharmony_ci#endif /* GL_OES_element_index_uint */ 349cb93a386Sopenharmony_ci 350cb93a386Sopenharmony_ci#ifndef GL_OES_fbo_render_mipmap 351cb93a386Sopenharmony_ci#define GL_OES_fbo_render_mipmap 1 352cb93a386Sopenharmony_ci#endif /* GL_OES_fbo_render_mipmap */ 353cb93a386Sopenharmony_ci 354cb93a386Sopenharmony_ci#ifndef GL_OES_fragment_precision_high 355cb93a386Sopenharmony_ci#define GL_OES_fragment_precision_high 1 356cb93a386Sopenharmony_ci#endif /* GL_OES_fragment_precision_high */ 357cb93a386Sopenharmony_ci 358cb93a386Sopenharmony_ci#ifndef GL_OES_geometry_point_size 359cb93a386Sopenharmony_ci#define GL_OES_geometry_point_size 1 360cb93a386Sopenharmony_ci#endif /* GL_OES_geometry_point_size */ 361cb93a386Sopenharmony_ci 362cb93a386Sopenharmony_ci#ifndef GL_OES_geometry_shader 363cb93a386Sopenharmony_ci#define GL_OES_geometry_shader 1 364cb93a386Sopenharmony_ci#define GL_GEOMETRY_SHADER_OES 0x8DD9 365cb93a386Sopenharmony_ci#define GL_GEOMETRY_SHADER_BIT_OES 0x00000004 366cb93a386Sopenharmony_ci#define GL_GEOMETRY_LINKED_VERTICES_OUT_OES 0x8916 367cb93a386Sopenharmony_ci#define GL_GEOMETRY_LINKED_INPUT_TYPE_OES 0x8917 368cb93a386Sopenharmony_ci#define GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES 0x8918 369cb93a386Sopenharmony_ci#define GL_GEOMETRY_SHADER_INVOCATIONS_OES 0x887F 370cb93a386Sopenharmony_ci#define GL_LAYER_PROVOKING_VERTEX_OES 0x825E 371cb93a386Sopenharmony_ci#define GL_LINES_ADJACENCY_OES 0x000A 372cb93a386Sopenharmony_ci#define GL_LINE_STRIP_ADJACENCY_OES 0x000B 373cb93a386Sopenharmony_ci#define GL_TRIANGLES_ADJACENCY_OES 0x000C 374cb93a386Sopenharmony_ci#define GL_TRIANGLE_STRIP_ADJACENCY_OES 0x000D 375cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8DDF 376cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES 0x8A2C 377cb93a386Sopenharmony_ci#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8A32 378cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES 0x9123 379cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES 0x9124 380cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES 0x8DE0 381cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES 0x8DE1 382cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES 0x8E5A 383cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES 0x8C29 384cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES 0x92CF 385cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES 0x92D5 386cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES 0x90CD 387cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES 0x90D7 388cb93a386Sopenharmony_ci#define GL_FIRST_VERTEX_CONVENTION_OES 0x8E4D 389cb93a386Sopenharmony_ci#define GL_LAST_VERTEX_CONVENTION_OES 0x8E4E 390cb93a386Sopenharmony_ci#define GL_UNDEFINED_VERTEX_OES 0x8260 391cb93a386Sopenharmony_ci#define GL_PRIMITIVES_GENERATED_OES 0x8C87 392cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_DEFAULT_LAYERS_OES 0x9312 393cb93a386Sopenharmony_ci#define GL_MAX_FRAMEBUFFER_LAYERS_OES 0x9317 394cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES 0x8DA8 395cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES 0x8DA7 396cb93a386Sopenharmony_ci#define GL_REFERENCED_BY_GEOMETRY_SHADER_OES 0x9309 397cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREOESPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 398cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 399cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level); 400cb93a386Sopenharmony_ci#endif 401cb93a386Sopenharmony_ci#endif /* GL_OES_geometry_shader */ 402cb93a386Sopenharmony_ci 403cb93a386Sopenharmony_ci#ifndef GL_OES_get_program_binary 404cb93a386Sopenharmony_ci#define GL_OES_get_program_binary 1 405cb93a386Sopenharmony_ci#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 406cb93a386Sopenharmony_ci#define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE 407cb93a386Sopenharmony_ci#define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF 408cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); 409cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length); 410cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 411cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); 412cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length); 413cb93a386Sopenharmony_ci#endif 414cb93a386Sopenharmony_ci#endif /* GL_OES_get_program_binary */ 415cb93a386Sopenharmony_ci 416cb93a386Sopenharmony_ci#ifndef GL_OES_gpu_shader5 417cb93a386Sopenharmony_ci#define GL_OES_gpu_shader5 1 418cb93a386Sopenharmony_ci#endif /* GL_OES_gpu_shader5 */ 419cb93a386Sopenharmony_ci 420cb93a386Sopenharmony_ci#ifndef GL_OES_mapbuffer 421cb93a386Sopenharmony_ci#define GL_OES_mapbuffer 1 422cb93a386Sopenharmony_ci#define GL_WRITE_ONLY_OES 0x88B9 423cb93a386Sopenharmony_ci#define GL_BUFFER_ACCESS_OES 0x88BB 424cb93a386Sopenharmony_ci#define GL_BUFFER_MAPPED_OES 0x88BC 425cb93a386Sopenharmony_ci#define GL_BUFFER_MAP_POINTER_OES 0x88BD 426cb93a386Sopenharmony_citypedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); 427cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); 428cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params); 429cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 430cb93a386Sopenharmony_ciGL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); 431cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); 432cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params); 433cb93a386Sopenharmony_ci#endif 434cb93a386Sopenharmony_ci#endif /* GL_OES_mapbuffer */ 435cb93a386Sopenharmony_ci 436cb93a386Sopenharmony_ci#ifndef GL_OES_packed_depth_stencil 437cb93a386Sopenharmony_ci#define GL_OES_packed_depth_stencil 1 438cb93a386Sopenharmony_ci#define GL_DEPTH_STENCIL_OES 0x84F9 439cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT_24_8_OES 0x84FA 440cb93a386Sopenharmony_ci#define GL_DEPTH24_STENCIL8_OES 0x88F0 441cb93a386Sopenharmony_ci#endif /* GL_OES_packed_depth_stencil */ 442cb93a386Sopenharmony_ci 443cb93a386Sopenharmony_ci#ifndef GL_OES_primitive_bounding_box 444cb93a386Sopenharmony_ci#define GL_OES_primitive_bounding_box 1 445cb93a386Sopenharmony_ci#define GL_PRIMITIVE_BOUNDING_BOX_OES 0x92BE 446cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXOESPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 447cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 448cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxOES (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 449cb93a386Sopenharmony_ci#endif 450cb93a386Sopenharmony_ci#endif /* GL_OES_primitive_bounding_box */ 451cb93a386Sopenharmony_ci 452cb93a386Sopenharmony_ci#ifndef GL_OES_required_internalformat 453cb93a386Sopenharmony_ci#define GL_OES_required_internalformat 1 454cb93a386Sopenharmony_ci#define GL_ALPHA8_OES 0x803C 455cb93a386Sopenharmony_ci#define GL_DEPTH_COMPONENT16_OES 0x81A5 456cb93a386Sopenharmony_ci#define GL_LUMINANCE4_ALPHA4_OES 0x8043 457cb93a386Sopenharmony_ci#define GL_LUMINANCE8_ALPHA8_OES 0x8045 458cb93a386Sopenharmony_ci#define GL_LUMINANCE8_OES 0x8040 459cb93a386Sopenharmony_ci#define GL_RGBA4_OES 0x8056 460cb93a386Sopenharmony_ci#define GL_RGB5_A1_OES 0x8057 461cb93a386Sopenharmony_ci#define GL_RGB565_OES 0x8D62 462cb93a386Sopenharmony_ci#define GL_RGB8_OES 0x8051 463cb93a386Sopenharmony_ci#define GL_RGBA8_OES 0x8058 464cb93a386Sopenharmony_ci#define GL_RGB10_EXT 0x8052 465cb93a386Sopenharmony_ci#define GL_RGB10_A2_EXT 0x8059 466cb93a386Sopenharmony_ci#endif /* GL_OES_required_internalformat */ 467cb93a386Sopenharmony_ci 468cb93a386Sopenharmony_ci#ifndef GL_OES_rgb8_rgba8 469cb93a386Sopenharmony_ci#define GL_OES_rgb8_rgba8 1 470cb93a386Sopenharmony_ci#endif /* GL_OES_rgb8_rgba8 */ 471cb93a386Sopenharmony_ci 472cb93a386Sopenharmony_ci#ifndef GL_OES_sample_shading 473cb93a386Sopenharmony_ci#define GL_OES_sample_shading 1 474cb93a386Sopenharmony_ci#define GL_SAMPLE_SHADING_OES 0x8C36 475cb93a386Sopenharmony_ci#define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37 476cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGOESPROC) (GLfloat value); 477cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 478cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMinSampleShadingOES (GLfloat value); 479cb93a386Sopenharmony_ci#endif 480cb93a386Sopenharmony_ci#endif /* GL_OES_sample_shading */ 481cb93a386Sopenharmony_ci 482cb93a386Sopenharmony_ci#ifndef GL_OES_sample_variables 483cb93a386Sopenharmony_ci#define GL_OES_sample_variables 1 484cb93a386Sopenharmony_ci#endif /* GL_OES_sample_variables */ 485cb93a386Sopenharmony_ci 486cb93a386Sopenharmony_ci#ifndef GL_OES_shader_image_atomic 487cb93a386Sopenharmony_ci#define GL_OES_shader_image_atomic 1 488cb93a386Sopenharmony_ci#endif /* GL_OES_shader_image_atomic */ 489cb93a386Sopenharmony_ci 490cb93a386Sopenharmony_ci#ifndef GL_OES_shader_io_blocks 491cb93a386Sopenharmony_ci#define GL_OES_shader_io_blocks 1 492cb93a386Sopenharmony_ci#endif /* GL_OES_shader_io_blocks */ 493cb93a386Sopenharmony_ci 494cb93a386Sopenharmony_ci#ifndef GL_OES_shader_multisample_interpolation 495cb93a386Sopenharmony_ci#define GL_OES_shader_multisample_interpolation 1 496cb93a386Sopenharmony_ci#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B 497cb93a386Sopenharmony_ci#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C 498cb93a386Sopenharmony_ci#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D 499cb93a386Sopenharmony_ci#endif /* GL_OES_shader_multisample_interpolation */ 500cb93a386Sopenharmony_ci 501cb93a386Sopenharmony_ci#ifndef GL_OES_standard_derivatives 502cb93a386Sopenharmony_ci#define GL_OES_standard_derivatives 1 503cb93a386Sopenharmony_ci#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B 504cb93a386Sopenharmony_ci#endif /* GL_OES_standard_derivatives */ 505cb93a386Sopenharmony_ci 506cb93a386Sopenharmony_ci#ifndef GL_OES_stencil1 507cb93a386Sopenharmony_ci#define GL_OES_stencil1 1 508cb93a386Sopenharmony_ci#define GL_STENCIL_INDEX1_OES 0x8D46 509cb93a386Sopenharmony_ci#endif /* GL_OES_stencil1 */ 510cb93a386Sopenharmony_ci 511cb93a386Sopenharmony_ci#ifndef GL_OES_stencil4 512cb93a386Sopenharmony_ci#define GL_OES_stencil4 1 513cb93a386Sopenharmony_ci#define GL_STENCIL_INDEX4_OES 0x8D47 514cb93a386Sopenharmony_ci#endif /* GL_OES_stencil4 */ 515cb93a386Sopenharmony_ci 516cb93a386Sopenharmony_ci#ifndef GL_OES_surfaceless_context 517cb93a386Sopenharmony_ci#define GL_OES_surfaceless_context 1 518cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219 519cb93a386Sopenharmony_ci#endif /* GL_OES_surfaceless_context */ 520cb93a386Sopenharmony_ci 521cb93a386Sopenharmony_ci#ifndef GL_OES_tessellation_point_size 522cb93a386Sopenharmony_ci#define GL_OES_tessellation_point_size 1 523cb93a386Sopenharmony_ci#endif /* GL_OES_tessellation_point_size */ 524cb93a386Sopenharmony_ci 525cb93a386Sopenharmony_ci#ifndef GL_OES_tessellation_shader 526cb93a386Sopenharmony_ci#define GL_OES_tessellation_shader 1 527cb93a386Sopenharmony_ci#define GL_PATCHES_OES 0x000E 528cb93a386Sopenharmony_ci#define GL_PATCH_VERTICES_OES 0x8E72 529cb93a386Sopenharmony_ci#define GL_TESS_CONTROL_OUTPUT_VERTICES_OES 0x8E75 530cb93a386Sopenharmony_ci#define GL_TESS_GEN_MODE_OES 0x8E76 531cb93a386Sopenharmony_ci#define GL_TESS_GEN_SPACING_OES 0x8E77 532cb93a386Sopenharmony_ci#define GL_TESS_GEN_VERTEX_ORDER_OES 0x8E78 533cb93a386Sopenharmony_ci#define GL_TESS_GEN_POINT_MODE_OES 0x8E79 534cb93a386Sopenharmony_ci#define GL_ISOLINES_OES 0x8E7A 535cb93a386Sopenharmony_ci#define GL_QUADS_OES 0x0007 536cb93a386Sopenharmony_ci#define GL_FRACTIONAL_ODD_OES 0x8E7B 537cb93a386Sopenharmony_ci#define GL_FRACTIONAL_EVEN_OES 0x8E7C 538cb93a386Sopenharmony_ci#define GL_MAX_PATCH_VERTICES_OES 0x8E7D 539cb93a386Sopenharmony_ci#define GL_MAX_TESS_GEN_LEVEL_OES 0x8E7E 540cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E7F 541cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E80 542cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES 0x8E81 543cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES 0x8E82 544cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES 0x8E83 545cb93a386Sopenharmony_ci#define GL_MAX_TESS_PATCH_COMPONENTS_OES 0x8E84 546cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES 0x8E85 547cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES 0x8E86 548cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES 0x8E89 549cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES 0x8E8A 550cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES 0x886C 551cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES 0x886D 552cb93a386Sopenharmony_ci#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E1E 553cb93a386Sopenharmony_ci#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E1F 554cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES 0x92CD 555cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES 0x92CE 556cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES 0x92D3 557cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES 0x92D4 558cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES 0x90CB 559cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES 0x90CC 560cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES 0x90D8 561cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES 0x90D9 562cb93a386Sopenharmony_ci#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES 0x8221 563cb93a386Sopenharmony_ci#define GL_IS_PER_PATCH_OES 0x92E7 564cb93a386Sopenharmony_ci#define GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES 0x9307 565cb93a386Sopenharmony_ci#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES 0x9308 566cb93a386Sopenharmony_ci#define GL_TESS_CONTROL_SHADER_OES 0x8E88 567cb93a386Sopenharmony_ci#define GL_TESS_EVALUATION_SHADER_OES 0x8E87 568cb93a386Sopenharmony_ci#define GL_TESS_CONTROL_SHADER_BIT_OES 0x00000008 569cb93a386Sopenharmony_ci#define GL_TESS_EVALUATION_SHADER_BIT_OES 0x00000010 570cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIOESPROC) (GLenum pname, GLint value); 571cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 572cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPatchParameteriOES (GLenum pname, GLint value); 573cb93a386Sopenharmony_ci#endif 574cb93a386Sopenharmony_ci#endif /* GL_OES_tessellation_shader */ 575cb93a386Sopenharmony_ci 576cb93a386Sopenharmony_ci#ifndef GL_OES_texture_3D 577cb93a386Sopenharmony_ci#define GL_OES_texture_3D 1 578cb93a386Sopenharmony_ci#define GL_TEXTURE_WRAP_R_OES 0x8072 579cb93a386Sopenharmony_ci#define GL_TEXTURE_3D_OES 0x806F 580cb93a386Sopenharmony_ci#define GL_TEXTURE_BINDING_3D_OES 0x806A 581cb93a386Sopenharmony_ci#define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 582cb93a386Sopenharmony_ci#define GL_SAMPLER_3D_OES 0x8B5F 583cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 584cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); 585cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 586cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 587cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); 588cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); 589cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 590cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 591cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); 592cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 593cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 594cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); 595cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); 596cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 597cb93a386Sopenharmony_ci#endif 598cb93a386Sopenharmony_ci#endif /* GL_OES_texture_3D */ 599cb93a386Sopenharmony_ci 600cb93a386Sopenharmony_ci#ifndef GL_OES_texture_border_clamp 601cb93a386Sopenharmony_ci#define GL_OES_texture_border_clamp 1 602cb93a386Sopenharmony_ci#define GL_TEXTURE_BORDER_COLOR_OES 0x1004 603cb93a386Sopenharmony_ci#define GL_CLAMP_TO_BORDER_OES 0x812D 604cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, const GLint *params); 605cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, const GLuint *params); 606cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, GLint *params); 607cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, GLuint *params); 608cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, const GLint *param); 609cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, const GLuint *param); 610cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, GLint *params); 611cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, GLuint *params); 612cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 613cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexParameterIivOES (GLenum target, GLenum pname, const GLint *params); 614cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexParameterIuivOES (GLenum target, GLenum pname, const GLuint *params); 615cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetTexParameterIivOES (GLenum target, GLenum pname, GLint *params); 616cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetTexParameterIuivOES (GLenum target, GLenum pname, GLuint *params); 617cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glSamplerParameterIivOES (GLuint sampler, GLenum pname, const GLint *param); 618cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glSamplerParameterIuivOES (GLuint sampler, GLenum pname, const GLuint *param); 619cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetSamplerParameterIivOES (GLuint sampler, GLenum pname, GLint *params); 620cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetSamplerParameterIuivOES (GLuint sampler, GLenum pname, GLuint *params); 621cb93a386Sopenharmony_ci#endif 622cb93a386Sopenharmony_ci#endif /* GL_OES_texture_border_clamp */ 623cb93a386Sopenharmony_ci 624cb93a386Sopenharmony_ci#ifndef GL_OES_texture_buffer 625cb93a386Sopenharmony_ci#define GL_OES_texture_buffer 1 626cb93a386Sopenharmony_ci#define GL_TEXTURE_BUFFER_OES 0x8C2A 627cb93a386Sopenharmony_ci#define GL_TEXTURE_BUFFER_BINDING_OES 0x8C2A 628cb93a386Sopenharmony_ci#define GL_MAX_TEXTURE_BUFFER_SIZE_OES 0x8C2B 629cb93a386Sopenharmony_ci#define GL_TEXTURE_BINDING_BUFFER_OES 0x8C2C 630cb93a386Sopenharmony_ci#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES 0x8C2D 631cb93a386Sopenharmony_ci#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES 0x919F 632cb93a386Sopenharmony_ci#define GL_SAMPLER_BUFFER_OES 0x8DC2 633cb93a386Sopenharmony_ci#define GL_INT_SAMPLER_BUFFER_OES 0x8DD0 634cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT_SAMPLER_BUFFER_OES 0x8DD8 635cb93a386Sopenharmony_ci#define GL_IMAGE_BUFFER_OES 0x9051 636cb93a386Sopenharmony_ci#define GL_INT_IMAGE_BUFFER_OES 0x905C 637cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT_IMAGE_BUFFER_OES 0x9067 638cb93a386Sopenharmony_ci#define GL_TEXTURE_BUFFER_OFFSET_OES 0x919D 639cb93a386Sopenharmony_ci#define GL_TEXTURE_BUFFER_SIZE_OES 0x919E 640cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer); 641cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 642cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 643cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer); 644cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 645cb93a386Sopenharmony_ci#endif 646cb93a386Sopenharmony_ci#endif /* GL_OES_texture_buffer */ 647cb93a386Sopenharmony_ci 648cb93a386Sopenharmony_ci#ifndef GL_OES_texture_compression_astc 649cb93a386Sopenharmony_ci#define GL_OES_texture_compression_astc 1 650cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0 651cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1 652cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2 653cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3 654cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4 655cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5 656cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6 657cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7 658cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8 659cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9 660cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0 661cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1 662cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2 663cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3 664cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4 665cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5 666cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6 667cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7 668cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8 669cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9 670cb93a386Sopenharmony_ci#endif /* GL_OES_texture_compression_astc */ 671cb93a386Sopenharmony_ci 672cb93a386Sopenharmony_ci#ifndef GL_OES_texture_cube_map_array 673cb93a386Sopenharmony_ci#define GL_OES_texture_cube_map_array 1 674cb93a386Sopenharmony_ci#define GL_TEXTURE_CUBE_MAP_ARRAY_OES 0x9009 675cb93a386Sopenharmony_ci#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES 0x900A 676cb93a386Sopenharmony_ci#define GL_SAMPLER_CUBE_MAP_ARRAY_OES 0x900C 677cb93a386Sopenharmony_ci#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES 0x900D 678cb93a386Sopenharmony_ci#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900E 679cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900F 680cb93a386Sopenharmony_ci#define GL_IMAGE_CUBE_MAP_ARRAY_OES 0x9054 681cb93a386Sopenharmony_ci#define GL_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x905F 682cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x906A 683cb93a386Sopenharmony_ci#endif /* GL_OES_texture_cube_map_array */ 684cb93a386Sopenharmony_ci 685cb93a386Sopenharmony_ci#ifndef GL_OES_texture_float 686cb93a386Sopenharmony_ci#define GL_OES_texture_float 1 687cb93a386Sopenharmony_ci#endif /* GL_OES_texture_float */ 688cb93a386Sopenharmony_ci 689cb93a386Sopenharmony_ci#ifndef GL_OES_texture_float_linear 690cb93a386Sopenharmony_ci#define GL_OES_texture_float_linear 1 691cb93a386Sopenharmony_ci#endif /* GL_OES_texture_float_linear */ 692cb93a386Sopenharmony_ci 693cb93a386Sopenharmony_ci#ifndef GL_OES_texture_half_float 694cb93a386Sopenharmony_ci#define GL_OES_texture_half_float 1 695cb93a386Sopenharmony_ci#define GL_HALF_FLOAT_OES 0x8D61 696cb93a386Sopenharmony_ci#endif /* GL_OES_texture_half_float */ 697cb93a386Sopenharmony_ci 698cb93a386Sopenharmony_ci#ifndef GL_OES_texture_half_float_linear 699cb93a386Sopenharmony_ci#define GL_OES_texture_half_float_linear 1 700cb93a386Sopenharmony_ci#endif /* GL_OES_texture_half_float_linear */ 701cb93a386Sopenharmony_ci 702cb93a386Sopenharmony_ci#ifndef GL_OES_texture_npot 703cb93a386Sopenharmony_ci#define GL_OES_texture_npot 1 704cb93a386Sopenharmony_ci#endif /* GL_OES_texture_npot */ 705cb93a386Sopenharmony_ci 706cb93a386Sopenharmony_ci#ifndef GL_OES_texture_stencil8 707cb93a386Sopenharmony_ci#define GL_OES_texture_stencil8 1 708cb93a386Sopenharmony_ci#define GL_STENCIL_INDEX_OES 0x1901 709cb93a386Sopenharmony_ci#define GL_STENCIL_INDEX8_OES 0x8D48 710cb93a386Sopenharmony_ci#endif /* GL_OES_texture_stencil8 */ 711cb93a386Sopenharmony_ci 712cb93a386Sopenharmony_ci#ifndef GL_OES_texture_storage_multisample_2d_array 713cb93a386Sopenharmony_ci#define GL_OES_texture_storage_multisample_2d_array 1 714cb93a386Sopenharmony_ci#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102 715cb93a386Sopenharmony_ci#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105 716cb93a386Sopenharmony_ci#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B 717cb93a386Sopenharmony_ci#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C 718cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D 719cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 720cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 721cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 722cb93a386Sopenharmony_ci#endif 723cb93a386Sopenharmony_ci#endif /* GL_OES_texture_storage_multisample_2d_array */ 724cb93a386Sopenharmony_ci 725cb93a386Sopenharmony_ci#ifndef GL_OES_texture_view 726cb93a386Sopenharmony_ci#define GL_OES_texture_view 1 727cb93a386Sopenharmony_ci#define GL_TEXTURE_VIEW_MIN_LEVEL_OES 0x82DB 728cb93a386Sopenharmony_ci#define GL_TEXTURE_VIEW_NUM_LEVELS_OES 0x82DC 729cb93a386Sopenharmony_ci#define GL_TEXTURE_VIEW_MIN_LAYER_OES 0x82DD 730cb93a386Sopenharmony_ci#define GL_TEXTURE_VIEW_NUM_LAYERS_OES 0x82DE 731cb93a386Sopenharmony_ci#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF 732cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXTUREVIEWOESPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 733cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 734cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTextureViewOES (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 735cb93a386Sopenharmony_ci#endif 736cb93a386Sopenharmony_ci#endif /* GL_OES_texture_view */ 737cb93a386Sopenharmony_ci 738cb93a386Sopenharmony_ci#ifndef GL_OES_vertex_array_object 739cb93a386Sopenharmony_ci#define GL_OES_vertex_array_object 1 740cb93a386Sopenharmony_ci#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 741cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); 742cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); 743cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); 744cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); 745cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 746cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); 747cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); 748cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); 749cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); 750cb93a386Sopenharmony_ci#endif 751cb93a386Sopenharmony_ci#endif /* GL_OES_vertex_array_object */ 752cb93a386Sopenharmony_ci 753cb93a386Sopenharmony_ci#ifndef GL_OES_vertex_half_float 754cb93a386Sopenharmony_ci#define GL_OES_vertex_half_float 1 755cb93a386Sopenharmony_ci#endif /* GL_OES_vertex_half_float */ 756cb93a386Sopenharmony_ci 757cb93a386Sopenharmony_ci#ifndef GL_OES_vertex_type_10_10_10_2 758cb93a386Sopenharmony_ci#define GL_OES_vertex_type_10_10_10_2 1 759cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 760cb93a386Sopenharmony_ci#define GL_INT_10_10_10_2_OES 0x8DF7 761cb93a386Sopenharmony_ci#endif /* GL_OES_vertex_type_10_10_10_2 */ 762cb93a386Sopenharmony_ci 763cb93a386Sopenharmony_ci#ifndef GL_OES_viewport_array 764cb93a386Sopenharmony_ci#define GL_OES_viewport_array 1 765cb93a386Sopenharmony_ci#define GL_MAX_VIEWPORTS_OES 0x825B 766cb93a386Sopenharmony_ci#define GL_VIEWPORT_SUBPIXEL_BITS_OES 0x825C 767cb93a386Sopenharmony_ci#define GL_VIEWPORT_BOUNDS_RANGE_OES 0x825D 768cb93a386Sopenharmony_ci#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES 0x825F 769cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVOESPROC) (GLuint first, GLsizei count, const GLfloat *v); 770cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFOESPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 771cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVOESPROC) (GLuint index, const GLfloat *v); 772cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSCISSORARRAYVOESPROC) (GLuint first, GLsizei count, const GLint *v); 773cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDOESPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 774cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVOESPROC) (GLuint index, const GLint *v); 775cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVOESPROC) (GLuint first, GLsizei count, const GLfloat *v); 776cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFOESPROC) (GLuint index, GLfloat n, GLfloat f); 777cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETFLOATI_VOESPROC) (GLenum target, GLuint index, GLfloat *data); 778cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 779cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glViewportArrayvOES (GLuint first, GLsizei count, const GLfloat *v); 780cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glViewportIndexedfOES (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 781cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glViewportIndexedfvOES (GLuint index, const GLfloat *v); 782cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glScissorArrayvOES (GLuint first, GLsizei count, const GLint *v); 783cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glScissorIndexedOES (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 784cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glScissorIndexedvOES (GLuint index, const GLint *v); 785cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDepthRangeArrayfvOES (GLuint first, GLsizei count, const GLfloat *v); 786cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDepthRangeIndexedfOES (GLuint index, GLfloat n, GLfloat f); 787cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetFloati_vOES (GLenum target, GLuint index, GLfloat *data); 788cb93a386Sopenharmony_ci#endif 789cb93a386Sopenharmony_ci#endif /* GL_OES_viewport_array */ 790cb93a386Sopenharmony_ci 791cb93a386Sopenharmony_ci#ifndef GL_AMD_compressed_3DC_texture 792cb93a386Sopenharmony_ci#define GL_AMD_compressed_3DC_texture 1 793cb93a386Sopenharmony_ci#define GL_3DC_X_AMD 0x87F9 794cb93a386Sopenharmony_ci#define GL_3DC_XY_AMD 0x87FA 795cb93a386Sopenharmony_ci#endif /* GL_AMD_compressed_3DC_texture */ 796cb93a386Sopenharmony_ci 797cb93a386Sopenharmony_ci#ifndef GL_AMD_compressed_ATC_texture 798cb93a386Sopenharmony_ci#define GL_AMD_compressed_ATC_texture 1 799cb93a386Sopenharmony_ci#define GL_ATC_RGB_AMD 0x8C92 800cb93a386Sopenharmony_ci#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 801cb93a386Sopenharmony_ci#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE 802cb93a386Sopenharmony_ci#endif /* GL_AMD_compressed_ATC_texture */ 803cb93a386Sopenharmony_ci 804cb93a386Sopenharmony_ci#ifndef GL_AMD_performance_monitor 805cb93a386Sopenharmony_ci#define GL_AMD_performance_monitor 1 806cb93a386Sopenharmony_ci#define GL_COUNTER_TYPE_AMD 0x8BC0 807cb93a386Sopenharmony_ci#define GL_COUNTER_RANGE_AMD 0x8BC1 808cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT64_AMD 0x8BC2 809cb93a386Sopenharmony_ci#define GL_PERCENTAGE_AMD 0x8BC3 810cb93a386Sopenharmony_ci#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 811cb93a386Sopenharmony_ci#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 812cb93a386Sopenharmony_ci#define GL_PERFMON_RESULT_AMD 0x8BC6 813cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 814cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 815cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 816cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 817cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); 818cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 819cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 820cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); 821cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); 822cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); 823cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 824cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 825cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 826cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 827cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 828cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 829cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); 830cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); 831cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); 832cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); 833cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); 834cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); 835cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 836cb93a386Sopenharmony_ci#endif 837cb93a386Sopenharmony_ci#endif /* GL_AMD_performance_monitor */ 838cb93a386Sopenharmony_ci 839cb93a386Sopenharmony_ci#ifndef GL_AMD_program_binary_Z400 840cb93a386Sopenharmony_ci#define GL_AMD_program_binary_Z400 1 841cb93a386Sopenharmony_ci#define GL_Z400_BINARY_AMD 0x8740 842cb93a386Sopenharmony_ci#endif /* GL_AMD_program_binary_Z400 */ 843cb93a386Sopenharmony_ci 844cb93a386Sopenharmony_ci#ifndef GL_ANDROID_extension_pack_es31a 845cb93a386Sopenharmony_ci#define GL_ANDROID_extension_pack_es31a 1 846cb93a386Sopenharmony_ci#endif /* GL_ANDROID_extension_pack_es31a */ 847cb93a386Sopenharmony_ci 848cb93a386Sopenharmony_ci#ifndef GL_ANGLE_depth_texture 849cb93a386Sopenharmony_ci#define GL_ANGLE_depth_texture 1 850cb93a386Sopenharmony_ci#endif /* GL_ANGLE_depth_texture */ 851cb93a386Sopenharmony_ci 852cb93a386Sopenharmony_ci#ifndef GL_ANGLE_framebuffer_blit 853cb93a386Sopenharmony_ci#define GL_ANGLE_framebuffer_blit 1 854cb93a386Sopenharmony_ci#define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 855cb93a386Sopenharmony_ci#define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 856cb93a386Sopenharmony_ci#define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 857cb93a386Sopenharmony_ci#define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA 858cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 859cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 860cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 861cb93a386Sopenharmony_ci#endif 862cb93a386Sopenharmony_ci#endif /* GL_ANGLE_framebuffer_blit */ 863cb93a386Sopenharmony_ci 864cb93a386Sopenharmony_ci#ifndef GL_ANGLE_framebuffer_multisample 865cb93a386Sopenharmony_ci#define GL_ANGLE_framebuffer_multisample 1 866cb93a386Sopenharmony_ci#define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB 867cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 868cb93a386Sopenharmony_ci#define GL_MAX_SAMPLES_ANGLE 0x8D57 869cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 870cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 871cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 872cb93a386Sopenharmony_ci#endif 873cb93a386Sopenharmony_ci#endif /* GL_ANGLE_framebuffer_multisample */ 874cb93a386Sopenharmony_ci 875cb93a386Sopenharmony_ci#ifndef GL_ANGLE_instanced_arrays 876cb93a386Sopenharmony_ci#define GL_ANGLE_instanced_arrays 1 877cb93a386Sopenharmony_ci#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE 878cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 879cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 880cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor); 881cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 882cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 883cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 884cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor); 885cb93a386Sopenharmony_ci#endif 886cb93a386Sopenharmony_ci#endif /* GL_ANGLE_instanced_arrays */ 887cb93a386Sopenharmony_ci 888cb93a386Sopenharmony_ci#ifndef GL_ANGLE_pack_reverse_row_order 889cb93a386Sopenharmony_ci#define GL_ANGLE_pack_reverse_row_order 1 890cb93a386Sopenharmony_ci#define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 891cb93a386Sopenharmony_ci#endif /* GL_ANGLE_pack_reverse_row_order */ 892cb93a386Sopenharmony_ci 893cb93a386Sopenharmony_ci#ifndef GL_ANGLE_program_binary 894cb93a386Sopenharmony_ci#define GL_ANGLE_program_binary 1 895cb93a386Sopenharmony_ci#define GL_PROGRAM_BINARY_ANGLE 0x93A6 896cb93a386Sopenharmony_ci#endif /* GL_ANGLE_program_binary */ 897cb93a386Sopenharmony_ci 898cb93a386Sopenharmony_ci#ifndef GL_ANGLE_texture_compression_dxt3 899cb93a386Sopenharmony_ci#define GL_ANGLE_texture_compression_dxt3 1 900cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2 901cb93a386Sopenharmony_ci#endif /* GL_ANGLE_texture_compression_dxt3 */ 902cb93a386Sopenharmony_ci 903cb93a386Sopenharmony_ci#ifndef GL_ANGLE_texture_compression_dxt5 904cb93a386Sopenharmony_ci#define GL_ANGLE_texture_compression_dxt5 1 905cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3 906cb93a386Sopenharmony_ci#endif /* GL_ANGLE_texture_compression_dxt5 */ 907cb93a386Sopenharmony_ci 908cb93a386Sopenharmony_ci#ifndef GL_ANGLE_texture_usage 909cb93a386Sopenharmony_ci#define GL_ANGLE_texture_usage 1 910cb93a386Sopenharmony_ci#define GL_TEXTURE_USAGE_ANGLE 0x93A2 911cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 912cb93a386Sopenharmony_ci#endif /* GL_ANGLE_texture_usage */ 913cb93a386Sopenharmony_ci 914cb93a386Sopenharmony_ci#ifndef GL_ANGLE_translated_shader_source 915cb93a386Sopenharmony_ci#define GL_ANGLE_translated_shader_source 1 916cb93a386Sopenharmony_ci#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 917cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); 918cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 919cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); 920cb93a386Sopenharmony_ci#endif 921cb93a386Sopenharmony_ci#endif /* GL_ANGLE_translated_shader_source */ 922cb93a386Sopenharmony_ci 923cb93a386Sopenharmony_ci#ifndef GL_APPLE_clip_distance 924cb93a386Sopenharmony_ci#define GL_APPLE_clip_distance 1 925cb93a386Sopenharmony_ci#define GL_MAX_CLIP_DISTANCES_APPLE 0x0D32 926cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE0_APPLE 0x3000 927cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE1_APPLE 0x3001 928cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE2_APPLE 0x3002 929cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE3_APPLE 0x3003 930cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE4_APPLE 0x3004 931cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE5_APPLE 0x3005 932cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE6_APPLE 0x3006 933cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE7_APPLE 0x3007 934cb93a386Sopenharmony_ci#endif /* GL_APPLE_clip_distance */ 935cb93a386Sopenharmony_ci 936cb93a386Sopenharmony_ci#ifndef GL_APPLE_color_buffer_packed_float 937cb93a386Sopenharmony_ci#define GL_APPLE_color_buffer_packed_float 1 938cb93a386Sopenharmony_ci#endif /* GL_APPLE_color_buffer_packed_float */ 939cb93a386Sopenharmony_ci 940cb93a386Sopenharmony_ci#ifndef GL_APPLE_copy_texture_levels 941cb93a386Sopenharmony_ci#define GL_APPLE_copy_texture_levels 1 942cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); 943cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 944cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); 945cb93a386Sopenharmony_ci#endif 946cb93a386Sopenharmony_ci#endif /* GL_APPLE_copy_texture_levels */ 947cb93a386Sopenharmony_ci 948cb93a386Sopenharmony_ci#ifndef GL_APPLE_framebuffer_multisample 949cb93a386Sopenharmony_ci#define GL_APPLE_framebuffer_multisample 1 950cb93a386Sopenharmony_ci#define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB 951cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 952cb93a386Sopenharmony_ci#define GL_MAX_SAMPLES_APPLE 0x8D57 953cb93a386Sopenharmony_ci#define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 954cb93a386Sopenharmony_ci#define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 955cb93a386Sopenharmony_ci#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 956cb93a386Sopenharmony_ci#define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA 957cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 958cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); 959cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 960cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 961cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); 962cb93a386Sopenharmony_ci#endif 963cb93a386Sopenharmony_ci#endif /* GL_APPLE_framebuffer_multisample */ 964cb93a386Sopenharmony_ci 965cb93a386Sopenharmony_ci#ifndef GL_APPLE_rgb_422 966cb93a386Sopenharmony_ci#define GL_APPLE_rgb_422 1 967cb93a386Sopenharmony_ci#define GL_RGB_422_APPLE 0x8A1F 968cb93a386Sopenharmony_ci#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA 969cb93a386Sopenharmony_ci#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB 970cb93a386Sopenharmony_ci#define GL_RGB_RAW_422_APPLE 0x8A51 971cb93a386Sopenharmony_ci#endif /* GL_APPLE_rgb_422 */ 972cb93a386Sopenharmony_ci 973cb93a386Sopenharmony_ci#ifndef GL_APPLE_sync 974cb93a386Sopenharmony_ci#define GL_APPLE_sync 1 975cb93a386Sopenharmony_ci#define GL_SYNC_OBJECT_APPLE 0x8A53 976cb93a386Sopenharmony_ci#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 977cb93a386Sopenharmony_ci#define GL_OBJECT_TYPE_APPLE 0x9112 978cb93a386Sopenharmony_ci#define GL_SYNC_CONDITION_APPLE 0x9113 979cb93a386Sopenharmony_ci#define GL_SYNC_STATUS_APPLE 0x9114 980cb93a386Sopenharmony_ci#define GL_SYNC_FLAGS_APPLE 0x9115 981cb93a386Sopenharmony_ci#define GL_SYNC_FENCE_APPLE 0x9116 982cb93a386Sopenharmony_ci#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 983cb93a386Sopenharmony_ci#define GL_UNSIGNALED_APPLE 0x9118 984cb93a386Sopenharmony_ci#define GL_SIGNALED_APPLE 0x9119 985cb93a386Sopenharmony_ci#define GL_ALREADY_SIGNALED_APPLE 0x911A 986cb93a386Sopenharmony_ci#define GL_TIMEOUT_EXPIRED_APPLE 0x911B 987cb93a386Sopenharmony_ci#define GL_CONDITION_SATISFIED_APPLE 0x911C 988cb93a386Sopenharmony_ci#define GL_WAIT_FAILED_APPLE 0x911D 989cb93a386Sopenharmony_ci#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 990cb93a386Sopenharmony_ci#define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull 991cb93a386Sopenharmony_citypedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags); 992cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); 993cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); 994cb93a386Sopenharmony_citypedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); 995cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); 996cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); 997cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 998cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 999cb93a386Sopenharmony_ciGL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags); 1000cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); 1001cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); 1002cb93a386Sopenharmony_ciGL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); 1003cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); 1004cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params); 1005cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 1006cb93a386Sopenharmony_ci#endif 1007cb93a386Sopenharmony_ci#endif /* GL_APPLE_sync */ 1008cb93a386Sopenharmony_ci 1009cb93a386Sopenharmony_ci#ifndef GL_APPLE_texture_format_BGRA8888 1010cb93a386Sopenharmony_ci#define GL_APPLE_texture_format_BGRA8888 1 1011cb93a386Sopenharmony_ci#define GL_BGRA_EXT 0x80E1 1012cb93a386Sopenharmony_ci#define GL_BGRA8_EXT 0x93A1 1013cb93a386Sopenharmony_ci#endif /* GL_APPLE_texture_format_BGRA8888 */ 1014cb93a386Sopenharmony_ci 1015cb93a386Sopenharmony_ci#ifndef GL_APPLE_texture_max_level 1016cb93a386Sopenharmony_ci#define GL_APPLE_texture_max_level 1 1017cb93a386Sopenharmony_ci#define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D 1018cb93a386Sopenharmony_ci#endif /* GL_APPLE_texture_max_level */ 1019cb93a386Sopenharmony_ci 1020cb93a386Sopenharmony_ci#ifndef GL_APPLE_texture_packed_float 1021cb93a386Sopenharmony_ci#define GL_APPLE_texture_packed_float 1 1022cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE 0x8C3B 1023cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT_5_9_9_9_REV_APPLE 0x8C3E 1024cb93a386Sopenharmony_ci#define GL_R11F_G11F_B10F_APPLE 0x8C3A 1025cb93a386Sopenharmony_ci#define GL_RGB9_E5_APPLE 0x8C3D 1026cb93a386Sopenharmony_ci#endif /* GL_APPLE_texture_packed_float */ 1027cb93a386Sopenharmony_ci 1028cb93a386Sopenharmony_ci#ifndef GL_ARM_mali_program_binary 1029cb93a386Sopenharmony_ci#define GL_ARM_mali_program_binary 1 1030cb93a386Sopenharmony_ci#define GL_MALI_PROGRAM_BINARY_ARM 0x8F61 1031cb93a386Sopenharmony_ci#endif /* GL_ARM_mali_program_binary */ 1032cb93a386Sopenharmony_ci 1033cb93a386Sopenharmony_ci#ifndef GL_ARM_mali_shader_binary 1034cb93a386Sopenharmony_ci#define GL_ARM_mali_shader_binary 1 1035cb93a386Sopenharmony_ci#define GL_MALI_SHADER_BINARY_ARM 0x8F60 1036cb93a386Sopenharmony_ci#endif /* GL_ARM_mali_shader_binary */ 1037cb93a386Sopenharmony_ci 1038cb93a386Sopenharmony_ci#ifndef GL_ARM_rgba8 1039cb93a386Sopenharmony_ci#define GL_ARM_rgba8 1 1040cb93a386Sopenharmony_ci#endif /* GL_ARM_rgba8 */ 1041cb93a386Sopenharmony_ci 1042cb93a386Sopenharmony_ci#ifndef GL_ARM_shader_framebuffer_fetch 1043cb93a386Sopenharmony_ci#define GL_ARM_shader_framebuffer_fetch 1 1044cb93a386Sopenharmony_ci#define GL_FETCH_PER_SAMPLE_ARM 0x8F65 1045cb93a386Sopenharmony_ci#define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66 1046cb93a386Sopenharmony_ci#endif /* GL_ARM_shader_framebuffer_fetch */ 1047cb93a386Sopenharmony_ci 1048cb93a386Sopenharmony_ci#ifndef GL_ARM_shader_framebuffer_fetch_depth_stencil 1049cb93a386Sopenharmony_ci#define GL_ARM_shader_framebuffer_fetch_depth_stencil 1 1050cb93a386Sopenharmony_ci#endif /* GL_ARM_shader_framebuffer_fetch_depth_stencil */ 1051cb93a386Sopenharmony_ci 1052cb93a386Sopenharmony_ci#ifndef GL_DMP_program_binary 1053cb93a386Sopenharmony_ci#define GL_DMP_program_binary 1 1054cb93a386Sopenharmony_ci#define GL_SMAPHS30_PROGRAM_BINARY_DMP 0x9251 1055cb93a386Sopenharmony_ci#define GL_SMAPHS_PROGRAM_BINARY_DMP 0x9252 1056cb93a386Sopenharmony_ci#define GL_DMP_PROGRAM_BINARY_DMP 0x9253 1057cb93a386Sopenharmony_ci#endif /* GL_DMP_program_binary */ 1058cb93a386Sopenharmony_ci 1059cb93a386Sopenharmony_ci#ifndef GL_DMP_shader_binary 1060cb93a386Sopenharmony_ci#define GL_DMP_shader_binary 1 1061cb93a386Sopenharmony_ci#define GL_SHADER_BINARY_DMP 0x9250 1062cb93a386Sopenharmony_ci#endif /* GL_DMP_shader_binary */ 1063cb93a386Sopenharmony_ci 1064cb93a386Sopenharmony_ci#ifndef GL_EXT_EGL_image_array 1065cb93a386Sopenharmony_ci#define GL_EXT_EGL_image_array 1 1066cb93a386Sopenharmony_ci#endif /* GL_EXT_EGL_image_array */ 1067cb93a386Sopenharmony_ci 1068cb93a386Sopenharmony_ci#ifndef GL_EXT_EGL_image_storage 1069cb93a386Sopenharmony_ci#define GL_EXT_EGL_image_storage 1 1070cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list); 1071cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list); 1072cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1073cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list); 1074cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list); 1075cb93a386Sopenharmony_ci#endif 1076cb93a386Sopenharmony_ci#endif /* GL_EXT_EGL_image_storage */ 1077cb93a386Sopenharmony_ci 1078cb93a386Sopenharmony_ci#ifndef GL_EXT_YUV_target 1079cb93a386Sopenharmony_ci#define GL_EXT_YUV_target 1 1080cb93a386Sopenharmony_ci#define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7 1081cb93a386Sopenharmony_ci#endif /* GL_EXT_YUV_target */ 1082cb93a386Sopenharmony_ci 1083cb93a386Sopenharmony_ci#ifndef GL_EXT_base_instance 1084cb93a386Sopenharmony_ci#define GL_EXT_base_instance 1 1085cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); 1086cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); 1087cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); 1088cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1089cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawArraysInstancedBaseInstanceEXT (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); 1090cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); 1091cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); 1092cb93a386Sopenharmony_ci#endif 1093cb93a386Sopenharmony_ci#endif /* GL_EXT_base_instance */ 1094cb93a386Sopenharmony_ci 1095cb93a386Sopenharmony_ci#ifndef GL_EXT_blend_func_extended 1096cb93a386Sopenharmony_ci#define GL_EXT_blend_func_extended 1 1097cb93a386Sopenharmony_ci#define GL_SRC1_COLOR_EXT 0x88F9 1098cb93a386Sopenharmony_ci#define GL_SRC1_ALPHA_EXT 0x8589 1099cb93a386Sopenharmony_ci#define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA 1100cb93a386Sopenharmony_ci#define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB 1101cb93a386Sopenharmony_ci#define GL_SRC_ALPHA_SATURATE_EXT 0x0308 1102cb93a386Sopenharmony_ci#define GL_LOCATION_INDEX_EXT 0x930F 1103cb93a386Sopenharmony_ci#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC 1104cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); 1105cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name); 1106cb93a386Sopenharmony_citypedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC) (GLuint program, GLenum programInterface, const GLchar *name); 1107cb93a386Sopenharmony_citypedef GLint (GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXTPROC) (GLuint program, const GLchar *name); 1108cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1109cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXT (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); 1110cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name); 1111cb93a386Sopenharmony_ciGL_APICALL GLint GL_APIENTRY glGetProgramResourceLocationIndexEXT (GLuint program, GLenum programInterface, const GLchar *name); 1112cb93a386Sopenharmony_ciGL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXT (GLuint program, const GLchar *name); 1113cb93a386Sopenharmony_ci#endif 1114cb93a386Sopenharmony_ci#endif /* GL_EXT_blend_func_extended */ 1115cb93a386Sopenharmony_ci 1116cb93a386Sopenharmony_ci#ifndef GL_EXT_blend_minmax 1117cb93a386Sopenharmony_ci#define GL_EXT_blend_minmax 1 1118cb93a386Sopenharmony_ci#define GL_MIN_EXT 0x8007 1119cb93a386Sopenharmony_ci#define GL_MAX_EXT 0x8008 1120cb93a386Sopenharmony_ci#endif /* GL_EXT_blend_minmax */ 1121cb93a386Sopenharmony_ci 1122cb93a386Sopenharmony_ci#ifndef GL_EXT_buffer_storage 1123cb93a386Sopenharmony_ci#define GL_EXT_buffer_storage 1 1124cb93a386Sopenharmony_ci#define GL_MAP_READ_BIT 0x0001 1125cb93a386Sopenharmony_ci#define GL_MAP_WRITE_BIT 0x0002 1126cb93a386Sopenharmony_ci#define GL_MAP_PERSISTENT_BIT_EXT 0x0040 1127cb93a386Sopenharmony_ci#define GL_MAP_COHERENT_BIT_EXT 0x0080 1128cb93a386Sopenharmony_ci#define GL_DYNAMIC_STORAGE_BIT_EXT 0x0100 1129cb93a386Sopenharmony_ci#define GL_CLIENT_STORAGE_BIT_EXT 0x0200 1130cb93a386Sopenharmony_ci#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT 0x00004000 1131cb93a386Sopenharmony_ci#define GL_BUFFER_IMMUTABLE_STORAGE_EXT 0x821F 1132cb93a386Sopenharmony_ci#define GL_BUFFER_STORAGE_FLAGS_EXT 0x8220 1133cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); 1134cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1135cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBufferStorageEXT (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); 1136cb93a386Sopenharmony_ci#endif 1137cb93a386Sopenharmony_ci#endif /* GL_EXT_buffer_storage */ 1138cb93a386Sopenharmony_ci 1139cb93a386Sopenharmony_ci#ifndef GL_EXT_clear_texture 1140cb93a386Sopenharmony_ci#define GL_EXT_clear_texture 1 1141cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCLEARTEXIMAGEEXTPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); 1142cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCLEARTEXSUBIMAGEEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); 1143cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1144cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glClearTexImageEXT (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); 1145cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glClearTexSubImageEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); 1146cb93a386Sopenharmony_ci#endif 1147cb93a386Sopenharmony_ci#endif /* GL_EXT_clear_texture */ 1148cb93a386Sopenharmony_ci 1149cb93a386Sopenharmony_ci#ifndef GL_EXT_clip_control 1150cb93a386Sopenharmony_ci#define GL_EXT_clip_control 1 1151cb93a386Sopenharmony_ci#define GL_LOWER_LEFT_EXT 0x8CA1 1152cb93a386Sopenharmony_ci#define GL_UPPER_LEFT_EXT 0x8CA2 1153cb93a386Sopenharmony_ci#define GL_NEGATIVE_ONE_TO_ONE_EXT 0x935E 1154cb93a386Sopenharmony_ci#define GL_ZERO_TO_ONE_EXT 0x935F 1155cb93a386Sopenharmony_ci#define GL_CLIP_ORIGIN_EXT 0x935C 1156cb93a386Sopenharmony_ci#define GL_CLIP_DEPTH_MODE_EXT 0x935D 1157cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCLIPCONTROLEXTPROC) (GLenum origin, GLenum depth); 1158cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1159cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glClipControlEXT (GLenum origin, GLenum depth); 1160cb93a386Sopenharmony_ci#endif 1161cb93a386Sopenharmony_ci#endif /* GL_EXT_clip_control */ 1162cb93a386Sopenharmony_ci 1163cb93a386Sopenharmony_ci#ifndef GL_EXT_clip_cull_distance 1164cb93a386Sopenharmony_ci#define GL_EXT_clip_cull_distance 1 1165cb93a386Sopenharmony_ci#define GL_MAX_CLIP_DISTANCES_EXT 0x0D32 1166cb93a386Sopenharmony_ci#define GL_MAX_CULL_DISTANCES_EXT 0x82F9 1167cb93a386Sopenharmony_ci#define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT 0x82FA 1168cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE0_EXT 0x3000 1169cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE1_EXT 0x3001 1170cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE2_EXT 0x3002 1171cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE3_EXT 0x3003 1172cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE4_EXT 0x3004 1173cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE5_EXT 0x3005 1174cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE6_EXT 0x3006 1175cb93a386Sopenharmony_ci#define GL_CLIP_DISTANCE7_EXT 0x3007 1176cb93a386Sopenharmony_ci#endif /* GL_EXT_clip_cull_distance */ 1177cb93a386Sopenharmony_ci 1178cb93a386Sopenharmony_ci#ifndef GL_EXT_color_buffer_float 1179cb93a386Sopenharmony_ci#define GL_EXT_color_buffer_float 1 1180cb93a386Sopenharmony_ci#endif /* GL_EXT_color_buffer_float */ 1181cb93a386Sopenharmony_ci 1182cb93a386Sopenharmony_ci#ifndef GL_EXT_color_buffer_half_float 1183cb93a386Sopenharmony_ci#define GL_EXT_color_buffer_half_float 1 1184cb93a386Sopenharmony_ci#define GL_RGBA16F_EXT 0x881A 1185cb93a386Sopenharmony_ci#define GL_RGB16F_EXT 0x881B 1186cb93a386Sopenharmony_ci#define GL_RG16F_EXT 0x822F 1187cb93a386Sopenharmony_ci#define GL_R16F_EXT 0x822D 1188cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 1189cb93a386Sopenharmony_ci#define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 1190cb93a386Sopenharmony_ci#endif /* GL_EXT_color_buffer_half_float */ 1191cb93a386Sopenharmony_ci 1192cb93a386Sopenharmony_ci#ifndef GL_EXT_conservative_depth 1193cb93a386Sopenharmony_ci#define GL_EXT_conservative_depth 1 1194cb93a386Sopenharmony_ci#endif /* GL_EXT_conservative_depth */ 1195cb93a386Sopenharmony_ci 1196cb93a386Sopenharmony_ci#ifndef GL_EXT_copy_image 1197cb93a386Sopenharmony_ci#define GL_EXT_copy_image 1 1198cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAEXTPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); 1199cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1200cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCopyImageSubDataEXT (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); 1201cb93a386Sopenharmony_ci#endif 1202cb93a386Sopenharmony_ci#endif /* GL_EXT_copy_image */ 1203cb93a386Sopenharmony_ci 1204cb93a386Sopenharmony_ci#ifndef GL_EXT_debug_label 1205cb93a386Sopenharmony_ci#define GL_EXT_debug_label 1 1206cb93a386Sopenharmony_ci#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F 1207cb93a386Sopenharmony_ci#define GL_PROGRAM_OBJECT_EXT 0x8B40 1208cb93a386Sopenharmony_ci#define GL_SHADER_OBJECT_EXT 0x8B48 1209cb93a386Sopenharmony_ci#define GL_BUFFER_OBJECT_EXT 0x9151 1210cb93a386Sopenharmony_ci#define GL_QUERY_OBJECT_EXT 0x9153 1211cb93a386Sopenharmony_ci#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 1212cb93a386Sopenharmony_ci#define GL_TRANSFORM_FEEDBACK 0x8E22 1213cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); 1214cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 1215cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1216cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); 1217cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 1218cb93a386Sopenharmony_ci#endif 1219cb93a386Sopenharmony_ci#endif /* GL_EXT_debug_label */ 1220cb93a386Sopenharmony_ci 1221cb93a386Sopenharmony_ci#ifndef GL_EXT_debug_marker 1222cb93a386Sopenharmony_ci#define GL_EXT_debug_marker 1 1223cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); 1224cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); 1225cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); 1226cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1227cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); 1228cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); 1229cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void); 1230cb93a386Sopenharmony_ci#endif 1231cb93a386Sopenharmony_ci#endif /* GL_EXT_debug_marker */ 1232cb93a386Sopenharmony_ci 1233cb93a386Sopenharmony_ci#ifndef GL_EXT_discard_framebuffer 1234cb93a386Sopenharmony_ci#define GL_EXT_discard_framebuffer 1 1235cb93a386Sopenharmony_ci#define GL_COLOR_EXT 0x1800 1236cb93a386Sopenharmony_ci#define GL_DEPTH_EXT 0x1801 1237cb93a386Sopenharmony_ci#define GL_STENCIL_EXT 0x1802 1238cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); 1239cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1240cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments); 1241cb93a386Sopenharmony_ci#endif 1242cb93a386Sopenharmony_ci#endif /* GL_EXT_discard_framebuffer */ 1243cb93a386Sopenharmony_ci 1244cb93a386Sopenharmony_ci#ifndef GL_EXT_disjoint_timer_query 1245cb93a386Sopenharmony_ci#define GL_EXT_disjoint_timer_query 1 1246cb93a386Sopenharmony_ci#define GL_QUERY_COUNTER_BITS_EXT 0x8864 1247cb93a386Sopenharmony_ci#define GL_CURRENT_QUERY_EXT 0x8865 1248cb93a386Sopenharmony_ci#define GL_QUERY_RESULT_EXT 0x8866 1249cb93a386Sopenharmony_ci#define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 1250cb93a386Sopenharmony_ci#define GL_TIME_ELAPSED_EXT 0x88BF 1251cb93a386Sopenharmony_ci#define GL_TIMESTAMP_EXT 0x8E28 1252cb93a386Sopenharmony_ci#define GL_GPU_DISJOINT_EXT 0x8FBB 1253cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); 1254cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids); 1255cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id); 1256cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id); 1257cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target); 1258cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target); 1259cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params); 1260cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params); 1261cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params); 1262cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params); 1263cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params); 1264cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1265cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); 1266cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); 1267cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id); 1268cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id); 1269cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target); 1270cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target); 1271cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params); 1272cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params); 1273cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params); 1274cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params); 1275cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params); 1276cb93a386Sopenharmony_ci#endif 1277cb93a386Sopenharmony_ci#endif /* GL_EXT_disjoint_timer_query */ 1278cb93a386Sopenharmony_ci 1279cb93a386Sopenharmony_ci#ifndef GL_EXT_draw_buffers 1280cb93a386Sopenharmony_ci#define GL_EXT_draw_buffers 1 1281cb93a386Sopenharmony_ci#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF 1282cb93a386Sopenharmony_ci#define GL_MAX_DRAW_BUFFERS_EXT 0x8824 1283cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER0_EXT 0x8825 1284cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER1_EXT 0x8826 1285cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER2_EXT 0x8827 1286cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER3_EXT 0x8828 1287cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER4_EXT 0x8829 1288cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER5_EXT 0x882A 1289cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER6_EXT 0x882B 1290cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER7_EXT 0x882C 1291cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER8_EXT 0x882D 1292cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER9_EXT 0x882E 1293cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER10_EXT 0x882F 1294cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER11_EXT 0x8830 1295cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER12_EXT 0x8831 1296cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER13_EXT 0x8832 1297cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER14_EXT 0x8833 1298cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER15_EXT 0x8834 1299cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 1300cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 1301cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 1302cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 1303cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 1304cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 1305cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 1306cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 1307cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 1308cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 1309cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA 1310cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB 1311cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC 1312cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT13_EXT 0x8CED 1313cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE 1314cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF 1315cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs); 1316cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1317cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs); 1318cb93a386Sopenharmony_ci#endif 1319cb93a386Sopenharmony_ci#endif /* GL_EXT_draw_buffers */ 1320cb93a386Sopenharmony_ci 1321cb93a386Sopenharmony_ci#ifndef GL_EXT_draw_buffers_indexed 1322cb93a386Sopenharmony_ci#define GL_EXT_draw_buffers_indexed 1 1323cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLENABLEIEXTPROC) (GLenum target, GLuint index); 1324cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDISABLEIEXTPROC) (GLenum target, GLuint index); 1325cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIEXTPROC) (GLuint buf, GLenum mode); 1326cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIEXTPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 1327cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBLENDFUNCIEXTPROC) (GLuint buf, GLenum src, GLenum dst); 1328cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIEXTPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 1329cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOLORMASKIEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 1330cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIEXTPROC) (GLenum target, GLuint index); 1331cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1332cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glEnableiEXT (GLenum target, GLuint index); 1333cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDisableiEXT (GLenum target, GLuint index); 1334cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBlendEquationiEXT (GLuint buf, GLenum mode); 1335cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBlendEquationSeparateiEXT (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 1336cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBlendFunciEXT (GLuint buf, GLenum src, GLenum dst); 1337cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBlendFuncSeparateiEXT (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 1338cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glColorMaskiEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 1339cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsEnablediEXT (GLenum target, GLuint index); 1340cb93a386Sopenharmony_ci#endif 1341cb93a386Sopenharmony_ci#endif /* GL_EXT_draw_buffers_indexed */ 1342cb93a386Sopenharmony_ci 1343cb93a386Sopenharmony_ci#ifndef GL_EXT_draw_elements_base_vertex 1344cb93a386Sopenharmony_ci#define GL_EXT_draw_elements_base_vertex 1 1345cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1346cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1347cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 1348cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1349cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawElementsBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1350cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1351cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 1352cb93a386Sopenharmony_ci#endif 1353cb93a386Sopenharmony_ci#endif /* GL_EXT_draw_elements_base_vertex */ 1354cb93a386Sopenharmony_ci 1355cb93a386Sopenharmony_ci#ifndef GL_EXT_draw_instanced 1356cb93a386Sopenharmony_ci#define GL_EXT_draw_instanced 1 1357cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); 1358cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 1359cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1360cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); 1361cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 1362cb93a386Sopenharmony_ci#endif 1363cb93a386Sopenharmony_ci#endif /* GL_EXT_draw_instanced */ 1364cb93a386Sopenharmony_ci 1365cb93a386Sopenharmony_ci#ifndef GL_EXT_draw_transform_feedback 1366cb93a386Sopenharmony_ci#define GL_EXT_draw_transform_feedback 1 1367cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKEXTPROC) (GLenum mode, GLuint id); 1368cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC) (GLenum mode, GLuint id, GLsizei instancecount); 1369cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1370cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawTransformFeedbackEXT (GLenum mode, GLuint id); 1371cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawTransformFeedbackInstancedEXT (GLenum mode, GLuint id, GLsizei instancecount); 1372cb93a386Sopenharmony_ci#endif 1373cb93a386Sopenharmony_ci#endif /* GL_EXT_draw_transform_feedback */ 1374cb93a386Sopenharmony_ci 1375cb93a386Sopenharmony_ci#ifndef GL_EXT_external_buffer 1376cb93a386Sopenharmony_ci#define GL_EXT_external_buffer 1 1377cb93a386Sopenharmony_citypedef void *GLeglClientBufferEXT; 1378cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1379cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1380cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1381cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1382cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1383cb93a386Sopenharmony_ci#endif 1384cb93a386Sopenharmony_ci#endif /* GL_EXT_external_buffer */ 1385cb93a386Sopenharmony_ci 1386cb93a386Sopenharmony_ci#ifndef GL_EXT_float_blend 1387cb93a386Sopenharmony_ci#define GL_EXT_float_blend 1 1388cb93a386Sopenharmony_ci#endif /* GL_EXT_float_blend */ 1389cb93a386Sopenharmony_ci 1390cb93a386Sopenharmony_ci#ifndef GL_EXT_geometry_point_size 1391cb93a386Sopenharmony_ci#define GL_EXT_geometry_point_size 1 1392cb93a386Sopenharmony_ci#endif /* GL_EXT_geometry_point_size */ 1393cb93a386Sopenharmony_ci 1394cb93a386Sopenharmony_ci#ifndef GL_EXT_geometry_shader 1395cb93a386Sopenharmony_ci#define GL_EXT_geometry_shader 1 1396cb93a386Sopenharmony_ci#define GL_GEOMETRY_SHADER_EXT 0x8DD9 1397cb93a386Sopenharmony_ci#define GL_GEOMETRY_SHADER_BIT_EXT 0x00000004 1398cb93a386Sopenharmony_ci#define GL_GEOMETRY_LINKED_VERTICES_OUT_EXT 0x8916 1399cb93a386Sopenharmony_ci#define GL_GEOMETRY_LINKED_INPUT_TYPE_EXT 0x8917 1400cb93a386Sopenharmony_ci#define GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT 0x8918 1401cb93a386Sopenharmony_ci#define GL_GEOMETRY_SHADER_INVOCATIONS_EXT 0x887F 1402cb93a386Sopenharmony_ci#define GL_LAYER_PROVOKING_VERTEX_EXT 0x825E 1403cb93a386Sopenharmony_ci#define GL_LINES_ADJACENCY_EXT 0x000A 1404cb93a386Sopenharmony_ci#define GL_LINE_STRIP_ADJACENCY_EXT 0x000B 1405cb93a386Sopenharmony_ci#define GL_TRIANGLES_ADJACENCY_EXT 0x000C 1406cb93a386Sopenharmony_ci#define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D 1407cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF 1408cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT 0x8A2C 1409cb93a386Sopenharmony_ci#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8A32 1410cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT 0x9123 1411cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT 0x9124 1412cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 1413cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 1414cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT 0x8E5A 1415cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 1416cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT 0x92CF 1417cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT 0x92D5 1418cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT 0x90CD 1419cb93a386Sopenharmony_ci#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT 0x90D7 1420cb93a386Sopenharmony_ci#define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D 1421cb93a386Sopenharmony_ci#define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E 1422cb93a386Sopenharmony_ci#define GL_UNDEFINED_VERTEX_EXT 0x8260 1423cb93a386Sopenharmony_ci#define GL_PRIMITIVES_GENERATED_EXT 0x8C87 1424cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT 0x9312 1425cb93a386Sopenharmony_ci#define GL_MAX_FRAMEBUFFER_LAYERS_EXT 0x9317 1426cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 1427cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 1428cb93a386Sopenharmony_ci#define GL_REFERENCED_BY_GEOMETRY_SHADER_EXT 0x9309 1429cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 1430cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1431cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level); 1432cb93a386Sopenharmony_ci#endif 1433cb93a386Sopenharmony_ci#endif /* GL_EXT_geometry_shader */ 1434cb93a386Sopenharmony_ci 1435cb93a386Sopenharmony_ci#ifndef GL_EXT_gpu_shader5 1436cb93a386Sopenharmony_ci#define GL_EXT_gpu_shader5 1 1437cb93a386Sopenharmony_ci#endif /* GL_EXT_gpu_shader5 */ 1438cb93a386Sopenharmony_ci 1439cb93a386Sopenharmony_ci#ifndef GL_EXT_instanced_arrays 1440cb93a386Sopenharmony_ci#define GL_EXT_instanced_arrays 1 1441cb93a386Sopenharmony_ci#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE 1442cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor); 1443cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1444cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor); 1445cb93a386Sopenharmony_ci#endif 1446cb93a386Sopenharmony_ci#endif /* GL_EXT_instanced_arrays */ 1447cb93a386Sopenharmony_ci 1448cb93a386Sopenharmony_ci#ifndef GL_EXT_map_buffer_range 1449cb93a386Sopenharmony_ci#define GL_EXT_map_buffer_range 1 1450cb93a386Sopenharmony_ci#define GL_MAP_READ_BIT_EXT 0x0001 1451cb93a386Sopenharmony_ci#define GL_MAP_WRITE_BIT_EXT 0x0002 1452cb93a386Sopenharmony_ci#define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 1453cb93a386Sopenharmony_ci#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 1454cb93a386Sopenharmony_ci#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 1455cb93a386Sopenharmony_ci#define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 1456cb93a386Sopenharmony_citypedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 1457cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); 1458cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1459cb93a386Sopenharmony_ciGL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 1460cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); 1461cb93a386Sopenharmony_ci#endif 1462cb93a386Sopenharmony_ci#endif /* GL_EXT_map_buffer_range */ 1463cb93a386Sopenharmony_ci 1464cb93a386Sopenharmony_ci#ifndef GL_EXT_memory_object 1465cb93a386Sopenharmony_ci#define GL_EXT_memory_object 1 1466cb93a386Sopenharmony_ci#define GL_TEXTURE_TILING_EXT 0x9580 1467cb93a386Sopenharmony_ci#define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581 1468cb93a386Sopenharmony_ci#define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B 1469cb93a386Sopenharmony_ci#define GL_NUM_TILING_TYPES_EXT 0x9582 1470cb93a386Sopenharmony_ci#define GL_TILING_TYPES_EXT 0x9583 1471cb93a386Sopenharmony_ci#define GL_OPTIMAL_TILING_EXT 0x9584 1472cb93a386Sopenharmony_ci#define GL_LINEAR_TILING_EXT 0x9585 1473cb93a386Sopenharmony_ci#define GL_NUM_DEVICE_UUIDS_EXT 0x9596 1474cb93a386Sopenharmony_ci#define GL_DEVICE_UUID_EXT 0x9597 1475cb93a386Sopenharmony_ci#define GL_DRIVER_UUID_EXT 0x9598 1476cb93a386Sopenharmony_ci#define GL_UUID_SIZE_EXT 16 1477cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data); 1478cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data); 1479cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects); 1480cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject); 1481cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects); 1482cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params); 1483cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params); 1484cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); 1485cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1486cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); 1487cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1488cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); 1489cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); 1490cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1491cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); 1492cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1493cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); 1494cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1495cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data); 1496cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data); 1497cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects); 1498cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsMemoryObjectEXT (GLuint memoryObject); 1499cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects); 1500cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params); 1501cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params); 1502cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); 1503cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1504cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); 1505cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1506cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); 1507cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); 1508cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1509cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); 1510cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1511cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); 1512cb93a386Sopenharmony_ci#endif 1513cb93a386Sopenharmony_ci#endif /* GL_EXT_memory_object */ 1514cb93a386Sopenharmony_ci 1515cb93a386Sopenharmony_ci#ifndef GL_EXT_memory_object_fd 1516cb93a386Sopenharmony_ci#define GL_EXT_memory_object_fd 1 1517cb93a386Sopenharmony_ci#define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586 1518cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd); 1519cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1520cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd); 1521cb93a386Sopenharmony_ci#endif 1522cb93a386Sopenharmony_ci#endif /* GL_EXT_memory_object_fd */ 1523cb93a386Sopenharmony_ci 1524cb93a386Sopenharmony_ci#ifndef GL_EXT_memory_object_win32 1525cb93a386Sopenharmony_ci#define GL_EXT_memory_object_win32 1 1526cb93a386Sopenharmony_ci#define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587 1527cb93a386Sopenharmony_ci#define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588 1528cb93a386Sopenharmony_ci#define GL_DEVICE_LUID_EXT 0x9599 1529cb93a386Sopenharmony_ci#define GL_DEVICE_NODE_MASK_EXT 0x959A 1530cb93a386Sopenharmony_ci#define GL_LUID_SIZE_EXT 8 1531cb93a386Sopenharmony_ci#define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589 1532cb93a386Sopenharmony_ci#define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A 1533cb93a386Sopenharmony_ci#define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B 1534cb93a386Sopenharmony_ci#define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C 1535cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle); 1536cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name); 1537cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1538cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle); 1539cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name); 1540cb93a386Sopenharmony_ci#endif 1541cb93a386Sopenharmony_ci#endif /* GL_EXT_memory_object_win32 */ 1542cb93a386Sopenharmony_ci 1543cb93a386Sopenharmony_ci#ifndef GL_EXT_multi_draw_arrays 1544cb93a386Sopenharmony_ci#define GL_EXT_multi_draw_arrays 1 1545cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 1546cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); 1547cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1548cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 1549cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); 1550cb93a386Sopenharmony_ci#endif 1551cb93a386Sopenharmony_ci#endif /* GL_EXT_multi_draw_arrays */ 1552cb93a386Sopenharmony_ci 1553cb93a386Sopenharmony_ci#ifndef GL_EXT_multi_draw_indirect 1554cb93a386Sopenharmony_ci#define GL_EXT_multi_draw_indirect 1 1555cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 1556cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 1557cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1558cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMultiDrawArraysIndirectEXT (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 1559cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 1560cb93a386Sopenharmony_ci#endif 1561cb93a386Sopenharmony_ci#endif /* GL_EXT_multi_draw_indirect */ 1562cb93a386Sopenharmony_ci 1563cb93a386Sopenharmony_ci#ifndef GL_EXT_multisampled_compatibility 1564cb93a386Sopenharmony_ci#define GL_EXT_multisampled_compatibility 1 1565cb93a386Sopenharmony_ci#define GL_MULTISAMPLE_EXT 0x809D 1566cb93a386Sopenharmony_ci#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F 1567cb93a386Sopenharmony_ci#endif /* GL_EXT_multisampled_compatibility */ 1568cb93a386Sopenharmony_ci 1569cb93a386Sopenharmony_ci#ifndef GL_EXT_multisampled_render_to_texture 1570cb93a386Sopenharmony_ci#define GL_EXT_multisampled_render_to_texture 1 1571cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C 1572cb93a386Sopenharmony_ci#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB 1573cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 1574cb93a386Sopenharmony_ci#define GL_MAX_SAMPLES_EXT 0x8D57 1575cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1576cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 1577cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1578cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1579cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 1580cb93a386Sopenharmony_ci#endif 1581cb93a386Sopenharmony_ci#endif /* GL_EXT_multisampled_render_to_texture */ 1582cb93a386Sopenharmony_ci 1583cb93a386Sopenharmony_ci#ifndef GL_EXT_multiview_draw_buffers 1584cb93a386Sopenharmony_ci#define GL_EXT_multiview_draw_buffers 1 1585cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT_EXT 0x90F0 1586cb93a386Sopenharmony_ci#define GL_MULTIVIEW_EXT 0x90F1 1587cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER_EXT 0x0C01 1588cb93a386Sopenharmony_ci#define GL_READ_BUFFER_EXT 0x0C02 1589cb93a386Sopenharmony_ci#define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2 1590cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index); 1591cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices); 1592cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data); 1593cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1594cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index); 1595cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices); 1596cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data); 1597cb93a386Sopenharmony_ci#endif 1598cb93a386Sopenharmony_ci#endif /* GL_EXT_multiview_draw_buffers */ 1599cb93a386Sopenharmony_ci 1600cb93a386Sopenharmony_ci#ifndef GL_EXT_occlusion_query_boolean 1601cb93a386Sopenharmony_ci#define GL_EXT_occlusion_query_boolean 1 1602cb93a386Sopenharmony_ci#define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F 1603cb93a386Sopenharmony_ci#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A 1604cb93a386Sopenharmony_ci#endif /* GL_EXT_occlusion_query_boolean */ 1605cb93a386Sopenharmony_ci 1606cb93a386Sopenharmony_ci#ifndef GL_EXT_polygon_offset_clamp 1607cb93a386Sopenharmony_ci#define GL_EXT_polygon_offset_clamp 1 1608cb93a386Sopenharmony_ci#define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B 1609cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp); 1610cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1611cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp); 1612cb93a386Sopenharmony_ci#endif 1613cb93a386Sopenharmony_ci#endif /* GL_EXT_polygon_offset_clamp */ 1614cb93a386Sopenharmony_ci 1615cb93a386Sopenharmony_ci#ifndef GL_EXT_post_depth_coverage 1616cb93a386Sopenharmony_ci#define GL_EXT_post_depth_coverage 1 1617cb93a386Sopenharmony_ci#endif /* GL_EXT_post_depth_coverage */ 1618cb93a386Sopenharmony_ci 1619cb93a386Sopenharmony_ci#ifndef GL_EXT_primitive_bounding_box 1620cb93a386Sopenharmony_ci#define GL_EXT_primitive_bounding_box 1 1621cb93a386Sopenharmony_ci#define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE 1622cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXEXTPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 1623cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1624cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 1625cb93a386Sopenharmony_ci#endif 1626cb93a386Sopenharmony_ci#endif /* GL_EXT_primitive_bounding_box */ 1627cb93a386Sopenharmony_ci 1628cb93a386Sopenharmony_ci#ifndef GL_EXT_protected_textures 1629cb93a386Sopenharmony_ci#define GL_EXT_protected_textures 1 1630cb93a386Sopenharmony_ci#define GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT 0x00000010 1631cb93a386Sopenharmony_ci#define GL_TEXTURE_PROTECTED_EXT 0x8BFA 1632cb93a386Sopenharmony_ci#endif /* GL_EXT_protected_textures */ 1633cb93a386Sopenharmony_ci 1634cb93a386Sopenharmony_ci#ifndef GL_EXT_pvrtc_sRGB 1635cb93a386Sopenharmony_ci#define GL_EXT_pvrtc_sRGB 1 1636cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54 1637cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55 1638cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56 1639cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57 1640cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG 0x93F0 1641cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG 0x93F1 1642cb93a386Sopenharmony_ci#endif /* GL_EXT_pvrtc_sRGB */ 1643cb93a386Sopenharmony_ci 1644cb93a386Sopenharmony_ci#ifndef GL_EXT_raster_multisample 1645cb93a386Sopenharmony_ci#define GL_EXT_raster_multisample 1 1646cb93a386Sopenharmony_ci#define GL_RASTER_MULTISAMPLE_EXT 0x9327 1647cb93a386Sopenharmony_ci#define GL_RASTER_SAMPLES_EXT 0x9328 1648cb93a386Sopenharmony_ci#define GL_MAX_RASTER_SAMPLES_EXT 0x9329 1649cb93a386Sopenharmony_ci#define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A 1650cb93a386Sopenharmony_ci#define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B 1651cb93a386Sopenharmony_ci#define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C 1652cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations); 1653cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1654cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations); 1655cb93a386Sopenharmony_ci#endif 1656cb93a386Sopenharmony_ci#endif /* GL_EXT_raster_multisample */ 1657cb93a386Sopenharmony_ci 1658cb93a386Sopenharmony_ci#ifndef GL_EXT_read_format_bgra 1659cb93a386Sopenharmony_ci#define GL_EXT_read_format_bgra 1 1660cb93a386Sopenharmony_ci#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 1661cb93a386Sopenharmony_ci#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 1662cb93a386Sopenharmony_ci#endif /* GL_EXT_read_format_bgra */ 1663cb93a386Sopenharmony_ci 1664cb93a386Sopenharmony_ci#ifndef GL_EXT_render_snorm 1665cb93a386Sopenharmony_ci#define GL_EXT_render_snorm 1 1666cb93a386Sopenharmony_ci#define GL_R8_SNORM 0x8F94 1667cb93a386Sopenharmony_ci#define GL_RG8_SNORM 0x8F95 1668cb93a386Sopenharmony_ci#define GL_RGBA8_SNORM 0x8F97 1669cb93a386Sopenharmony_ci#define GL_R16_SNORM_EXT 0x8F98 1670cb93a386Sopenharmony_ci#define GL_RG16_SNORM_EXT 0x8F99 1671cb93a386Sopenharmony_ci#define GL_RGBA16_SNORM_EXT 0x8F9B 1672cb93a386Sopenharmony_ci#endif /* GL_EXT_render_snorm */ 1673cb93a386Sopenharmony_ci 1674cb93a386Sopenharmony_ci#ifndef GL_EXT_robustness 1675cb93a386Sopenharmony_ci#define GL_EXT_robustness 1 1676cb93a386Sopenharmony_ci#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 1677cb93a386Sopenharmony_ci#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 1678cb93a386Sopenharmony_ci#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 1679cb93a386Sopenharmony_ci#define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 1680cb93a386Sopenharmony_ci#define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 1681cb93a386Sopenharmony_ci#define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 1682cb93a386Sopenharmony_ci#define GL_NO_RESET_NOTIFICATION_EXT 0x8261 1683cb93a386Sopenharmony_citypedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); 1684cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 1685cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 1686cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); 1687cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1688cb93a386Sopenharmony_ciGL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void); 1689cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 1690cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 1691cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params); 1692cb93a386Sopenharmony_ci#endif 1693cb93a386Sopenharmony_ci#endif /* GL_EXT_robustness */ 1694cb93a386Sopenharmony_ci 1695cb93a386Sopenharmony_ci#ifndef GL_EXT_sRGB 1696cb93a386Sopenharmony_ci#define GL_EXT_sRGB 1 1697cb93a386Sopenharmony_ci#define GL_SRGB_EXT 0x8C40 1698cb93a386Sopenharmony_ci#define GL_SRGB_ALPHA_EXT 0x8C42 1699cb93a386Sopenharmony_ci#define GL_SRGB8_ALPHA8_EXT 0x8C43 1700cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 1701cb93a386Sopenharmony_ci#endif /* GL_EXT_sRGB */ 1702cb93a386Sopenharmony_ci 1703cb93a386Sopenharmony_ci#ifndef GL_EXT_sRGB_write_control 1704cb93a386Sopenharmony_ci#define GL_EXT_sRGB_write_control 1 1705cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 1706cb93a386Sopenharmony_ci#endif /* GL_EXT_sRGB_write_control */ 1707cb93a386Sopenharmony_ci 1708cb93a386Sopenharmony_ci#ifndef GL_EXT_semaphore 1709cb93a386Sopenharmony_ci#define GL_EXT_semaphore 1 1710cb93a386Sopenharmony_ci#define GL_LAYOUT_GENERAL_EXT 0x958D 1711cb93a386Sopenharmony_ci#define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E 1712cb93a386Sopenharmony_ci#define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F 1713cb93a386Sopenharmony_ci#define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590 1714cb93a386Sopenharmony_ci#define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591 1715cb93a386Sopenharmony_ci#define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592 1716cb93a386Sopenharmony_ci#define GL_LAYOUT_TRANSFER_DST_EXT 0x9593 1717cb93a386Sopenharmony_ci#define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530 1718cb93a386Sopenharmony_ci#define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531 1719cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores); 1720cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores); 1721cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore); 1722cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params); 1723cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params); 1724cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts); 1725cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts); 1726cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1727cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores); 1728cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores); 1729cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsSemaphoreEXT (GLuint semaphore); 1730cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params); 1731cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params); 1732cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts); 1733cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts); 1734cb93a386Sopenharmony_ci#endif 1735cb93a386Sopenharmony_ci#endif /* GL_EXT_semaphore */ 1736cb93a386Sopenharmony_ci 1737cb93a386Sopenharmony_ci#ifndef GL_EXT_semaphore_fd 1738cb93a386Sopenharmony_ci#define GL_EXT_semaphore_fd 1 1739cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd); 1740cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1741cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd); 1742cb93a386Sopenharmony_ci#endif 1743cb93a386Sopenharmony_ci#endif /* GL_EXT_semaphore_fd */ 1744cb93a386Sopenharmony_ci 1745cb93a386Sopenharmony_ci#ifndef GL_EXT_semaphore_win32 1746cb93a386Sopenharmony_ci#define GL_EXT_semaphore_win32 1 1747cb93a386Sopenharmony_ci#define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594 1748cb93a386Sopenharmony_ci#define GL_D3D12_FENCE_VALUE_EXT 0x9595 1749cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle); 1750cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name); 1751cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1752cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle); 1753cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name); 1754cb93a386Sopenharmony_ci#endif 1755cb93a386Sopenharmony_ci#endif /* GL_EXT_semaphore_win32 */ 1756cb93a386Sopenharmony_ci 1757cb93a386Sopenharmony_ci#ifndef GL_EXT_separate_shader_objects 1758cb93a386Sopenharmony_ci#define GL_EXT_separate_shader_objects 1 1759cb93a386Sopenharmony_ci#define GL_ACTIVE_PROGRAM_EXT 0x8259 1760cb93a386Sopenharmony_ci#define GL_VERTEX_SHADER_BIT_EXT 0x00000001 1761cb93a386Sopenharmony_ci#define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002 1762cb93a386Sopenharmony_ci#define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF 1763cb93a386Sopenharmony_ci#define GL_PROGRAM_SEPARABLE_EXT 0x8258 1764cb93a386Sopenharmony_ci#define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A 1765cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program); 1766cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline); 1767cb93a386Sopenharmony_citypedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings); 1768cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines); 1769cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines); 1770cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 1771cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params); 1772cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline); 1773cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); 1774cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); 1775cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1776cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); 1777cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1778cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); 1779cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1780cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); 1781cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1782cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 1783cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1784cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 1785cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1786cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 1787cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1788cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 1789cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1790cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1791cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1792cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1793cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program); 1794cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline); 1795cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); 1796cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); 1797cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 1798cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1799cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1800cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1801cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1802cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1803cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1804cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1805cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1806cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1807cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1808cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1809cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1810cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program); 1811cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline); 1812cb93a386Sopenharmony_ciGL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings); 1813cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines); 1814cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines); 1815cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 1816cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params); 1817cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline); 1818cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value); 1819cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); 1820cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1821cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); 1822cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1823cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); 1824cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1825cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); 1826cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1827cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 1828cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1829cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 1830cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1831cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 1832cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1833cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 1834cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1835cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1836cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1837cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1838cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program); 1839cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline); 1840cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); 1841cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); 1842cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 1843cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1844cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1845cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1846cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1847cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1848cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1849cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1850cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1851cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1852cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1853cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1854cb93a386Sopenharmony_ci#endif 1855cb93a386Sopenharmony_ci#endif /* GL_EXT_separate_shader_objects */ 1856cb93a386Sopenharmony_ci 1857cb93a386Sopenharmony_ci#ifndef GL_EXT_shader_framebuffer_fetch 1858cb93a386Sopenharmony_ci#define GL_EXT_shader_framebuffer_fetch 1 1859cb93a386Sopenharmony_ci#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 1860cb93a386Sopenharmony_ci#endif /* GL_EXT_shader_framebuffer_fetch */ 1861cb93a386Sopenharmony_ci 1862cb93a386Sopenharmony_ci#ifndef GL_EXT_shader_framebuffer_fetch_non_coherent 1863cb93a386Sopenharmony_ci#define GL_EXT_shader_framebuffer_fetch_non_coherent 1 1864cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void); 1865cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1866cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferFetchBarrierEXT (void); 1867cb93a386Sopenharmony_ci#endif 1868cb93a386Sopenharmony_ci#endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */ 1869cb93a386Sopenharmony_ci 1870cb93a386Sopenharmony_ci#ifndef GL_EXT_shader_group_vote 1871cb93a386Sopenharmony_ci#define GL_EXT_shader_group_vote 1 1872cb93a386Sopenharmony_ci#endif /* GL_EXT_shader_group_vote */ 1873cb93a386Sopenharmony_ci 1874cb93a386Sopenharmony_ci#ifndef GL_EXT_shader_implicit_conversions 1875cb93a386Sopenharmony_ci#define GL_EXT_shader_implicit_conversions 1 1876cb93a386Sopenharmony_ci#endif /* GL_EXT_shader_implicit_conversions */ 1877cb93a386Sopenharmony_ci 1878cb93a386Sopenharmony_ci#ifndef GL_EXT_shader_integer_mix 1879cb93a386Sopenharmony_ci#define GL_EXT_shader_integer_mix 1 1880cb93a386Sopenharmony_ci#endif /* GL_EXT_shader_integer_mix */ 1881cb93a386Sopenharmony_ci 1882cb93a386Sopenharmony_ci#ifndef GL_EXT_shader_io_blocks 1883cb93a386Sopenharmony_ci#define GL_EXT_shader_io_blocks 1 1884cb93a386Sopenharmony_ci#endif /* GL_EXT_shader_io_blocks */ 1885cb93a386Sopenharmony_ci 1886cb93a386Sopenharmony_ci#ifndef GL_EXT_shader_non_constant_global_initializers 1887cb93a386Sopenharmony_ci#define GL_EXT_shader_non_constant_global_initializers 1 1888cb93a386Sopenharmony_ci#endif /* GL_EXT_shader_non_constant_global_initializers */ 1889cb93a386Sopenharmony_ci 1890cb93a386Sopenharmony_ci#ifndef GL_EXT_shader_pixel_local_storage 1891cb93a386Sopenharmony_ci#define GL_EXT_shader_pixel_local_storage 1 1892cb93a386Sopenharmony_ci#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63 1893cb93a386Sopenharmony_ci#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67 1894cb93a386Sopenharmony_ci#define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64 1895cb93a386Sopenharmony_ci#endif /* GL_EXT_shader_pixel_local_storage */ 1896cb93a386Sopenharmony_ci 1897cb93a386Sopenharmony_ci#ifndef GL_EXT_shader_pixel_local_storage2 1898cb93a386Sopenharmony_ci#define GL_EXT_shader_pixel_local_storage2 1 1899cb93a386Sopenharmony_ci#define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT 0x9650 1900cb93a386Sopenharmony_ci#define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT 0x9651 1901cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT 0x9652 1902cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target, GLsizei size); 1903cb93a386Sopenharmony_citypedef GLsizei (GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target); 1904cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC) (GLsizei offset, GLsizei n, const GLuint *values); 1905cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1906cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferPixelLocalStorageSizeEXT (GLuint target, GLsizei size); 1907cb93a386Sopenharmony_ciGL_APICALL GLsizei GL_APIENTRY glGetFramebufferPixelLocalStorageSizeEXT (GLuint target); 1908cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glClearPixelLocalStorageuiEXT (GLsizei offset, GLsizei n, const GLuint *values); 1909cb93a386Sopenharmony_ci#endif 1910cb93a386Sopenharmony_ci#endif /* GL_EXT_shader_pixel_local_storage2 */ 1911cb93a386Sopenharmony_ci 1912cb93a386Sopenharmony_ci#ifndef GL_EXT_shader_texture_lod 1913cb93a386Sopenharmony_ci#define GL_EXT_shader_texture_lod 1 1914cb93a386Sopenharmony_ci#endif /* GL_EXT_shader_texture_lod */ 1915cb93a386Sopenharmony_ci 1916cb93a386Sopenharmony_ci#ifndef GL_EXT_shadow_samplers 1917cb93a386Sopenharmony_ci#define GL_EXT_shadow_samplers 1 1918cb93a386Sopenharmony_ci#define GL_TEXTURE_COMPARE_MODE_EXT 0x884C 1919cb93a386Sopenharmony_ci#define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D 1920cb93a386Sopenharmony_ci#define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E 1921cb93a386Sopenharmony_ci#define GL_SAMPLER_2D_SHADOW_EXT 0x8B62 1922cb93a386Sopenharmony_ci#endif /* GL_EXT_shadow_samplers */ 1923cb93a386Sopenharmony_ci 1924cb93a386Sopenharmony_ci#ifndef GL_EXT_sparse_texture 1925cb93a386Sopenharmony_ci#define GL_EXT_sparse_texture 1 1926cb93a386Sopenharmony_ci#define GL_TEXTURE_SPARSE_EXT 0x91A6 1927cb93a386Sopenharmony_ci#define GL_VIRTUAL_PAGE_SIZE_INDEX_EXT 0x91A7 1928cb93a386Sopenharmony_ci#define GL_NUM_SPARSE_LEVELS_EXT 0x91AA 1929cb93a386Sopenharmony_ci#define GL_NUM_VIRTUAL_PAGE_SIZES_EXT 0x91A8 1930cb93a386Sopenharmony_ci#define GL_VIRTUAL_PAGE_SIZE_X_EXT 0x9195 1931cb93a386Sopenharmony_ci#define GL_VIRTUAL_PAGE_SIZE_Y_EXT 0x9196 1932cb93a386Sopenharmony_ci#define GL_VIRTUAL_PAGE_SIZE_Z_EXT 0x9197 1933cb93a386Sopenharmony_ci#define GL_TEXTURE_2D_ARRAY 0x8C1A 1934cb93a386Sopenharmony_ci#define GL_TEXTURE_3D 0x806F 1935cb93a386Sopenharmony_ci#define GL_MAX_SPARSE_TEXTURE_SIZE_EXT 0x9198 1936cb93a386Sopenharmony_ci#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT 0x9199 1937cb93a386Sopenharmony_ci#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT 0x919A 1938cb93a386Sopenharmony_ci#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT 0x91A9 1939cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); 1940cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 1941cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); 1942cb93a386Sopenharmony_ci#endif 1943cb93a386Sopenharmony_ci#endif /* GL_EXT_sparse_texture */ 1944cb93a386Sopenharmony_ci 1945cb93a386Sopenharmony_ci#ifndef GL_EXT_sparse_texture2 1946cb93a386Sopenharmony_ci#define GL_EXT_sparse_texture2 1 1947cb93a386Sopenharmony_ci#endif /* GL_EXT_sparse_texture2 */ 1948cb93a386Sopenharmony_ci 1949cb93a386Sopenharmony_ci#ifndef GL_EXT_tessellation_point_size 1950cb93a386Sopenharmony_ci#define GL_EXT_tessellation_point_size 1 1951cb93a386Sopenharmony_ci#endif /* GL_EXT_tessellation_point_size */ 1952cb93a386Sopenharmony_ci 1953cb93a386Sopenharmony_ci#ifndef GL_EXT_tessellation_shader 1954cb93a386Sopenharmony_ci#define GL_EXT_tessellation_shader 1 1955cb93a386Sopenharmony_ci#define GL_PATCHES_EXT 0x000E 1956cb93a386Sopenharmony_ci#define GL_PATCH_VERTICES_EXT 0x8E72 1957cb93a386Sopenharmony_ci#define GL_TESS_CONTROL_OUTPUT_VERTICES_EXT 0x8E75 1958cb93a386Sopenharmony_ci#define GL_TESS_GEN_MODE_EXT 0x8E76 1959cb93a386Sopenharmony_ci#define GL_TESS_GEN_SPACING_EXT 0x8E77 1960cb93a386Sopenharmony_ci#define GL_TESS_GEN_VERTEX_ORDER_EXT 0x8E78 1961cb93a386Sopenharmony_ci#define GL_TESS_GEN_POINT_MODE_EXT 0x8E79 1962cb93a386Sopenharmony_ci#define GL_ISOLINES_EXT 0x8E7A 1963cb93a386Sopenharmony_ci#define GL_QUADS_EXT 0x0007 1964cb93a386Sopenharmony_ci#define GL_FRACTIONAL_ODD_EXT 0x8E7B 1965cb93a386Sopenharmony_ci#define GL_FRACTIONAL_EVEN_EXT 0x8E7C 1966cb93a386Sopenharmony_ci#define GL_MAX_PATCH_VERTICES_EXT 0x8E7D 1967cb93a386Sopenharmony_ci#define GL_MAX_TESS_GEN_LEVEL_EXT 0x8E7E 1968cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E7F 1969cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E80 1970cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT 0x8E81 1971cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82 1972cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT 0x8E83 1973cb93a386Sopenharmony_ci#define GL_MAX_TESS_PATCH_COMPONENTS_EXT 0x8E84 1974cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT 0x8E85 1975cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT 0x8E86 1976cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT 0x8E89 1977cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT 0x8E8A 1978cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT 0x886C 1979cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT 0x886D 1980cb93a386Sopenharmony_ci#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E1E 1981cb93a386Sopenharmony_ci#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F 1982cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD 1983cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT 0x92CE 1984cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT 0x92D3 1985cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT 0x92D4 1986cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT 0x90CB 1987cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT 0x90CC 1988cb93a386Sopenharmony_ci#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT 0x90D8 1989cb93a386Sopenharmony_ci#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT 0x90D9 1990cb93a386Sopenharmony_ci#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221 1991cb93a386Sopenharmony_ci#define GL_IS_PER_PATCH_EXT 0x92E7 1992cb93a386Sopenharmony_ci#define GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT 0x9307 1993cb93a386Sopenharmony_ci#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT 0x9308 1994cb93a386Sopenharmony_ci#define GL_TESS_CONTROL_SHADER_EXT 0x8E88 1995cb93a386Sopenharmony_ci#define GL_TESS_EVALUATION_SHADER_EXT 0x8E87 1996cb93a386Sopenharmony_ci#define GL_TESS_CONTROL_SHADER_BIT_EXT 0x00000008 1997cb93a386Sopenharmony_ci#define GL_TESS_EVALUATION_SHADER_BIT_EXT 0x00000010 1998cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIEXTPROC) (GLenum pname, GLint value); 1999cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2000cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPatchParameteriEXT (GLenum pname, GLint value); 2001cb93a386Sopenharmony_ci#endif 2002cb93a386Sopenharmony_ci#endif /* GL_EXT_tessellation_shader */ 2003cb93a386Sopenharmony_ci 2004cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_border_clamp 2005cb93a386Sopenharmony_ci#define GL_EXT_texture_border_clamp 1 2006cb93a386Sopenharmony_ci#define GL_TEXTURE_BORDER_COLOR_EXT 0x1004 2007cb93a386Sopenharmony_ci#define GL_CLAMP_TO_BORDER_EXT 0x812D 2008cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); 2009cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params); 2010cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params); 2011cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params); 2012cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, const GLint *param); 2013cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, const GLuint *param); 2014cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, GLint *params); 2015cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, GLuint *params); 2016cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2017cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params); 2018cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params); 2019cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params); 2020cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params); 2021cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint *param); 2022cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint *param); 2023cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint *params); 2024cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint *params); 2025cb93a386Sopenharmony_ci#endif 2026cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_border_clamp */ 2027cb93a386Sopenharmony_ci 2028cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_buffer 2029cb93a386Sopenharmony_ci#define GL_EXT_texture_buffer 1 2030cb93a386Sopenharmony_ci#define GL_TEXTURE_BUFFER_EXT 0x8C2A 2031cb93a386Sopenharmony_ci#define GL_TEXTURE_BUFFER_BINDING_EXT 0x8C2A 2032cb93a386Sopenharmony_ci#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B 2033cb93a386Sopenharmony_ci#define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C 2034cb93a386Sopenharmony_ci#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D 2035cb93a386Sopenharmony_ci#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT 0x919F 2036cb93a386Sopenharmony_ci#define GL_SAMPLER_BUFFER_EXT 0x8DC2 2037cb93a386Sopenharmony_ci#define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 2038cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 2039cb93a386Sopenharmony_ci#define GL_IMAGE_BUFFER_EXT 0x9051 2040cb93a386Sopenharmony_ci#define GL_INT_IMAGE_BUFFER_EXT 0x905C 2041cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067 2042cb93a386Sopenharmony_ci#define GL_TEXTURE_BUFFER_OFFSET_EXT 0x919D 2043cb93a386Sopenharmony_ci#define GL_TEXTURE_BUFFER_SIZE_EXT 0x919E 2044cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); 2045cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 2046cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2047cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer); 2048cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 2049cb93a386Sopenharmony_ci#endif 2050cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_buffer */ 2051cb93a386Sopenharmony_ci 2052cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_compression_astc_decode_mode 2053cb93a386Sopenharmony_ci#define GL_EXT_texture_compression_astc_decode_mode 1 2054cb93a386Sopenharmony_ci#define GL_TEXTURE_ASTC_DECODE_PRECISION_EXT 0x8F69 2055cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_compression_astc_decode_mode */ 2056cb93a386Sopenharmony_ci 2057cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_compression_bptc 2058cb93a386Sopenharmony_ci#define GL_EXT_texture_compression_bptc 1 2059cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_BPTC_UNORM_EXT 0x8E8C 2060cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT 0x8E8D 2061cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT 0x8E8E 2062cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT 0x8E8F 2063cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_compression_bptc */ 2064cb93a386Sopenharmony_ci 2065cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_compression_dxt1 2066cb93a386Sopenharmony_ci#define GL_EXT_texture_compression_dxt1 1 2067cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 2068cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 2069cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_compression_dxt1 */ 2070cb93a386Sopenharmony_ci 2071cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_compression_rgtc 2072cb93a386Sopenharmony_ci#define GL_EXT_texture_compression_rgtc 1 2073cb93a386Sopenharmony_ci#define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB 2074cb93a386Sopenharmony_ci#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC 2075cb93a386Sopenharmony_ci#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD 2076cb93a386Sopenharmony_ci#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE 2077cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_compression_rgtc */ 2078cb93a386Sopenharmony_ci 2079cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_compression_s3tc 2080cb93a386Sopenharmony_ci#define GL_EXT_texture_compression_s3tc 1 2081cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 2082cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 2083cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_compression_s3tc */ 2084cb93a386Sopenharmony_ci 2085cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_compression_s3tc_srgb 2086cb93a386Sopenharmony_ci#define GL_EXT_texture_compression_s3tc_srgb 1 2087cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C 2088cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D 2089cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E 2090cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F 2091cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_compression_s3tc_srgb */ 2092cb93a386Sopenharmony_ci 2093cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_cube_map_array 2094cb93a386Sopenharmony_ci#define GL_EXT_texture_cube_map_array 1 2095cb93a386Sopenharmony_ci#define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009 2096cb93a386Sopenharmony_ci#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT 0x900A 2097cb93a386Sopenharmony_ci#define GL_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900C 2098cb93a386Sopenharmony_ci#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT 0x900D 2099cb93a386Sopenharmony_ci#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900E 2100cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900F 2101cb93a386Sopenharmony_ci#define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054 2102cb93a386Sopenharmony_ci#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F 2103cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A 2104cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_cube_map_array */ 2105cb93a386Sopenharmony_ci 2106cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_filter_anisotropic 2107cb93a386Sopenharmony_ci#define GL_EXT_texture_filter_anisotropic 1 2108cb93a386Sopenharmony_ci#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE 2109cb93a386Sopenharmony_ci#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF 2110cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_filter_anisotropic */ 2111cb93a386Sopenharmony_ci 2112cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_filter_minmax 2113cb93a386Sopenharmony_ci#define GL_EXT_texture_filter_minmax 1 2114cb93a386Sopenharmony_ci#define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366 2115cb93a386Sopenharmony_ci#define GL_WEIGHTED_AVERAGE_EXT 0x9367 2116cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_filter_minmax */ 2117cb93a386Sopenharmony_ci 2118cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_format_BGRA8888 2119cb93a386Sopenharmony_ci#define GL_EXT_texture_format_BGRA8888 1 2120cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_format_BGRA8888 */ 2121cb93a386Sopenharmony_ci 2122cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_format_sRGB_override 2123cb93a386Sopenharmony_ci#define GL_EXT_texture_format_sRGB_override 1 2124cb93a386Sopenharmony_ci#define GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT 0x8FBF 2125cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_format_sRGB_override */ 2126cb93a386Sopenharmony_ci 2127cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_mirror_clamp_to_edge 2128cb93a386Sopenharmony_ci#define GL_EXT_texture_mirror_clamp_to_edge 1 2129cb93a386Sopenharmony_ci#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 2130cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_mirror_clamp_to_edge */ 2131cb93a386Sopenharmony_ci 2132cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_norm16 2133cb93a386Sopenharmony_ci#define GL_EXT_texture_norm16 1 2134cb93a386Sopenharmony_ci#define GL_R16_EXT 0x822A 2135cb93a386Sopenharmony_ci#define GL_RG16_EXT 0x822C 2136cb93a386Sopenharmony_ci#define GL_RGBA16_EXT 0x805B 2137cb93a386Sopenharmony_ci#define GL_RGB16_EXT 0x8054 2138cb93a386Sopenharmony_ci#define GL_RGB16_SNORM_EXT 0x8F9A 2139cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_norm16 */ 2140cb93a386Sopenharmony_ci 2141cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_rg 2142cb93a386Sopenharmony_ci#define GL_EXT_texture_rg 1 2143cb93a386Sopenharmony_ci#define GL_RED_EXT 0x1903 2144cb93a386Sopenharmony_ci#define GL_RG_EXT 0x8227 2145cb93a386Sopenharmony_ci#define GL_R8_EXT 0x8229 2146cb93a386Sopenharmony_ci#define GL_RG8_EXT 0x822B 2147cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_rg */ 2148cb93a386Sopenharmony_ci 2149cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_sRGB_R8 2150cb93a386Sopenharmony_ci#define GL_EXT_texture_sRGB_R8 1 2151cb93a386Sopenharmony_ci#define GL_SR8_EXT 0x8FBD 2152cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_sRGB_R8 */ 2153cb93a386Sopenharmony_ci 2154cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_sRGB_RG8 2155cb93a386Sopenharmony_ci#define GL_EXT_texture_sRGB_RG8 1 2156cb93a386Sopenharmony_ci#define GL_SRG8_EXT 0x8FBE 2157cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_sRGB_RG8 */ 2158cb93a386Sopenharmony_ci 2159cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_sRGB_decode 2160cb93a386Sopenharmony_ci#define GL_EXT_texture_sRGB_decode 1 2161cb93a386Sopenharmony_ci#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 2162cb93a386Sopenharmony_ci#define GL_DECODE_EXT 0x8A49 2163cb93a386Sopenharmony_ci#define GL_SKIP_DECODE_EXT 0x8A4A 2164cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_sRGB_decode */ 2165cb93a386Sopenharmony_ci 2166cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_storage 2167cb93a386Sopenharmony_ci#define GL_EXT_texture_storage 1 2168cb93a386Sopenharmony_ci#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F 2169cb93a386Sopenharmony_ci#define GL_ALPHA8_EXT 0x803C 2170cb93a386Sopenharmony_ci#define GL_LUMINANCE8_EXT 0x8040 2171cb93a386Sopenharmony_ci#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 2172cb93a386Sopenharmony_ci#define GL_RGBA32F_EXT 0x8814 2173cb93a386Sopenharmony_ci#define GL_RGB32F_EXT 0x8815 2174cb93a386Sopenharmony_ci#define GL_ALPHA32F_EXT 0x8816 2175cb93a386Sopenharmony_ci#define GL_LUMINANCE32F_EXT 0x8818 2176cb93a386Sopenharmony_ci#define GL_LUMINANCE_ALPHA32F_EXT 0x8819 2177cb93a386Sopenharmony_ci#define GL_ALPHA16F_EXT 0x881C 2178cb93a386Sopenharmony_ci#define GL_LUMINANCE16F_EXT 0x881E 2179cb93a386Sopenharmony_ci#define GL_LUMINANCE_ALPHA16F_EXT 0x881F 2180cb93a386Sopenharmony_ci#define GL_R32F_EXT 0x822E 2181cb93a386Sopenharmony_ci#define GL_RG32F_EXT 0x8230 2182cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2183cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2184cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2185cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2186cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2187cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2188cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2189cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2190cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2191cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2192cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2193cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2194cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2195cb93a386Sopenharmony_ci#endif 2196cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_storage */ 2197cb93a386Sopenharmony_ci 2198cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_type_2_10_10_10_REV 2199cb93a386Sopenharmony_ci#define GL_EXT_texture_type_2_10_10_10_REV 1 2200cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 2201cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_type_2_10_10_10_REV */ 2202cb93a386Sopenharmony_ci 2203cb93a386Sopenharmony_ci#ifndef GL_EXT_texture_view 2204cb93a386Sopenharmony_ci#define GL_EXT_texture_view 1 2205cb93a386Sopenharmony_ci#define GL_TEXTURE_VIEW_MIN_LEVEL_EXT 0x82DB 2206cb93a386Sopenharmony_ci#define GL_TEXTURE_VIEW_NUM_LEVELS_EXT 0x82DC 2207cb93a386Sopenharmony_ci#define GL_TEXTURE_VIEW_MIN_LAYER_EXT 0x82DD 2208cb93a386Sopenharmony_ci#define GL_TEXTURE_VIEW_NUM_LAYERS_EXT 0x82DE 2209cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXTUREVIEWEXTPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 2210cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2211cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 2212cb93a386Sopenharmony_ci#endif 2213cb93a386Sopenharmony_ci#endif /* GL_EXT_texture_view */ 2214cb93a386Sopenharmony_ci 2215cb93a386Sopenharmony_ci#ifndef GL_EXT_unpack_subimage 2216cb93a386Sopenharmony_ci#define GL_EXT_unpack_subimage 1 2217cb93a386Sopenharmony_ci#define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2 2218cb93a386Sopenharmony_ci#define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3 2219cb93a386Sopenharmony_ci#define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4 2220cb93a386Sopenharmony_ci#endif /* GL_EXT_unpack_subimage */ 2221cb93a386Sopenharmony_ci 2222cb93a386Sopenharmony_ci#ifndef GL_EXT_win32_keyed_mutex 2223cb93a386Sopenharmony_ci#define GL_EXT_win32_keyed_mutex 1 2224cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout); 2225cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key); 2226cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2227cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout); 2228cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key); 2229cb93a386Sopenharmony_ci#endif 2230cb93a386Sopenharmony_ci#endif /* GL_EXT_win32_keyed_mutex */ 2231cb93a386Sopenharmony_ci 2232cb93a386Sopenharmony_ci#ifndef GL_EXT_window_rectangles 2233cb93a386Sopenharmony_ci#define GL_EXT_window_rectangles 1 2234cb93a386Sopenharmony_ci#define GL_INCLUSIVE_EXT 0x8F10 2235cb93a386Sopenharmony_ci#define GL_EXCLUSIVE_EXT 0x8F11 2236cb93a386Sopenharmony_ci#define GL_WINDOW_RECTANGLE_EXT 0x8F12 2237cb93a386Sopenharmony_ci#define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13 2238cb93a386Sopenharmony_ci#define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14 2239cb93a386Sopenharmony_ci#define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15 2240cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box); 2241cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2242cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box); 2243cb93a386Sopenharmony_ci#endif 2244cb93a386Sopenharmony_ci#endif /* GL_EXT_window_rectangles */ 2245cb93a386Sopenharmony_ci 2246cb93a386Sopenharmony_ci#ifndef GL_FJ_shader_binary_GCCSO 2247cb93a386Sopenharmony_ci#define GL_FJ_shader_binary_GCCSO 1 2248cb93a386Sopenharmony_ci#define GL_GCCSO_SHADER_BINARY_FJ 0x9260 2249cb93a386Sopenharmony_ci#endif /* GL_FJ_shader_binary_GCCSO */ 2250cb93a386Sopenharmony_ci 2251cb93a386Sopenharmony_ci#ifndef GL_IMG_bindless_texture 2252cb93a386Sopenharmony_ci#define GL_IMG_bindless_texture 1 2253cb93a386Sopenharmony_citypedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLEIMGPROC) (GLuint texture); 2254cb93a386Sopenharmony_citypedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEIMGPROC) (GLuint texture, GLuint sampler); 2255cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64IMGPROC) (GLint location, GLuint64 value); 2256cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VIMGPROC) (GLint location, GLsizei count, const GLuint64 *value); 2257cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC) (GLuint program, GLint location, GLuint64 value); 2258cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2259cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2260cb93a386Sopenharmony_ciGL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleIMG (GLuint texture); 2261cb93a386Sopenharmony_ciGL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleIMG (GLuint texture, GLuint sampler); 2262cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniformHandleui64IMG (GLint location, GLuint64 value); 2263cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniformHandleui64vIMG (GLint location, GLsizei count, const GLuint64 *value); 2264cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniformHandleui64IMG (GLuint program, GLint location, GLuint64 value); 2265cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniformHandleui64vIMG (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2266cb93a386Sopenharmony_ci#endif 2267cb93a386Sopenharmony_ci#endif /* GL_IMG_bindless_texture */ 2268cb93a386Sopenharmony_ci 2269cb93a386Sopenharmony_ci#ifndef GL_IMG_framebuffer_downsample 2270cb93a386Sopenharmony_ci#define GL_IMG_framebuffer_downsample 1 2271cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG 0x913C 2272cb93a386Sopenharmony_ci#define GL_NUM_DOWNSAMPLE_SCALES_IMG 0x913D 2273cb93a386Sopenharmony_ci#define GL_DOWNSAMPLE_SCALES_IMG 0x913E 2274cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG 0x913F 2275cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); 2276cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); 2277cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2278cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); 2279cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); 2280cb93a386Sopenharmony_ci#endif 2281cb93a386Sopenharmony_ci#endif /* GL_IMG_framebuffer_downsample */ 2282cb93a386Sopenharmony_ci 2283cb93a386Sopenharmony_ci#ifndef GL_IMG_multisampled_render_to_texture 2284cb93a386Sopenharmony_ci#define GL_IMG_multisampled_render_to_texture 1 2285cb93a386Sopenharmony_ci#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 2286cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 2287cb93a386Sopenharmony_ci#define GL_MAX_SAMPLES_IMG 0x9135 2288cb93a386Sopenharmony_ci#define GL_TEXTURE_SAMPLES_IMG 0x9136 2289cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2290cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 2291cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2292cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2293cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 2294cb93a386Sopenharmony_ci#endif 2295cb93a386Sopenharmony_ci#endif /* GL_IMG_multisampled_render_to_texture */ 2296cb93a386Sopenharmony_ci 2297cb93a386Sopenharmony_ci#ifndef GL_IMG_program_binary 2298cb93a386Sopenharmony_ci#define GL_IMG_program_binary 1 2299cb93a386Sopenharmony_ci#define GL_SGX_PROGRAM_BINARY_IMG 0x9130 2300cb93a386Sopenharmony_ci#endif /* GL_IMG_program_binary */ 2301cb93a386Sopenharmony_ci 2302cb93a386Sopenharmony_ci#ifndef GL_IMG_read_format 2303cb93a386Sopenharmony_ci#define GL_IMG_read_format 1 2304cb93a386Sopenharmony_ci#define GL_BGRA_IMG 0x80E1 2305cb93a386Sopenharmony_ci#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 2306cb93a386Sopenharmony_ci#endif /* GL_IMG_read_format */ 2307cb93a386Sopenharmony_ci 2308cb93a386Sopenharmony_ci#ifndef GL_IMG_shader_binary 2309cb93a386Sopenharmony_ci#define GL_IMG_shader_binary 1 2310cb93a386Sopenharmony_ci#define GL_SGX_BINARY_IMG 0x8C0A 2311cb93a386Sopenharmony_ci#endif /* GL_IMG_shader_binary */ 2312cb93a386Sopenharmony_ci 2313cb93a386Sopenharmony_ci#ifndef GL_IMG_texture_compression_pvrtc 2314cb93a386Sopenharmony_ci#define GL_IMG_texture_compression_pvrtc 1 2315cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 2316cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 2317cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 2318cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 2319cb93a386Sopenharmony_ci#endif /* GL_IMG_texture_compression_pvrtc */ 2320cb93a386Sopenharmony_ci 2321cb93a386Sopenharmony_ci#ifndef GL_IMG_texture_compression_pvrtc2 2322cb93a386Sopenharmony_ci#define GL_IMG_texture_compression_pvrtc2 1 2323cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137 2324cb93a386Sopenharmony_ci#define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138 2325cb93a386Sopenharmony_ci#endif /* GL_IMG_texture_compression_pvrtc2 */ 2326cb93a386Sopenharmony_ci 2327cb93a386Sopenharmony_ci#ifndef GL_IMG_texture_filter_cubic 2328cb93a386Sopenharmony_ci#define GL_IMG_texture_filter_cubic 1 2329cb93a386Sopenharmony_ci#define GL_CUBIC_IMG 0x9139 2330cb93a386Sopenharmony_ci#define GL_CUBIC_MIPMAP_NEAREST_IMG 0x913A 2331cb93a386Sopenharmony_ci#define GL_CUBIC_MIPMAP_LINEAR_IMG 0x913B 2332cb93a386Sopenharmony_ci#endif /* GL_IMG_texture_filter_cubic */ 2333cb93a386Sopenharmony_ci 2334cb93a386Sopenharmony_ci#ifndef GL_INTEL_blackhole_render 2335cb93a386Sopenharmony_ci#define GL_INTEL_blackhole_render 1 2336cb93a386Sopenharmony_ci#define GL_BLACKHOLE_RENDER_INTEL 0x83FC 2337cb93a386Sopenharmony_ci#endif /* GL_INTEL_blackhole_render */ 2338cb93a386Sopenharmony_ci 2339cb93a386Sopenharmony_ci#ifndef GL_INTEL_conservative_rasterization 2340cb93a386Sopenharmony_ci#define GL_INTEL_conservative_rasterization 1 2341cb93a386Sopenharmony_ci#define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE 2342cb93a386Sopenharmony_ci#endif /* GL_INTEL_conservative_rasterization */ 2343cb93a386Sopenharmony_ci 2344cb93a386Sopenharmony_ci#ifndef GL_INTEL_framebuffer_CMAA 2345cb93a386Sopenharmony_ci#define GL_INTEL_framebuffer_CMAA 1 2346cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void); 2347cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2348cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void); 2349cb93a386Sopenharmony_ci#endif 2350cb93a386Sopenharmony_ci#endif /* GL_INTEL_framebuffer_CMAA */ 2351cb93a386Sopenharmony_ci 2352cb93a386Sopenharmony_ci#ifndef GL_INTEL_performance_query 2353cb93a386Sopenharmony_ci#define GL_INTEL_performance_query 1 2354cb93a386Sopenharmony_ci#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000 2355cb93a386Sopenharmony_ci#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001 2356cb93a386Sopenharmony_ci#define GL_PERFQUERY_WAIT_INTEL 0x83FB 2357cb93a386Sopenharmony_ci#define GL_PERFQUERY_FLUSH_INTEL 0x83FA 2358cb93a386Sopenharmony_ci#define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9 2359cb93a386Sopenharmony_ci#define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0 2360cb93a386Sopenharmony_ci#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1 2361cb93a386Sopenharmony_ci#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2 2362cb93a386Sopenharmony_ci#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3 2363cb93a386Sopenharmony_ci#define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4 2364cb93a386Sopenharmony_ci#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5 2365cb93a386Sopenharmony_ci#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8 2366cb93a386Sopenharmony_ci#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9 2367cb93a386Sopenharmony_ci#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA 2368cb93a386Sopenharmony_ci#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB 2369cb93a386Sopenharmony_ci#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC 2370cb93a386Sopenharmony_ci#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD 2371cb93a386Sopenharmony_ci#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE 2372cb93a386Sopenharmony_ci#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF 2373cb93a386Sopenharmony_ci#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500 2374cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle); 2375cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle); 2376cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle); 2377cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle); 2378cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId); 2379cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId); 2380cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); 2381cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten); 2382cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId); 2383cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); 2384cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2385cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle); 2386cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle); 2387cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle); 2388cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glEndPerfQueryINTEL (GLuint queryHandle); 2389cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId); 2390cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId); 2391cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); 2392cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten); 2393cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId); 2394cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); 2395cb93a386Sopenharmony_ci#endif 2396cb93a386Sopenharmony_ci#endif /* GL_INTEL_performance_query */ 2397cb93a386Sopenharmony_ci 2398cb93a386Sopenharmony_ci#ifndef GL_MESA_program_binary_formats 2399cb93a386Sopenharmony_ci#define GL_MESA_program_binary_formats 1 2400cb93a386Sopenharmony_ci#define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F 2401cb93a386Sopenharmony_ci#endif /* GL_MESA_program_binary_formats */ 2402cb93a386Sopenharmony_ci 2403cb93a386Sopenharmony_ci#ifndef GL_MESA_shader_integer_functions 2404cb93a386Sopenharmony_ci#define GL_MESA_shader_integer_functions 1 2405cb93a386Sopenharmony_ci#endif /* GL_MESA_shader_integer_functions */ 2406cb93a386Sopenharmony_ci 2407cb93a386Sopenharmony_ci#ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers 2408cb93a386Sopenharmony_ci#define GL_NVX_blend_equation_advanced_multi_draw_buffers 1 2409cb93a386Sopenharmony_ci#endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */ 2410cb93a386Sopenharmony_ci 2411cb93a386Sopenharmony_ci#ifndef GL_NV_bindless_texture 2412cb93a386Sopenharmony_ci#define GL_NV_bindless_texture 1 2413cb93a386Sopenharmony_citypedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture); 2414cb93a386Sopenharmony_citypedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler); 2415cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); 2416cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle); 2417cb93a386Sopenharmony_citypedef GLuint64 (GL_APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 2418cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access); 2419cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle); 2420cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value); 2421cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value); 2422cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value); 2423cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2424cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); 2425cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle); 2426cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2427cb93a386Sopenharmony_ciGL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleNV (GLuint texture); 2428cb93a386Sopenharmony_ciGL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler); 2429cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle); 2430cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle); 2431cb93a386Sopenharmony_ciGL_APICALL GLuint64 GL_APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 2432cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access); 2433cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle); 2434cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value); 2435cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value); 2436cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value); 2437cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2438cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsTextureHandleResidentNV (GLuint64 handle); 2439cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsImageHandleResidentNV (GLuint64 handle); 2440cb93a386Sopenharmony_ci#endif 2441cb93a386Sopenharmony_ci#endif /* GL_NV_bindless_texture */ 2442cb93a386Sopenharmony_ci 2443cb93a386Sopenharmony_ci#ifndef GL_NV_blend_equation_advanced 2444cb93a386Sopenharmony_ci#define GL_NV_blend_equation_advanced 1 2445cb93a386Sopenharmony_ci#define GL_BLEND_OVERLAP_NV 0x9281 2446cb93a386Sopenharmony_ci#define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 2447cb93a386Sopenharmony_ci#define GL_BLUE_NV 0x1905 2448cb93a386Sopenharmony_ci#define GL_COLORBURN_NV 0x929A 2449cb93a386Sopenharmony_ci#define GL_COLORDODGE_NV 0x9299 2450cb93a386Sopenharmony_ci#define GL_CONJOINT_NV 0x9284 2451cb93a386Sopenharmony_ci#define GL_CONTRAST_NV 0x92A1 2452cb93a386Sopenharmony_ci#define GL_DARKEN_NV 0x9297 2453cb93a386Sopenharmony_ci#define GL_DIFFERENCE_NV 0x929E 2454cb93a386Sopenharmony_ci#define GL_DISJOINT_NV 0x9283 2455cb93a386Sopenharmony_ci#define GL_DST_ATOP_NV 0x928F 2456cb93a386Sopenharmony_ci#define GL_DST_IN_NV 0x928B 2457cb93a386Sopenharmony_ci#define GL_DST_NV 0x9287 2458cb93a386Sopenharmony_ci#define GL_DST_OUT_NV 0x928D 2459cb93a386Sopenharmony_ci#define GL_DST_OVER_NV 0x9289 2460cb93a386Sopenharmony_ci#define GL_EXCLUSION_NV 0x92A0 2461cb93a386Sopenharmony_ci#define GL_GREEN_NV 0x1904 2462cb93a386Sopenharmony_ci#define GL_HARDLIGHT_NV 0x929B 2463cb93a386Sopenharmony_ci#define GL_HARDMIX_NV 0x92A9 2464cb93a386Sopenharmony_ci#define GL_HSL_COLOR_NV 0x92AF 2465cb93a386Sopenharmony_ci#define GL_HSL_HUE_NV 0x92AD 2466cb93a386Sopenharmony_ci#define GL_HSL_LUMINOSITY_NV 0x92B0 2467cb93a386Sopenharmony_ci#define GL_HSL_SATURATION_NV 0x92AE 2468cb93a386Sopenharmony_ci#define GL_INVERT_OVG_NV 0x92B4 2469cb93a386Sopenharmony_ci#define GL_INVERT_RGB_NV 0x92A3 2470cb93a386Sopenharmony_ci#define GL_LIGHTEN_NV 0x9298 2471cb93a386Sopenharmony_ci#define GL_LINEARBURN_NV 0x92A5 2472cb93a386Sopenharmony_ci#define GL_LINEARDODGE_NV 0x92A4 2473cb93a386Sopenharmony_ci#define GL_LINEARLIGHT_NV 0x92A7 2474cb93a386Sopenharmony_ci#define GL_MINUS_CLAMPED_NV 0x92B3 2475cb93a386Sopenharmony_ci#define GL_MINUS_NV 0x929F 2476cb93a386Sopenharmony_ci#define GL_MULTIPLY_NV 0x9294 2477cb93a386Sopenharmony_ci#define GL_OVERLAY_NV 0x9296 2478cb93a386Sopenharmony_ci#define GL_PINLIGHT_NV 0x92A8 2479cb93a386Sopenharmony_ci#define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 2480cb93a386Sopenharmony_ci#define GL_PLUS_CLAMPED_NV 0x92B1 2481cb93a386Sopenharmony_ci#define GL_PLUS_DARKER_NV 0x9292 2482cb93a386Sopenharmony_ci#define GL_PLUS_NV 0x9291 2483cb93a386Sopenharmony_ci#define GL_RED_NV 0x1903 2484cb93a386Sopenharmony_ci#define GL_SCREEN_NV 0x9295 2485cb93a386Sopenharmony_ci#define GL_SOFTLIGHT_NV 0x929C 2486cb93a386Sopenharmony_ci#define GL_SRC_ATOP_NV 0x928E 2487cb93a386Sopenharmony_ci#define GL_SRC_IN_NV 0x928A 2488cb93a386Sopenharmony_ci#define GL_SRC_NV 0x9286 2489cb93a386Sopenharmony_ci#define GL_SRC_OUT_NV 0x928C 2490cb93a386Sopenharmony_ci#define GL_SRC_OVER_NV 0x9288 2491cb93a386Sopenharmony_ci#define GL_UNCORRELATED_NV 0x9282 2492cb93a386Sopenharmony_ci#define GL_VIVIDLIGHT_NV 0x92A6 2493cb93a386Sopenharmony_ci#define GL_XOR_NV 0x1506 2494cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value); 2495cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); 2496cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2497cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value); 2498cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBlendBarrierNV (void); 2499cb93a386Sopenharmony_ci#endif 2500cb93a386Sopenharmony_ci#endif /* GL_NV_blend_equation_advanced */ 2501cb93a386Sopenharmony_ci 2502cb93a386Sopenharmony_ci#ifndef GL_NV_blend_equation_advanced_coherent 2503cb93a386Sopenharmony_ci#define GL_NV_blend_equation_advanced_coherent 1 2504cb93a386Sopenharmony_ci#define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 2505cb93a386Sopenharmony_ci#endif /* GL_NV_blend_equation_advanced_coherent */ 2506cb93a386Sopenharmony_ci 2507cb93a386Sopenharmony_ci#ifndef GL_NV_blend_minmax_factor 2508cb93a386Sopenharmony_ci#define GL_NV_blend_minmax_factor 1 2509cb93a386Sopenharmony_ci#define GL_FACTOR_MIN_AMD 0x901C 2510cb93a386Sopenharmony_ci#define GL_FACTOR_MAX_AMD 0x901D 2511cb93a386Sopenharmony_ci#endif /* GL_NV_blend_minmax_factor */ 2512cb93a386Sopenharmony_ci 2513cb93a386Sopenharmony_ci#ifndef GL_NV_clip_space_w_scaling 2514cb93a386Sopenharmony_ci#define GL_NV_clip_space_w_scaling 1 2515cb93a386Sopenharmony_ci#define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C 2516cb93a386Sopenharmony_ci#define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D 2517cb93a386Sopenharmony_ci#define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E 2518cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff); 2519cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2520cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff); 2521cb93a386Sopenharmony_ci#endif 2522cb93a386Sopenharmony_ci#endif /* GL_NV_clip_space_w_scaling */ 2523cb93a386Sopenharmony_ci 2524cb93a386Sopenharmony_ci#ifndef GL_NV_conditional_render 2525cb93a386Sopenharmony_ci#define GL_NV_conditional_render 1 2526cb93a386Sopenharmony_ci#define GL_QUERY_WAIT_NV 0x8E13 2527cb93a386Sopenharmony_ci#define GL_QUERY_NO_WAIT_NV 0x8E14 2528cb93a386Sopenharmony_ci#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 2529cb93a386Sopenharmony_ci#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 2530cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode); 2531cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void); 2532cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2533cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode); 2534cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glEndConditionalRenderNV (void); 2535cb93a386Sopenharmony_ci#endif 2536cb93a386Sopenharmony_ci#endif /* GL_NV_conditional_render */ 2537cb93a386Sopenharmony_ci 2538cb93a386Sopenharmony_ci#ifndef GL_NV_conservative_raster 2539cb93a386Sopenharmony_ci#define GL_NV_conservative_raster 1 2540cb93a386Sopenharmony_ci#define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346 2541cb93a386Sopenharmony_ci#define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347 2542cb93a386Sopenharmony_ci#define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348 2543cb93a386Sopenharmony_ci#define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349 2544cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits); 2545cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2546cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits); 2547cb93a386Sopenharmony_ci#endif 2548cb93a386Sopenharmony_ci#endif /* GL_NV_conservative_raster */ 2549cb93a386Sopenharmony_ci 2550cb93a386Sopenharmony_ci#ifndef GL_NV_conservative_raster_pre_snap 2551cb93a386Sopenharmony_ci#define GL_NV_conservative_raster_pre_snap 1 2552cb93a386Sopenharmony_ci#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550 2553cb93a386Sopenharmony_ci#endif /* GL_NV_conservative_raster_pre_snap */ 2554cb93a386Sopenharmony_ci 2555cb93a386Sopenharmony_ci#ifndef GL_NV_conservative_raster_pre_snap_triangles 2556cb93a386Sopenharmony_ci#define GL_NV_conservative_raster_pre_snap_triangles 1 2557cb93a386Sopenharmony_ci#define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D 2558cb93a386Sopenharmony_ci#define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E 2559cb93a386Sopenharmony_ci#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F 2560cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param); 2561cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2562cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param); 2563cb93a386Sopenharmony_ci#endif 2564cb93a386Sopenharmony_ci#endif /* GL_NV_conservative_raster_pre_snap_triangles */ 2565cb93a386Sopenharmony_ci 2566cb93a386Sopenharmony_ci#ifndef GL_NV_copy_buffer 2567cb93a386Sopenharmony_ci#define GL_NV_copy_buffer 1 2568cb93a386Sopenharmony_ci#define GL_COPY_READ_BUFFER_NV 0x8F36 2569cb93a386Sopenharmony_ci#define GL_COPY_WRITE_BUFFER_NV 0x8F37 2570cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 2571cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2572cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 2573cb93a386Sopenharmony_ci#endif 2574cb93a386Sopenharmony_ci#endif /* GL_NV_copy_buffer */ 2575cb93a386Sopenharmony_ci 2576cb93a386Sopenharmony_ci#ifndef GL_NV_coverage_sample 2577cb93a386Sopenharmony_ci#define GL_NV_coverage_sample 1 2578cb93a386Sopenharmony_ci#define GL_COVERAGE_COMPONENT_NV 0x8ED0 2579cb93a386Sopenharmony_ci#define GL_COVERAGE_COMPONENT4_NV 0x8ED1 2580cb93a386Sopenharmony_ci#define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 2581cb93a386Sopenharmony_ci#define GL_COVERAGE_BUFFERS_NV 0x8ED3 2582cb93a386Sopenharmony_ci#define GL_COVERAGE_SAMPLES_NV 0x8ED4 2583cb93a386Sopenharmony_ci#define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 2584cb93a386Sopenharmony_ci#define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 2585cb93a386Sopenharmony_ci#define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 2586cb93a386Sopenharmony_ci#define GL_COVERAGE_BUFFER_BIT_NV 0x00008000 2587cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); 2588cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); 2589cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2590cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); 2591cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); 2592cb93a386Sopenharmony_ci#endif 2593cb93a386Sopenharmony_ci#endif /* GL_NV_coverage_sample */ 2594cb93a386Sopenharmony_ci 2595cb93a386Sopenharmony_ci#ifndef GL_NV_depth_nonlinear 2596cb93a386Sopenharmony_ci#define GL_NV_depth_nonlinear 1 2597cb93a386Sopenharmony_ci#define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C 2598cb93a386Sopenharmony_ci#endif /* GL_NV_depth_nonlinear */ 2599cb93a386Sopenharmony_ci 2600cb93a386Sopenharmony_ci#ifndef GL_NV_draw_buffers 2601cb93a386Sopenharmony_ci#define GL_NV_draw_buffers 1 2602cb93a386Sopenharmony_ci#define GL_MAX_DRAW_BUFFERS_NV 0x8824 2603cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER0_NV 0x8825 2604cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER1_NV 0x8826 2605cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER2_NV 0x8827 2606cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER3_NV 0x8828 2607cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER4_NV 0x8829 2608cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER5_NV 0x882A 2609cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER6_NV 0x882B 2610cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER7_NV 0x882C 2611cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER8_NV 0x882D 2612cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER9_NV 0x882E 2613cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER10_NV 0x882F 2614cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER11_NV 0x8830 2615cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER12_NV 0x8831 2616cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER13_NV 0x8832 2617cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER14_NV 0x8833 2618cb93a386Sopenharmony_ci#define GL_DRAW_BUFFER15_NV 0x8834 2619cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT0_NV 0x8CE0 2620cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT1_NV 0x8CE1 2621cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT2_NV 0x8CE2 2622cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT3_NV 0x8CE3 2623cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT4_NV 0x8CE4 2624cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT5_NV 0x8CE5 2625cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT6_NV 0x8CE6 2626cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT7_NV 0x8CE7 2627cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT8_NV 0x8CE8 2628cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT9_NV 0x8CE9 2629cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT10_NV 0x8CEA 2630cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT11_NV 0x8CEB 2631cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT12_NV 0x8CEC 2632cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT13_NV 0x8CED 2633cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT14_NV 0x8CEE 2634cb93a386Sopenharmony_ci#define GL_COLOR_ATTACHMENT15_NV 0x8CEF 2635cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs); 2636cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2637cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); 2638cb93a386Sopenharmony_ci#endif 2639cb93a386Sopenharmony_ci#endif /* GL_NV_draw_buffers */ 2640cb93a386Sopenharmony_ci 2641cb93a386Sopenharmony_ci#ifndef GL_NV_draw_instanced 2642cb93a386Sopenharmony_ci#define GL_NV_draw_instanced 1 2643cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 2644cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 2645cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2646cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 2647cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 2648cb93a386Sopenharmony_ci#endif 2649cb93a386Sopenharmony_ci#endif /* GL_NV_draw_instanced */ 2650cb93a386Sopenharmony_ci 2651cb93a386Sopenharmony_ci#ifndef GL_NV_draw_vulkan_image 2652cb93a386Sopenharmony_ci#define GL_NV_draw_vulkan_image 1 2653cb93a386Sopenharmony_citypedef void (GL_APIENTRY *GLVULKANPROCNV)(void); 2654cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); 2655cb93a386Sopenharmony_citypedef GLVULKANPROCNV (GL_APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name); 2656cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); 2657cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); 2658cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence); 2659cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2660cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); 2661cb93a386Sopenharmony_ciGL_APICALL GLVULKANPROCNV GL_APIENTRY glGetVkProcAddrNV (const GLchar *name); 2662cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore); 2663cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore); 2664cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glSignalVkFenceNV (GLuint64 vkFence); 2665cb93a386Sopenharmony_ci#endif 2666cb93a386Sopenharmony_ci#endif /* GL_NV_draw_vulkan_image */ 2667cb93a386Sopenharmony_ci 2668cb93a386Sopenharmony_ci#ifndef GL_NV_explicit_attrib_location 2669cb93a386Sopenharmony_ci#define GL_NV_explicit_attrib_location 1 2670cb93a386Sopenharmony_ci#endif /* GL_NV_explicit_attrib_location */ 2671cb93a386Sopenharmony_ci 2672cb93a386Sopenharmony_ci#ifndef GL_NV_fbo_color_attachments 2673cb93a386Sopenharmony_ci#define GL_NV_fbo_color_attachments 1 2674cb93a386Sopenharmony_ci#define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF 2675cb93a386Sopenharmony_ci#endif /* GL_NV_fbo_color_attachments */ 2676cb93a386Sopenharmony_ci 2677cb93a386Sopenharmony_ci#ifndef GL_NV_fence 2678cb93a386Sopenharmony_ci#define GL_NV_fence 1 2679cb93a386Sopenharmony_ci#define GL_ALL_COMPLETED_NV 0x84F2 2680cb93a386Sopenharmony_ci#define GL_FENCE_STATUS_NV 0x84F3 2681cb93a386Sopenharmony_ci#define GL_FENCE_CONDITION_NV 0x84F4 2682cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); 2683cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); 2684cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); 2685cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); 2686cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); 2687cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); 2688cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); 2689cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2690cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); 2691cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); 2692cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); 2693cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); 2694cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); 2695cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence); 2696cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); 2697cb93a386Sopenharmony_ci#endif 2698cb93a386Sopenharmony_ci#endif /* GL_NV_fence */ 2699cb93a386Sopenharmony_ci 2700cb93a386Sopenharmony_ci#ifndef GL_NV_fill_rectangle 2701cb93a386Sopenharmony_ci#define GL_NV_fill_rectangle 1 2702cb93a386Sopenharmony_ci#define GL_FILL_RECTANGLE_NV 0x933C 2703cb93a386Sopenharmony_ci#endif /* GL_NV_fill_rectangle */ 2704cb93a386Sopenharmony_ci 2705cb93a386Sopenharmony_ci#ifndef GL_NV_fragment_coverage_to_color 2706cb93a386Sopenharmony_ci#define GL_NV_fragment_coverage_to_color 1 2707cb93a386Sopenharmony_ci#define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD 2708cb93a386Sopenharmony_ci#define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE 2709cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color); 2710cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2711cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFragmentCoverageColorNV (GLuint color); 2712cb93a386Sopenharmony_ci#endif 2713cb93a386Sopenharmony_ci#endif /* GL_NV_fragment_coverage_to_color */ 2714cb93a386Sopenharmony_ci 2715cb93a386Sopenharmony_ci#ifndef GL_NV_fragment_shader_interlock 2716cb93a386Sopenharmony_ci#define GL_NV_fragment_shader_interlock 1 2717cb93a386Sopenharmony_ci#endif /* GL_NV_fragment_shader_interlock */ 2718cb93a386Sopenharmony_ci 2719cb93a386Sopenharmony_ci#ifndef GL_NV_framebuffer_blit 2720cb93a386Sopenharmony_ci#define GL_NV_framebuffer_blit 1 2721cb93a386Sopenharmony_ci#define GL_READ_FRAMEBUFFER_NV 0x8CA8 2722cb93a386Sopenharmony_ci#define GL_DRAW_FRAMEBUFFER_NV 0x8CA9 2723cb93a386Sopenharmony_ci#define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6 2724cb93a386Sopenharmony_ci#define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA 2725cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 2726cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2727cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 2728cb93a386Sopenharmony_ci#endif 2729cb93a386Sopenharmony_ci#endif /* GL_NV_framebuffer_blit */ 2730cb93a386Sopenharmony_ci 2731cb93a386Sopenharmony_ci#ifndef GL_NV_framebuffer_mixed_samples 2732cb93a386Sopenharmony_ci#define GL_NV_framebuffer_mixed_samples 1 2733cb93a386Sopenharmony_ci#define GL_COVERAGE_MODULATION_TABLE_NV 0x9331 2734cb93a386Sopenharmony_ci#define GL_COLOR_SAMPLES_NV 0x8E20 2735cb93a386Sopenharmony_ci#define GL_DEPTH_SAMPLES_NV 0x932D 2736cb93a386Sopenharmony_ci#define GL_STENCIL_SAMPLES_NV 0x932E 2737cb93a386Sopenharmony_ci#define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F 2738cb93a386Sopenharmony_ci#define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330 2739cb93a386Sopenharmony_ci#define GL_COVERAGE_MODULATION_NV 0x9332 2740cb93a386Sopenharmony_ci#define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333 2741cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v); 2742cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v); 2743cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components); 2744cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2745cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v); 2746cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v); 2747cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCoverageModulationNV (GLenum components); 2748cb93a386Sopenharmony_ci#endif 2749cb93a386Sopenharmony_ci#endif /* GL_NV_framebuffer_mixed_samples */ 2750cb93a386Sopenharmony_ci 2751cb93a386Sopenharmony_ci#ifndef GL_NV_framebuffer_multisample 2752cb93a386Sopenharmony_ci#define GL_NV_framebuffer_multisample 1 2753cb93a386Sopenharmony_ci#define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB 2754cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56 2755cb93a386Sopenharmony_ci#define GL_MAX_SAMPLES_NV 0x8D57 2756cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2757cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2758cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2759cb93a386Sopenharmony_ci#endif 2760cb93a386Sopenharmony_ci#endif /* GL_NV_framebuffer_multisample */ 2761cb93a386Sopenharmony_ci 2762cb93a386Sopenharmony_ci#ifndef GL_NV_generate_mipmap_sRGB 2763cb93a386Sopenharmony_ci#define GL_NV_generate_mipmap_sRGB 1 2764cb93a386Sopenharmony_ci#endif /* GL_NV_generate_mipmap_sRGB */ 2765cb93a386Sopenharmony_ci 2766cb93a386Sopenharmony_ci#ifndef GL_NV_geometry_shader_passthrough 2767cb93a386Sopenharmony_ci#define GL_NV_geometry_shader_passthrough 1 2768cb93a386Sopenharmony_ci#endif /* GL_NV_geometry_shader_passthrough */ 2769cb93a386Sopenharmony_ci 2770cb93a386Sopenharmony_ci#ifndef GL_NV_gpu_shader5 2771cb93a386Sopenharmony_ci#define GL_NV_gpu_shader5 1 2772cb93a386Sopenharmony_citypedef khronos_int64_t GLint64EXT; 2773cb93a386Sopenharmony_citypedef khronos_uint64_t GLuint64EXT; 2774cb93a386Sopenharmony_ci#define GL_INT64_NV 0x140E 2775cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT64_NV 0x140F 2776cb93a386Sopenharmony_ci#define GL_INT8_NV 0x8FE0 2777cb93a386Sopenharmony_ci#define GL_INT8_VEC2_NV 0x8FE1 2778cb93a386Sopenharmony_ci#define GL_INT8_VEC3_NV 0x8FE2 2779cb93a386Sopenharmony_ci#define GL_INT8_VEC4_NV 0x8FE3 2780cb93a386Sopenharmony_ci#define GL_INT16_NV 0x8FE4 2781cb93a386Sopenharmony_ci#define GL_INT16_VEC2_NV 0x8FE5 2782cb93a386Sopenharmony_ci#define GL_INT16_VEC3_NV 0x8FE6 2783cb93a386Sopenharmony_ci#define GL_INT16_VEC4_NV 0x8FE7 2784cb93a386Sopenharmony_ci#define GL_INT64_VEC2_NV 0x8FE9 2785cb93a386Sopenharmony_ci#define GL_INT64_VEC3_NV 0x8FEA 2786cb93a386Sopenharmony_ci#define GL_INT64_VEC4_NV 0x8FEB 2787cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT8_NV 0x8FEC 2788cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT8_VEC2_NV 0x8FED 2789cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE 2790cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF 2791cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT16_NV 0x8FF0 2792cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 2793cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 2794cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 2795cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 2796cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 2797cb93a386Sopenharmony_ci#define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 2798cb93a386Sopenharmony_ci#define GL_FLOAT16_NV 0x8FF8 2799cb93a386Sopenharmony_ci#define GL_FLOAT16_VEC2_NV 0x8FF9 2800cb93a386Sopenharmony_ci#define GL_FLOAT16_VEC3_NV 0x8FFA 2801cb93a386Sopenharmony_ci#define GL_FLOAT16_VEC4_NV 0x8FFB 2802cb93a386Sopenharmony_ci#define GL_PATCHES 0x000E 2803cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x); 2804cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y); 2805cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 2806cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 2807cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 2808cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 2809cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 2810cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 2811cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x); 2812cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y); 2813cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 2814cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 2815cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 2816cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 2817cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 2818cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 2819cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params); 2820cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x); 2821cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); 2822cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 2823cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 2824cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2825cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2826cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2827cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2828cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x); 2829cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); 2830cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 2831cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 2832cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2833cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2834cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2835cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2836cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2837cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform1i64NV (GLint location, GLint64EXT x); 2838cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y); 2839cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 2840cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 2841cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 2842cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 2843cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 2844cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 2845cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x); 2846cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y); 2847cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 2848cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 2849cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 2850cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 2851cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 2852cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 2853cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params); 2854cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x); 2855cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); 2856cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 2857cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 2858cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2859cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2860cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2861cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2862cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x); 2863cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); 2864cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 2865cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 2866cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2867cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2868cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2869cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2870cb93a386Sopenharmony_ci#endif 2871cb93a386Sopenharmony_ci#endif /* GL_NV_gpu_shader5 */ 2872cb93a386Sopenharmony_ci 2873cb93a386Sopenharmony_ci#ifndef GL_NV_image_formats 2874cb93a386Sopenharmony_ci#define GL_NV_image_formats 1 2875cb93a386Sopenharmony_ci#endif /* GL_NV_image_formats */ 2876cb93a386Sopenharmony_ci 2877cb93a386Sopenharmony_ci#ifndef GL_NV_instanced_arrays 2878cb93a386Sopenharmony_ci#define GL_NV_instanced_arrays 1 2879cb93a386Sopenharmony_ci#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE 2880cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor); 2881cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2882cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor); 2883cb93a386Sopenharmony_ci#endif 2884cb93a386Sopenharmony_ci#endif /* GL_NV_instanced_arrays */ 2885cb93a386Sopenharmony_ci 2886cb93a386Sopenharmony_ci#ifndef GL_NV_internalformat_sample_query 2887cb93a386Sopenharmony_ci#define GL_NV_internalformat_sample_query 1 2888cb93a386Sopenharmony_ci#define GL_TEXTURE_2D_MULTISAMPLE 0x9100 2889cb93a386Sopenharmony_ci#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 2890cb93a386Sopenharmony_ci#define GL_MULTISAMPLES_NV 0x9371 2891cb93a386Sopenharmony_ci#define GL_SUPERSAMPLE_SCALE_X_NV 0x9372 2892cb93a386Sopenharmony_ci#define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373 2893cb93a386Sopenharmony_ci#define GL_CONFORMANT_NV 0x9374 2894cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); 2895cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2896cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); 2897cb93a386Sopenharmony_ci#endif 2898cb93a386Sopenharmony_ci#endif /* GL_NV_internalformat_sample_query */ 2899cb93a386Sopenharmony_ci 2900cb93a386Sopenharmony_ci#ifndef GL_NV_non_square_matrices 2901cb93a386Sopenharmony_ci#define GL_NV_non_square_matrices 1 2902cb93a386Sopenharmony_ci#define GL_FLOAT_MAT2x3_NV 0x8B65 2903cb93a386Sopenharmony_ci#define GL_FLOAT_MAT2x4_NV 0x8B66 2904cb93a386Sopenharmony_ci#define GL_FLOAT_MAT3x2_NV 0x8B67 2905cb93a386Sopenharmony_ci#define GL_FLOAT_MAT3x4_NV 0x8B68 2906cb93a386Sopenharmony_ci#define GL_FLOAT_MAT4x2_NV 0x8B69 2907cb93a386Sopenharmony_ci#define GL_FLOAT_MAT4x3_NV 0x8B6A 2908cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2909cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2910cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2911cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2912cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2913cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2914cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 2915cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2916cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2917cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2918cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2919cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2920cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2921cb93a386Sopenharmony_ci#endif 2922cb93a386Sopenharmony_ci#endif /* GL_NV_non_square_matrices */ 2923cb93a386Sopenharmony_ci 2924cb93a386Sopenharmony_ci#ifndef GL_NV_path_rendering 2925cb93a386Sopenharmony_ci#define GL_NV_path_rendering 1 2926cb93a386Sopenharmony_citypedef double GLdouble; 2927cb93a386Sopenharmony_ci#define GL_PATH_FORMAT_SVG_NV 0x9070 2928cb93a386Sopenharmony_ci#define GL_PATH_FORMAT_PS_NV 0x9071 2929cb93a386Sopenharmony_ci#define GL_STANDARD_FONT_NAME_NV 0x9072 2930cb93a386Sopenharmony_ci#define GL_SYSTEM_FONT_NAME_NV 0x9073 2931cb93a386Sopenharmony_ci#define GL_FILE_NAME_NV 0x9074 2932cb93a386Sopenharmony_ci#define GL_PATH_STROKE_WIDTH_NV 0x9075 2933cb93a386Sopenharmony_ci#define GL_PATH_END_CAPS_NV 0x9076 2934cb93a386Sopenharmony_ci#define GL_PATH_INITIAL_END_CAP_NV 0x9077 2935cb93a386Sopenharmony_ci#define GL_PATH_TERMINAL_END_CAP_NV 0x9078 2936cb93a386Sopenharmony_ci#define GL_PATH_JOIN_STYLE_NV 0x9079 2937cb93a386Sopenharmony_ci#define GL_PATH_MITER_LIMIT_NV 0x907A 2938cb93a386Sopenharmony_ci#define GL_PATH_DASH_CAPS_NV 0x907B 2939cb93a386Sopenharmony_ci#define GL_PATH_INITIAL_DASH_CAP_NV 0x907C 2940cb93a386Sopenharmony_ci#define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D 2941cb93a386Sopenharmony_ci#define GL_PATH_DASH_OFFSET_NV 0x907E 2942cb93a386Sopenharmony_ci#define GL_PATH_CLIENT_LENGTH_NV 0x907F 2943cb93a386Sopenharmony_ci#define GL_PATH_FILL_MODE_NV 0x9080 2944cb93a386Sopenharmony_ci#define GL_PATH_FILL_MASK_NV 0x9081 2945cb93a386Sopenharmony_ci#define GL_PATH_FILL_COVER_MODE_NV 0x9082 2946cb93a386Sopenharmony_ci#define GL_PATH_STROKE_COVER_MODE_NV 0x9083 2947cb93a386Sopenharmony_ci#define GL_PATH_STROKE_MASK_NV 0x9084 2948cb93a386Sopenharmony_ci#define GL_COUNT_UP_NV 0x9088 2949cb93a386Sopenharmony_ci#define GL_COUNT_DOWN_NV 0x9089 2950cb93a386Sopenharmony_ci#define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A 2951cb93a386Sopenharmony_ci#define GL_CONVEX_HULL_NV 0x908B 2952cb93a386Sopenharmony_ci#define GL_BOUNDING_BOX_NV 0x908D 2953cb93a386Sopenharmony_ci#define GL_TRANSLATE_X_NV 0x908E 2954cb93a386Sopenharmony_ci#define GL_TRANSLATE_Y_NV 0x908F 2955cb93a386Sopenharmony_ci#define GL_TRANSLATE_2D_NV 0x9090 2956cb93a386Sopenharmony_ci#define GL_TRANSLATE_3D_NV 0x9091 2957cb93a386Sopenharmony_ci#define GL_AFFINE_2D_NV 0x9092 2958cb93a386Sopenharmony_ci#define GL_AFFINE_3D_NV 0x9094 2959cb93a386Sopenharmony_ci#define GL_TRANSPOSE_AFFINE_2D_NV 0x9096 2960cb93a386Sopenharmony_ci#define GL_TRANSPOSE_AFFINE_3D_NV 0x9098 2961cb93a386Sopenharmony_ci#define GL_UTF8_NV 0x909A 2962cb93a386Sopenharmony_ci#define GL_UTF16_NV 0x909B 2963cb93a386Sopenharmony_ci#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C 2964cb93a386Sopenharmony_ci#define GL_PATH_COMMAND_COUNT_NV 0x909D 2965cb93a386Sopenharmony_ci#define GL_PATH_COORD_COUNT_NV 0x909E 2966cb93a386Sopenharmony_ci#define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F 2967cb93a386Sopenharmony_ci#define GL_PATH_COMPUTED_LENGTH_NV 0x90A0 2968cb93a386Sopenharmony_ci#define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1 2969cb93a386Sopenharmony_ci#define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2 2970cb93a386Sopenharmony_ci#define GL_SQUARE_NV 0x90A3 2971cb93a386Sopenharmony_ci#define GL_ROUND_NV 0x90A4 2972cb93a386Sopenharmony_ci#define GL_TRIANGULAR_NV 0x90A5 2973cb93a386Sopenharmony_ci#define GL_BEVEL_NV 0x90A6 2974cb93a386Sopenharmony_ci#define GL_MITER_REVERT_NV 0x90A7 2975cb93a386Sopenharmony_ci#define GL_MITER_TRUNCATE_NV 0x90A8 2976cb93a386Sopenharmony_ci#define GL_SKIP_MISSING_GLYPH_NV 0x90A9 2977cb93a386Sopenharmony_ci#define GL_USE_MISSING_GLYPH_NV 0x90AA 2978cb93a386Sopenharmony_ci#define GL_PATH_ERROR_POSITION_NV 0x90AB 2979cb93a386Sopenharmony_ci#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD 2980cb93a386Sopenharmony_ci#define GL_ADJACENT_PAIRS_NV 0x90AE 2981cb93a386Sopenharmony_ci#define GL_FIRST_TO_REST_NV 0x90AF 2982cb93a386Sopenharmony_ci#define GL_PATH_GEN_MODE_NV 0x90B0 2983cb93a386Sopenharmony_ci#define GL_PATH_GEN_COEFF_NV 0x90B1 2984cb93a386Sopenharmony_ci#define GL_PATH_GEN_COMPONENTS_NV 0x90B3 2985cb93a386Sopenharmony_ci#define GL_PATH_STENCIL_FUNC_NV 0x90B7 2986cb93a386Sopenharmony_ci#define GL_PATH_STENCIL_REF_NV 0x90B8 2987cb93a386Sopenharmony_ci#define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9 2988cb93a386Sopenharmony_ci#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD 2989cb93a386Sopenharmony_ci#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE 2990cb93a386Sopenharmony_ci#define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF 2991cb93a386Sopenharmony_ci#define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4 2992cb93a386Sopenharmony_ci#define GL_MOVE_TO_RESETS_NV 0x90B5 2993cb93a386Sopenharmony_ci#define GL_MOVE_TO_CONTINUES_NV 0x90B6 2994cb93a386Sopenharmony_ci#define GL_CLOSE_PATH_NV 0x00 2995cb93a386Sopenharmony_ci#define GL_MOVE_TO_NV 0x02 2996cb93a386Sopenharmony_ci#define GL_RELATIVE_MOVE_TO_NV 0x03 2997cb93a386Sopenharmony_ci#define GL_LINE_TO_NV 0x04 2998cb93a386Sopenharmony_ci#define GL_RELATIVE_LINE_TO_NV 0x05 2999cb93a386Sopenharmony_ci#define GL_HORIZONTAL_LINE_TO_NV 0x06 3000cb93a386Sopenharmony_ci#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07 3001cb93a386Sopenharmony_ci#define GL_VERTICAL_LINE_TO_NV 0x08 3002cb93a386Sopenharmony_ci#define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09 3003cb93a386Sopenharmony_ci#define GL_QUADRATIC_CURVE_TO_NV 0x0A 3004cb93a386Sopenharmony_ci#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B 3005cb93a386Sopenharmony_ci#define GL_CUBIC_CURVE_TO_NV 0x0C 3006cb93a386Sopenharmony_ci#define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D 3007cb93a386Sopenharmony_ci#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E 3008cb93a386Sopenharmony_ci#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F 3009cb93a386Sopenharmony_ci#define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10 3010cb93a386Sopenharmony_ci#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11 3011cb93a386Sopenharmony_ci#define GL_SMALL_CCW_ARC_TO_NV 0x12 3012cb93a386Sopenharmony_ci#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13 3013cb93a386Sopenharmony_ci#define GL_SMALL_CW_ARC_TO_NV 0x14 3014cb93a386Sopenharmony_ci#define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15 3015cb93a386Sopenharmony_ci#define GL_LARGE_CCW_ARC_TO_NV 0x16 3016cb93a386Sopenharmony_ci#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17 3017cb93a386Sopenharmony_ci#define GL_LARGE_CW_ARC_TO_NV 0x18 3018cb93a386Sopenharmony_ci#define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19 3019cb93a386Sopenharmony_ci#define GL_RESTART_PATH_NV 0xF0 3020cb93a386Sopenharmony_ci#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2 3021cb93a386Sopenharmony_ci#define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4 3022cb93a386Sopenharmony_ci#define GL_RECT_NV 0xF6 3023cb93a386Sopenharmony_ci#define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8 3024cb93a386Sopenharmony_ci#define GL_CIRCULAR_CW_ARC_TO_NV 0xFA 3025cb93a386Sopenharmony_ci#define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC 3026cb93a386Sopenharmony_ci#define GL_ARC_TO_NV 0xFE 3027cb93a386Sopenharmony_ci#define GL_RELATIVE_ARC_TO_NV 0xFF 3028cb93a386Sopenharmony_ci#define GL_BOLD_BIT_NV 0x01 3029cb93a386Sopenharmony_ci#define GL_ITALIC_BIT_NV 0x02 3030cb93a386Sopenharmony_ci#define GL_GLYPH_WIDTH_BIT_NV 0x01 3031cb93a386Sopenharmony_ci#define GL_GLYPH_HEIGHT_BIT_NV 0x02 3032cb93a386Sopenharmony_ci#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04 3033cb93a386Sopenharmony_ci#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08 3034cb93a386Sopenharmony_ci#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10 3035cb93a386Sopenharmony_ci#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20 3036cb93a386Sopenharmony_ci#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40 3037cb93a386Sopenharmony_ci#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80 3038cb93a386Sopenharmony_ci#define GL_GLYPH_HAS_KERNING_BIT_NV 0x100 3039cb93a386Sopenharmony_ci#define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000 3040cb93a386Sopenharmony_ci#define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000 3041cb93a386Sopenharmony_ci#define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000 3042cb93a386Sopenharmony_ci#define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000 3043cb93a386Sopenharmony_ci#define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000 3044cb93a386Sopenharmony_ci#define GL_FONT_ASCENDER_BIT_NV 0x00200000 3045cb93a386Sopenharmony_ci#define GL_FONT_DESCENDER_BIT_NV 0x00400000 3046cb93a386Sopenharmony_ci#define GL_FONT_HEIGHT_BIT_NV 0x00800000 3047cb93a386Sopenharmony_ci#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000 3048cb93a386Sopenharmony_ci#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000 3049cb93a386Sopenharmony_ci#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000 3050cb93a386Sopenharmony_ci#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000 3051cb93a386Sopenharmony_ci#define GL_FONT_HAS_KERNING_BIT_NV 0x10000000 3052cb93a386Sopenharmony_ci#define GL_ROUNDED_RECT_NV 0xE8 3053cb93a386Sopenharmony_ci#define GL_RELATIVE_ROUNDED_RECT_NV 0xE9 3054cb93a386Sopenharmony_ci#define GL_ROUNDED_RECT2_NV 0xEA 3055cb93a386Sopenharmony_ci#define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB 3056cb93a386Sopenharmony_ci#define GL_ROUNDED_RECT4_NV 0xEC 3057cb93a386Sopenharmony_ci#define GL_RELATIVE_ROUNDED_RECT4_NV 0xED 3058cb93a386Sopenharmony_ci#define GL_ROUNDED_RECT8_NV 0xEE 3059cb93a386Sopenharmony_ci#define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF 3060cb93a386Sopenharmony_ci#define GL_RELATIVE_RECT_NV 0xF7 3061cb93a386Sopenharmony_ci#define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368 3062cb93a386Sopenharmony_ci#define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369 3063cb93a386Sopenharmony_ci#define GL_FONT_UNAVAILABLE_NV 0x936A 3064cb93a386Sopenharmony_ci#define GL_FONT_UNINTELLIGIBLE_NV 0x936B 3065cb93a386Sopenharmony_ci#define GL_CONIC_CURVE_TO_NV 0x1A 3066cb93a386Sopenharmony_ci#define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B 3067cb93a386Sopenharmony_ci#define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000 3068cb93a386Sopenharmony_ci#define GL_STANDARD_FONT_FORMAT_NV 0x936C 3069cb93a386Sopenharmony_ci#define GL_PATH_PROJECTION_NV 0x1701 3070cb93a386Sopenharmony_ci#define GL_PATH_MODELVIEW_NV 0x1700 3071cb93a386Sopenharmony_ci#define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3 3072cb93a386Sopenharmony_ci#define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6 3073cb93a386Sopenharmony_ci#define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36 3074cb93a386Sopenharmony_ci#define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3 3075cb93a386Sopenharmony_ci#define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4 3076cb93a386Sopenharmony_ci#define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7 3077cb93a386Sopenharmony_ci#define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38 3078cb93a386Sopenharmony_ci#define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4 3079cb93a386Sopenharmony_ci#define GL_FRAGMENT_INPUT_NV 0x936D 3080cb93a386Sopenharmony_citypedef GLuint (GL_APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range); 3081cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range); 3082cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISPATHNVPROC) (GLuint path); 3083cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 3084cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); 3085cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 3086cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); 3087cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString); 3088cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3089cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3090cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); 3091cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath); 3092cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); 3093cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); 3094cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value); 3095cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value); 3096cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value); 3097cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value); 3098cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray); 3099cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask); 3100cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units); 3101cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask); 3102cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask); 3103cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); 3104cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); 3105cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func); 3106cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode); 3107cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode); 3108cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3109cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3110cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value); 3111cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value); 3112cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands); 3113cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords); 3114cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray); 3115cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 3116cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); 3117cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); 3118cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y); 3119cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y); 3120cb93a386Sopenharmony_citypedef GLfloat (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments); 3121cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); 3122cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); 3123cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 3124cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 3125cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); 3126cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 3127cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 3128cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); 3129cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode); 3130cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3131cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3132cb93a386Sopenharmony_citypedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); 3133cb93a386Sopenharmony_citypedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3134cb93a386Sopenharmony_citypedef GLenum (GL_APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3135cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); 3136cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); 3137cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 3138cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode); 3139cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); 3140cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); 3141cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m); 3142cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m); 3143cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); 3144cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); 3145cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m); 3146cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m); 3147cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 3148cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode); 3149cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode); 3150cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 3151cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 3152cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 3153cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 3154cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 3155cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 3156cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3157cb93a386Sopenharmony_ciGL_APICALL GLuint GL_APIENTRY glGenPathsNV (GLsizei range); 3158cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDeletePathsNV (GLuint path, GLsizei range); 3159cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsPathNV (GLuint path); 3160cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 3161cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); 3162cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 3163cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); 3164cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString); 3165cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3166cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3167cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); 3168cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath); 3169cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); 3170cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); 3171cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value); 3172cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value); 3173cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value); 3174cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value); 3175cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray); 3176cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask); 3177cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units); 3178cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask); 3179cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask); 3180cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); 3181cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); 3182cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPathCoverDepthFuncNV (GLenum func); 3183cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode); 3184cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode); 3185cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3186cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3187cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value); 3188cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value); 3189cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands); 3190cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords); 3191cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray); 3192cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 3193cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); 3194cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); 3195cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y); 3196cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y); 3197cb93a386Sopenharmony_ciGL_APICALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments); 3198cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); 3199cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m); 3200cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m); 3201cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); 3202cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m); 3203cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m); 3204cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); 3205cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); 3206cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode); 3207cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3208cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3209cb93a386Sopenharmony_ciGL_APICALL GLenum GL_APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); 3210cb93a386Sopenharmony_ciGL_APICALL GLenum GL_APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3211cb93a386Sopenharmony_ciGL_APICALL GLenum GL_APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3212cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); 3213cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); 3214cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 3215cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixLoadIdentityEXT (GLenum mode); 3216cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m); 3217cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m); 3218cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m); 3219cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m); 3220cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m); 3221cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m); 3222cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m); 3223cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m); 3224cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 3225cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixPopEXT (GLenum mode); 3226cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixPushEXT (GLenum mode); 3227cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 3228cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 3229cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 3230cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 3231cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 3232cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 3233cb93a386Sopenharmony_ci#endif 3234cb93a386Sopenharmony_ci#endif /* GL_NV_path_rendering */ 3235cb93a386Sopenharmony_ci 3236cb93a386Sopenharmony_ci#ifndef GL_NV_path_rendering_shared_edge 3237cb93a386Sopenharmony_ci#define GL_NV_path_rendering_shared_edge 1 3238cb93a386Sopenharmony_ci#define GL_SHARED_EDGE_NV 0xC0 3239cb93a386Sopenharmony_ci#endif /* GL_NV_path_rendering_shared_edge */ 3240cb93a386Sopenharmony_ci 3241cb93a386Sopenharmony_ci#ifndef GL_NV_pixel_buffer_object 3242cb93a386Sopenharmony_ci#define GL_NV_pixel_buffer_object 1 3243cb93a386Sopenharmony_ci#define GL_PIXEL_PACK_BUFFER_NV 0x88EB 3244cb93a386Sopenharmony_ci#define GL_PIXEL_UNPACK_BUFFER_NV 0x88EC 3245cb93a386Sopenharmony_ci#define GL_PIXEL_PACK_BUFFER_BINDING_NV 0x88ED 3246cb93a386Sopenharmony_ci#define GL_PIXEL_UNPACK_BUFFER_BINDING_NV 0x88EF 3247cb93a386Sopenharmony_ci#endif /* GL_NV_pixel_buffer_object */ 3248cb93a386Sopenharmony_ci 3249cb93a386Sopenharmony_ci#ifndef GL_NV_polygon_mode 3250cb93a386Sopenharmony_ci#define GL_NV_polygon_mode 1 3251cb93a386Sopenharmony_ci#define GL_POLYGON_MODE_NV 0x0B40 3252cb93a386Sopenharmony_ci#define GL_POLYGON_OFFSET_POINT_NV 0x2A01 3253cb93a386Sopenharmony_ci#define GL_POLYGON_OFFSET_LINE_NV 0x2A02 3254cb93a386Sopenharmony_ci#define GL_POINT_NV 0x1B00 3255cb93a386Sopenharmony_ci#define GL_LINE_NV 0x1B01 3256cb93a386Sopenharmony_ci#define GL_FILL_NV 0x1B02 3257cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLPOLYGONMODENVPROC) (GLenum face, GLenum mode); 3258cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3259cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glPolygonModeNV (GLenum face, GLenum mode); 3260cb93a386Sopenharmony_ci#endif 3261cb93a386Sopenharmony_ci#endif /* GL_NV_polygon_mode */ 3262cb93a386Sopenharmony_ci 3263cb93a386Sopenharmony_ci#ifndef GL_NV_read_buffer 3264cb93a386Sopenharmony_ci#define GL_NV_read_buffer 1 3265cb93a386Sopenharmony_ci#define GL_READ_BUFFER_NV 0x0C02 3266cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode); 3267cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3268cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode); 3269cb93a386Sopenharmony_ci#endif 3270cb93a386Sopenharmony_ci#endif /* GL_NV_read_buffer */ 3271cb93a386Sopenharmony_ci 3272cb93a386Sopenharmony_ci#ifndef GL_NV_read_buffer_front 3273cb93a386Sopenharmony_ci#define GL_NV_read_buffer_front 1 3274cb93a386Sopenharmony_ci#endif /* GL_NV_read_buffer_front */ 3275cb93a386Sopenharmony_ci 3276cb93a386Sopenharmony_ci#ifndef GL_NV_read_depth 3277cb93a386Sopenharmony_ci#define GL_NV_read_depth 1 3278cb93a386Sopenharmony_ci#endif /* GL_NV_read_depth */ 3279cb93a386Sopenharmony_ci 3280cb93a386Sopenharmony_ci#ifndef GL_NV_read_depth_stencil 3281cb93a386Sopenharmony_ci#define GL_NV_read_depth_stencil 1 3282cb93a386Sopenharmony_ci#endif /* GL_NV_read_depth_stencil */ 3283cb93a386Sopenharmony_ci 3284cb93a386Sopenharmony_ci#ifndef GL_NV_read_stencil 3285cb93a386Sopenharmony_ci#define GL_NV_read_stencil 1 3286cb93a386Sopenharmony_ci#endif /* GL_NV_read_stencil */ 3287cb93a386Sopenharmony_ci 3288cb93a386Sopenharmony_ci#ifndef GL_NV_sRGB_formats 3289cb93a386Sopenharmony_ci#define GL_NV_sRGB_formats 1 3290cb93a386Sopenharmony_ci#define GL_SLUMINANCE_NV 0x8C46 3291cb93a386Sopenharmony_ci#define GL_SLUMINANCE_ALPHA_NV 0x8C44 3292cb93a386Sopenharmony_ci#define GL_SRGB8_NV 0x8C41 3293cb93a386Sopenharmony_ci#define GL_SLUMINANCE8_NV 0x8C47 3294cb93a386Sopenharmony_ci#define GL_SLUMINANCE8_ALPHA8_NV 0x8C45 3295cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C 3296cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D 3297cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E 3298cb93a386Sopenharmony_ci#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F 3299cb93a386Sopenharmony_ci#define GL_ETC1_SRGB8_NV 0x88EE 3300cb93a386Sopenharmony_ci#endif /* GL_NV_sRGB_formats */ 3301cb93a386Sopenharmony_ci 3302cb93a386Sopenharmony_ci#ifndef GL_NV_sample_locations 3303cb93a386Sopenharmony_ci#define GL_NV_sample_locations 1 3304cb93a386Sopenharmony_ci#define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D 3305cb93a386Sopenharmony_ci#define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E 3306cb93a386Sopenharmony_ci#define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F 3307cb93a386Sopenharmony_ci#define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340 3308cb93a386Sopenharmony_ci#define GL_SAMPLE_LOCATION_NV 0x8E50 3309cb93a386Sopenharmony_ci#define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341 3310cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342 3311cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343 3312cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v); 3313cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); 3314cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void); 3315cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3316cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v); 3317cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); 3318cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glResolveDepthValuesNV (void); 3319cb93a386Sopenharmony_ci#endif 3320cb93a386Sopenharmony_ci#endif /* GL_NV_sample_locations */ 3321cb93a386Sopenharmony_ci 3322cb93a386Sopenharmony_ci#ifndef GL_NV_sample_mask_override_coverage 3323cb93a386Sopenharmony_ci#define GL_NV_sample_mask_override_coverage 1 3324cb93a386Sopenharmony_ci#endif /* GL_NV_sample_mask_override_coverage */ 3325cb93a386Sopenharmony_ci 3326cb93a386Sopenharmony_ci#ifndef GL_NV_shader_atomic_fp16_vector 3327cb93a386Sopenharmony_ci#define GL_NV_shader_atomic_fp16_vector 1 3328cb93a386Sopenharmony_ci#endif /* GL_NV_shader_atomic_fp16_vector */ 3329cb93a386Sopenharmony_ci 3330cb93a386Sopenharmony_ci#ifndef GL_NV_shader_noperspective_interpolation 3331cb93a386Sopenharmony_ci#define GL_NV_shader_noperspective_interpolation 1 3332cb93a386Sopenharmony_ci#endif /* GL_NV_shader_noperspective_interpolation */ 3333cb93a386Sopenharmony_ci 3334cb93a386Sopenharmony_ci#ifndef GL_NV_shadow_samplers_array 3335cb93a386Sopenharmony_ci#define GL_NV_shadow_samplers_array 1 3336cb93a386Sopenharmony_ci#define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4 3337cb93a386Sopenharmony_ci#endif /* GL_NV_shadow_samplers_array */ 3338cb93a386Sopenharmony_ci 3339cb93a386Sopenharmony_ci#ifndef GL_NV_shadow_samplers_cube 3340cb93a386Sopenharmony_ci#define GL_NV_shadow_samplers_cube 1 3341cb93a386Sopenharmony_ci#define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5 3342cb93a386Sopenharmony_ci#endif /* GL_NV_shadow_samplers_cube */ 3343cb93a386Sopenharmony_ci 3344cb93a386Sopenharmony_ci#ifndef GL_NV_stereo_view_rendering 3345cb93a386Sopenharmony_ci#define GL_NV_stereo_view_rendering 1 3346cb93a386Sopenharmony_ci#endif /* GL_NV_stereo_view_rendering */ 3347cb93a386Sopenharmony_ci 3348cb93a386Sopenharmony_ci#ifndef GL_NV_texture_border_clamp 3349cb93a386Sopenharmony_ci#define GL_NV_texture_border_clamp 1 3350cb93a386Sopenharmony_ci#define GL_TEXTURE_BORDER_COLOR_NV 0x1004 3351cb93a386Sopenharmony_ci#define GL_CLAMP_TO_BORDER_NV 0x812D 3352cb93a386Sopenharmony_ci#endif /* GL_NV_texture_border_clamp */ 3353cb93a386Sopenharmony_ci 3354cb93a386Sopenharmony_ci#ifndef GL_NV_texture_compression_s3tc_update 3355cb93a386Sopenharmony_ci#define GL_NV_texture_compression_s3tc_update 1 3356cb93a386Sopenharmony_ci#endif /* GL_NV_texture_compression_s3tc_update */ 3357cb93a386Sopenharmony_ci 3358cb93a386Sopenharmony_ci#ifndef GL_NV_texture_npot_2D_mipmap 3359cb93a386Sopenharmony_ci#define GL_NV_texture_npot_2D_mipmap 1 3360cb93a386Sopenharmony_ci#endif /* GL_NV_texture_npot_2D_mipmap */ 3361cb93a386Sopenharmony_ci 3362cb93a386Sopenharmony_ci#ifndef GL_NV_viewport_array 3363cb93a386Sopenharmony_ci#define GL_NV_viewport_array 1 3364cb93a386Sopenharmony_ci#define GL_MAX_VIEWPORTS_NV 0x825B 3365cb93a386Sopenharmony_ci#define GL_VIEWPORT_SUBPIXEL_BITS_NV 0x825C 3366cb93a386Sopenharmony_ci#define GL_VIEWPORT_BOUNDS_RANGE_NV 0x825D 3367cb93a386Sopenharmony_ci#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_NV 0x825F 3368cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVNVPROC) (GLuint first, GLsizei count, const GLfloat *v); 3369cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 3370cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVNVPROC) (GLuint index, const GLfloat *v); 3371cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSCISSORARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v); 3372cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDNVPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 3373cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVNVPROC) (GLuint index, const GLint *v); 3374cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVNVPROC) (GLuint first, GLsizei count, const GLfloat *v); 3375cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFNVPROC) (GLuint index, GLfloat n, GLfloat f); 3376cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETFLOATI_VNVPROC) (GLenum target, GLuint index, GLfloat *data); 3377cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLENABLEINVPROC) (GLenum target, GLuint index); 3378cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDISABLEINVPROC) (GLenum target, GLuint index); 3379cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLISENABLEDINVPROC) (GLenum target, GLuint index); 3380cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3381cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glViewportArrayvNV (GLuint first, GLsizei count, const GLfloat *v); 3382cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glViewportIndexedfNV (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 3383cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glViewportIndexedfvNV (GLuint index, const GLfloat *v); 3384cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glScissorArrayvNV (GLuint first, GLsizei count, const GLint *v); 3385cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glScissorIndexedNV (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 3386cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glScissorIndexedvNV (GLuint index, const GLint *v); 3387cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDepthRangeArrayfvNV (GLuint first, GLsizei count, const GLfloat *v); 3388cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDepthRangeIndexedfNV (GLuint index, GLfloat n, GLfloat f); 3389cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetFloati_vNV (GLenum target, GLuint index, GLfloat *data); 3390cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glEnableiNV (GLenum target, GLuint index); 3391cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDisableiNV (GLenum target, GLuint index); 3392cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsEnablediNV (GLenum target, GLuint index); 3393cb93a386Sopenharmony_ci#endif 3394cb93a386Sopenharmony_ci#endif /* GL_NV_viewport_array */ 3395cb93a386Sopenharmony_ci 3396cb93a386Sopenharmony_ci#ifndef GL_NV_viewport_array2 3397cb93a386Sopenharmony_ci#define GL_NV_viewport_array2 1 3398cb93a386Sopenharmony_ci#endif /* GL_NV_viewport_array2 */ 3399cb93a386Sopenharmony_ci 3400cb93a386Sopenharmony_ci#ifndef GL_NV_viewport_swizzle 3401cb93a386Sopenharmony_ci#define GL_NV_viewport_swizzle 1 3402cb93a386Sopenharmony_ci#define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350 3403cb93a386Sopenharmony_ci#define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351 3404cb93a386Sopenharmony_ci#define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352 3405cb93a386Sopenharmony_ci#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353 3406cb93a386Sopenharmony_ci#define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354 3407cb93a386Sopenharmony_ci#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355 3408cb93a386Sopenharmony_ci#define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356 3409cb93a386Sopenharmony_ci#define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357 3410cb93a386Sopenharmony_ci#define GL_VIEWPORT_SWIZZLE_X_NV 0x9358 3411cb93a386Sopenharmony_ci#define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359 3412cb93a386Sopenharmony_ci#define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A 3413cb93a386Sopenharmony_ci#define GL_VIEWPORT_SWIZZLE_W_NV 0x935B 3414cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); 3415cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3416cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); 3417cb93a386Sopenharmony_ci#endif 3418cb93a386Sopenharmony_ci#endif /* GL_NV_viewport_swizzle */ 3419cb93a386Sopenharmony_ci 3420cb93a386Sopenharmony_ci#ifndef GL_OVR_multiview 3421cb93a386Sopenharmony_ci#define GL_OVR_multiview 1 3422cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630 3423cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632 3424cb93a386Sopenharmony_ci#define GL_MAX_VIEWS_OVR 0x9631 3425cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633 3426cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); 3427cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3428cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); 3429cb93a386Sopenharmony_ci#endif 3430cb93a386Sopenharmony_ci#endif /* GL_OVR_multiview */ 3431cb93a386Sopenharmony_ci 3432cb93a386Sopenharmony_ci#ifndef GL_OVR_multiview2 3433cb93a386Sopenharmony_ci#define GL_OVR_multiview2 1 3434cb93a386Sopenharmony_ci#endif /* GL_OVR_multiview2 */ 3435cb93a386Sopenharmony_ci 3436cb93a386Sopenharmony_ci#ifndef GL_OVR_multiview_multisampled_render_to_texture 3437cb93a386Sopenharmony_ci#define GL_OVR_multiview_multisampled_render_to_texture 1 3438cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews); 3439cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3440cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferTextureMultisampleMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews); 3441cb93a386Sopenharmony_ci#endif 3442cb93a386Sopenharmony_ci#endif /* GL_OVR_multiview_multisampled_render_to_texture */ 3443cb93a386Sopenharmony_ci 3444cb93a386Sopenharmony_ci#ifndef GL_QCOM_alpha_test 3445cb93a386Sopenharmony_ci#define GL_QCOM_alpha_test 1 3446cb93a386Sopenharmony_ci#define GL_ALPHA_TEST_QCOM 0x0BC0 3447cb93a386Sopenharmony_ci#define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 3448cb93a386Sopenharmony_ci#define GL_ALPHA_TEST_REF_QCOM 0x0BC2 3449cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref); 3450cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3451cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref); 3452cb93a386Sopenharmony_ci#endif 3453cb93a386Sopenharmony_ci#endif /* GL_QCOM_alpha_test */ 3454cb93a386Sopenharmony_ci 3455cb93a386Sopenharmony_ci#ifndef GL_QCOM_binning_control 3456cb93a386Sopenharmony_ci#define GL_QCOM_binning_control 1 3457cb93a386Sopenharmony_ci#define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0 3458cb93a386Sopenharmony_ci#define GL_CPU_OPTIMIZED_QCOM 0x8FB1 3459cb93a386Sopenharmony_ci#define GL_GPU_OPTIMIZED_QCOM 0x8FB2 3460cb93a386Sopenharmony_ci#define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3 3461cb93a386Sopenharmony_ci#endif /* GL_QCOM_binning_control */ 3462cb93a386Sopenharmony_ci 3463cb93a386Sopenharmony_ci#ifndef GL_QCOM_driver_control 3464cb93a386Sopenharmony_ci#define GL_QCOM_driver_control 1 3465cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); 3466cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); 3467cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); 3468cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); 3469cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3470cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls); 3471cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); 3472cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); 3473cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); 3474cb93a386Sopenharmony_ci#endif 3475cb93a386Sopenharmony_ci#endif /* GL_QCOM_driver_control */ 3476cb93a386Sopenharmony_ci 3477cb93a386Sopenharmony_ci#ifndef GL_QCOM_extended_get 3478cb93a386Sopenharmony_ci#define GL_QCOM_extended_get 1 3479cb93a386Sopenharmony_ci#define GL_TEXTURE_WIDTH_QCOM 0x8BD2 3480cb93a386Sopenharmony_ci#define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 3481cb93a386Sopenharmony_ci#define GL_TEXTURE_DEPTH_QCOM 0x8BD4 3482cb93a386Sopenharmony_ci#define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 3483cb93a386Sopenharmony_ci#define GL_TEXTURE_FORMAT_QCOM 0x8BD6 3484cb93a386Sopenharmony_ci#define GL_TEXTURE_TYPE_QCOM 0x8BD7 3485cb93a386Sopenharmony_ci#define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 3486cb93a386Sopenharmony_ci#define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 3487cb93a386Sopenharmony_ci#define GL_TEXTURE_TARGET_QCOM 0x8BDA 3488cb93a386Sopenharmony_ci#define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB 3489cb93a386Sopenharmony_ci#define GL_STATE_RESTORE 0x8BDC 3490cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); 3491cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); 3492cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); 3493cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); 3494cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); 3495cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); 3496cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); 3497cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params); 3498cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3499cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures); 3500cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); 3501cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); 3502cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); 3503cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); 3504cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param); 3505cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); 3506cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params); 3507cb93a386Sopenharmony_ci#endif 3508cb93a386Sopenharmony_ci#endif /* GL_QCOM_extended_get */ 3509cb93a386Sopenharmony_ci 3510cb93a386Sopenharmony_ci#ifndef GL_QCOM_extended_get2 3511cb93a386Sopenharmony_ci#define GL_QCOM_extended_get2 1 3512cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); 3513cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); 3514cb93a386Sopenharmony_citypedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); 3515cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); 3516cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3517cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders); 3518cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms); 3519cb93a386Sopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); 3520cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length); 3521cb93a386Sopenharmony_ci#endif 3522cb93a386Sopenharmony_ci#endif /* GL_QCOM_extended_get2 */ 3523cb93a386Sopenharmony_ci 3524cb93a386Sopenharmony_ci#ifndef GL_QCOM_framebuffer_foveated 3525cb93a386Sopenharmony_ci#define GL_QCOM_framebuffer_foveated 1 3526cb93a386Sopenharmony_ci#define GL_FOVEATION_ENABLE_BIT_QCOM 0x00000001 3527cb93a386Sopenharmony_ci#define GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM 0x00000002 3528cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC) (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint *providedFeatures); 3529cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC) (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); 3530cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3531cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferFoveationConfigQCOM (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint *providedFeatures); 3532cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferFoveationParametersQCOM (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); 3533cb93a386Sopenharmony_ci#endif 3534cb93a386Sopenharmony_ci#endif /* GL_QCOM_framebuffer_foveated */ 3535cb93a386Sopenharmony_ci 3536cb93a386Sopenharmony_ci#ifndef GL_QCOM_perfmon_global_mode 3537cb93a386Sopenharmony_ci#define GL_QCOM_perfmon_global_mode 1 3538cb93a386Sopenharmony_ci#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 3539cb93a386Sopenharmony_ci#endif /* GL_QCOM_perfmon_global_mode */ 3540cb93a386Sopenharmony_ci 3541cb93a386Sopenharmony_ci#ifndef GL_QCOM_shader_framebuffer_fetch_noncoherent 3542cb93a386Sopenharmony_ci#define GL_QCOM_shader_framebuffer_fetch_noncoherent 1 3543cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_FETCH_NONCOHERENT_QCOM 0x96A2 3544cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC) (void); 3545cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3546cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferFetchBarrierQCOM (void); 3547cb93a386Sopenharmony_ci#endif 3548cb93a386Sopenharmony_ci#endif /* GL_QCOM_shader_framebuffer_fetch_noncoherent */ 3549cb93a386Sopenharmony_ci 3550cb93a386Sopenharmony_ci#ifndef GL_QCOM_texture_foveated 3551cb93a386Sopenharmony_ci#define GL_QCOM_texture_foveated 1 3552cb93a386Sopenharmony_ci#define GL_TEXTURE_FOVEATED_FEATURE_BITS_QCOM 0x8BFB 3553cb93a386Sopenharmony_ci#define GL_TEXTURE_FOVEATED_MIN_PIXEL_DENSITY_QCOM 0x8BFC 3554cb93a386Sopenharmony_ci#define GL_TEXTURE_FOVEATED_FEATURE_QUERY_QCOM 0x8BFD 3555cb93a386Sopenharmony_ci#define GL_TEXTURE_FOVEATED_NUM_FOCAL_POINTS_QUERY_QCOM 0x8BFE 3556cb93a386Sopenharmony_ci#define GL_FRAMEBUFFER_INCOMPLETE_FOVEATION_QCOM 0x8BFF 3557cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC) (GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); 3558cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3559cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glTextureFoveationParametersQCOM (GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); 3560cb93a386Sopenharmony_ci#endif 3561cb93a386Sopenharmony_ci#endif /* GL_QCOM_texture_foveated */ 3562cb93a386Sopenharmony_ci 3563cb93a386Sopenharmony_ci#ifndef GL_QCOM_tiled_rendering 3564cb93a386Sopenharmony_ci#define GL_QCOM_tiled_rendering 1 3565cb93a386Sopenharmony_ci#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 3566cb93a386Sopenharmony_ci#define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 3567cb93a386Sopenharmony_ci#define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 3568cb93a386Sopenharmony_ci#define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 3569cb93a386Sopenharmony_ci#define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 3570cb93a386Sopenharmony_ci#define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 3571cb93a386Sopenharmony_ci#define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 3572cb93a386Sopenharmony_ci#define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 3573cb93a386Sopenharmony_ci#define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 3574cb93a386Sopenharmony_ci#define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 3575cb93a386Sopenharmony_ci#define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 3576cb93a386Sopenharmony_ci#define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 3577cb93a386Sopenharmony_ci#define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 3578cb93a386Sopenharmony_ci#define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 3579cb93a386Sopenharmony_ci#define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 3580cb93a386Sopenharmony_ci#define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 3581cb93a386Sopenharmony_ci#define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 3582cb93a386Sopenharmony_ci#define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 3583cb93a386Sopenharmony_ci#define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 3584cb93a386Sopenharmony_ci#define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 3585cb93a386Sopenharmony_ci#define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 3586cb93a386Sopenharmony_ci#define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 3587cb93a386Sopenharmony_ci#define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 3588cb93a386Sopenharmony_ci#define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 3589cb93a386Sopenharmony_ci#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 3590cb93a386Sopenharmony_ci#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 3591cb93a386Sopenharmony_ci#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 3592cb93a386Sopenharmony_ci#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 3593cb93a386Sopenharmony_ci#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 3594cb93a386Sopenharmony_ci#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 3595cb93a386Sopenharmony_ci#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 3596cb93a386Sopenharmony_ci#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 3597cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); 3598cb93a386Sopenharmony_citypedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); 3599cb93a386Sopenharmony_ci#ifdef GL_GLEXT_PROTOTYPES 3600cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); 3601cb93a386Sopenharmony_ciGL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); 3602cb93a386Sopenharmony_ci#endif 3603cb93a386Sopenharmony_ci#endif /* GL_QCOM_tiled_rendering */ 3604cb93a386Sopenharmony_ci 3605cb93a386Sopenharmony_ci#ifndef GL_QCOM_writeonly_rendering 3606cb93a386Sopenharmony_ci#define GL_QCOM_writeonly_rendering 1 3607cb93a386Sopenharmony_ci#define GL_WRITEONLY_RENDERING_QCOM 0x8823 3608cb93a386Sopenharmony_ci#endif /* GL_QCOM_writeonly_rendering */ 3609cb93a386Sopenharmony_ci 3610cb93a386Sopenharmony_ci#ifndef GL_VIV_shader_binary 3611cb93a386Sopenharmony_ci#define GL_VIV_shader_binary 1 3612cb93a386Sopenharmony_ci#define GL_SHADER_BINARY_VIV 0x8FC4 3613cb93a386Sopenharmony_ci#endif /* GL_VIV_shader_binary */ 3614cb93a386Sopenharmony_ci 3615cb93a386Sopenharmony_ci#ifdef __cplusplus 3616cb93a386Sopenharmony_ci} 3617cb93a386Sopenharmony_ci#endif 3618cb93a386Sopenharmony_ci 3619cb93a386Sopenharmony_ci#endif 3620