Changeset - r28573:aa33118c66c5
[Not reviewed]
master
0 3 0
Rubidium - 10 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
 
@@ -32,7 +32,7 @@ extern "C" {
 
#define GLAPI extern
 
#endif
 

	
 
#define GL_GLEXT_VERSION 20201119
 
#define GL_GLEXT_VERSION 20231129
 

	
 
#include "khrplatform.h"
 

	
 
@@ -5397,12 +5397,12 @@ typedef void (APIENTRY  *GLDEBUGPROCAMD)
 
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 */
 

	
 
@@ -7370,6 +7370,16 @@ GLAPI void APIENTRY glBlitFramebufferEXT
 
#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
 
@@ -7524,7 +7534,6 @@ GLAPI void APIENTRY glProgramLocalParame
 

	
 
#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
 
@@ -7552,6 +7561,7 @@ GLAPI void APIENTRY glProgramLocalParame
 
#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);
 
@@ -7563,6 +7573,29 @@ typedef void (APIENTRYP PFNGLUNIFORM1UIV
 
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);
 
@@ -7575,6 +7608,29 @@ GLAPI void APIENTRY glUniform1uivEXT (GL
 
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 */
 

	
 
@@ -8168,6 +8224,10 @@ GLAPI void APIENTRY glMemoryBarrierEXT (
 
#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 */
 
@@ -8536,6 +8596,11 @@ GLAPI void APIENTRY glTextureNormalEXT (
 
#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
 
@@ -8574,6 +8639,36 @@ GLAPI void APIENTRY glTextureNormalEXT (
 
#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
 
@@ -10163,12 +10258,6 @@ typedef void (APIENTRYP PFNGLMULTITEXCOO
 
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);
 
@@ -10181,6 +10270,12 @@ typedef void (APIENTRYP PFNGLVERTEXATTRI
 
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);
 
@@ -10210,12 +10305,6 @@ GLAPI void APIENTRY glMultiTexCoord3hNV 
 
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);
 
@@ -10228,6 +10317,12 @@ GLAPI void APIENTRY glVertexAttribs1hvNV
 
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 */
 

	
 
@@ -10630,7 +10725,7 @@ typedef void (APIENTRYP PFNGLSTENCILTHEN
 
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);
 
@@ -10695,7 +10790,7 @@ GLAPI void APIENTRY glStencilThenCoverFi
 
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);
 
@@ -11364,6 +11459,10 @@ GLAPI void APIENTRY glDrawTransformFeedb
 
#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
 
@@ -11765,54 +11864,6 @@ GLAPI void APIENTRY glVertexAttribs4ubvN
 
#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
src/3rdparty/opengl/khrplatform.h
Show inline comments
 
@@ -153,6 +153,20 @@ typedef int64_t                 khronos_
 
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)
 

	
 
@@ -235,14 +249,21 @@ typedef unsigned short int     khronos_u
 
 * 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
src/3rdparty/opengl/wglext.h
Show inline comments
 
@@ -20,7 +20,7 @@ extern "C" {
 
#include <windows.h>
 
#endif
 

	
 
#define WGL_WGLEXT_VERSION 20200813
 
#define WGL_WGLEXT_VERSION 20231018
 

	
 
/* Generated C header for:
 
 * API: wgl
0 comments (0 inline, 0 general)