DXGL r877 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r876‎ | r877 | r878 >
Date:00:05, 22 October 2018
Author:admin
Status:new
Tags:
Comment:
Update glext.h and wglext.h, add khrplatform.h
Modified paths:
  • /ddraw/ddraw.vcxproj (modified) (history)
  • /ddraw/include/GL/glext.h (modified) (history)
  • /ddraw/include/GL/wglext.h (modified) (history)
  • /ddraw/include/KHR (added) (history)
  • /ddraw/include/KHR/khrplatform.h (added) (history)
  • /dxglcfg/dxglcfg.vcxproj (modified) (history)
  • /vs8/ddraw/ddraw.vcproj (modified) (history)
  • /vs8/dxglcfg/dxglcfg.vcproj (modified) (history)

Diff [purge]

Index: ddraw/ddraw.vcxproj
@@ -135,7 +135,7 @@
136136 <WarningLevel>Level3</WarningLevel>
137137 <Optimization>Disabled</Optimization>
138138 <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_WINDOWS;_USRDLL;DDRAW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
139 - <AdditionalIncludeDirectories>../include</AdditionalIncludeDirectories>
 139+ <AdditionalIncludeDirectories>include</AdditionalIncludeDirectories>
140140 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
141141 <ExceptionHandling>Async</ExceptionHandling>
142142 </ClCompile>
@@ -158,7 +158,7 @@
159159 <WarningLevel>Level3</WarningLevel>
160160 <Optimization>Disabled</Optimization>
161161 <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_WINDOWS;_USRDLL;DDRAW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
162 - <AdditionalIncludeDirectories>../include</AdditionalIncludeDirectories>
 162+ <AdditionalIncludeDirectories>include</AdditionalIncludeDirectories>
163163 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
164164 <ExceptionHandling>Async</ExceptionHandling>
165165 </ClCompile>
@@ -181,7 +181,7 @@
182182 <WarningLevel>Level3</WarningLevel>
183183 <Optimization>Disabled</Optimization>
184184 <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_TRACE;_WINDOWS;_USRDLL;DDRAW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
185 - <AdditionalIncludeDirectories>../include</AdditionalIncludeDirectories>
 185+ <AdditionalIncludeDirectories>include</AdditionalIncludeDirectories>
186186 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
187187 <ExceptionHandling>Async</ExceptionHandling>
188188 </ClCompile>
@@ -204,7 +204,7 @@
205205 <WarningLevel>Level3</WarningLevel>
206206 <Optimization>Disabled</Optimization>
207207 <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_WINDOWS;_USRDLL;DDRAW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
208 - <AdditionalIncludeDirectories>../include</AdditionalIncludeDirectories>
 208+ <AdditionalIncludeDirectories>include</AdditionalIncludeDirectories>
209209 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
210210 <ExceptionHandling>Async</ExceptionHandling>
211211 </ClCompile>
@@ -232,7 +232,7 @@
233233 <FunctionLevelLinking>true</FunctionLevelLinking>
234234 <IntrinsicFunctions>true</IntrinsicFunctions>
235235 <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_WINDOWS;_USRDLL;DDRAW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
236 - <AdditionalIncludeDirectories>../include</AdditionalIncludeDirectories>
 236+ <AdditionalIncludeDirectories>include</AdditionalIncludeDirectories>
237237 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
238238 <ExceptionHandling>Async</ExceptionHandling>
239239 </ClCompile>
@@ -260,7 +260,7 @@
261261 <FunctionLevelLinking>true</FunctionLevelLinking>
262262 <IntrinsicFunctions>true</IntrinsicFunctions>
263263 <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_WINDOWS;_USRDLL;DDRAW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
264 - <AdditionalIncludeDirectories>../include</AdditionalIncludeDirectories>
 264+ <AdditionalIncludeDirectories>include</AdditionalIncludeDirectories>
265265 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
266266 <ExceptionHandling>Async</ExceptionHandling>
267267 </ClCompile>
@@ -288,7 +288,7 @@
289289 <FunctionLevelLinking>true</FunctionLevelLinking>
290290 <IntrinsicFunctions>true</IntrinsicFunctions>
291291 <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_WINDOWS;_USRDLL;DDRAW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
292 - <AdditionalIncludeDirectories>../include</AdditionalIncludeDirectories>
 292+ <AdditionalIncludeDirectories>include</AdditionalIncludeDirectories>
293293 <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
294294 <ExceptionHandling>Async</ExceptionHandling>
295295 </ClCompile>
Index: ddraw/include/GL/glext.h
@@ -1,5 +1,5 @@
2 -#ifndef __glext_h_
3 -#define __glext_h_ 1
 2+#ifndef __gl_glext_h_
 3+#define __gl_glext_h_ 1
44
55 #ifdef __cplusplus
66 extern "C" {
@@ -6,7 +6,7 @@
77 #endif
88
99 /*
10 -** Copyright (c) 2013-2014 The Khronos Group Inc.
 10+** Copyright (c) 2013-2018 The Khronos Group Inc.
1111 **
1212 ** Permission is hereby granted, free of charge, to any person obtaining a
1313 ** copy of this software and/or associated documentation files (the
@@ -31,9 +31,7 @@
3232 ** This header is generated from the Khronos OpenGL / OpenGL ES XML
3333 ** API Registry. The current version of the Registry, generator scripts
3434 ** used to make the header, and the header can be found at
35 -** http://www.opengl.org/registry/
36 -**
37 -** Khronos $Revision: 27684 $ on $Date: 2014-08-11 01:21:35 -0700 (Mon, 11 Aug 2014) $
 35+** https://github.com/KhronosGroup/OpenGL-Registry
3836 */
3937
4038 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
@@ -53,7 +51,7 @@
5452 #define GLAPI extern
5553 #endif
5654
57 -#define GL_GLEXT_VERSION 20140810
 55+#define GL_GLEXT_VERSION 20181017
5856
5957 /* Generated C header for:
6058 * API: gl
@@ -355,15 +353,17 @@
356354 #define GL_TEXTURE_FILTER_CONTROL 0x8500
357355 #define GL_DEPTH_TEXTURE_MODE 0x884B
358356 #define GL_COMPARE_R_TO_TEXTURE 0x884E
 357+#define GL_BLEND_COLOR 0x8005
 358+#define GL_BLEND_EQUATION 0x8009
 359+#define GL_CONSTANT_COLOR 0x8001
 360+#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
 361+#define GL_CONSTANT_ALPHA 0x8003
 362+#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
359363 #define GL_FUNC_ADD 0x8006
 364+#define GL_FUNC_REVERSE_SUBTRACT 0x800B
360365 #define GL_FUNC_SUBTRACT 0x800A
361 -#define GL_FUNC_REVERSE_SUBTRACT 0x800B
362366 #define GL_MIN 0x8007
363367 #define GL_MAX 0x8008
364 -#define GL_CONSTANT_COLOR 0x8001
365 -#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
366 -#define GL_CONSTANT_ALPHA 0x8003
367 -#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
368368 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
369369 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
370370 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
@@ -464,9 +464,9 @@
465465
466466 #ifndef GL_VERSION_1_5
467467 #define GL_VERSION_1_5 1
468 -#include <stddef.h>
469 -typedef ptrdiff_t GLsizeiptr;
470 -typedef ptrdiff_t GLintptr;
 468+#include <KHR/khrplatform.h>
 469+typedef khronos_ssize_t GLsizeiptr;
 470+typedef khronos_intptr_t GLintptr;
471471 #define GL_BUFFER_SIZE 0x8764
472472 #define GL_BUFFER_USAGE 0x8765
473473 #define GL_QUERY_COUNTER_BITS 0x8864
@@ -1041,6 +1041,22 @@
10421042 #define GL_COLOR_ATTACHMENT13 0x8CED
10431043 #define GL_COLOR_ATTACHMENT14 0x8CEE
10441044 #define GL_COLOR_ATTACHMENT15 0x8CEF
 1045+#define GL_COLOR_ATTACHMENT16 0x8CF0
 1046+#define GL_COLOR_ATTACHMENT17 0x8CF1
 1047+#define GL_COLOR_ATTACHMENT18 0x8CF2
 1048+#define GL_COLOR_ATTACHMENT19 0x8CF3
 1049+#define GL_COLOR_ATTACHMENT20 0x8CF4
 1050+#define GL_COLOR_ATTACHMENT21 0x8CF5
 1051+#define GL_COLOR_ATTACHMENT22 0x8CF6
 1052+#define GL_COLOR_ATTACHMENT23 0x8CF7
 1053+#define GL_COLOR_ATTACHMENT24 0x8CF8
 1054+#define GL_COLOR_ATTACHMENT25 0x8CF9
 1055+#define GL_COLOR_ATTACHMENT26 0x8CFA
 1056+#define GL_COLOR_ATTACHMENT27 0x8CFB
 1057+#define GL_COLOR_ATTACHMENT28 0x8CFC
 1058+#define GL_COLOR_ATTACHMENT29 0x8CFD
 1059+#define GL_COLOR_ATTACHMENT30 0x8CFE
 1060+#define GL_COLOR_ATTACHMENT31 0x8CFF
10451061 #define GL_DEPTH_ATTACHMENT 0x8D00
10461062 #define GL_STENCIL_ATTACHMENT 0x8D20
10471063 #define GL_FRAMEBUFFER 0x8D40
@@ -2044,6 +2060,10 @@
20452061
20462062 #ifndef GL_VERSION_4_2
20472063 #define GL_VERSION_4_2 1
 2064+#define GL_COPY_READ_BUFFER_BINDING 0x8F36
 2065+#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
 2066+#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
 2067+#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
20482068 #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
20492069 #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
20502070 #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
@@ -2590,7 +2610,6 @@
25912611 #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA
25922612 #define GL_TEXTURE_TARGET 0x1006
25932613 #define GL_QUERY_TARGET 0x82EA
2594 -#define GL_TEXTURE_BINDING 0x82EB
25952614 #define GL_GUILTY_CONTEXT_RESET 0x8253
25962615 #define GL_INNOCENT_CONTEXT_RESET 0x8254
25972616 #define GL_UNKNOWN_CONTEXT_RESET 0x8255
@@ -2603,25 +2622,25 @@
26042623 typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth);
26052624 typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
26062625 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer);
2607 -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizei size);
 2626+typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
26082627 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param);
26092628 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param);
26102629 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
26112630 typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers);
2612 -typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizei size, const void *data, GLbitfield flags);
2613 -typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizei size, const void *data, GLenum usage);
2614 -typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizei size, const void *data);
2615 -typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizei size);
 2631+typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
 2632+typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
 2633+typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
 2634+typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
26162635 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2617 -typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizei size, GLenum format, GLenum type, const void *data);
 2636+typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
26182637 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access);
2619 -typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizei length, GLbitfield access);
 2638+typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
26202639 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer);
2621 -typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizei length);
 2640+typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
26222641 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params);
26232642 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params);
26242643 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params);
2625 -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizei size, void *data);
 2644+typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
26262645 typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
26272646 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
26282647 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param);
@@ -2635,7 +2654,7 @@
26362655 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
26372656 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
26382657 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2639 -typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, const GLfloat depth, GLint stencil);
 2658+typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
26402659 typedef void (APIENTRYP PFNGLBLITNAMEDFRAMEBUFFERPROC) (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
26412660 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target);
26422661 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param);
@@ -2646,7 +2665,7 @@
26472666 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
26482667 typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures);
26492668 typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer);
2650 -typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizei size);
 2669+typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
26512670 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
26522671 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
26532672 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
@@ -2694,6 +2713,10 @@
26952714 typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers);
26962715 typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
26972716 typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids);
 2717+typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
 2718+typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
 2719+typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
 2720+typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
26982721 typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers);
26992722 typedef void (APIENTRYP PFNGLGETTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
27002723 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
@@ -2722,25 +2745,25 @@
27232746 GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth);
27242747 GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids);
27252748 GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer);
2726 -GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizei size);
 2749+GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
27272750 GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param);
27282751 GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param);
27292752 GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
27302753 GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers);
2731 -GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizei size, const void *data, GLbitfield flags);
2732 -GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizei size, const void *data, GLenum usage);
2733 -GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizei size, const void *data);
2734 -GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizei size);
 2754+GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
 2755+GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
 2756+GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
 2757+GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
27352758 GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2736 -GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizei size, GLenum format, GLenum type, const void *data);
 2759+GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
27372760 GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access);
2738 -GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizei length, GLbitfield access);
 2761+GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
27392762 GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer);
2740 -GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizei length);
 2763+GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length);
27412764 GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params);
27422765 GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params);
27432766 GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params);
2744 -GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizei size, void *data);
 2767+GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
27452768 GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers);
27462769 GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
27472770 GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param);
@@ -2754,7 +2777,7 @@
27552778 GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
27562779 GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
27572780 GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2758 -GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, const GLfloat depth, GLint stencil);
 2781+GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
27592782 GLAPI void APIENTRY glBlitNamedFramebuffer (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
27602783 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target);
27612784 GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param);
@@ -2765,7 +2788,7 @@
27662789 GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params);
27672790 GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures);
27682791 GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer);
2769 -GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizei size);
 2792+GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
27702793 GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
27712794 GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
27722795 GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
@@ -2813,6 +2836,10 @@
28142837 GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers);
28152838 GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines);
28162839 GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids);
 2840+GLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
 2841+GLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
 2842+GLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
 2843+GLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
28172844 GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers);
28182845 GLAPI void APIENTRY glGetTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
28192846 GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
@@ -2840,6 +2867,42 @@
28412868 #endif
28422869 #endif /* GL_VERSION_4_5 */
28432870
 2871+#ifndef GL_VERSION_4_6
 2872+#define GL_VERSION_4_6 1
 2873+#define GL_SHADER_BINARY_FORMAT_SPIR_V 0x9551
 2874+#define GL_SPIR_V_BINARY 0x9552
 2875+#define GL_PARAMETER_BUFFER 0x80EE
 2876+#define GL_PARAMETER_BUFFER_BINDING 0x80EF
 2877+#define GL_CONTEXT_FLAG_NO_ERROR_BIT 0x00000008
 2878+#define GL_VERTICES_SUBMITTED 0x82EE
 2879+#define GL_PRIMITIVES_SUBMITTED 0x82EF
 2880+#define GL_VERTEX_SHADER_INVOCATIONS 0x82F0
 2881+#define GL_TESS_CONTROL_SHADER_PATCHES 0x82F1
 2882+#define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2
 2883+#define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3
 2884+#define GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4
 2885+#define GL_COMPUTE_SHADER_INVOCATIONS 0x82F5
 2886+#define GL_CLIPPING_INPUT_PRIMITIVES 0x82F6
 2887+#define GL_CLIPPING_OUTPUT_PRIMITIVES 0x82F7
 2888+#define GL_POLYGON_OFFSET_CLAMP 0x8E1B
 2889+#define GL_SPIR_V_EXTENSIONS 0x9553
 2890+#define GL_NUM_SPIR_V_EXTENSIONS 0x9554
 2891+#define GL_TEXTURE_MAX_ANISOTROPY 0x84FE
 2892+#define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF
 2893+#define GL_TRANSFORM_FEEDBACK_OVERFLOW 0x82EC
 2894+#define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED
 2895+typedef void (APIENTRYP PFNGLSPECIALIZESHADERPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
 2896+typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
 2897+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
 2898+typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
 2899+#ifdef GL_GLEXT_PROTOTYPES
 2900+GLAPI void APIENTRY glSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
 2901+GLAPI void APIENTRY glMultiDrawArraysIndirectCount (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
 2902+GLAPI void APIENTRY glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
 2903+GLAPI void APIENTRY glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp);
 2904+#endif
 2905+#endif /* GL_VERSION_4_6 */
 2906+
28442907 #ifndef GL_ARB_ES2_compatibility
28452908 #define GL_ARB_ES2_compatibility 1
28462909 #endif /* GL_ARB_ES2_compatibility */
@@ -2848,6 +2911,17 @@
28492912 #define GL_ARB_ES3_1_compatibility 1
28502913 #endif /* GL_ARB_ES3_1_compatibility */
28512914
 2915+#ifndef GL_ARB_ES3_2_compatibility
 2916+#define GL_ARB_ES3_2_compatibility 1
 2917+#define GL_PRIMITIVE_BOUNDING_BOX_ARB 0x92BE
 2918+#define GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB 0x9381
 2919+#define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB 0x9382
 2920+typedef void (APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXARBPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
 2921+#ifdef GL_GLEXT_PROTOTYPES
 2922+GLAPI void APIENTRY glPrimitiveBoundingBoxARB (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
 2923+#endif
 2924+#endif /* GL_ARB_ES3_2_compatibility */
 2925+
28522926 #ifndef GL_ARB_ES3_compatibility
28532927 #define GL_ARB_ES3_compatibility 1
28542928 #endif /* GL_ARB_ES3_compatibility */
@@ -2979,8 +3053,6 @@
29803054
29813055 #ifndef GL_ARB_copy_buffer
29823056 #define GL_ARB_copy_buffer 1
2983 -#define GL_COPY_READ_BUFFER_BINDING 0x8F36
2984 -#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
29853057 #endif /* GL_ARB_copy_buffer */
29863058
29873059 #ifndef GL_ARB_copy_image
@@ -3263,6 +3335,10 @@
32643336 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
32653337 #endif /* GL_ARB_fragment_shader */
32663338
 3339+#ifndef GL_ARB_fragment_shader_interlock
 3340+#define GL_ARB_fragment_shader_interlock 1
 3341+#endif /* GL_ARB_fragment_shader_interlock */
 3342+
32673343 #ifndef GL_ARB_framebuffer_no_attachments
32683344 #define GL_ARB_framebuffer_no_attachments 1
32693345 #endif /* GL_ARB_framebuffer_no_attachments */
@@ -3315,6 +3391,16 @@
33163392 #define GL_ARB_get_texture_sub_image 1
33173393 #endif /* GL_ARB_get_texture_sub_image */
33183394
 3395+#ifndef GL_ARB_gl_spirv
 3396+#define GL_ARB_gl_spirv 1
 3397+#define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551
 3398+#define GL_SPIR_V_BINARY_ARB 0x9552
 3399+typedef void (APIENTRYP PFNGLSPECIALIZESHADERARBPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
 3400+#ifdef GL_GLEXT_PROTOTYPES
 3401+GLAPI void APIENTRY glSpecializeShaderARB (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
 3402+#endif
 3403+#endif /* GL_ARB_gl_spirv */
 3404+
33193405 #ifndef GL_ARB_gpu_shader5
33203406 #define GL_ARB_gpu_shader5 1
33213407 #endif /* GL_ARB_gpu_shader5 */
@@ -3323,6 +3409,91 @@
33243410 #define GL_ARB_gpu_shader_fp64 1
33253411 #endif /* GL_ARB_gpu_shader_fp64 */
33263412
 3413+#ifndef GL_ARB_gpu_shader_int64
 3414+#define GL_ARB_gpu_shader_int64 1
 3415+#define GL_INT64_ARB 0x140E
 3416+#define GL_INT64_VEC2_ARB 0x8FE9
 3417+#define GL_INT64_VEC3_ARB 0x8FEA
 3418+#define GL_INT64_VEC4_ARB 0x8FEB
 3419+#define GL_UNSIGNED_INT64_VEC2_ARB 0x8FF5
 3420+#define GL_UNSIGNED_INT64_VEC3_ARB 0x8FF6
 3421+#define GL_UNSIGNED_INT64_VEC4_ARB 0x8FF7
 3422+typedef void (APIENTRYP PFNGLUNIFORM1I64ARBPROC) (GLint location, GLint64 x);
 3423+typedef void (APIENTRYP PFNGLUNIFORM2I64ARBPROC) (GLint location, GLint64 x, GLint64 y);
 3424+typedef void (APIENTRYP PFNGLUNIFORM3I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z);
 3425+typedef void (APIENTRYP PFNGLUNIFORM4I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
 3426+typedef void (APIENTRYP PFNGLUNIFORM1I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
 3427+typedef void (APIENTRYP PFNGLUNIFORM2I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
 3428+typedef void (APIENTRYP PFNGLUNIFORM3I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
 3429+typedef void (APIENTRYP PFNGLUNIFORM4I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
 3430+typedef void (APIENTRYP PFNGLUNIFORM1UI64ARBPROC) (GLint location, GLuint64 x);
 3431+typedef void (APIENTRYP PFNGLUNIFORM2UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y);
 3432+typedef void (APIENTRYP PFNGLUNIFORM3UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
 3433+typedef void (APIENTRYP PFNGLUNIFORM4UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
 3434+typedef void (APIENTRYP PFNGLUNIFORM1UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
 3435+typedef void (APIENTRYP PFNGLUNIFORM2UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
 3436+typedef void (APIENTRYP PFNGLUNIFORM3UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
 3437+typedef void (APIENTRYP PFNGLUNIFORM4UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
 3438+typedef void (APIENTRYP PFNGLGETUNIFORMI64VARBPROC) (GLuint program, GLint location, GLint64 *params);
 3439+typedef void (APIENTRYP PFNGLGETUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLuint64 *params);
 3440+typedef void (APIENTRYP PFNGLGETNUNIFORMI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
 3441+typedef void (APIENTRYP PFNGLGETNUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
 3442+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64ARBPROC) (GLuint program, GLint location, GLint64 x);
 3443+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y);
 3444+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
 3445+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
 3446+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
 3447+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
 3448+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
 3449+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
 3450+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64ARBPROC) (GLuint program, GLint location, GLuint64 x);
 3451+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y);
 3452+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
 3453+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
 3454+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
 3455+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
 3456+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
 3457+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
 3458+#ifdef GL_GLEXT_PROTOTYPES
 3459+GLAPI void APIENTRY glUniform1i64ARB (GLint location, GLint64 x);
 3460+GLAPI void APIENTRY glUniform2i64ARB (GLint location, GLint64 x, GLint64 y);
 3461+GLAPI void APIENTRY glUniform3i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z);
 3462+GLAPI void APIENTRY glUniform4i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
 3463+GLAPI void APIENTRY glUniform1i64vARB (GLint location, GLsizei count, const GLint64 *value);
 3464+GLAPI void APIENTRY glUniform2i64vARB (GLint location, GLsizei count, const GLint64 *value);
 3465+GLAPI void APIENTRY glUniform3i64vARB (GLint location, GLsizei count, const GLint64 *value);
 3466+GLAPI void APIENTRY glUniform4i64vARB (GLint location, GLsizei count, const GLint64 *value);
 3467+GLAPI void APIENTRY glUniform1ui64ARB (GLint location, GLuint64 x);
 3468+GLAPI void APIENTRY glUniform2ui64ARB (GLint location, GLuint64 x, GLuint64 y);
 3469+GLAPI void APIENTRY glUniform3ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
 3470+GLAPI void APIENTRY glUniform4ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
 3471+GLAPI void APIENTRY glUniform1ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
 3472+GLAPI void APIENTRY glUniform2ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
 3473+GLAPI void APIENTRY glUniform3ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
 3474+GLAPI void APIENTRY glUniform4ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
 3475+GLAPI void APIENTRY glGetUniformi64vARB (GLuint program, GLint location, GLint64 *params);
 3476+GLAPI void APIENTRY glGetUniformui64vARB (GLuint program, GLint location, GLuint64 *params);
 3477+GLAPI void APIENTRY glGetnUniformi64vARB (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
 3478+GLAPI void APIENTRY glGetnUniformui64vARB (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
 3479+GLAPI void APIENTRY glProgramUniform1i64ARB (GLuint program, GLint location, GLint64 x);
 3480+GLAPI void APIENTRY glProgramUniform2i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y);
 3481+GLAPI void APIENTRY glProgramUniform3i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
 3482+GLAPI void APIENTRY glProgramUniform4i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
 3483+GLAPI void APIENTRY glProgramUniform1i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
 3484+GLAPI void APIENTRY glProgramUniform2i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
 3485+GLAPI void APIENTRY glProgramUniform3i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
 3486+GLAPI void APIENTRY glProgramUniform4i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
 3487+GLAPI void APIENTRY glProgramUniform1ui64ARB (GLuint program, GLint location, GLuint64 x);
 3488+GLAPI void APIENTRY glProgramUniform2ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y);
 3489+GLAPI void APIENTRY glProgramUniform3ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
 3490+GLAPI void APIENTRY glProgramUniform4ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
 3491+GLAPI void APIENTRY glProgramUniform1ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
 3492+GLAPI void APIENTRY glProgramUniform2ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
 3493+GLAPI void APIENTRY glProgramUniform3ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
 3494+GLAPI void APIENTRY glProgramUniform4ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
 3495+#endif
 3496+#endif /* GL_ARB_gpu_shader_int64 */
 3497+
33273498 #ifndef GL_ARB_half_float_pixel
33283499 #define GL_ARB_half_float_pixel 1
33293500 typedef unsigned short GLhalfARB;
@@ -3335,8 +3506,6 @@
33363507
33373508 #ifndef GL_ARB_imaging
33383509 #define GL_ARB_imaging 1
3339 -#define GL_BLEND_COLOR 0x8005
3340 -#define GL_BLEND_EQUATION 0x8009
33413510 #define GL_CONVOLUTION_1D 0x8010
33423511 #define GL_CONVOLUTION_2D 0x8011
33433512 #define GL_SEPARABLE_2D 0x8012
@@ -3473,11 +3642,11 @@
34743643 #define GL_ARB_indirect_parameters 1
34753644 #define GL_PARAMETER_BUFFER_ARB 0x80EE
34763645 #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF
3477 -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3478 -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
 3646+typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
 3647+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
34793648 #ifdef GL_GLEXT_PROTOTYPES
3480 -GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3481 -GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
 3649+GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
 3650+GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
34823651 #endif
34833652 #endif /* GL_ARB_indirect_parameters */
34843653
@@ -3702,6 +3871,16 @@
37033872 #define GL_ARB_occlusion_query2 1
37043873 #endif /* GL_ARB_occlusion_query2 */
37053874
 3875+#ifndef GL_ARB_parallel_shader_compile
 3876+#define GL_ARB_parallel_shader_compile 1
 3877+#define GL_MAX_SHADER_COMPILER_THREADS_ARB 0x91B0
 3878+#define GL_COMPLETION_STATUS_ARB 0x91B1
 3879+typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSARBPROC) (GLuint count);
 3880+#ifdef GL_GLEXT_PROTOTYPES
 3881+GLAPI void APIENTRY glMaxShaderCompilerThreadsARB (GLuint count);
 3882+#endif
 3883+#endif /* GL_ARB_parallel_shader_compile */
 3884+
37063885 #ifndef GL_ARB_pipeline_statistics_query
37073886 #define GL_ARB_pipeline_statistics_query 1
37083887 #define GL_VERTICES_SUBMITTED_ARB 0x82EE
@@ -3744,6 +3923,14 @@
37453924 #define GL_COORD_REPLACE_ARB 0x8862
37463925 #endif /* GL_ARB_point_sprite */
37473926
 3927+#ifndef GL_ARB_polygon_offset_clamp
 3928+#define GL_ARB_polygon_offset_clamp 1
 3929+#endif /* GL_ARB_polygon_offset_clamp */
 3930+
 3931+#ifndef GL_ARB_post_depth_coverage
 3932+#define GL_ARB_post_depth_coverage 1
 3933+#endif /* GL_ARB_post_depth_coverage */
 3934+
37483935 #ifndef GL_ARB_program_interface_query
37493936 #define GL_ARB_program_interface_query 1
37503937 #endif /* GL_ARB_program_interface_query */
@@ -3817,6 +4004,26 @@
38184005 #define GL_ARB_robustness_isolation 1
38194006 #endif /* GL_ARB_robustness_isolation */
38204007
 4008+#ifndef GL_ARB_sample_locations
 4009+#define GL_ARB_sample_locations 1
 4010+#define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB 0x933D
 4011+#define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB 0x933E
 4012+#define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB 0x933F
 4013+#define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340
 4014+#define GL_SAMPLE_LOCATION_ARB 0x8E50
 4015+#define GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB 0x9341
 4016+#define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB 0x9342
 4017+#define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB 0x9343
 4018+typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
 4019+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
 4020+typedef void (APIENTRYP PFNGLEVALUATEDEPTHVALUESARBPROC) (void);
 4021+#ifdef GL_GLEXT_PROTOTYPES
 4022+GLAPI void APIENTRY glFramebufferSampleLocationsfvARB (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
 4023+GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvARB (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
 4024+GLAPI void APIENTRY glEvaluateDepthValuesARB (void);
 4025+#endif
 4026+#endif /* GL_ARB_sample_locations */
 4027+
38214028 #ifndef GL_ARB_sample_shading
38224029 #define GL_ARB_sample_shading 1
38234030 #define GL_SAMPLE_SHADING_ARB 0x8C36
@@ -3843,14 +4050,26 @@
38444051 #define GL_ARB_separate_shader_objects 1
38454052 #endif /* GL_ARB_separate_shader_objects */
38464053
 4054+#ifndef GL_ARB_shader_atomic_counter_ops
 4055+#define GL_ARB_shader_atomic_counter_ops 1
 4056+#endif /* GL_ARB_shader_atomic_counter_ops */
 4057+
38474058 #ifndef GL_ARB_shader_atomic_counters
38484059 #define GL_ARB_shader_atomic_counters 1
38494060 #endif /* GL_ARB_shader_atomic_counters */
38504061
 4062+#ifndef GL_ARB_shader_ballot
 4063+#define GL_ARB_shader_ballot 1
 4064+#endif /* GL_ARB_shader_ballot */
 4065+
38514066 #ifndef GL_ARB_shader_bit_encoding
38524067 #define GL_ARB_shader_bit_encoding 1
38534068 #endif /* GL_ARB_shader_bit_encoding */
38544069
 4070+#ifndef GL_ARB_shader_clock
 4071+#define GL_ARB_shader_clock 1
 4072+#endif /* GL_ARB_shader_clock */
 4073+
38554074 #ifndef GL_ARB_shader_draw_parameters
38564075 #define GL_ARB_shader_draw_parameters 1
38574076 #endif /* GL_ARB_shader_draw_parameters */
@@ -4015,6 +4234,10 @@
40164235 #define GL_ARB_shader_texture_lod 1
40174236 #endif /* GL_ARB_shader_texture_lod */
40184237
 4238+#ifndef GL_ARB_shader_viewport_layer_array
 4239+#define GL_ARB_shader_viewport_layer_array 1
 4240+#endif /* GL_ARB_shader_viewport_layer_array */
 4241+
40194242 #ifndef GL_ARB_shading_language_100
40204243 #define GL_ARB_shading_language_100 1
40214244 #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
@@ -4065,13 +4288,13 @@
40664289 #define GL_ARB_sparse_buffer 1
40674290 #define GL_SPARSE_STORAGE_BIT_ARB 0x0400
40684291 #define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8
4069 -typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizei size, GLboolean commit);
4070 -typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizei size, GLboolean commit);
4071 -typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizei size, GLboolean commit);
 4292+typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
 4293+typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
 4294+typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
40724295 #ifdef GL_GLEXT_PROTOTYPES
4073 -GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizei size, GLboolean commit);
4074 -GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizei size, GLboolean commit);
4075 -GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizei size, GLboolean commit);
 4296+GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
 4297+GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
 4298+GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
40764299 #endif
40774300 #endif /* GL_ARB_sparse_buffer */
40784301
@@ -4079,7 +4302,7 @@
40804303 #define GL_ARB_sparse_texture 1
40814304 #define GL_TEXTURE_SPARSE_ARB 0x91A6
40824305 #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7
4083 -#define GL_MIN_SPARSE_LEVEL_ARB 0x919B
 4306+#define GL_NUM_SPARSE_LEVELS_ARB 0x91AA
40844307 #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
40854308 #define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195
40864309 #define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196
@@ -4088,12 +4311,24 @@
40894312 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
40904313 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
40914314 #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
4092 -typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
 4315+typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
40934316 #ifdef GL_GLEXT_PROTOTYPES
4094 -GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
 4317+GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
40954318 #endif
40964319 #endif /* GL_ARB_sparse_texture */
40974320
 4321+#ifndef GL_ARB_sparse_texture2
 4322+#define GL_ARB_sparse_texture2 1
 4323+#endif /* GL_ARB_sparse_texture2 */
 4324+
 4325+#ifndef GL_ARB_sparse_texture_clamp
 4326+#define GL_ARB_sparse_texture_clamp 1
 4327+#endif /* GL_ARB_sparse_texture_clamp */
 4328+
 4329+#ifndef GL_ARB_spirv_extensions
 4330+#define GL_ARB_spirv_extensions 1
 4331+#endif /* GL_ARB_spirv_extensions */
 4332+
40984333 #ifndef GL_ARB_stencil_texturing
40994334 #define GL_ARB_stencil_texturing 1
41004335 #endif /* GL_ARB_stencil_texturing */
@@ -4246,6 +4481,16 @@
42474482 #define GL_DOT3_RGBA_ARB 0x86AF
42484483 #endif /* GL_ARB_texture_env_dot3 */
42494484
 4485+#ifndef GL_ARB_texture_filter_anisotropic
 4486+#define GL_ARB_texture_filter_anisotropic 1
 4487+#endif /* GL_ARB_texture_filter_anisotropic */
 4488+
 4489+#ifndef GL_ARB_texture_filter_minmax
 4490+#define GL_ARB_texture_filter_minmax 1
 4491+#define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366
 4492+#define GL_WEIGHTED_AVERAGE_ARB 0x9367
 4493+#endif /* GL_ARB_texture_filter_minmax */
 4494+
42504495 #ifndef GL_ARB_texture_float
42514496 #define GL_ARB_texture_float 1
42524497 #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
@@ -4344,8 +4589,6 @@
43454590
43464591 #ifndef GL_ARB_transform_feedback2
43474592 #define GL_ARB_transform_feedback2 1
4348 -#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
4349 -#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
43504593 #endif /* GL_ARB_transform_feedback2 */
43514594
43524595 #ifndef GL_ARB_transform_feedback3
@@ -4470,6 +4713,7 @@
44714714
44724715 #ifndef GL_ARB_vertex_buffer_object
44734716 #define GL_ARB_vertex_buffer_object 1
 4717+#include <stddef.h>
44744718 typedef ptrdiff_t GLsizeiptrARB;
44754719 typedef ptrdiff_t GLintptrARB;
44764720 #define GL_BUFFER_SIZE_ARB 0x8764
@@ -4742,6 +4986,21 @@
47434987 #define GL_KHR_debug 1
47444988 #endif /* GL_KHR_debug */
47454989
 4990+#ifndef GL_KHR_no_error
 4991+#define GL_KHR_no_error 1
 4992+#define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
 4993+#endif /* GL_KHR_no_error */
 4994+
 4995+#ifndef GL_KHR_parallel_shader_compile
 4996+#define GL_KHR_parallel_shader_compile 1
 4997+#define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0
 4998+#define GL_COMPLETION_STATUS_KHR 0x91B1
 4999+typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count);
 5000+#ifdef GL_GLEXT_PROTOTYPES
 5001+GLAPI void APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count);
 5002+#endif
 5003+#endif /* GL_KHR_parallel_shader_compile */
 5004+
47465005 #ifndef GL_KHR_robust_buffer_access_behavior
47475006 #define GL_KHR_robust_buffer_access_behavior 1
47485007 #endif /* GL_KHR_robust_buffer_access_behavior */
@@ -4787,6 +5046,10 @@
47885047 #define GL_KHR_texture_compression_astc_ldr 1
47895048 #endif /* GL_KHR_texture_compression_astc_ldr */
47905049
 5050+#ifndef GL_KHR_texture_compression_astc_sliced_3d
 5051+#define GL_KHR_texture_compression_astc_sliced_3d 1
 5052+#endif /* GL_KHR_texture_compression_astc_sliced_3d */
 5053+
47915054 #ifndef GL_OES_byte_coordinates
47925055 #define GL_OES_byte_coordinates 1
47935056 typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
@@ -4884,7 +5147,6 @@
48855148 typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
48865149 typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
48875150 typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
4888 -typedef void (APIENTRYP PFNGLSAMPLECOVERAGEOESPROC) (GLfixed value, GLboolean invert);
48895151 typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
48905152 typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
48915153 typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
@@ -4989,7 +5251,6 @@
49905252 GLAPI void APIENTRY glPointSizexOES (GLfixed size);
49915253 GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
49925254 GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
4993 -GLAPI void APIENTRY glSampleCoverageOES (GLfixed value, GLboolean invert);
49945255 GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
49955256 GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
49965257 GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
@@ -5180,10 +5441,65 @@
51815442 #endif
51825443 #endif /* GL_AMD_draw_buffers_blend */
51835444
 5445+#ifndef GL_AMD_framebuffer_multisample_advanced
 5446+#define GL_AMD_framebuffer_multisample_advanced 1
 5447+#define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2
 5448+#define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3
 5449+#define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4
 5450+#define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5
 5451+#define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6
 5452+#define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7
 5453+typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
 5454+typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
 5455+#ifdef GL_GLEXT_PROTOTYPES
 5456+GLAPI void APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
 5457+GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
 5458+#endif
 5459+#endif /* GL_AMD_framebuffer_multisample_advanced */
 5460+
 5461+#ifndef GL_AMD_framebuffer_sample_positions
 5462+#define GL_AMD_framebuffer_sample_positions 1
 5463+#define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
 5464+#define GL_PIXELS_PER_SAMPLE_PATTERN_X_AMD 0x91AE
 5465+#define GL_PIXELS_PER_SAMPLE_PATTERN_Y_AMD 0x91AF
 5466+#define GL_ALL_PIXELS_AMD 0xFFFFFFFF
 5467+typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
 5468+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
 5469+typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC) (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
 5470+typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC) (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
 5471+#ifdef GL_GLEXT_PROTOTYPES
 5472+GLAPI void APIENTRY glFramebufferSamplePositionsfvAMD (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
 5473+GLAPI void APIENTRY glNamedFramebufferSamplePositionsfvAMD (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
 5474+GLAPI void APIENTRY glGetFramebufferParameterfvAMD (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
 5475+GLAPI void APIENTRY glGetNamedFramebufferParameterfvAMD (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
 5476+#endif
 5477+#endif /* GL_AMD_framebuffer_sample_positions */
 5478+
51845479 #ifndef GL_AMD_gcn_shader
51855480 #define GL_AMD_gcn_shader 1
51865481 #endif /* GL_AMD_gcn_shader */
51875482
 5483+#ifndef GL_AMD_gpu_shader_half_float
 5484+#define GL_AMD_gpu_shader_half_float 1
 5485+#define GL_FLOAT16_NV 0x8FF8
 5486+#define GL_FLOAT16_VEC2_NV 0x8FF9
 5487+#define GL_FLOAT16_VEC3_NV 0x8FFA
 5488+#define GL_FLOAT16_VEC4_NV 0x8FFB
 5489+#define GL_FLOAT16_MAT2_AMD 0x91C5
 5490+#define GL_FLOAT16_MAT3_AMD 0x91C6
 5491+#define GL_FLOAT16_MAT4_AMD 0x91C7
 5492+#define GL_FLOAT16_MAT2x3_AMD 0x91C8
 5493+#define GL_FLOAT16_MAT2x4_AMD 0x91C9
 5494+#define GL_FLOAT16_MAT3x2_AMD 0x91CA
 5495+#define GL_FLOAT16_MAT3x4_AMD 0x91CB
 5496+#define GL_FLOAT16_MAT4x2_AMD 0x91CC
 5497+#define GL_FLOAT16_MAT4x3_AMD 0x91CD
 5498+#endif /* GL_AMD_gpu_shader_half_float */
 5499+
 5500+#ifndef GL_AMD_gpu_shader_int16
 5501+#define GL_AMD_gpu_shader_int16 1
 5502+#endif /* GL_AMD_gpu_shader_int16 */
 5503+
51885504 #ifndef GL_AMD_gpu_shader_int64
51895505 #define GL_AMD_gpu_shader_int64 1
51905506 typedef int64_t GLint64EXT;
@@ -5211,10 +5527,6 @@
52125528 #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
52135529 #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
52145530 #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
5215 -#define GL_FLOAT16_NV 0x8FF8
5216 -#define GL_FLOAT16_VEC2_NV 0x8FF9
5217 -#define GL_FLOAT16_VEC3_NV 0x8FFA
5218 -#define GL_FLOAT16_VEC4_NV 0x8FFB
52195531 typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
52205532 typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
52215533 typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
@@ -5387,7 +5699,6 @@
53885700
53895701 #ifndef GL_AMD_sample_positions
53905702 #define GL_AMD_sample_positions 1
5391 -#define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
53925703 typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
53935704 #ifdef GL_GLEXT_PROTOTYPES
53945705 GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
@@ -5402,6 +5713,22 @@
54035714 #define GL_AMD_shader_atomic_counter_ops 1
54045715 #endif /* GL_AMD_shader_atomic_counter_ops */
54055716
 5717+#ifndef GL_AMD_shader_ballot
 5718+#define GL_AMD_shader_ballot 1
 5719+#endif /* GL_AMD_shader_ballot */
 5720+
 5721+#ifndef GL_AMD_shader_explicit_vertex_parameter
 5722+#define GL_AMD_shader_explicit_vertex_parameter 1
 5723+#endif /* GL_AMD_shader_explicit_vertex_parameter */
 5724+
 5725+#ifndef GL_AMD_shader_gpu_shader_half_float_fetch
 5726+#define GL_AMD_shader_gpu_shader_half_float_fetch 1
 5727+#endif /* GL_AMD_shader_gpu_shader_half_float_fetch */
 5728+
 5729+#ifndef GL_AMD_shader_image_load_store_lod
 5730+#define GL_AMD_shader_image_load_store_lod 1
 5731+#endif /* GL_AMD_shader_image_load_store_lod */
 5732+
54065733 #ifndef GL_AMD_shader_stencil_export
54075734 #define GL_AMD_shader_stencil_export 1
54085735 #endif /* GL_AMD_shader_stencil_export */
@@ -5441,6 +5768,10 @@
54425769 #endif
54435770 #endif /* GL_AMD_stencil_operation_extended */
54445771
 5772+#ifndef GL_AMD_texture_gather_bias_lod
 5773+#define GL_AMD_texture_gather_bias_lod 1
 5774+#endif /* GL_AMD_texture_gather_bias_lod */
 5775+
54455776 #ifndef GL_AMD_texture_texture4
54465777 #define GL_AMD_texture_texture4 1
54475778 #endif /* GL_AMD_texture_texture4 */
@@ -6141,6 +6472,17 @@
61426473 #define GL_422_REV_AVERAGE_EXT 0x80CF
61436474 #endif /* GL_EXT_422_pixels */
61446475
 6476+#ifndef GL_EXT_EGL_image_storage
 6477+#define GL_EXT_EGL_image_storage 1
 6478+typedef void *GLeglImageOES;
 6479+typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list);
 6480+typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
 6481+#ifdef GL_GLEXT_PROTOTYPES
 6482+GLAPI void APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list);
 6483+GLAPI void APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
 6484+#endif
 6485+#endif /* GL_EXT_EGL_image_storage */
 6486+
61456487 #ifndef GL_EXT_abgr
61466488 #define GL_EXT_abgr 1
61476489 #define GL_ABGR_EXT 0x8000
@@ -6703,7 +7045,7 @@
67047046 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
67057047 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
67067048 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6707 -typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
 7049+typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
67087050 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
67097051 #ifdef GL_GLEXT_PROTOTYPES
67107052 GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
@@ -6959,7 +7301,7 @@
69607302 GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
69617303 GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
69627304 GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6963 -GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
 7305+GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
69647306 GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
69657307 #endif
69667308 #endif /* GL_EXT_direct_state_access */
@@ -6992,6 +7334,17 @@
69937335 #endif
69947336 #endif /* GL_EXT_draw_range_elements */
69957337
 7338+#ifndef GL_EXT_external_buffer
 7339+#define GL_EXT_external_buffer 1
 7340+typedef void *GLeglClientBufferEXT;
 7341+typedef void (APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
 7342+typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
 7343+#ifdef GL_GLEXT_PROTOTYPES
 7344+GLAPI void APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
 7345+GLAPI void APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
 7346+#endif
 7347+#endif /* GL_EXT_external_buffer */
 7348+
69967349 #ifndef GL_EXT_fog_coord
69977350 #define GL_EXT_fog_coord 1
69987351 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
@@ -7335,6 +7688,89 @@
73367689 #endif
73377690 #endif /* GL_EXT_light_texture */
73387691
 7692+#ifndef GL_EXT_memory_object
 7693+#define GL_EXT_memory_object 1
 7694+#define GL_TEXTURE_TILING_EXT 0x9580
 7695+#define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581
 7696+#define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B
 7697+#define GL_NUM_TILING_TYPES_EXT 0x9582
 7698+#define GL_TILING_TYPES_EXT 0x9583
 7699+#define GL_OPTIMAL_TILING_EXT 0x9584
 7700+#define GL_LINEAR_TILING_EXT 0x9585
 7701+#define GL_NUM_DEVICE_UUIDS_EXT 0x9596
 7702+#define GL_DEVICE_UUID_EXT 0x9597
 7703+#define GL_DRIVER_UUID_EXT 0x9598
 7704+#define GL_UUID_SIZE_EXT 16
 7705+typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data);
 7706+typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data);
 7707+typedef void (APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects);
 7708+typedef GLboolean (APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject);
 7709+typedef void (APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects);
 7710+typedef void (APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params);
 7711+typedef void (APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params);
 7712+typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
 7713+typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
 7714+typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
 7715+typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
 7716+typedef void (APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
 7717+typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
 7718+typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
 7719+typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
 7720+typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
 7721+typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
 7722+typedef void (APIENTRYP PFNGLTEXSTORAGEMEM1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
 7723+typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM1DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
 7724+#ifdef GL_GLEXT_PROTOTYPES
 7725+GLAPI void APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data);
 7726+GLAPI void APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data);
 7727+GLAPI void APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects);
 7728+GLAPI GLboolean APIENTRY glIsMemoryObjectEXT (GLuint memoryObject);
 7729+GLAPI void APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects);
 7730+GLAPI void APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params);
 7731+GLAPI void APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params);
 7732+GLAPI void APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
 7733+GLAPI void APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
 7734+GLAPI void APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
 7735+GLAPI void APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
 7736+GLAPI void APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
 7737+GLAPI void APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
 7738+GLAPI void APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
 7739+GLAPI void APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
 7740+GLAPI void APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
 7741+GLAPI void APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
 7742+GLAPI void APIENTRY glTexStorageMem1DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
 7743+GLAPI void APIENTRY glTextureStorageMem1DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
 7744+#endif
 7745+#endif /* GL_EXT_memory_object */
 7746+
 7747+#ifndef GL_EXT_memory_object_fd
 7748+#define GL_EXT_memory_object_fd 1
 7749+#define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586
 7750+typedef void (APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
 7751+#ifdef GL_GLEXT_PROTOTYPES
 7752+GLAPI void APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
 7753+#endif
 7754+#endif /* GL_EXT_memory_object_fd */
 7755+
 7756+#ifndef GL_EXT_memory_object_win32
 7757+#define GL_EXT_memory_object_win32 1
 7758+#define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587
 7759+#define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588
 7760+#define GL_DEVICE_LUID_EXT 0x9599
 7761+#define GL_DEVICE_NODE_MASK_EXT 0x959A
 7762+#define GL_LUID_SIZE_EXT 8
 7763+#define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589
 7764+#define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A
 7765+#define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B
 7766+#define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C
 7767+typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
 7768+typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
 7769+#ifdef GL_GLEXT_PROTOTYPES
 7770+GLAPI void APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
 7771+GLAPI void APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
 7772+#endif
 7773+#endif /* GL_EXT_memory_object_win32 */
 7774+
73397775 #ifndef GL_EXT_misc_attribute
73407776 #define GL_EXT_misc_attribute 1
73417777 #endif /* GL_EXT_misc_attribute */
@@ -7485,6 +7921,19 @@
74867922 #endif
74877923 #endif /* GL_EXT_polygon_offset */
74887924
 7925+#ifndef GL_EXT_polygon_offset_clamp
 7926+#define GL_EXT_polygon_offset_clamp 1
 7927+#define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
 7928+typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
 7929+#ifdef GL_GLEXT_PROTOTYPES
 7930+GLAPI void APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp);
 7931+#endif
 7932+#endif /* GL_EXT_polygon_offset_clamp */
 7933+
 7934+#ifndef GL_EXT_post_depth_coverage
 7935+#define GL_EXT_post_depth_coverage 1
 7936+#endif /* GL_EXT_post_depth_coverage */
 7937+
74897938 #ifndef GL_EXT_provoking_vertex
74907939 #define GL_EXT_provoking_vertex 1
74917940 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
@@ -7497,6 +7946,20 @@
74987947 #endif
74997948 #endif /* GL_EXT_provoking_vertex */
75007949
 7950+#ifndef GL_EXT_raster_multisample
 7951+#define GL_EXT_raster_multisample 1
 7952+#define GL_RASTER_MULTISAMPLE_EXT 0x9327
 7953+#define GL_RASTER_SAMPLES_EXT 0x9328
 7954+#define GL_MAX_RASTER_SAMPLES_EXT 0x9329
 7955+#define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
 7956+#define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
 7957+#define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
 7958+typedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
 7959+#ifdef GL_GLEXT_PROTOTYPES
 7960+GLAPI void APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
 7961+#endif
 7962+#endif /* GL_EXT_raster_multisample */
 7963+
75017964 #ifndef GL_EXT_rescale_normal
75027965 #define GL_EXT_rescale_normal 1
75037966 #define GL_RESCALE_NORMAL_EXT 0x803A
@@ -7549,6 +8012,55 @@
75508013 #endif
75518014 #endif /* GL_EXT_secondary_color */
75528015
 8016+#ifndef GL_EXT_semaphore
 8017+#define GL_EXT_semaphore 1
 8018+#define GL_LAYOUT_GENERAL_EXT 0x958D
 8019+#define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E
 8020+#define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F
 8021+#define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590
 8022+#define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591
 8023+#define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592
 8024+#define GL_LAYOUT_TRANSFER_DST_EXT 0x9593
 8025+#define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530
 8026+#define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531
 8027+typedef void (APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores);
 8028+typedef void (APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores);
 8029+typedef GLboolean (APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore);
 8030+typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params);
 8031+typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params);
 8032+typedef void (APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
 8033+typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
 8034+#ifdef GL_GLEXT_PROTOTYPES
 8035+GLAPI void APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores);
 8036+GLAPI void APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores);
 8037+GLAPI GLboolean APIENTRY glIsSemaphoreEXT (GLuint semaphore);
 8038+GLAPI void APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params);
 8039+GLAPI void APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params);
 8040+GLAPI void APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
 8041+GLAPI void APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
 8042+#endif
 8043+#endif /* GL_EXT_semaphore */
 8044+
 8045+#ifndef GL_EXT_semaphore_fd
 8046+#define GL_EXT_semaphore_fd 1
 8047+typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd);
 8048+#ifdef GL_GLEXT_PROTOTYPES
 8049+GLAPI void APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd);
 8050+#endif
 8051+#endif /* GL_EXT_semaphore_fd */
 8052+
 8053+#ifndef GL_EXT_semaphore_win32
 8054+#define GL_EXT_semaphore_win32 1
 8055+#define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594
 8056+#define GL_D3D12_FENCE_VALUE_EXT 0x9595
 8057+typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle);
 8058+typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name);
 8059+#ifdef GL_GLEXT_PROTOTYPES
 8060+GLAPI void APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle);
 8061+GLAPI void APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name);
 8062+#endif
 8063+#endif /* GL_EXT_semaphore_win32 */
 8064+
75538065 #ifndef GL_EXT_separate_shader_objects
75548066 #define GL_EXT_separate_shader_objects 1
75558067 #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
@@ -7569,6 +8081,19 @@
75708082 #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
75718083 #endif /* GL_EXT_separate_specular_color */
75728084
 8085+#ifndef GL_EXT_shader_framebuffer_fetch
 8086+#define GL_EXT_shader_framebuffer_fetch 1
 8087+#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
 8088+#endif /* GL_EXT_shader_framebuffer_fetch */
 8089+
 8090+#ifndef GL_EXT_shader_framebuffer_fetch_non_coherent
 8091+#define GL_EXT_shader_framebuffer_fetch_non_coherent 1
 8092+typedef void (APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void);
 8093+#ifdef GL_GLEXT_PROTOTYPES
 8094+GLAPI void APIENTRY glFramebufferFetchBarrierEXT (void);
 8095+#endif
 8096+#endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */
 8097+
75738098 #ifndef GL_EXT_shader_image_load_formatted
75748099 #define GL_EXT_shader_image_load_formatted 1
75758100 #endif /* GL_EXT_shader_image_load_formatted */
@@ -7651,6 +8176,10 @@
76528177 #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
76538178 #endif /* GL_EXT_shared_texture_palette */
76548179
 8180+#ifndef GL_EXT_sparse_texture2
 8181+#define GL_EXT_sparse_texture2 1
 8182+#endif /* GL_EXT_sparse_texture2 */
 8183+
76558184 #ifndef GL_EXT_stencil_clear_tag
76568185 #define GL_EXT_stencil_clear_tag 1
76578186 #define GL_STENCIL_TAG_BITS_EXT 0x88F2
@@ -7863,6 +8392,12 @@
78648393 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
78658394 #endif /* GL_EXT_texture_filter_anisotropic */
78668395
 8396+#ifndef GL_EXT_texture_filter_minmax
 8397+#define GL_EXT_texture_filter_minmax 1
 8398+#define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366
 8399+#define GL_WEIGHTED_AVERAGE_EXT 0x9367
 8400+#endif /* GL_EXT_texture_filter_minmax */
 8401+
78678402 #ifndef GL_EXT_texture_integer
78688403 #define GL_EXT_texture_integer 1
78698404 #define GL_RGBA32UI_EXT 0x8D70
@@ -8407,6 +8942,30 @@
84088943 #endif
84098944 #endif /* GL_EXT_vertex_weighting */
84108945
 8946+#ifndef GL_EXT_win32_keyed_mutex
 8947+#define GL_EXT_win32_keyed_mutex 1
 8948+typedef GLboolean (APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout);
 8949+typedef GLboolean (APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key);
 8950+#ifdef GL_GLEXT_PROTOTYPES
 8951+GLAPI GLboolean APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout);
 8952+GLAPI GLboolean APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key);
 8953+#endif
 8954+#endif /* GL_EXT_win32_keyed_mutex */
 8955+
 8956+#ifndef GL_EXT_window_rectangles
 8957+#define GL_EXT_window_rectangles 1
 8958+#define GL_INCLUSIVE_EXT 0x8F10
 8959+#define GL_EXCLUSIVE_EXT 0x8F11
 8960+#define GL_WINDOW_RECTANGLE_EXT 0x8F12
 8961+#define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13
 8962+#define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14
 8963+#define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15
 8964+typedef void (APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box);
 8965+#ifdef GL_GLEXT_PROTOTYPES
 8966+GLAPI void APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box);
 8967+#endif
 8968+#endif /* GL_EXT_window_rectangles */
 8969+
84118970 #ifndef GL_EXT_x11_sync_object
84128971 #define GL_EXT_x11_sync_object 1
84138972 #define GL_SYNC_X11_FENCE_EXT 0x90E1
@@ -8584,10 +9143,28 @@
85859144 #define GL_INTERLACE_READ_INGR 0x8568
85869145 #endif /* GL_INGR_interlace_read */
85879146
 9147+#ifndef GL_INTEL_blackhole_render
 9148+#define GL_INTEL_blackhole_render 1
 9149+#define GL_BLACKHOLE_RENDER_INTEL 0x83FC
 9150+#endif /* GL_INTEL_blackhole_render */
 9151+
 9152+#ifndef GL_INTEL_conservative_rasterization
 9153+#define GL_INTEL_conservative_rasterization 1
 9154+#define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE
 9155+#endif /* GL_INTEL_conservative_rasterization */
 9156+
85889157 #ifndef GL_INTEL_fragment_shader_ordering
85899158 #define GL_INTEL_fragment_shader_ordering 1
85909159 #endif /* GL_INTEL_fragment_shader_ordering */
85919160
 9161+#ifndef GL_INTEL_framebuffer_CMAA
 9162+#define GL_INTEL_framebuffer_CMAA 1
 9163+typedef void (APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void);
 9164+#ifdef GL_GLEXT_PROTOTYPES
 9165+GLAPI void APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void);
 9166+#endif
 9167+#endif /* GL_INTEL_framebuffer_CMAA */
 9168+
85929169 #ifndef GL_INTEL_map_texture
85939170 #define GL_INTEL_map_texture 1
85949171 #define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF
@@ -8652,7 +9229,7 @@
86539230 typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
86549231 typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
86559232 typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
8656 -typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
 9233+typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
86579234 typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
86589235 typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
86599236 #ifdef GL_GLEXT_PROTOTYPES
@@ -8663,7 +9240,7 @@
86649241 GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
86659242 GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
86669243 GLAPI void APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
8667 -GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
 9244+GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
86689245 GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
86699246 GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
86709247 #endif
@@ -8684,6 +9261,11 @@
86859262 #define GL_PACK_INVERT_MESA 0x8758
86869263 #endif /* GL_MESA_pack_invert */
86879264
 9265+#ifndef GL_MESA_program_binary_formats
 9266+#define GL_MESA_program_binary_formats 1
 9267+#define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F
 9268+#endif /* GL_MESA_program_binary_formats */
 9269+
86889270 #ifndef GL_MESA_resize_buffers
86899271 #define GL_MESA_resize_buffers 1
86909272 typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
@@ -8692,6 +9274,17 @@
86939275 #endif
86949276 #endif /* GL_MESA_resize_buffers */
86959277
 9278+#ifndef GL_MESA_shader_integer_functions
 9279+#define GL_MESA_shader_integer_functions 1
 9280+#endif /* GL_MESA_shader_integer_functions */
 9281+
 9282+#ifndef GL_MESA_tile_raster_order
 9283+#define GL_MESA_tile_raster_order 1
 9284+#define GL_TILE_RASTER_ORDER_FIXED_MESA 0x8BB8
 9285+#define GL_TILE_RASTER_ORDER_INCREASING_X_MESA 0x8BB9
 9286+#define GL_TILE_RASTER_ORDER_INCREASING_Y_MESA 0x8BBA
 9287+#endif /* GL_MESA_tile_raster_order */
 9288+
86969289 #ifndef GL_MESA_window_pos
86979290 #define GL_MESA_window_pos 1
86989291 typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
@@ -8753,6 +9346,10 @@
87549347 #define GL_YCBCR_MESA 0x8757
87559348 #endif /* GL_MESA_ycbcr_texture */
87569349
 9350+#ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers
 9351+#define GL_NVX_blend_equation_advanced_multi_draw_buffers 1
 9352+#endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
 9353+
87579354 #ifndef GL_NVX_conditional_render
87589355 #define GL_NVX_conditional_render 1
87599356 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
@@ -8772,6 +9369,32 @@
87739370 #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
87749371 #endif /* GL_NVX_gpu_memory_info */
87759372
 9373+#ifndef GL_NVX_linked_gpu_multicast
 9374+#define GL_NVX_linked_gpu_multicast 1
 9375+#define GL_LGPU_SEPARATE_STORAGE_BIT_NVX 0x0800
 9376+#define GL_MAX_LGPU_GPUS_NVX 0x92BA
 9377+typedef void (APIENTRYP PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
 9378+typedef void (APIENTRYP PFNGLLGPUCOPYIMAGESUBDATANVXPROC) (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
 9379+typedef void (APIENTRYP PFNGLLGPUINTERLOCKNVXPROC) (void);
 9380+#ifdef GL_GLEXT_PROTOTYPES
 9381+GLAPI void APIENTRY glLGPUNamedBufferSubDataNVX (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
 9382+GLAPI void APIENTRY glLGPUCopyImageSubDataNVX (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
 9383+GLAPI void APIENTRY glLGPUInterlockNVX (void);
 9384+#endif
 9385+#endif /* GL_NVX_linked_gpu_multicast */
 9386+
 9387+#ifndef GL_NV_alpha_to_coverage_dither_control
 9388+#define GL_NV_alpha_to_coverage_dither_control 1
 9389+#define GL_ALPHA_TO_COVERAGE_DITHER_DEFAULT_NV 0x934D
 9390+#define GL_ALPHA_TO_COVERAGE_DITHER_ENABLE_NV 0x934E
 9391+#define GL_ALPHA_TO_COVERAGE_DITHER_DISABLE_NV 0x934F
 9392+#define GL_ALPHA_TO_COVERAGE_DITHER_MODE_NV 0x92BF
 9393+typedef void (APIENTRYP PFNGLALPHATOCOVERAGEDITHERCONTROLNVPROC) (GLenum mode);
 9394+#ifdef GL_GLEXT_PROTOTYPES
 9395+GLAPI void APIENTRY glAlphaToCoverageDitherControlNV (GLenum mode);
 9396+#endif
 9397+#endif /* GL_NV_alpha_to_coverage_dither_control */
 9398+
87769399 #ifndef GL_NV_bindless_multi_draw_indirect
87779400 #define GL_NV_bindless_multi_draw_indirect 1
87789401 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
@@ -8888,10 +9511,84 @@
88899512 #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
88909513 #endif /* GL_NV_blend_equation_advanced_coherent */
88919514
 9515+#ifndef GL_NV_blend_minmax_factor
 9516+#define GL_NV_blend_minmax_factor 1
 9517+#endif /* GL_NV_blend_minmax_factor */
 9518+
88929519 #ifndef GL_NV_blend_square
88939520 #define GL_NV_blend_square 1
88949521 #endif /* GL_NV_blend_square */
88959522
 9523+#ifndef GL_NV_clip_space_w_scaling
 9524+#define GL_NV_clip_space_w_scaling 1
 9525+#define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C
 9526+#define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D
 9527+#define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E
 9528+typedef void (APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
 9529+#ifdef GL_GLEXT_PROTOTYPES
 9530+GLAPI void APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
 9531+#endif
 9532+#endif /* GL_NV_clip_space_w_scaling */
 9533+
 9534+#ifndef GL_NV_command_list
 9535+#define GL_NV_command_list 1
 9536+#define GL_TERMINATE_SEQUENCE_COMMAND_NV 0x0000
 9537+#define GL_NOP_COMMAND_NV 0x0001
 9538+#define GL_DRAW_ELEMENTS_COMMAND_NV 0x0002
 9539+#define GL_DRAW_ARRAYS_COMMAND_NV 0x0003
 9540+#define GL_DRAW_ELEMENTS_STRIP_COMMAND_NV 0x0004
 9541+#define GL_DRAW_ARRAYS_STRIP_COMMAND_NV 0x0005
 9542+#define GL_DRAW_ELEMENTS_INSTANCED_COMMAND_NV 0x0006
 9543+#define GL_DRAW_ARRAYS_INSTANCED_COMMAND_NV 0x0007
 9544+#define GL_ELEMENT_ADDRESS_COMMAND_NV 0x0008
 9545+#define GL_ATTRIBUTE_ADDRESS_COMMAND_NV 0x0009
 9546+#define GL_UNIFORM_ADDRESS_COMMAND_NV 0x000A
 9547+#define GL_BLEND_COLOR_COMMAND_NV 0x000B
 9548+#define GL_STENCIL_REF_COMMAND_NV 0x000C
 9549+#define GL_LINE_WIDTH_COMMAND_NV 0x000D
 9550+#define GL_POLYGON_OFFSET_COMMAND_NV 0x000E
 9551+#define GL_ALPHA_REF_COMMAND_NV 0x000F
 9552+#define GL_VIEWPORT_COMMAND_NV 0x0010
 9553+#define GL_SCISSOR_COMMAND_NV 0x0011
 9554+#define GL_FRONT_FACE_COMMAND_NV 0x0012
 9555+typedef void (APIENTRYP PFNGLCREATESTATESNVPROC) (GLsizei n, GLuint *states);
 9556+typedef void (APIENTRYP PFNGLDELETESTATESNVPROC) (GLsizei n, const GLuint *states);
 9557+typedef GLboolean (APIENTRYP PFNGLISSTATENVPROC) (GLuint state);
 9558+typedef void (APIENTRYP PFNGLSTATECAPTURENVPROC) (GLuint state, GLenum mode);
 9559+typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size);
 9560+typedef GLushort (APIENTRYP PFNGLGETSTAGEINDEXNVPROC) (GLenum shadertype);
 9561+typedef void (APIENTRYP PFNGLDRAWCOMMANDSNVPROC) (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count);
 9562+typedef void (APIENTRYP PFNGLDRAWCOMMANDSADDRESSNVPROC) (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count);
 9563+typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESNVPROC) (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
 9564+typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC) (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
 9565+typedef void (APIENTRYP PFNGLCREATECOMMANDLISTSNVPROC) (GLsizei n, GLuint *lists);
 9566+typedef void (APIENTRYP PFNGLDELETECOMMANDLISTSNVPROC) (GLsizei n, const GLuint *lists);
 9567+typedef GLboolean (APIENTRYP PFNGLISCOMMANDLISTNVPROC) (GLuint list);
 9568+typedef void (APIENTRYP PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC) (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
 9569+typedef void (APIENTRYP PFNGLCOMMANDLISTSEGMENTSNVPROC) (GLuint list, GLuint segments);
 9570+typedef void (APIENTRYP PFNGLCOMPILECOMMANDLISTNVPROC) (GLuint list);
 9571+typedef void (APIENTRYP PFNGLCALLCOMMANDLISTNVPROC) (GLuint list);
 9572+#ifdef GL_GLEXT_PROTOTYPES
 9573+GLAPI void APIENTRY glCreateStatesNV (GLsizei n, GLuint *states);
 9574+GLAPI void APIENTRY glDeleteStatesNV (GLsizei n, const GLuint *states);
 9575+GLAPI GLboolean APIENTRY glIsStateNV (GLuint state);
 9576+GLAPI void APIENTRY glStateCaptureNV (GLuint state, GLenum mode);
 9577+GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size);
 9578+GLAPI GLushort APIENTRY glGetStageIndexNV (GLenum shadertype);
 9579+GLAPI void APIENTRY glDrawCommandsNV (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count);
 9580+GLAPI void APIENTRY glDrawCommandsAddressNV (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count);
 9581+GLAPI void APIENTRY glDrawCommandsStatesNV (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
 9582+GLAPI void APIENTRY glDrawCommandsStatesAddressNV (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
 9583+GLAPI void APIENTRY glCreateCommandListsNV (GLsizei n, GLuint *lists);
 9584+GLAPI void APIENTRY glDeleteCommandListsNV (GLsizei n, const GLuint *lists);
 9585+GLAPI GLboolean APIENTRY glIsCommandListNV (GLuint list);
 9586+GLAPI void APIENTRY glListDrawCommandsStatesClientNV (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
 9587+GLAPI void APIENTRY glCommandListSegmentsNV (GLuint list, GLuint segments);
 9588+GLAPI void APIENTRY glCompileCommandListNV (GLuint list);
 9589+GLAPI void APIENTRY glCallCommandListNV (GLuint list);
 9590+#endif
 9591+#endif /* GL_NV_command_list */
 9592+
88969593 #ifndef GL_NV_compute_program5
88979594 #define GL_NV_compute_program5 1
88989595 #define GL_COMPUTE_PROGRAM_NV 0x90FB
@@ -8898,6 +9595,10 @@
88999596 #define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
89009597 #endif /* GL_NV_compute_program5 */
89019598
 9599+#ifndef GL_NV_compute_shader_derivatives
 9600+#define GL_NV_compute_shader_derivatives 1
 9601+#endif /* GL_NV_compute_shader_derivatives */
 9602+
89029603 #ifndef GL_NV_conditional_render
89039604 #define GL_NV_conditional_render 1
89049605 #define GL_QUERY_WAIT_NV 0x8E13
@@ -8912,6 +9613,49 @@
89139614 #endif
89149615 #endif /* GL_NV_conditional_render */
89159616
 9617+#ifndef GL_NV_conservative_raster
 9618+#define GL_NV_conservative_raster 1
 9619+#define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
 9620+#define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
 9621+#define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
 9622+#define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
 9623+typedef void (APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
 9624+#ifdef GL_GLEXT_PROTOTYPES
 9625+GLAPI void APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
 9626+#endif
 9627+#endif /* GL_NV_conservative_raster */
 9628+
 9629+#ifndef GL_NV_conservative_raster_dilate
 9630+#define GL_NV_conservative_raster_dilate 1
 9631+#define GL_CONSERVATIVE_RASTER_DILATE_NV 0x9379
 9632+#define GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV 0x937A
 9633+#define GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV 0x937B
 9634+typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERFNVPROC) (GLenum pname, GLfloat value);
 9635+#ifdef GL_GLEXT_PROTOTYPES
 9636+GLAPI void APIENTRY glConservativeRasterParameterfNV (GLenum pname, GLfloat value);
 9637+#endif
 9638+#endif /* GL_NV_conservative_raster_dilate */
 9639+
 9640+#ifndef GL_NV_conservative_raster_pre_snap
 9641+#define GL_NV_conservative_raster_pre_snap 1
 9642+#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550
 9643+#endif /* GL_NV_conservative_raster_pre_snap */
 9644+
 9645+#ifndef GL_NV_conservative_raster_pre_snap_triangles
 9646+#define GL_NV_conservative_raster_pre_snap_triangles 1
 9647+#define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D
 9648+#define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E
 9649+#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F
 9650+typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param);
 9651+#ifdef GL_GLEXT_PROTOTYPES
 9652+GLAPI void APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param);
 9653+#endif
 9654+#endif /* GL_NV_conservative_raster_pre_snap_triangles */
 9655+
 9656+#ifndef GL_NV_conservative_raster_underestimation
 9657+#define GL_NV_conservative_raster_underestimation 1
 9658+#endif /* GL_NV_conservative_raster_underestimation */
 9659+
89169660 #ifndef GL_NV_copy_depth_to_color
89179661 #define GL_NV_copy_depth_to_color 1
89189662 #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
@@ -8961,6 +9705,23 @@
89629706 #endif
89639707 #endif /* GL_NV_draw_texture */
89649708
 9709+#ifndef GL_NV_draw_vulkan_image
 9710+#define GL_NV_draw_vulkan_image 1
 9711+typedef void (APIENTRY *GLVULKANPROCNV)(void);
 9712+typedef void (APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
 9713+typedef GLVULKANPROCNV (APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name);
 9714+typedef void (APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
 9715+typedef void (APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
 9716+typedef void (APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence);
 9717+#ifdef GL_GLEXT_PROTOTYPES
 9718+GLAPI void APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
 9719+GLAPI GLVULKANPROCNV APIENTRY glGetVkProcAddrNV (const GLchar *name);
 9720+GLAPI void APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore);
 9721+GLAPI void APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore);
 9722+GLAPI void APIENTRY glSignalVkFenceNV (GLuint64 vkFence);
 9723+#endif
 9724+#endif /* GL_NV_draw_vulkan_image */
 9725+
89659726 #ifndef GL_NV_evaluators
89669727 #define GL_NV_evaluators 1
89679728 #define GL_EVAL_2D_NV 0x86C0
@@ -9054,6 +9815,11 @@
90559816 #endif
90569817 #endif /* GL_NV_fence */
90579818
 9819+#ifndef GL_NV_fill_rectangle
 9820+#define GL_NV_fill_rectangle 1
 9821+#define GL_FILL_RECTANGLE_NV 0x933C
 9822+#endif /* GL_NV_fill_rectangle */
 9823+
90589824 #ifndef GL_NV_float_buffer
90599825 #define GL_NV_float_buffer 1
90609826 #define GL_FLOAT_R_NV 0x8880
@@ -9080,6 +9846,16 @@
90819847 #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
90829848 #endif /* GL_NV_fog_distance */
90839849
 9850+#ifndef GL_NV_fragment_coverage_to_color
 9851+#define GL_NV_fragment_coverage_to_color 1
 9852+#define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
 9853+#define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
 9854+typedef void (APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color);
 9855+#ifdef GL_GLEXT_PROTOTYPES
 9856+GLAPI void APIENTRY glFragmentCoverageColorNV (GLuint color);
 9857+#endif
 9858+#endif /* GL_NV_fragment_coverage_to_color */
 9859+
90849860 #ifndef GL_NV_fragment_program
90859861 #define GL_NV_fragment_program 1
90869862 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
@@ -9121,6 +9897,34 @@
91229898 #define GL_NV_fragment_program_option 1
91239899 #endif /* GL_NV_fragment_program_option */
91249900
 9901+#ifndef GL_NV_fragment_shader_barycentric
 9902+#define GL_NV_fragment_shader_barycentric 1
 9903+#endif /* GL_NV_fragment_shader_barycentric */
 9904+
 9905+#ifndef GL_NV_fragment_shader_interlock
 9906+#define GL_NV_fragment_shader_interlock 1
 9907+#endif /* GL_NV_fragment_shader_interlock */
 9908+
 9909+#ifndef GL_NV_framebuffer_mixed_samples
 9910+#define GL_NV_framebuffer_mixed_samples 1
 9911+#define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
 9912+#define GL_COLOR_SAMPLES_NV 0x8E20
 9913+#define GL_DEPTH_SAMPLES_NV 0x932D
 9914+#define GL_STENCIL_SAMPLES_NV 0x932E
 9915+#define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
 9916+#define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
 9917+#define GL_COVERAGE_MODULATION_NV 0x9332
 9918+#define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
 9919+typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v);
 9920+typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v);
 9921+typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components);
 9922+#ifdef GL_GLEXT_PROTOTYPES
 9923+GLAPI void APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v);
 9924+GLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v);
 9925+GLAPI void APIENTRY glCoverageModulationNV (GLenum components);
 9926+#endif
 9927+#endif /* GL_NV_framebuffer_mixed_samples */
 9928+
91259929 #ifndef GL_NV_framebuffer_multisample_coverage
91269930 #define GL_NV_framebuffer_multisample_coverage 1
91279931 #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
@@ -9152,6 +9956,45 @@
91539957 #define GL_NV_geometry_shader4 1
91549958 #endif /* GL_NV_geometry_shader4 */
91559959
 9960+#ifndef GL_NV_geometry_shader_passthrough
 9961+#define GL_NV_geometry_shader_passthrough 1
 9962+#endif /* GL_NV_geometry_shader_passthrough */
 9963+
 9964+#ifndef GL_NV_gpu_multicast
 9965+#define GL_NV_gpu_multicast 1
 9966+#define GL_PER_GPU_STORAGE_BIT_NV 0x0800
 9967+#define GL_MULTICAST_GPUS_NV 0x92BA
 9968+#define GL_RENDER_GPU_MASK_NV 0x9558
 9969+#define GL_PER_GPU_STORAGE_NV 0x9548
 9970+#define GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9549
 9971+typedef void (APIENTRYP PFNGLRENDERGPUMASKNVPROC) (GLbitfield mask);
 9972+typedef void (APIENTRYP PFNGLMULTICASTBUFFERSUBDATANVPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
 9973+typedef void (APIENTRYP PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC) (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
 9974+typedef void (APIENTRYP PFNGLMULTICASTCOPYIMAGESUBDATANVPROC) (GLuint srcGpu, GLbitfield dstGpuMask, 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);
 9975+typedef void (APIENTRYP PFNGLMULTICASTBLITFRAMEBUFFERNVPROC) (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
 9976+typedef void (APIENTRYP PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
 9977+typedef void (APIENTRYP PFNGLMULTICASTBARRIERNVPROC) (void);
 9978+typedef void (APIENTRYP PFNGLMULTICASTWAITSYNCNVPROC) (GLuint signalGpu, GLbitfield waitGpuMask);
 9979+typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint *params);
 9980+typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint *params);
 9981+typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint64 *params);
 9982+typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params);
 9983+#ifdef GL_GLEXT_PROTOTYPES
 9984+GLAPI void APIENTRY glRenderGpuMaskNV (GLbitfield mask);
 9985+GLAPI void APIENTRY glMulticastBufferSubDataNV (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
 9986+GLAPI void APIENTRY glMulticastCopyBufferSubDataNV (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
 9987+GLAPI void APIENTRY glMulticastCopyImageSubDataNV (GLuint srcGpu, GLbitfield dstGpuMask, 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);
 9988+GLAPI void APIENTRY glMulticastBlitFramebufferNV (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
 9989+GLAPI void APIENTRY glMulticastFramebufferSampleLocationsfvNV (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
 9990+GLAPI void APIENTRY glMulticastBarrierNV (void);
 9991+GLAPI void APIENTRY glMulticastWaitSyncNV (GLuint signalGpu, GLbitfield waitGpuMask);
 9992+GLAPI void APIENTRY glMulticastGetQueryObjectivNV (GLuint gpu, GLuint id, GLenum pname, GLint *params);
 9993+GLAPI void APIENTRY glMulticastGetQueryObjectuivNV (GLuint gpu, GLuint id, GLenum pname, GLuint *params);
 9994+GLAPI void APIENTRY glMulticastGetQueryObjecti64vNV (GLuint gpu, GLuint id, GLenum pname, GLint64 *params);
 9995+GLAPI void APIENTRY glMulticastGetQueryObjectui64vNV (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params);
 9996+#endif
 9997+#endif /* GL_NV_gpu_multicast */
 9998+
91569999 #ifndef GL_NV_gpu_program4
915710000 #define GL_NV_gpu_program4 1
915810001 #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
@@ -9324,6 +10167,18 @@
932510168 #endif
932610169 #endif /* GL_NV_half_float */
932710170
 10171+#ifndef GL_NV_internalformat_sample_query
 10172+#define GL_NV_internalformat_sample_query 1
 10173+#define GL_MULTISAMPLES_NV 0x9371
 10174+#define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
 10175+#define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
 10176+#define GL_CONFORMANT_NV 0x9374
 10177+typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params);
 10178+#ifdef GL_GLEXT_PROTOTYPES
 10179+GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params);
 10180+#endif
 10181+#endif /* GL_NV_internalformat_sample_query */
 10182+
932810183 #ifndef GL_NV_light_max_exponent
932910184 #define GL_NV_light_max_exponent 1
933010185 #define GL_MAX_SHININESS_NV 0x8504
@@ -9330,9 +10185,98 @@
933110186 #define GL_MAX_SPOT_EXPONENT_NV 0x8505
933210187 #endif /* GL_NV_light_max_exponent */
933310188
 10189+#ifndef GL_NV_memory_attachment
 10190+#define GL_NV_memory_attachment 1
 10191+#define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4
 10192+#define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5
 10193+#define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6
 10194+#define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7
 10195+#define GL_MEMORY_ATTACHABLE_NV 0x95A8
 10196+#define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9
 10197+#define GL_DETACHED_TEXTURES_NV 0x95AA
 10198+#define GL_DETACHED_BUFFERS_NV 0x95AB
 10199+#define GL_MAX_DETACHED_TEXTURES_NV 0x95AC
 10200+#define GL_MAX_DETACHED_BUFFERS_NV 0x95AD
 10201+typedef void (APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
 10202+typedef void (APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) (GLuint memory, GLenum pname);
 10203+typedef void (APIENTRYP PFNGLTEXATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
 10204+typedef void (APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
 10205+typedef void (APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC) (GLuint texture, GLuint memory, GLuint64 offset);
 10206+typedef void (APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) (GLuint buffer, GLuint memory, GLuint64 offset);
 10207+#ifdef GL_GLEXT_PROTOTYPES
 10208+GLAPI void APIENTRY glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
 10209+GLAPI void APIENTRY glResetMemoryObjectParameterNV (GLuint memory, GLenum pname);
 10210+GLAPI void APIENTRY glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
 10211+GLAPI void APIENTRY glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
 10212+GLAPI void APIENTRY glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset);
 10213+GLAPI void APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset);
 10214+#endif
 10215+#endif /* GL_NV_memory_attachment */
 10216+
 10217+#ifndef GL_NV_mesh_shader
 10218+#define GL_NV_mesh_shader 1
 10219+#define GL_MESH_SHADER_NV 0x9559
 10220+#define GL_TASK_SHADER_NV 0x955A
 10221+#define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60
 10222+#define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61
 10223+#define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62
 10224+#define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63
 10225+#define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64
 10226+#define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65
 10227+#define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66
 10228+#define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67
 10229+#define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68
 10230+#define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69
 10231+#define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A
 10232+#define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B
 10233+#define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C
 10234+#define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D
 10235+#define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E
 10236+#define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F
 10237+#define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2
 10238+#define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3
 10239+#define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536
 10240+#define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537
 10241+#define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538
 10242+#define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539
 10243+#define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A
 10244+#define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D
 10245+#define GL_MAX_MESH_VIEWS_NV 0x9557
 10246+#define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF
 10247+#define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543
 10248+#define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B
 10249+#define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C
 10250+#define GL_MESH_WORK_GROUP_SIZE_NV 0x953E
 10251+#define GL_TASK_WORK_GROUP_SIZE_NV 0x953F
 10252+#define GL_MESH_VERTICES_OUT_NV 0x9579
 10253+#define GL_MESH_PRIMITIVES_OUT_NV 0x957A
 10254+#define GL_MESH_OUTPUT_TYPE_NV 0x957B
 10255+#define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C
 10256+#define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D
 10257+#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E
 10258+#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F
 10259+#define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0
 10260+#define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1
 10261+#define GL_MESH_SUBROUTINE_NV 0x957C
 10262+#define GL_TASK_SUBROUTINE_NV 0x957D
 10263+#define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E
 10264+#define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F
 10265+#define GL_MESH_SHADER_BIT_NV 0x00000040
 10266+#define GL_TASK_SHADER_BIT_NV 0x00000080
 10267+typedef void (APIENTRYP PFNGLDRAWMESHTASKSNVPROC) (GLuint first, GLuint count);
 10268+typedef void (APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect);
 10269+typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride);
 10270+typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
 10271+#ifdef GL_GLEXT_PROTOTYPES
 10272+GLAPI void APIENTRY glDrawMeshTasksNV (GLuint first, GLuint count);
 10273+GLAPI void APIENTRY glDrawMeshTasksIndirectNV (GLintptr indirect);
 10274+GLAPI void APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride);
 10275+GLAPI void APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
 10276+#endif
 10277+#endif /* GL_NV_mesh_shader */
 10278+
933410279 #ifndef GL_NV_multisample_coverage
933510280 #define GL_NV_multisample_coverage 1
9336 -#define GL_COLOR_SAMPLES_NV 0x8E20
933710281 #endif /* GL_NV_multisample_coverage */
933810282
933910283 #ifndef GL_NV_multisample_filter_hint
@@ -9445,13 +10389,11 @@
944610390 #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
944710391 #define GL_USE_MISSING_GLYPH_NV 0x90AA
944810392 #define GL_PATH_ERROR_POSITION_NV 0x90AB
9449 -#define GL_PATH_FOG_GEN_MODE_NV 0x90AC
945010393 #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
945110394 #define GL_ADJACENT_PAIRS_NV 0x90AE
945210395 #define GL_FIRST_TO_REST_NV 0x90AF
945310396 #define GL_PATH_GEN_MODE_NV 0x90B0
945410397 #define GL_PATH_GEN_COEFF_NV 0x90B1
9455 -#define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
945610398 #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
945710399 #define GL_PATH_STENCIL_FUNC_NV 0x90B7
945810400 #define GL_PATH_STENCIL_REF_NV 0x90B8
@@ -9520,8 +10462,6 @@
952110463 #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
952210464 #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
952310465 #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
9524 -#define GL_PRIMARY_COLOR_NV 0x852C
9525 -#define GL_SECONDARY_COLOR_NV 0x852D
952610466 #define GL_ROUNDED_RECT_NV 0xE8
952710467 #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
952810468 #define GL_ROUNDED_RECT2_NV 0xEA
@@ -9545,6 +10485,10 @@
954610486 #define GL_EYE_LINEAR_NV 0x2400
954710487 #define GL_OBJECT_LINEAR_NV 0x2401
954810488 #define GL_CONSTANT_NV 0x8576
 10489+#define GL_PATH_FOG_GEN_MODE_NV 0x90AC
 10490+#define GL_PRIMARY_COLOR_NV 0x852C
 10491+#define GL_SECONDARY_COLOR_NV 0x852D
 10492+#define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
954910493 #define GL_PATH_PROJECTION_NV 0x1701
955010494 #define GL_PATH_MODELVIEW_NV 0x1700
955110495 #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
@@ -9582,9 +10526,6 @@
958310527 typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
958410528 typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
958510529 typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
9586 -typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
9587 -typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
9588 -typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
958910530 typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
959010531 typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
959110532 typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
@@ -9597,10 +10538,6 @@
959810539 typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
959910540 typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
960010541 typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
9601 -typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
9602 -typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
9603 -typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
9604 -typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
960510542 typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
960610543 typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
960710544 typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
@@ -9620,6 +10557,13 @@
962110558 typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
962210559 typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
962310560 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params);
 10561+typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
 10562+typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
 10563+typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
 10564+typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
 10565+typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
 10566+typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
 10567+typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
962410568 #ifdef GL_GLEXT_PROTOTYPES
962510569 GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
962610570 GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
@@ -9647,9 +10591,6 @@
964810592 GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
964910593 GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
965010594 GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
9651 -GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
9652 -GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
9653 -GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
965410595 GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
965510596 GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
965610597 GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
@@ -9662,10 +10603,6 @@
966310604 GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
966410605 GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
966510606 GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
9666 -GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
9667 -GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
9668 -GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
9669 -GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
967010607 GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
967110608 GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
967210609 GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
@@ -9685,9 +10622,21 @@
968610623 GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
968710624 GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
968810625 GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params);
 10626+GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
 10627+GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
 10628+GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
 10629+GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
 10630+GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
 10631+GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
 10632+GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
968910633 #endif
969010634 #endif /* GL_NV_path_rendering */
969110635
 10636+#ifndef GL_NV_path_rendering_shared_edge
 10637+#define GL_NV_path_rendering_shared_edge 1
 10638+#define GL_SHARED_EDGE_NV 0xC0
 10639+#endif /* GL_NV_path_rendering_shared_edge */
 10640+
969210641 #ifndef GL_NV_pixel_data_range
969310642 #define GL_NV_pixel_data_range 1
969410643 #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
@@ -9753,6 +10702,32 @@
975410703 #endif
975510704 #endif /* GL_NV_primitive_restart */
975610705
 10706+#ifndef GL_NV_query_resource
 10707+#define GL_NV_query_resource 1
 10708+#define GL_QUERY_RESOURCE_TYPE_VIDMEM_ALLOC_NV 0x9540
 10709+#define GL_QUERY_RESOURCE_MEMTYPE_VIDMEM_NV 0x9542
 10710+#define GL_QUERY_RESOURCE_SYS_RESERVED_NV 0x9544
 10711+#define GL_QUERY_RESOURCE_TEXTURE_NV 0x9545
 10712+#define GL_QUERY_RESOURCE_RENDERBUFFER_NV 0x9546
 10713+#define GL_QUERY_RESOURCE_BUFFEROBJECT_NV 0x9547
 10714+typedef GLint (APIENTRYP PFNGLQUERYRESOURCENVPROC) (GLenum queryType, GLint tagId, GLuint bufSize, GLint *buffer);
 10715+#ifdef GL_GLEXT_PROTOTYPES
 10716+GLAPI GLint APIENTRY glQueryResourceNV (GLenum queryType, GLint tagId, GLuint bufSize, GLint *buffer);
 10717+#endif
 10718+#endif /* GL_NV_query_resource */
 10719+
 10720+#ifndef GL_NV_query_resource_tag
 10721+#define GL_NV_query_resource_tag 1
 10722+typedef void (APIENTRYP PFNGLGENQUERYRESOURCETAGNVPROC) (GLsizei n, GLint *tagIds);
 10723+typedef void (APIENTRYP PFNGLDELETEQUERYRESOURCETAGNVPROC) (GLsizei n, const GLint *tagIds);
 10724+typedef void (APIENTRYP PFNGLQUERYRESOURCETAGNVPROC) (GLint tagId, const GLchar *tagString);
 10725+#ifdef GL_GLEXT_PROTOTYPES
 10726+GLAPI void APIENTRY glGenQueryResourceTagNV (GLsizei n, GLint *tagIds);
 10727+GLAPI void APIENTRY glDeleteQueryResourceTagNV (GLsizei n, const GLint *tagIds);
 10728+GLAPI void APIENTRY glQueryResourceTagNV (GLint tagId, const GLchar *tagString);
 10729+#endif
 10730+#endif /* GL_NV_query_resource_tag */
 10731+
975710732 #ifndef GL_NV_register_combiners
975810733 #define GL_NV_register_combiners 1
975910734 #define GL_REGISTER_COMBINERS_NV 0x8522
@@ -9845,6 +10820,52 @@
984610821 #endif
984710822 #endif /* GL_NV_register_combiners2 */
984810823
 10824+#ifndef GL_NV_representative_fragment_test
 10825+#define GL_NV_representative_fragment_test 1
 10826+#define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F
 10827+#endif /* GL_NV_representative_fragment_test */
 10828+
 10829+#ifndef GL_NV_robustness_video_memory_purge
 10830+#define GL_NV_robustness_video_memory_purge 1
 10831+#define GL_PURGED_CONTEXT_RESET_NV 0x92BB
 10832+#endif /* GL_NV_robustness_video_memory_purge */
 10833+
 10834+#ifndef GL_NV_sample_locations
 10835+#define GL_NV_sample_locations 1
 10836+#define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D
 10837+#define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E
 10838+#define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F
 10839+#define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340
 10840+#define GL_SAMPLE_LOCATION_NV 0x8E50
 10841+#define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341
 10842+#define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342
 10843+#define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343
 10844+typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
 10845+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
 10846+typedef void (APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void);
 10847+#ifdef GL_GLEXT_PROTOTYPES
 10848+GLAPI void APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
 10849+GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
 10850+GLAPI void APIENTRY glResolveDepthValuesNV (void);
 10851+#endif
 10852+#endif /* GL_NV_sample_locations */
 10853+
 10854+#ifndef GL_NV_sample_mask_override_coverage
 10855+#define GL_NV_sample_mask_override_coverage 1
 10856+#endif /* GL_NV_sample_mask_override_coverage */
 10857+
 10858+#ifndef GL_NV_scissor_exclusive
 10859+#define GL_NV_scissor_exclusive 1
 10860+#define GL_SCISSOR_TEST_EXCLUSIVE_NV 0x9555
 10861+#define GL_SCISSOR_BOX_EXCLUSIVE_NV 0x9556
 10862+typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVENVPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
 10863+typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVEARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v);
 10864+#ifdef GL_GLEXT_PROTOTYPES
 10865+GLAPI void APIENTRY glScissorExclusiveNV (GLint x, GLint y, GLsizei width, GLsizei height);
 10866+GLAPI void APIENTRY glScissorExclusiveArrayvNV (GLuint first, GLsizei count, const GLint *v);
 10867+#endif
 10868+#endif /* GL_NV_scissor_exclusive */
 10869+
984910870 #ifndef GL_NV_shader_atomic_counters
985010871 #define GL_NV_shader_atomic_counters 1
985110872 #endif /* GL_NV_shader_atomic_counters */
@@ -9853,6 +10874,14 @@
985410875 #define GL_NV_shader_atomic_float 1
985510876 #endif /* GL_NV_shader_atomic_float */
985610877
 10878+#ifndef GL_NV_shader_atomic_float64
 10879+#define GL_NV_shader_atomic_float64 1
 10880+#endif /* GL_NV_shader_atomic_float64 */
 10881+
 10882+#ifndef GL_NV_shader_atomic_fp16_vector
 10883+#define GL_NV_shader_atomic_fp16_vector 1
 10884+#endif /* GL_NV_shader_atomic_fp16_vector */
 10885+
985710886 #ifndef GL_NV_shader_atomic_int64
985810887 #define GL_NV_shader_atomic_int64 1
985910888 #endif /* GL_NV_shader_atomic_int64 */
@@ -9901,6 +10930,10 @@
990210931 #define GL_NV_shader_storage_buffer_object 1
990310932 #endif /* GL_NV_shader_storage_buffer_object */
990410933
 10934+#ifndef GL_NV_shader_texture_footprint
 10935+#define GL_NV_shader_texture_footprint 1
 10936+#endif /* GL_NV_shader_texture_footprint */
 10937+
990510938 #ifndef GL_NV_shader_thread_group
990610939 #define GL_NV_shader_thread_group 1
990710940 #define GL_WARP_SIZE_NV 0x9339
@@ -9912,6 +10945,51 @@
991310946 #define GL_NV_shader_thread_shuffle 1
991410947 #endif /* GL_NV_shader_thread_shuffle */
991510948
 10949+#ifndef GL_NV_shading_rate_image
 10950+#define GL_NV_shading_rate_image 1
 10951+#define GL_SHADING_RATE_IMAGE_NV 0x9563
 10952+#define GL_SHADING_RATE_NO_INVOCATIONS_NV 0x9564
 10953+#define GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV 0x9565
 10954+#define GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV 0x9566
 10955+#define GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV 0x9567
 10956+#define GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV 0x9568
 10957+#define GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV 0x9569
 10958+#define GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV 0x956A
 10959+#define GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV 0x956B
 10960+#define GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV 0x956C
 10961+#define GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV 0x956D
 10962+#define GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV 0x956E
 10963+#define GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV 0x956F
 10964+#define GL_SHADING_RATE_IMAGE_BINDING_NV 0x955B
 10965+#define GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV 0x955C
 10966+#define GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV 0x955D
 10967+#define GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV 0x955E
 10968+#define GL_MAX_COARSE_FRAGMENT_SAMPLES_NV 0x955F
 10969+#define GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV 0x95AE
 10970+#define GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV 0x95AF
 10971+#define GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV 0x95B0
 10972+typedef void (APIENTRYP PFNGLBINDSHADINGRATEIMAGENVPROC) (GLuint texture);
 10973+typedef void (APIENTRYP PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint entry, GLenum *rate);
 10974+typedef void (APIENTRYP PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) (GLenum rate, GLuint samples, GLuint index, GLint *location);
 10975+typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEBARRIERNVPROC) (GLboolean synchronize);
 10976+typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates);
 10977+typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERNVPROC) (GLenum order);
 10978+typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) (GLenum rate, GLuint samples, const GLint *locations);
 10979+#ifdef GL_GLEXT_PROTOTYPES
 10980+GLAPI void APIENTRY glBindShadingRateImageNV (GLuint texture);
 10981+GLAPI void APIENTRY glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum *rate);
 10982+GLAPI void APIENTRY glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint *location);
 10983+GLAPI void APIENTRY glShadingRateImageBarrierNV (GLboolean synchronize);
 10984+GLAPI void APIENTRY glShadingRateImagePaletteNV (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates);
 10985+GLAPI void APIENTRY glShadingRateSampleOrderNV (GLenum order);
 10986+GLAPI void APIENTRY glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint *locations);
 10987+#endif
 10988+#endif /* GL_NV_shading_rate_image */
 10989+
 10990+#ifndef GL_NV_stereo_view_rendering
 10991+#define GL_NV_stereo_view_rendering 1
 10992+#endif /* GL_NV_stereo_view_rendering */
 10993+
991610994 #ifndef GL_NV_tessellation_program5
991710995 #define GL_NV_tessellation_program5 1
991810996 #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
@@ -9988,6 +11066,10 @@
998911067 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
999011068 #endif /* GL_NV_texture_rectangle */
999111069
 11070+#ifndef GL_NV_texture_rectangle_compressed
 11071+#define GL_NV_texture_rectangle_compressed 1
 11072+#endif /* GL_NV_texture_rectangle_compressed */
 11073+
999211074 #ifndef GL_NV_texture_shader
999311075 #define GL_NV_texture_shader 1
999411076 #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
@@ -10176,6 +11258,13 @@
1017711259 #endif
1017811260 #endif /* GL_NV_transform_feedback2 */
1017911261
 11262+#ifndef GL_NV_uniform_buffer_unified_memory
 11263+#define GL_NV_uniform_buffer_unified_memory 1
 11264+#define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E
 11265+#define GL_UNIFORM_BUFFER_ADDRESS_NV 0x936F
 11266+#define GL_UNIFORM_BUFFER_LENGTH_NV 0x9370
 11267+#endif /* GL_NV_uniform_buffer_unified_memory */
 11268+
1018011269 #ifndef GL_NV_vdpau_interop
1018111270 #define GL_NV_vdpau_interop 1
1018211271 typedef GLintptr GLvdpauSurfaceNV;
@@ -10207,6 +11296,14 @@
1020811297 #endif
1020911298 #endif /* GL_NV_vdpau_interop */
1021011299
 11300+#ifndef GL_NV_vdpau_interop2
 11301+#define GL_NV_vdpau_interop2 1
 11302+typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure);
 11303+#ifdef GL_GLEXT_PROTOTYPES
 11304+GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceWithPictureStructureNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure);
 11305+#endif
 11306+#endif /* GL_NV_vdpau_interop2 */
 11307+
1021111308 #ifndef GL_NV_vertex_array_range
1021211309 #define GL_NV_vertex_array_range 1
1021311310 #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
@@ -10671,6 +11768,30 @@
1067211769 #endif
1067311770 #endif /* GL_NV_video_capture */
1067411771
 11772+#ifndef GL_NV_viewport_array2
 11773+#define GL_NV_viewport_array2 1
 11774+#endif /* GL_NV_viewport_array2 */
 11775+
 11776+#ifndef GL_NV_viewport_swizzle
 11777+#define GL_NV_viewport_swizzle 1
 11778+#define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350
 11779+#define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351
 11780+#define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352
 11781+#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353
 11782+#define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354
 11783+#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355
 11784+#define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356
 11785+#define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357
 11786+#define GL_VIEWPORT_SWIZZLE_X_NV 0x9358
 11787+#define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359
 11788+#define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A
 11789+#define GL_VIEWPORT_SWIZZLE_W_NV 0x935B
 11790+typedef void (APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
 11791+#ifdef GL_GLEXT_PROTOTYPES
 11792+GLAPI void APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
 11793+#endif
 11794+#endif /* GL_NV_viewport_swizzle */
 11795+
1067511796 #ifndef GL_OML_interlace
1067611797 #define GL_OML_interlace 1
1067711798 #define GL_INTERLACE_OML 0x8980
@@ -10693,6 +11814,22 @@
1069411815 #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
1069511816 #endif /* GL_OML_subsample */
1069611817
 11818+#ifndef GL_OVR_multiview
 11819+#define GL_OVR_multiview 1
 11820+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630
 11821+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632
 11822+#define GL_MAX_VIEWS_OVR 0x9631
 11823+#define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633
 11824+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
 11825+#ifdef GL_GLEXT_PROTOTYPES
 11826+GLAPI void APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
 11827+#endif
 11828+#endif /* GL_OVR_multiview */
 11829+
 11830+#ifndef GL_OVR_multiview2
 11831+#define GL_OVR_multiview2 1
 11832+#endif /* GL_OVR_multiview2 */
 11833+
1069711834 #ifndef GL_PGI_misc_hints
1069811835 #define GL_PGI_misc_hints 1
1069911836 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
@@ -11249,10 +12386,10 @@
1125012387
1125112388 #ifndef GL_SGIX_resample
1125212389 #define GL_SGIX_resample 1
11253 -#define GL_PACK_RESAMPLE_SGIX 0x842C
11254 -#define GL_UNPACK_RESAMPLE_SGIX 0x842D
11255 -#define GL_RESAMPLE_REPLICATE_SGIX 0x842E
11256 -#define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
 12390+#define GL_PACK_RESAMPLE_SGIX 0x842E
 12391+#define GL_UNPACK_RESAMPLE_SGIX 0x842F
 12392+#define GL_RESAMPLE_REPLICATE_SGIX 0x8433
 12393+#define GL_RESAMPLE_ZERO_FILL_SGIX 0x8434
1125712394 #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
1125812395 #endif /* GL_SGIX_resample */
1125912396
Index: ddraw/include/GL/wglext.h
@@ -1,5 +1,5 @@
2 -#ifndef __wglext_h_
3 -#define __wglext_h_ 1
 2+#ifndef __wgl_wglext_h_
 3+#define __wgl_wglext_h_ 1
44
55 #ifdef __cplusplus
66 extern "C" {
@@ -6,7 +6,7 @@
77 #endif
88
99 /*
10 -** Copyright (c) 2013-2014 The Khronos Group Inc.
 10+** Copyright (c) 2013-2018 The Khronos Group Inc.
1111 **
1212 ** Permission is hereby granted, free of charge, to any person obtaining a
1313 ** copy of this software and/or associated documentation files (the
@@ -31,9 +31,7 @@
3232 ** This header is generated from the Khronos OpenGL / OpenGL ES XML
3333 ** API Registry. The current version of the Registry, generator scripts
3434 ** used to make the header, and the header can be found at
35 -** http://www.opengl.org/registry/
36 -**
37 -** Khronos $Revision: 27684 $ on $Date: 2014-08-11 01:21:35 -0700 (Mon, 11 Aug 2014) $
 35+** https://github.com/KhronosGroup/OpenGL-Registry
3836 */
3937
4038 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
@@ -41,7 +39,7 @@
4240 #include <windows.h>
4341 #endif
4442
45 -#define WGL_WGLEXT_VERSION 20140810
 43+#define WGL_WGLEXT_VERSION 20181017
4644
4745 /* Generated C header for:
4846 * API: wgl
@@ -92,6 +90,11 @@
9391 #endif
9492 #endif /* WGL_ARB_create_context */
9593
 94+#ifndef WGL_ARB_create_context_no_error
 95+#define WGL_ARB_create_context_no_error 1
 96+#define WGL_CONTEXT_OPENGL_NO_ERROR_ARB 0x31B3
 97+#endif /* WGL_ARB_create_context_no_error */
 98+
9699 #ifndef WGL_ARB_create_context_profile
97100 #define WGL_ARB_create_context_profile 1
98101 #define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126
@@ -341,6 +344,18 @@
342345 #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0
343346 #endif /* WGL_ATI_pixel_format_float */
344347
 348+#ifndef WGL_ATI_render_texture_rectangle
 349+#define WGL_ATI_render_texture_rectangle 1
 350+#define WGL_TEXTURE_RECTANGLE_ATI 0x21A5
 351+#endif /* WGL_ATI_render_texture_rectangle */
 352+
 353+#ifndef WGL_EXT_colorspace
 354+#define WGL_EXT_colorspace 1
 355+#define WGL_COLORSPACE_EXT 0x309D
 356+#define WGL_COLORSPACE_SRGB_EXT 0x3089
 357+#define WGL_COLORSPACE_LINEAR_EXT 0x308A
 358+#endif /* WGL_EXT_colorspace */
 359+
345360 #ifndef WGL_EXT_create_context_es2_profile
346361 #define WGL_EXT_create_context_es2_profile 1
347362 #define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
Index: ddraw/include/KHR/khrplatform.h
@@ -0,0 +1,282 @@
 2+#ifndef __khrplatform_h_
 3+#define __khrplatform_h_
 4+
 5+/*
 6+** Copyright (c) 2008-2018 The Khronos Group Inc.
 7+**
 8+** Permission is hereby granted, free of charge, to any person obtaining a
 9+** copy of this software and/or associated documentation files (the
 10+** "Materials"), to deal in the Materials without restriction, including
 11+** without limitation the rights to use, copy, modify, merge, publish,
 12+** distribute, sublicense, and/or sell copies of the Materials, and to
 13+** permit persons to whom the Materials are furnished to do so, subject to
 14+** the following conditions:
 15+**
 16+** The above copyright notice and this permission notice shall be included
 17+** in all copies or substantial portions of the Materials.
 18+**
 19+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 20+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 21+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 22+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
 23+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 24+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 25+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
 26+*/
 27+
 28+/* Khronos platform-specific types and definitions.
 29+ *
 30+ * The master copy of khrplatform.h is maintained in the Khronos EGL
 31+ * Registry repository at https://github.com/KhronosGroup/EGL-Registry
 32+ * The last semantic modification to khrplatform.h was at commit ID:
 33+ * 67a3e0864c2d75ea5287b9f3d2eb74a745936692
 34+ *
 35+ * Adopters may modify this file to suit their platform. Adopters are
 36+ * encouraged to submit platform specific modifications to the Khronos
 37+ * group so that they can be included in future versions of this file.
 38+ * Please submit changes by filing pull requests or issues on
 39+ * the EGL Registry repository linked above.
 40+ *
 41+ *
 42+ * See the Implementer's Guidelines for information about where this file
 43+ * should be located on your system and for more details of its use:
 44+ * http://www.khronos.org/registry/implementers_guide.pdf
 45+ *
 46+ * This file should be included as
 47+ * #include <KHR/khrplatform.h>
 48+ * by Khronos client API header files that use its types and defines.
 49+ *
 50+ * The types in khrplatform.h should only be used to define API-specific types.
 51+ *
 52+ * Types defined in khrplatform.h:
 53+ * khronos_int8_t signed 8 bit
 54+ * khronos_uint8_t unsigned 8 bit
 55+ * khronos_int16_t signed 16 bit
 56+ * khronos_uint16_t unsigned 16 bit
 57+ * khronos_int32_t signed 32 bit
 58+ * khronos_uint32_t unsigned 32 bit
 59+ * khronos_int64_t signed 64 bit
 60+ * khronos_uint64_t unsigned 64 bit
 61+ * khronos_intptr_t signed same number of bits as a pointer
 62+ * khronos_uintptr_t unsigned same number of bits as a pointer
 63+ * khronos_ssize_t signed size
 64+ * khronos_usize_t unsigned size
 65+ * khronos_float_t signed 32 bit floating point
 66+ * khronos_time_ns_t unsigned 64 bit time in nanoseconds
 67+ * khronos_utime_nanoseconds_t unsigned time interval or absolute time in
 68+ * nanoseconds
 69+ * khronos_stime_nanoseconds_t signed time interval in nanoseconds
 70+ * khronos_boolean_enum_t enumerated boolean type. This should
 71+ * only be used as a base type when a client API's boolean type is
 72+ * an enum. Client APIs which use an integer or other type for
 73+ * booleans cannot use this as the base type for their boolean.
 74+ *
 75+ * Tokens defined in khrplatform.h:
 76+ *
 77+ * KHRONOS_FALSE, KHRONOS_TRUE Enumerated boolean false/true values.
 78+ *
 79+ * KHRONOS_SUPPORT_INT64 is 1 if 64 bit integers are supported; otherwise 0.
 80+ * KHRONOS_SUPPORT_FLOAT is 1 if floats are supported; otherwise 0.
 81+ *
 82+ * Calling convention macros defined in this file:
 83+ * KHRONOS_APICALL
 84+ * KHRONOS_APIENTRY
 85+ * KHRONOS_APIATTRIBUTES
 86+ *
 87+ * These may be used in function prototypes as:
 88+ *
 89+ * KHRONOS_APICALL void KHRONOS_APIENTRY funcname(
 90+ * int arg1,
 91+ * int arg2) KHRONOS_APIATTRIBUTES;
 92+ */
 93+
 94+/*-------------------------------------------------------------------------
 95+ * Definition of KHRONOS_APICALL
 96+ *-------------------------------------------------------------------------
 97+ * This precedes the return type of the function in the function prototype.
 98+ */
 99+#if defined(_WIN32) && !defined(__SCITECH_SNAP__)
 100+# define KHRONOS_APICALL __declspec(dllimport)
 101+#elif defined (__SYMBIAN32__)
 102+# define KHRONOS_APICALL IMPORT_C
 103+#elif defined(__ANDROID__)
 104+# define KHRONOS_APICALL __attribute__((visibility("default")))
 105+#else
 106+# define KHRONOS_APICALL
 107+#endif
 108+
 109+/*-------------------------------------------------------------------------
 110+ * Definition of KHRONOS_APIENTRY
 111+ *-------------------------------------------------------------------------
 112+ * This follows the return type of the function and precedes the function
 113+ * name in the function prototype.
 114+ */
 115+#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
 116+ /* Win32 but not WinCE */
 117+# define KHRONOS_APIENTRY __stdcall
 118+#else
 119+# define KHRONOS_APIENTRY
 120+#endif
 121+
 122+/*-------------------------------------------------------------------------
 123+ * Definition of KHRONOS_APIATTRIBUTES
 124+ *-------------------------------------------------------------------------
 125+ * This follows the closing parenthesis of the function prototype arguments.
 126+ */
 127+#if defined (__ARMCC_2__)
 128+#define KHRONOS_APIATTRIBUTES __softfp
 129+#else
 130+#define KHRONOS_APIATTRIBUTES
 131+#endif
 132+
 133+/*-------------------------------------------------------------------------
 134+ * basic type definitions
 135+ *-----------------------------------------------------------------------*/
 136+#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__)
 137+
 138+
 139+/*
 140+ * Using <stdint.h>
 141+ */
 142+#include <stdint.h>
 143+typedef int32_t khronos_int32_t;
 144+typedef uint32_t khronos_uint32_t;
 145+typedef int64_t khronos_int64_t;
 146+typedef uint64_t khronos_uint64_t;
 147+#define KHRONOS_SUPPORT_INT64 1
 148+#define KHRONOS_SUPPORT_FLOAT 1
 149+
 150+#elif defined(__VMS ) || defined(__sgi)
 151+
 152+/*
 153+ * Using <inttypes.h>
 154+ */
 155+#include <inttypes.h>
 156+typedef int32_t khronos_int32_t;
 157+typedef uint32_t khronos_uint32_t;
 158+typedef int64_t khronos_int64_t;
 159+typedef uint64_t khronos_uint64_t;
 160+#define KHRONOS_SUPPORT_INT64 1
 161+#define KHRONOS_SUPPORT_FLOAT 1
 162+
 163+#elif defined(_WIN32) && !defined(__SCITECH_SNAP__)
 164+
 165+/*
 166+ * Win32
 167+ */
 168+typedef __int32 khronos_int32_t;
 169+typedef unsigned __int32 khronos_uint32_t;
 170+typedef __int64 khronos_int64_t;
 171+typedef unsigned __int64 khronos_uint64_t;
 172+#define KHRONOS_SUPPORT_INT64 1
 173+#define KHRONOS_SUPPORT_FLOAT 1
 174+
 175+#elif defined(__sun__) || defined(__digital__)
 176+
 177+/*
 178+ * Sun or Digital
 179+ */
 180+typedef int khronos_int32_t;
 181+typedef unsigned int khronos_uint32_t;
 182+#if defined(__arch64__) || defined(_LP64)
 183+typedef long int khronos_int64_t;
 184+typedef unsigned long int khronos_uint64_t;
 185+#else
 186+typedef long long int khronos_int64_t;
 187+typedef unsigned long long int khronos_uint64_t;
 188+#endif /* __arch64__ */
 189+#define KHRONOS_SUPPORT_INT64 1
 190+#define KHRONOS_SUPPORT_FLOAT 1
 191+
 192+#elif 0
 193+
 194+/*
 195+ * Hypothetical platform with no float or int64 support
 196+ */
 197+typedef int khronos_int32_t;
 198+typedef unsigned int khronos_uint32_t;
 199+#define KHRONOS_SUPPORT_INT64 0
 200+#define KHRONOS_SUPPORT_FLOAT 0
 201+
 202+#else
 203+
 204+/*
 205+ * Generic fallback
 206+ */
 207+#include <stdint.h>
 208+typedef int32_t khronos_int32_t;
 209+typedef uint32_t khronos_uint32_t;
 210+typedef int64_t khronos_int64_t;
 211+typedef uint64_t khronos_uint64_t;
 212+#define KHRONOS_SUPPORT_INT64 1
 213+#define KHRONOS_SUPPORT_FLOAT 1
 214+
 215+#endif
 216+
 217+
 218+/*
 219+ * Types that are (so far) the same on all platforms
 220+ */
 221+typedef signed char khronos_int8_t;
 222+typedef unsigned char khronos_uint8_t;
 223+typedef signed short int khronos_int16_t;
 224+typedef unsigned short int khronos_uint16_t;
 225+
 226+/*
 227+ * Types that differ between LLP64 and LP64 architectures - in LLP64,
 228+ * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears
 229+ * to be the only LLP64 architecture in current use.
 230+ */
 231+#ifdef _WIN64
 232+typedef signed long long int khronos_intptr_t;
 233+typedef unsigned long long int khronos_uintptr_t;
 234+typedef signed long long int khronos_ssize_t;
 235+typedef unsigned long long int khronos_usize_t;
 236+#else
 237+typedef signed long int khronos_intptr_t;
 238+typedef unsigned long int khronos_uintptr_t;
 239+typedef signed long int khronos_ssize_t;
 240+typedef unsigned long int khronos_usize_t;
 241+#endif
 242+
 243+#if KHRONOS_SUPPORT_FLOAT
 244+/*
 245+ * Float type
 246+ */
 247+typedef float khronos_float_t;
 248+#endif
 249+
 250+#if KHRONOS_SUPPORT_INT64
 251+/* Time types
 252+ *
 253+ * These types can be used to represent a time interval in nanoseconds or
 254+ * an absolute Unadjusted System Time. Unadjusted System Time is the number
 255+ * of nanoseconds since some arbitrary system event (e.g. since the last
 256+ * time the system booted). The Unadjusted System Time is an unsigned
 257+ * 64 bit value that wraps back to 0 every 584 years. Time intervals
 258+ * may be either signed or unsigned.
 259+ */
 260+typedef khronos_uint64_t khronos_utime_nanoseconds_t;
 261+typedef khronos_int64_t khronos_stime_nanoseconds_t;
 262+#endif
 263+
 264+/*
 265+ * Dummy value used to pad enum types to 32 bits.
 266+ */
 267+#ifndef KHRONOS_MAX_ENUM
 268+#define KHRONOS_MAX_ENUM 0x7FFFFFFF
 269+#endif
 270+
 271+/*
 272+ * Enumerated boolean type
 273+ *
 274+ * Values other than zero should be considered to be true. Therefore
 275+ * comparisons should not be made against KHRONOS_TRUE.
 276+ */
 277+typedef enum {
 278+ KHRONOS_FALSE = 0,
 279+ KHRONOS_TRUE = 1,
 280+ KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM
 281+} khronos_boolean_enum_t;
 282+
 283+#endif /* __khrplatform_h_ */
Index: dxglcfg/dxglcfg.vcxproj
@@ -124,6 +124,7 @@
125125 <WarningLevel>Level3</WarningLevel>
126126 <Optimization>Disabled</Optimization>
127127 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 128+ <AdditionalIncludeDirectories>../ddraw/include</AdditionalIncludeDirectories>
128129 </ClCompile>
129130 <Link>
130131 <SubSystem>Windows</SubSystem>
@@ -138,6 +139,7 @@
139140 <WarningLevel>Level3</WarningLevel>
140141 <Optimization>Disabled</Optimization>
141142 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 143+ <AdditionalIncludeDirectories>../ddraw/include</AdditionalIncludeDirectories>
142144 </ClCompile>
143145 <Link>
144146 <SubSystem>Windows</SubSystem>
@@ -152,6 +154,7 @@
153155 <WarningLevel>Level3</WarningLevel>
154156 <Optimization>Disabled</Optimization>
155157 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 158+ <AdditionalIncludeDirectories>../ddraw/include</AdditionalIncludeDirectories>
156159 </ClCompile>
157160 <Link>
158161 <SubSystem>Windows</SubSystem>
@@ -168,6 +171,7 @@
169172 <FunctionLevelLinking>true</FunctionLevelLinking>
170173 <IntrinsicFunctions>true</IntrinsicFunctions>
171174 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 175+ <AdditionalIncludeDirectories>../ddraw/include</AdditionalIncludeDirectories>
172176 </ClCompile>
173177 <Link>
174178 <SubSystem>Windows</SubSystem>
@@ -186,6 +190,7 @@
187191 <FunctionLevelLinking>true</FunctionLevelLinking>
188192 <IntrinsicFunctions>true</IntrinsicFunctions>
189193 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 194+ <AdditionalIncludeDirectories>../ddraw/include</AdditionalIncludeDirectories>
190195 </ClCompile>
191196 <Link>
192197 <SubSystem>Windows</SubSystem>
@@ -204,6 +209,7 @@
205210 <FunctionLevelLinking>true</FunctionLevelLinking>
206211 <IntrinsicFunctions>true</IntrinsicFunctions>
207212 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 213+ <AdditionalIncludeDirectories>../ddraw/include</AdditionalIncludeDirectories>
208214 </ClCompile>
209215 <Link>
210216 <SubSystem>Windows</SubSystem>
Index: vs8/ddraw/ddraw.vcproj
@@ -42,7 +42,7 @@
4343 <Tool
4444 Name="VCCLCompilerTool"
4545 Optimization="0"
46 - AdditionalIncludeDirectories="../include"
 46+ AdditionalIncludeDirectories="../../ddraw/include"
4747 PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_WINDOWS;_USRDLL;DDRAW_EXPORTS"
4848 MinimalRebuild="true"
4949 ExceptionHandling="2"
@@ -126,7 +126,7 @@
127127 />
128128 <Tool
129129 Name="VCCLCompilerTool"
130 - AdditionalIncludeDirectories="../include"
 130+ AdditionalIncludeDirectories="../../ddraw/include"
131131 PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_WINDOWS;_USRDLL;DDRAW_EXPORTS"
132132 ExceptionHandling="2"
133133 RuntimeLibrary="2"
Index: vs8/dxglcfg/dxglcfg.vcproj
@@ -40,6 +40,7 @@
4141 <Tool
4242 Name="VCCLCompilerTool"
4343 Optimization="0"
 44+ AdditionalIncludeDirectories="../../ddraw/include"
4445 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
4546 MinimalRebuild="true"
4647 BasicRuntimeChecks="3"
@@ -118,6 +119,7 @@
119120 />
120121 <Tool
121122 Name="VCCLCompilerTool"
 123+ AdditionalIncludeDirectories="../../ddraw/include"
122124 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
123125 RuntimeLibrary="2"
124126 UsePrecompiledHeader="0"