Changeset - r28573:aa33118c66c5
[Not reviewed]
master
0 3 0
Rubidium - 9 months ago 2024-01-26 17:20:00
rubidium@openttd.org
Update: opengl; glext header to 20231129, wglext header to 20231018
3 files changed with 142 insertions and 70 deletions:
0 comments (0 inline, 0 general)
src/3rdparty/opengl/glext.h
Show inline comments
 
@@ -29,13 +29,13 @@ extern "C" {
 
#define APIENTRYP APIENTRY *
 
#endif
 
#ifndef GLAPI
 
#define GLAPI extern
 
#endif
 

	
 
#define GL_GLEXT_VERSION 20201119
 
#define GL_GLEXT_VERSION 20231129
 

	
 
#include "khrplatform.h"
 

	
 
/* Generated C header for:
 
 * API: gl
 
 * Profile: compatibility
 
@@ -5394,18 +5394,18 @@ typedef void (APIENTRY  *GLDEBUGPROCAMD)
 
#define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
 
#define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
 
#define GL_DEBUG_CATEGORY_OTHER_AMD       0x9150
 
typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
 
typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
 
typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
 
typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufSize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
 
typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufSize, GLenum *categories, GLenum *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
 
#ifdef GL_GLEXT_PROTOTYPES
 
GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
 
GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
 
GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
 
GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufSize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
 
GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufSize, GLenum *categories, GLenum *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
 
#endif
 
#endif /* GL_AMD_debug_output */
 

	
 
#ifndef GL_AMD_depth_clamp_separate
 
#define GL_AMD_depth_clamp_separate 1
 
#define GL_DEPTH_CLAMP_NEAR_AMD           0x901E
 
@@ -7367,12 +7367,22 @@ GLAPI void APIENTRY glFogCoordPointerEXT
 
typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
 
#ifdef GL_GLEXT_PROTOTYPES
 
GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
 
#endif
 
#endif /* GL_EXT_framebuffer_blit */
 

	
 
#ifndef GL_EXT_framebuffer_blit_layers
 
#define GL_EXT_framebuffer_blit_layers 1
 
typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERLAYERSEXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
 
typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERLAYEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint srcLayer, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLint dstLayer, GLbitfield mask, GLenum filter);
 
#ifdef GL_GLEXT_PROTOTYPES
 
GLAPI void APIENTRY glBlitFramebufferLayersEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
 
GLAPI void APIENTRY glBlitFramebufferLayerEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint srcLayer, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLint dstLayer, GLbitfield mask, GLenum filter);
 
#endif
 
#endif /* GL_EXT_framebuffer_blit_layers */
 

	
 
#ifndef GL_EXT_framebuffer_multisample
 
#define GL_EXT_framebuffer_multisample 1
 
#define GL_RENDERBUFFER_SAMPLES_EXT       0x8CAB
 
#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
 
#define GL_MAX_SAMPLES_EXT                0x8D57
 
typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
 
@@ -7521,13 +7531,12 @@ GLAPI void APIENTRY glProgramEnvParamete
 
GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
 
#endif
 
#endif /* GL_EXT_gpu_program_parameters */
 

	
 
#ifndef GL_EXT_gpu_shader4
 
#define GL_EXT_gpu_shader4 1
 
#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
 
#define GL_SAMPLER_1D_ARRAY_EXT           0x8DC0
 
#define GL_SAMPLER_2D_ARRAY_EXT           0x8DC1
 
#define GL_SAMPLER_BUFFER_EXT             0x8DC2
 
#define GL_SAMPLER_1D_ARRAY_SHADOW_EXT    0x8DC3
 
#define GL_SAMPLER_2D_ARRAY_SHADOW_EXT    0x8DC4
 
#define GL_SAMPLER_CUBE_SHADOW_EXT        0x8DC5
 
@@ -7549,35 +7558,82 @@ GLAPI void APIENTRY glProgramLocalParame
 
#define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
 
#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
 
#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
 
#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
 
#define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT   0x8904
 
#define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT   0x8905
 
#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
 
typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
 
typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
 
typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
 
typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
 
typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
 
typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
 
typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
 
typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
 
typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
 
typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
 
typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
 
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
 
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
 
#ifdef GL_GLEXT_PROTOTYPES
 
GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
 
GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
 
GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
 
GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
 
GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
 
GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
 
GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
 
GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
 
GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
 
GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
 
GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
 
GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
 
GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
 
GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
 
GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
 
GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
 
GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
 
GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
 
GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
 
GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
 
GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
 
GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
 
GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
 
GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
 
GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
 
GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
 
GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
 
GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
 
GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
 
GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
 
GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
 
GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
 
GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
 
GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
 
#endif
 
#endif /* GL_EXT_gpu_shader4 */
 

	
 
#ifndef GL_EXT_histogram
 
#define GL_EXT_histogram 1
 
#define GL_HISTOGRAM_EXT                  0x8024
 
@@ -8165,12 +8221,16 @@ GLAPI void APIENTRY glMemoryBarrierEXT (
 
#endif /* GL_EXT_shader_image_load_store */
 

	
 
#ifndef GL_EXT_shader_integer_mix
 
#define GL_EXT_shader_integer_mix 1
 
#endif /* GL_EXT_shader_integer_mix */
 

	
 
#ifndef GL_EXT_shader_samples_identical
 
#define GL_EXT_shader_samples_identical 1
 
#endif /* GL_EXT_shader_samples_identical */
 

	
 
#ifndef GL_EXT_shadow_funcs
 
#define GL_EXT_shadow_funcs 1
 
#endif /* GL_EXT_shadow_funcs */
 

	
 
#ifndef GL_EXT_shared_texture_palette
 
#define GL_EXT_shared_texture_palette 1
 
@@ -8533,12 +8593,17 @@ GLAPI void APIENTRY glTextureNormalEXT (
 

	
 
#ifndef GL_EXT_texture_sRGB_R8
 
#define GL_EXT_texture_sRGB_R8 1
 
#define GL_SR8_EXT                        0x8FBD
 
#endif /* GL_EXT_texture_sRGB_R8 */
 

	
 
#ifndef GL_EXT_texture_sRGB_RG8
 
#define GL_EXT_texture_sRGB_RG8 1
 
#define GL_SRG8_EXT                       0x8FBE
 
#endif /* GL_EXT_texture_sRGB_RG8 */
 

	
 
#ifndef GL_EXT_texture_sRGB_decode
 
#define GL_EXT_texture_sRGB_decode 1
 
#define GL_TEXTURE_SRGB_DECODE_EXT        0x8A48
 
#define GL_DECODE_EXT                     0x8A49
 
#define GL_SKIP_DECODE_EXT                0x8A4A
 
#endif /* GL_EXT_texture_sRGB_decode */
 
@@ -8571,12 +8636,42 @@ GLAPI void APIENTRY glTextureNormalEXT (
 
#define GL_RED_SNORM                      0x8F90
 
#define GL_RG_SNORM                       0x8F91
 
#define GL_RGB_SNORM                      0x8F92
 
#define GL_RGBA_SNORM                     0x8F93
 
#endif /* GL_EXT_texture_snorm */
 

	
 
#ifndef GL_EXT_texture_storage
 
#define GL_EXT_texture_storage 1
 
#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT   0x912F
 
#define GL_RGBA32F_EXT                    0x8814
 
#define GL_RGB32F_EXT                     0x8815
 
#define GL_ALPHA32F_EXT                   0x8816
 
#define GL_LUMINANCE32F_EXT               0x8818
 
#define GL_LUMINANCE_ALPHA32F_EXT         0x8819
 
#define GL_RGBA16F_EXT                    0x881A
 
#define GL_RGB16F_EXT                     0x881B
 
#define GL_ALPHA16F_EXT                   0x881C
 
#define GL_LUMINANCE16F_EXT               0x881E
 
#define GL_LUMINANCE_ALPHA16F_EXT         0x881F
 
#define GL_BGRA8_EXT                      0x93A1
 
#define GL_R8_EXT                         0x8229
 
#define GL_RG8_EXT                        0x822B
 
#define GL_R32F_EXT                       0x822E
 
#define GL_RG32F_EXT                      0x8230
 
#define GL_R16F_EXT                       0x822D
 
#define GL_RG16F_EXT                      0x822F
 
typedef void (APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
 
typedef void (APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
 
typedef void (APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
 
#ifdef GL_GLEXT_PROTOTYPES
 
GLAPI void APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
 
GLAPI void APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
 
GLAPI void APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
 
#endif
 
#endif /* GL_EXT_texture_storage */
 

	
 
#ifndef GL_EXT_texture_swizzle
 
#define GL_EXT_texture_swizzle 1
 
#define GL_TEXTURE_SWIZZLE_R_EXT          0x8E42
 
#define GL_TEXTURE_SWIZZLE_G_EXT          0x8E43
 
#define GL_TEXTURE_SWIZZLE_B_EXT          0x8E44
 
#define GL_TEXTURE_SWIZZLE_A_EXT          0x8E45
 
@@ -10160,30 +10255,30 @@ typedef void (APIENTRYP PFNGLMULTITEXCOO
 
typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
 
typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
 
typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
 
typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
 
typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
 
typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
 
typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
 
typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
 
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
 
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
 
typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
 
typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
 
typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
 
typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
 
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
 
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
 
typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
 
typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
 
#ifdef GL_GLEXT_PROTOTYPES
 
GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
 
GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
 
GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
 
GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
 
GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
 
@@ -10207,30 +10302,30 @@ GLAPI void APIENTRY glMultiTexCoord1hvNV
 
GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
 
GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
 
GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
 
GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
 
GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
 
GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
 
GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
 
GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
 
GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
 
GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
 
GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
 
GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
 
GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
 
GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
 
GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
 
GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
 
GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
 
GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
 
GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
 
GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
 
GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
 
GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
 
GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
 
GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
 
GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
 
GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
 
GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
 
GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
 
GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
 
GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
 
#endif
 
#endif /* GL_NV_half_float */
 

	
 
#ifndef GL_NV_internalformat_sample_query
 
#define GL_NV_internalformat_sample_query 1
 
#define GL_MULTISAMPLES_NV                0x9371
 
@@ -10627,13 +10722,13 @@ typedef void (APIENTRYP PFNGLMATRIXMULT3
 
typedef void (APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
 
typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
 
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
 
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
 
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
 
typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
 
typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
 
typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
 
typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
 
typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
 
typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
 
typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
 
typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
 
typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
 
@@ -10692,13 +10787,13 @@ GLAPI void APIENTRY glMatrixMult3x2fNV (
 
GLAPI void APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m);
 
GLAPI void APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
 
GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
 
GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
 
GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
 
GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
 
GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
 
GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
 
GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
 
GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
 
GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
 
GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
 
GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
 
GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
 
@@ -11361,12 +11456,16 @@ GLAPI GLboolean APIENTRY glIsTransformFe
 
GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
 
GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
 
GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
 
#endif
 
#endif /* GL_NV_transform_feedback2 */
 

	
 
#ifndef GL_NV_uniform_buffer_std430_layout
 
#define GL_NV_uniform_buffer_std430_layout 1
 
#endif /* GL_NV_uniform_buffer_std430_layout */
 

	
 
#ifndef GL_NV_uniform_buffer_unified_memory
 
#define GL_NV_uniform_buffer_unified_memory 1
 
#define GL_UNIFORM_BUFFER_UNIFIED_NV      0x936E
 
#define GL_UNIFORM_BUFFER_ADDRESS_NV      0x936F
 
#define GL_UNIFORM_BUFFER_LENGTH_NV       0x9370
 
#endif /* GL_NV_uniform_buffer_unified_memory */
 
@@ -11762,60 +11861,12 @@ GLAPI void APIENTRY glVertexAttribs4ubvN
 
#define GL_NV_vertex_program3 1
 
#endif /* GL_NV_vertex_program3 */
 

	
 
#ifndef GL_NV_vertex_program4
 
#define GL_NV_vertex_program4 1
 
#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
 
typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
 
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
 
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
 
#ifdef GL_GLEXT_PROTOTYPES
 
GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
 
GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
 
GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
 
GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
 
GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
 
GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
 
GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
 
GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
 
GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
 
GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
 
GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
 
GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
 
GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
 
GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
 
GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
 
GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
 
GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
 
GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
 
GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
 
GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
 
GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
 
GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
 
GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
 
#endif
 
#endif /* GL_NV_vertex_program4 */
 

	
 
#ifndef GL_NV_video_capture
 
#define GL_NV_video_capture 1
 
#define GL_VIDEO_BUFFER_NV                0x9020
 
#define GL_VIDEO_BUFFER_BINDING_NV        0x9021
src/3rdparty/opengl/khrplatform.h
Show inline comments
 
@@ -150,12 +150,26 @@
 
typedef int32_t                 khronos_int32_t;
 
typedef uint32_t                khronos_uint32_t;
 
typedef int64_t                 khronos_int64_t;
 
typedef uint64_t                khronos_uint64_t;
 
#define KHRONOS_SUPPORT_INT64   1
 
#define KHRONOS_SUPPORT_FLOAT   1
 
/*
 
 * To support platform where unsigned long cannot be used interchangeably with
 
 * inptr_t (e.g. CHERI-extended ISAs), we can use the stdint.h intptr_t.
 
 * Ideally, we could just use (u)intptr_t everywhere, but this could result in
 
 * ABI breakage if khronos_uintptr_t is changed from unsigned long to
 
 * unsigned long long or similar (this results in different C++ name mangling).
 
 * To avoid changes for existing platforms, we restrict usage of intptr_t to
 
 * platforms where the size of a pointer is larger than the size of long.
 
 */
 
#if defined(__SIZEOF_LONG__) && defined(__SIZEOF_POINTER__)
 
#if __SIZEOF_POINTER__ > __SIZEOF_LONG__
 
#define KHRONOS_USE_INTPTR_T
 
#endif
 
#endif
 

	
 
#elif defined(__VMS ) || defined(__sgi)
 

	
 
/*
 
 * Using <inttypes.h>
 
 */
 
@@ -232,20 +246,27 @@ typedef unsigned short int     khronos_u
 

	
 
/*
 
 * Types that differ between LLP64 and LP64 architectures - in LLP64,
 
 * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears
 
 * to be the only LLP64 architecture in current use.
 
 */
 
#ifdef _WIN64
 
#ifdef KHRONOS_USE_INTPTR_T
 
typedef intptr_t               khronos_intptr_t;
 
typedef uintptr_t              khronos_uintptr_t;
 
#elif defined(_WIN64)
 
typedef signed   long long int khronos_intptr_t;
 
typedef unsigned long long int khronos_uintptr_t;
 
#else
 
typedef signed   long  int     khronos_intptr_t;
 
typedef unsigned long  int     khronos_uintptr_t;
 
#endif
 

	
 
#if defined(_WIN64)
 
typedef signed   long long int khronos_ssize_t;
 
typedef unsigned long long int khronos_usize_t;
 
#else
 
typedef signed   long  int     khronos_intptr_t;
 
typedef unsigned long  int     khronos_uintptr_t;
 
typedef signed   long  int     khronos_ssize_t;
 
typedef unsigned long  int     khronos_usize_t;
 
#endif
 

	
 
#if KHRONOS_SUPPORT_FLOAT
 
/*
src/3rdparty/opengl/wglext.h
Show inline comments
 
@@ -17,13 +17,13 @@ extern "C" {
 

	
 
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
 
#define WIN32_LEAN_AND_MEAN 1
 
#include <windows.h>
 
#endif
 

	
 
#define WGL_WGLEXT_VERSION 20200813
 
#define WGL_WGLEXT_VERSION 20231018
 

	
 
/* Generated C header for:
 
 * API: wgl
 
 * Versions considered: .*
 
 * Versions emitted: _nomatch_^
 
 * Default extensions included: wgl
0 comments (0 inline, 0 general)