1b8e80941Smrg#ifndef __gl_glcorearb_h_ 2b8e80941Smrg#define __gl_glcorearb_h_ 1 3848b8605Smrg 4848b8605Smrg#ifdef __cplusplus 5848b8605Smrgextern "C" { 6848b8605Smrg#endif 7848b8605Smrg 8848b8605Smrg/* 9b8e80941Smrg** Copyright (c) 2013-2018 The Khronos Group Inc. 10848b8605Smrg** 11848b8605Smrg** Permission is hereby granted, free of charge, to any person obtaining a 12848b8605Smrg** copy of this software and/or associated documentation files (the 13848b8605Smrg** "Materials"), to deal in the Materials without restriction, including 14848b8605Smrg** without limitation the rights to use, copy, modify, merge, publish, 15848b8605Smrg** distribute, sublicense, and/or sell copies of the Materials, and to 16848b8605Smrg** permit persons to whom the Materials are furnished to do so, subject to 17848b8605Smrg** the following conditions: 18848b8605Smrg** 19848b8605Smrg** The above copyright notice and this permission notice shall be included 20848b8605Smrg** in all copies or substantial portions of the Materials. 21848b8605Smrg** 22848b8605Smrg** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 23848b8605Smrg** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 24848b8605Smrg** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 25848b8605Smrg** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 26848b8605Smrg** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 27848b8605Smrg** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 28848b8605Smrg** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 29848b8605Smrg*/ 30848b8605Smrg/* 31848b8605Smrg** This header is generated from the Khronos OpenGL / OpenGL ES XML 32848b8605Smrg** API Registry. The current version of the Registry, generator scripts 33848b8605Smrg** used to make the header, and the header can be found at 34b8e80941Smrg** https://github.com/KhronosGroup/OpenGL-Registry 35848b8605Smrg*/ 36848b8605Smrg 37848b8605Smrg#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) 38848b8605Smrg#ifndef WIN32_LEAN_AND_MEAN 39848b8605Smrg#define WIN32_LEAN_AND_MEAN 1 40848b8605Smrg#endif 41848b8605Smrg#include <windows.h> 42848b8605Smrg#endif 43848b8605Smrg 44848b8605Smrg#ifndef APIENTRY 45848b8605Smrg#define APIENTRY 46848b8605Smrg#endif 47848b8605Smrg#ifndef APIENTRYP 48848b8605Smrg#define APIENTRYP APIENTRY * 49848b8605Smrg#endif 50848b8605Smrg#ifndef GLAPI 51848b8605Smrg#define GLAPI extern 52848b8605Smrg#endif 53848b8605Smrg 54848b8605Smrg/* glcorearb.h is for use with OpenGL core profile implementations. 55848b8605Smrg** It should should be placed in the same directory as gl.h and 56848b8605Smrg** included as <GL/glcorearb.h>. 57848b8605Smrg** 58848b8605Smrg** glcorearb.h includes only APIs in the latest OpenGL core profile 59848b8605Smrg** implementation together with APIs in newer ARB extensions which 60848b8605Smrg** can be supported by the core profile. It does not, and never will 61848b8605Smrg** include functionality removed from the core profile, such as 62848b8605Smrg** fixed-function vertex and fragment processing. 63848b8605Smrg** 64848b8605Smrg** Do not #include both <GL/glcorearb.h> and either of <GL/gl.h> or 65848b8605Smrg** <GL/glext.h> in the same source file. 66848b8605Smrg*/ 67848b8605Smrg 68848b8605Smrg/* Generated C header for: 69848b8605Smrg * API: gl 70848b8605Smrg * Profile: core 71848b8605Smrg * Versions considered: .* 72848b8605Smrg * Versions emitted: .* 73848b8605Smrg * Default extensions included: glcore 74848b8605Smrg * Additional extensions included: _nomatch_^ 75848b8605Smrg * Extensions removed: _nomatch_^ 76848b8605Smrg */ 77848b8605Smrg 78848b8605Smrg#ifndef GL_VERSION_1_0 79848b8605Smrg#define GL_VERSION_1_0 1 80848b8605Smrgtypedef void GLvoid; 81848b8605Smrgtypedef unsigned int GLenum; 82848b8605Smrgtypedef float GLfloat; 83848b8605Smrgtypedef int GLint; 84848b8605Smrgtypedef int GLsizei; 85848b8605Smrgtypedef unsigned int GLbitfield; 86848b8605Smrgtypedef double GLdouble; 87848b8605Smrgtypedef unsigned int GLuint; 88848b8605Smrgtypedef unsigned char GLboolean; 89848b8605Smrgtypedef unsigned char GLubyte; 90848b8605Smrg#define GL_DEPTH_BUFFER_BIT 0x00000100 91848b8605Smrg#define GL_STENCIL_BUFFER_BIT 0x00000400 92848b8605Smrg#define GL_COLOR_BUFFER_BIT 0x00004000 93848b8605Smrg#define GL_FALSE 0 94848b8605Smrg#define GL_TRUE 1 95848b8605Smrg#define GL_POINTS 0x0000 96848b8605Smrg#define GL_LINES 0x0001 97848b8605Smrg#define GL_LINE_LOOP 0x0002 98848b8605Smrg#define GL_LINE_STRIP 0x0003 99848b8605Smrg#define GL_TRIANGLES 0x0004 100848b8605Smrg#define GL_TRIANGLE_STRIP 0x0005 101848b8605Smrg#define GL_TRIANGLE_FAN 0x0006 102848b8605Smrg#define GL_QUADS 0x0007 103848b8605Smrg#define GL_NEVER 0x0200 104848b8605Smrg#define GL_LESS 0x0201 105848b8605Smrg#define GL_EQUAL 0x0202 106848b8605Smrg#define GL_LEQUAL 0x0203 107848b8605Smrg#define GL_GREATER 0x0204 108848b8605Smrg#define GL_NOTEQUAL 0x0205 109848b8605Smrg#define GL_GEQUAL 0x0206 110848b8605Smrg#define GL_ALWAYS 0x0207 111848b8605Smrg#define GL_ZERO 0 112848b8605Smrg#define GL_ONE 1 113848b8605Smrg#define GL_SRC_COLOR 0x0300 114848b8605Smrg#define GL_ONE_MINUS_SRC_COLOR 0x0301 115848b8605Smrg#define GL_SRC_ALPHA 0x0302 116848b8605Smrg#define GL_ONE_MINUS_SRC_ALPHA 0x0303 117848b8605Smrg#define GL_DST_ALPHA 0x0304 118848b8605Smrg#define GL_ONE_MINUS_DST_ALPHA 0x0305 119848b8605Smrg#define GL_DST_COLOR 0x0306 120848b8605Smrg#define GL_ONE_MINUS_DST_COLOR 0x0307 121848b8605Smrg#define GL_SRC_ALPHA_SATURATE 0x0308 122848b8605Smrg#define GL_NONE 0 123848b8605Smrg#define GL_FRONT_LEFT 0x0400 124848b8605Smrg#define GL_FRONT_RIGHT 0x0401 125848b8605Smrg#define GL_BACK_LEFT 0x0402 126848b8605Smrg#define GL_BACK_RIGHT 0x0403 127848b8605Smrg#define GL_FRONT 0x0404 128848b8605Smrg#define GL_BACK 0x0405 129848b8605Smrg#define GL_LEFT 0x0406 130848b8605Smrg#define GL_RIGHT 0x0407 131848b8605Smrg#define GL_FRONT_AND_BACK 0x0408 132848b8605Smrg#define GL_NO_ERROR 0 133848b8605Smrg#define GL_INVALID_ENUM 0x0500 134848b8605Smrg#define GL_INVALID_VALUE 0x0501 135848b8605Smrg#define GL_INVALID_OPERATION 0x0502 136848b8605Smrg#define GL_OUT_OF_MEMORY 0x0505 137848b8605Smrg#define GL_CW 0x0900 138848b8605Smrg#define GL_CCW 0x0901 139848b8605Smrg#define GL_POINT_SIZE 0x0B11 140848b8605Smrg#define GL_POINT_SIZE_RANGE 0x0B12 141848b8605Smrg#define GL_POINT_SIZE_GRANULARITY 0x0B13 142848b8605Smrg#define GL_LINE_SMOOTH 0x0B20 143848b8605Smrg#define GL_LINE_WIDTH 0x0B21 144848b8605Smrg#define GL_LINE_WIDTH_RANGE 0x0B22 145848b8605Smrg#define GL_LINE_WIDTH_GRANULARITY 0x0B23 146848b8605Smrg#define GL_POLYGON_MODE 0x0B40 147848b8605Smrg#define GL_POLYGON_SMOOTH 0x0B41 148848b8605Smrg#define GL_CULL_FACE 0x0B44 149848b8605Smrg#define GL_CULL_FACE_MODE 0x0B45 150848b8605Smrg#define GL_FRONT_FACE 0x0B46 151848b8605Smrg#define GL_DEPTH_RANGE 0x0B70 152848b8605Smrg#define GL_DEPTH_TEST 0x0B71 153848b8605Smrg#define GL_DEPTH_WRITEMASK 0x0B72 154848b8605Smrg#define GL_DEPTH_CLEAR_VALUE 0x0B73 155848b8605Smrg#define GL_DEPTH_FUNC 0x0B74 156848b8605Smrg#define GL_STENCIL_TEST 0x0B90 157848b8605Smrg#define GL_STENCIL_CLEAR_VALUE 0x0B91 158848b8605Smrg#define GL_STENCIL_FUNC 0x0B92 159848b8605Smrg#define GL_STENCIL_VALUE_MASK 0x0B93 160848b8605Smrg#define GL_STENCIL_FAIL 0x0B94 161848b8605Smrg#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 162848b8605Smrg#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 163848b8605Smrg#define GL_STENCIL_REF 0x0B97 164848b8605Smrg#define GL_STENCIL_WRITEMASK 0x0B98 165848b8605Smrg#define GL_VIEWPORT 0x0BA2 166848b8605Smrg#define GL_DITHER 0x0BD0 167848b8605Smrg#define GL_BLEND_DST 0x0BE0 168848b8605Smrg#define GL_BLEND_SRC 0x0BE1 169848b8605Smrg#define GL_BLEND 0x0BE2 170848b8605Smrg#define GL_LOGIC_OP_MODE 0x0BF0 171848b8605Smrg#define GL_DRAW_BUFFER 0x0C01 172848b8605Smrg#define GL_READ_BUFFER 0x0C02 173848b8605Smrg#define GL_SCISSOR_BOX 0x0C10 174848b8605Smrg#define GL_SCISSOR_TEST 0x0C11 175848b8605Smrg#define GL_COLOR_CLEAR_VALUE 0x0C22 176848b8605Smrg#define GL_COLOR_WRITEMASK 0x0C23 177848b8605Smrg#define GL_DOUBLEBUFFER 0x0C32 178848b8605Smrg#define GL_STEREO 0x0C33 179848b8605Smrg#define GL_LINE_SMOOTH_HINT 0x0C52 180848b8605Smrg#define GL_POLYGON_SMOOTH_HINT 0x0C53 181848b8605Smrg#define GL_UNPACK_SWAP_BYTES 0x0CF0 182848b8605Smrg#define GL_UNPACK_LSB_FIRST 0x0CF1 183848b8605Smrg#define GL_UNPACK_ROW_LENGTH 0x0CF2 184848b8605Smrg#define GL_UNPACK_SKIP_ROWS 0x0CF3 185848b8605Smrg#define GL_UNPACK_SKIP_PIXELS 0x0CF4 186848b8605Smrg#define GL_UNPACK_ALIGNMENT 0x0CF5 187848b8605Smrg#define GL_PACK_SWAP_BYTES 0x0D00 188848b8605Smrg#define GL_PACK_LSB_FIRST 0x0D01 189848b8605Smrg#define GL_PACK_ROW_LENGTH 0x0D02 190848b8605Smrg#define GL_PACK_SKIP_ROWS 0x0D03 191848b8605Smrg#define GL_PACK_SKIP_PIXELS 0x0D04 192848b8605Smrg#define GL_PACK_ALIGNMENT 0x0D05 193848b8605Smrg#define GL_MAX_TEXTURE_SIZE 0x0D33 194848b8605Smrg#define GL_MAX_VIEWPORT_DIMS 0x0D3A 195848b8605Smrg#define GL_SUBPIXEL_BITS 0x0D50 196848b8605Smrg#define GL_TEXTURE_1D 0x0DE0 197848b8605Smrg#define GL_TEXTURE_2D 0x0DE1 198848b8605Smrg#define GL_TEXTURE_WIDTH 0x1000 199848b8605Smrg#define GL_TEXTURE_HEIGHT 0x1001 200848b8605Smrg#define GL_TEXTURE_BORDER_COLOR 0x1004 201848b8605Smrg#define GL_DONT_CARE 0x1100 202848b8605Smrg#define GL_FASTEST 0x1101 203848b8605Smrg#define GL_NICEST 0x1102 204848b8605Smrg#define GL_BYTE 0x1400 205848b8605Smrg#define GL_UNSIGNED_BYTE 0x1401 206848b8605Smrg#define GL_SHORT 0x1402 207848b8605Smrg#define GL_UNSIGNED_SHORT 0x1403 208848b8605Smrg#define GL_INT 0x1404 209848b8605Smrg#define GL_UNSIGNED_INT 0x1405 210848b8605Smrg#define GL_FLOAT 0x1406 211848b8605Smrg#define GL_STACK_OVERFLOW 0x0503 212848b8605Smrg#define GL_STACK_UNDERFLOW 0x0504 213848b8605Smrg#define GL_CLEAR 0x1500 214848b8605Smrg#define GL_AND 0x1501 215848b8605Smrg#define GL_AND_REVERSE 0x1502 216848b8605Smrg#define GL_COPY 0x1503 217848b8605Smrg#define GL_AND_INVERTED 0x1504 218848b8605Smrg#define GL_NOOP 0x1505 219848b8605Smrg#define GL_XOR 0x1506 220848b8605Smrg#define GL_OR 0x1507 221848b8605Smrg#define GL_NOR 0x1508 222848b8605Smrg#define GL_EQUIV 0x1509 223848b8605Smrg#define GL_INVERT 0x150A 224848b8605Smrg#define GL_OR_REVERSE 0x150B 225848b8605Smrg#define GL_COPY_INVERTED 0x150C 226848b8605Smrg#define GL_OR_INVERTED 0x150D 227848b8605Smrg#define GL_NAND 0x150E 228848b8605Smrg#define GL_SET 0x150F 229848b8605Smrg#define GL_TEXTURE 0x1702 230848b8605Smrg#define GL_COLOR 0x1800 231848b8605Smrg#define GL_DEPTH 0x1801 232848b8605Smrg#define GL_STENCIL 0x1802 233848b8605Smrg#define GL_STENCIL_INDEX 0x1901 234848b8605Smrg#define GL_DEPTH_COMPONENT 0x1902 235848b8605Smrg#define GL_RED 0x1903 236848b8605Smrg#define GL_GREEN 0x1904 237848b8605Smrg#define GL_BLUE 0x1905 238848b8605Smrg#define GL_ALPHA 0x1906 239848b8605Smrg#define GL_RGB 0x1907 240848b8605Smrg#define GL_RGBA 0x1908 241848b8605Smrg#define GL_POINT 0x1B00 242848b8605Smrg#define GL_LINE 0x1B01 243848b8605Smrg#define GL_FILL 0x1B02 244848b8605Smrg#define GL_KEEP 0x1E00 245848b8605Smrg#define GL_REPLACE 0x1E01 246848b8605Smrg#define GL_INCR 0x1E02 247848b8605Smrg#define GL_DECR 0x1E03 248848b8605Smrg#define GL_VENDOR 0x1F00 249848b8605Smrg#define GL_RENDERER 0x1F01 250848b8605Smrg#define GL_VERSION 0x1F02 251848b8605Smrg#define GL_EXTENSIONS 0x1F03 252848b8605Smrg#define GL_NEAREST 0x2600 253848b8605Smrg#define GL_LINEAR 0x2601 254848b8605Smrg#define GL_NEAREST_MIPMAP_NEAREST 0x2700 255848b8605Smrg#define GL_LINEAR_MIPMAP_NEAREST 0x2701 256848b8605Smrg#define GL_NEAREST_MIPMAP_LINEAR 0x2702 257848b8605Smrg#define GL_LINEAR_MIPMAP_LINEAR 0x2703 258848b8605Smrg#define GL_TEXTURE_MAG_FILTER 0x2800 259848b8605Smrg#define GL_TEXTURE_MIN_FILTER 0x2801 260848b8605Smrg#define GL_TEXTURE_WRAP_S 0x2802 261848b8605Smrg#define GL_TEXTURE_WRAP_T 0x2803 262b8e80941Smrg#define GL_REPEAT 0x2901 263b8e80941Smrgtypedef void (APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); 264b8e80941Smrgtypedef void (APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); 265b8e80941Smrgtypedef void (APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); 266b8e80941Smrgtypedef void (APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width); 267b8e80941Smrgtypedef void (APIENTRYP PFNGLPOINTSIZEPROC) (GLfloat size); 268b8e80941Smrgtypedef void (APIENTRYP PFNGLPOLYGONMODEPROC) (GLenum face, GLenum mode); 269b8e80941Smrgtypedef void (APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); 270b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); 271b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); 272b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); 273b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); 274b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXIMAGE1DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 275b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 276b8e80941Smrgtypedef void (APIENTRYP PFNGLDRAWBUFFERPROC) (GLenum buf); 277b8e80941Smrgtypedef void (APIENTRYP PFNGLCLEARPROC) (GLbitfield mask); 278b8e80941Smrgtypedef void (APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 279b8e80941Smrgtypedef void (APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s); 280b8e80941Smrgtypedef void (APIENTRYP PFNGLCLEARDEPTHPROC) (GLdouble depth); 281b8e80941Smrgtypedef void (APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask); 282b8e80941Smrgtypedef void (APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 283b8e80941Smrgtypedef void (APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag); 284b8e80941Smrgtypedef void (APIENTRYP PFNGLDISABLEPROC) (GLenum cap); 285b8e80941Smrgtypedef void (APIENTRYP PFNGLENABLEPROC) (GLenum cap); 286b8e80941Smrgtypedef void (APIENTRYP PFNGLFINISHPROC) (void); 287b8e80941Smrgtypedef void (APIENTRYP PFNGLFLUSHPROC) (void); 288b8e80941Smrgtypedef void (APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor); 289b8e80941Smrgtypedef void (APIENTRYP PFNGLLOGICOPPROC) (GLenum opcode); 290b8e80941Smrgtypedef void (APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); 291b8e80941Smrgtypedef void (APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass); 292b8e80941Smrgtypedef void (APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func); 293b8e80941Smrgtypedef void (APIENTRYP PFNGLPIXELSTOREFPROC) (GLenum pname, GLfloat param); 294b8e80941Smrgtypedef void (APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param); 295b8e80941Smrgtypedef void (APIENTRYP PFNGLREADBUFFERPROC) (GLenum src); 296b8e80941Smrgtypedef void (APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); 297b8e80941Smrgtypedef void (APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data); 298b8e80941Smrgtypedef void (APIENTRYP PFNGLGETDOUBLEVPROC) (GLenum pname, GLdouble *data); 299b8e80941Smrgtypedef GLenum (APIENTRYP PFNGLGETERRORPROC) (void); 300b8e80941Smrgtypedef void (APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data); 301b8e80941Smrgtypedef void (APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data); 302b8e80941Smrgtypedef const GLubyte *(APIENTRYP PFNGLGETSTRINGPROC) (GLenum name); 303b8e80941Smrgtypedef void (APIENTRYP PFNGLGETTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 304b8e80941Smrgtypedef void (APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 305b8e80941Smrgtypedef void (APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 306b8e80941Smrgtypedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERFVPROC) (GLenum target, GLint level, GLenum pname, GLfloat *params); 307b8e80941Smrgtypedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params); 308b8e80941Smrgtypedef GLboolean (APIENTRYP PFNGLISENABLEDPROC) (GLenum cap); 309b8e80941Smrgtypedef void (APIENTRYP PFNGLDEPTHRANGEPROC) (GLdouble n, GLdouble f); 310b8e80941Smrgtypedef void (APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); 311b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 312b8e80941SmrgGLAPI void APIENTRY glCullFace (GLenum mode); 313b8e80941SmrgGLAPI void APIENTRY glFrontFace (GLenum mode); 314b8e80941SmrgGLAPI void APIENTRY glHint (GLenum target, GLenum mode); 315b8e80941SmrgGLAPI void APIENTRY glLineWidth (GLfloat width); 316b8e80941SmrgGLAPI void APIENTRY glPointSize (GLfloat size); 317b8e80941SmrgGLAPI void APIENTRY glPolygonMode (GLenum face, GLenum mode); 318b8e80941SmrgGLAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); 319b8e80941SmrgGLAPI void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); 320b8e80941SmrgGLAPI void APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); 321b8e80941SmrgGLAPI void APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); 322b8e80941SmrgGLAPI void APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); 323b8e80941SmrgGLAPI void APIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 324b8e80941SmrgGLAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 325b8e80941SmrgGLAPI void APIENTRY glDrawBuffer (GLenum buf); 326b8e80941SmrgGLAPI void APIENTRY glClear (GLbitfield mask); 327b8e80941SmrgGLAPI void APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 328b8e80941SmrgGLAPI void APIENTRY glClearStencil (GLint s); 329b8e80941SmrgGLAPI void APIENTRY glClearDepth (GLdouble depth); 330b8e80941SmrgGLAPI void APIENTRY glStencilMask (GLuint mask); 331b8e80941SmrgGLAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 332b8e80941SmrgGLAPI void APIENTRY glDepthMask (GLboolean flag); 333b8e80941SmrgGLAPI void APIENTRY glDisable (GLenum cap); 334b8e80941SmrgGLAPI void APIENTRY glEnable (GLenum cap); 335b8e80941SmrgGLAPI void APIENTRY glFinish (void); 336b8e80941SmrgGLAPI void APIENTRY glFlush (void); 337b8e80941SmrgGLAPI void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); 338b8e80941SmrgGLAPI void APIENTRY glLogicOp (GLenum opcode); 339b8e80941SmrgGLAPI void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); 340b8e80941SmrgGLAPI void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); 341b8e80941SmrgGLAPI void APIENTRY glDepthFunc (GLenum func); 342b8e80941SmrgGLAPI void APIENTRY glPixelStoref (GLenum pname, GLfloat param); 343b8e80941SmrgGLAPI void APIENTRY glPixelStorei (GLenum pname, GLint param); 344b8e80941SmrgGLAPI void APIENTRY glReadBuffer (GLenum src); 345b8e80941SmrgGLAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); 346b8e80941SmrgGLAPI void APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); 347b8e80941SmrgGLAPI void APIENTRY glGetDoublev (GLenum pname, GLdouble *data); 348b8e80941SmrgGLAPI GLenum APIENTRY glGetError (void); 349b8e80941SmrgGLAPI void APIENTRY glGetFloatv (GLenum pname, GLfloat *data); 350b8e80941SmrgGLAPI void APIENTRY glGetIntegerv (GLenum pname, GLint *data); 351b8e80941SmrgGLAPI const GLubyte *APIENTRY glGetString (GLenum name); 352b8e80941SmrgGLAPI void APIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 353b8e80941SmrgGLAPI void APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); 354b8e80941SmrgGLAPI void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); 355b8e80941SmrgGLAPI void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params); 356b8e80941SmrgGLAPI void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params); 357b8e80941SmrgGLAPI GLboolean APIENTRY glIsEnabled (GLenum cap); 358b8e80941SmrgGLAPI void APIENTRY glDepthRange (GLdouble n, GLdouble f); 359b8e80941SmrgGLAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); 360b8e80941Smrg#endif 361b8e80941Smrg#endif /* GL_VERSION_1_0 */ 362b8e80941Smrg 363b8e80941Smrg#ifndef GL_VERSION_1_1 364b8e80941Smrg#define GL_VERSION_1_1 1 365b8e80941Smrgtypedef float GLclampf; 366b8e80941Smrgtypedef double GLclampd; 367b8e80941Smrg#define GL_COLOR_LOGIC_OP 0x0BF2 368b8e80941Smrg#define GL_POLYGON_OFFSET_UNITS 0x2A00 369b8e80941Smrg#define GL_POLYGON_OFFSET_POINT 0x2A01 370b8e80941Smrg#define GL_POLYGON_OFFSET_LINE 0x2A02 371b8e80941Smrg#define GL_POLYGON_OFFSET_FILL 0x8037 372b8e80941Smrg#define GL_POLYGON_OFFSET_FACTOR 0x8038 373b8e80941Smrg#define GL_TEXTURE_BINDING_1D 0x8068 374b8e80941Smrg#define GL_TEXTURE_BINDING_2D 0x8069 375b8e80941Smrg#define GL_TEXTURE_INTERNAL_FORMAT 0x1003 376b8e80941Smrg#define GL_TEXTURE_RED_SIZE 0x805C 377b8e80941Smrg#define GL_TEXTURE_GREEN_SIZE 0x805D 378b8e80941Smrg#define GL_TEXTURE_BLUE_SIZE 0x805E 379b8e80941Smrg#define GL_TEXTURE_ALPHA_SIZE 0x805F 380b8e80941Smrg#define GL_DOUBLE 0x140A 381848b8605Smrg#define GL_PROXY_TEXTURE_1D 0x8063 382848b8605Smrg#define GL_PROXY_TEXTURE_2D 0x8064 383848b8605Smrg#define GL_R3_G3_B2 0x2A10 384848b8605Smrg#define GL_RGB4 0x804F 385848b8605Smrg#define GL_RGB5 0x8050 386848b8605Smrg#define GL_RGB8 0x8051 387848b8605Smrg#define GL_RGB10 0x8052 388848b8605Smrg#define GL_RGB12 0x8053 389848b8605Smrg#define GL_RGB16 0x8054 390848b8605Smrg#define GL_RGBA2 0x8055 391848b8605Smrg#define GL_RGBA4 0x8056 392848b8605Smrg#define GL_RGB5_A1 0x8057 393848b8605Smrg#define GL_RGBA8 0x8058 394848b8605Smrg#define GL_RGB10_A2 0x8059 395848b8605Smrg#define GL_RGBA12 0x805A 396848b8605Smrg#define GL_RGBA16 0x805B 397848b8605Smrg#define GL_VERTEX_ARRAY 0x8074 398848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count); 399848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices); 400848b8605Smrgtypedef void (APIENTRYP PFNGLGETPOINTERVPROC) (GLenum pname, void **params); 401848b8605Smrgtypedef void (APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units); 402848b8605Smrgtypedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 403848b8605Smrgtypedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 404848b8605Smrgtypedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 405848b8605Smrgtypedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 406848b8605Smrgtypedef void (APIENTRYP PFNGLTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 407848b8605Smrgtypedef void (APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 408848b8605Smrgtypedef void (APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture); 409848b8605Smrgtypedef void (APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures); 410848b8605Smrgtypedef void (APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures); 411848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture); 412848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 413848b8605SmrgGLAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); 414848b8605SmrgGLAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); 415848b8605SmrgGLAPI void APIENTRY glGetPointerv (GLenum pname, void **params); 416848b8605SmrgGLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); 417848b8605SmrgGLAPI void APIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 418848b8605SmrgGLAPI void APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 419848b8605SmrgGLAPI void APIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 420848b8605SmrgGLAPI void APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 421848b8605SmrgGLAPI void APIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 422848b8605SmrgGLAPI void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 423848b8605SmrgGLAPI void APIENTRY glBindTexture (GLenum target, GLuint texture); 424848b8605SmrgGLAPI void APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); 425848b8605SmrgGLAPI void APIENTRY glGenTextures (GLsizei n, GLuint *textures); 426848b8605SmrgGLAPI GLboolean APIENTRY glIsTexture (GLuint texture); 427848b8605Smrg#endif 428848b8605Smrg#endif /* GL_VERSION_1_1 */ 429848b8605Smrg 430848b8605Smrg#ifndef GL_VERSION_1_2 431848b8605Smrg#define GL_VERSION_1_2 1 432848b8605Smrg#define GL_UNSIGNED_BYTE_3_3_2 0x8032 433848b8605Smrg#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 434848b8605Smrg#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 435848b8605Smrg#define GL_UNSIGNED_INT_8_8_8_8 0x8035 436848b8605Smrg#define GL_UNSIGNED_INT_10_10_10_2 0x8036 437848b8605Smrg#define GL_TEXTURE_BINDING_3D 0x806A 438848b8605Smrg#define GL_PACK_SKIP_IMAGES 0x806B 439848b8605Smrg#define GL_PACK_IMAGE_HEIGHT 0x806C 440848b8605Smrg#define GL_UNPACK_SKIP_IMAGES 0x806D 441848b8605Smrg#define GL_UNPACK_IMAGE_HEIGHT 0x806E 442848b8605Smrg#define GL_TEXTURE_3D 0x806F 443848b8605Smrg#define GL_PROXY_TEXTURE_3D 0x8070 444848b8605Smrg#define GL_TEXTURE_DEPTH 0x8071 445848b8605Smrg#define GL_TEXTURE_WRAP_R 0x8072 446848b8605Smrg#define GL_MAX_3D_TEXTURE_SIZE 0x8073 447848b8605Smrg#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 448848b8605Smrg#define GL_UNSIGNED_SHORT_5_6_5 0x8363 449848b8605Smrg#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 450848b8605Smrg#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 451848b8605Smrg#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 452848b8605Smrg#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 453848b8605Smrg#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 454848b8605Smrg#define GL_BGR 0x80E0 455848b8605Smrg#define GL_BGRA 0x80E1 456848b8605Smrg#define GL_MAX_ELEMENTS_VERTICES 0x80E8 457848b8605Smrg#define GL_MAX_ELEMENTS_INDICES 0x80E9 458848b8605Smrg#define GL_CLAMP_TO_EDGE 0x812F 459848b8605Smrg#define GL_TEXTURE_MIN_LOD 0x813A 460848b8605Smrg#define GL_TEXTURE_MAX_LOD 0x813B 461848b8605Smrg#define GL_TEXTURE_BASE_LEVEL 0x813C 462848b8605Smrg#define GL_TEXTURE_MAX_LEVEL 0x813D 463848b8605Smrg#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 464848b8605Smrg#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 465848b8605Smrg#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 466848b8605Smrg#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 467848b8605Smrg#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E 468848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); 469848b8605Smrgtypedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); 470848b8605Smrgtypedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 471848b8605Smrgtypedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 472848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 473848b8605SmrgGLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); 474848b8605SmrgGLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); 475848b8605SmrgGLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 476848b8605SmrgGLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 477848b8605Smrg#endif 478848b8605Smrg#endif /* GL_VERSION_1_2 */ 479848b8605Smrg 480848b8605Smrg#ifndef GL_VERSION_1_3 481848b8605Smrg#define GL_VERSION_1_3 1 482848b8605Smrg#define GL_TEXTURE0 0x84C0 483848b8605Smrg#define GL_TEXTURE1 0x84C1 484848b8605Smrg#define GL_TEXTURE2 0x84C2 485848b8605Smrg#define GL_TEXTURE3 0x84C3 486848b8605Smrg#define GL_TEXTURE4 0x84C4 487848b8605Smrg#define GL_TEXTURE5 0x84C5 488848b8605Smrg#define GL_TEXTURE6 0x84C6 489848b8605Smrg#define GL_TEXTURE7 0x84C7 490848b8605Smrg#define GL_TEXTURE8 0x84C8 491848b8605Smrg#define GL_TEXTURE9 0x84C9 492848b8605Smrg#define GL_TEXTURE10 0x84CA 493848b8605Smrg#define GL_TEXTURE11 0x84CB 494848b8605Smrg#define GL_TEXTURE12 0x84CC 495848b8605Smrg#define GL_TEXTURE13 0x84CD 496848b8605Smrg#define GL_TEXTURE14 0x84CE 497848b8605Smrg#define GL_TEXTURE15 0x84CF 498848b8605Smrg#define GL_TEXTURE16 0x84D0 499848b8605Smrg#define GL_TEXTURE17 0x84D1 500848b8605Smrg#define GL_TEXTURE18 0x84D2 501848b8605Smrg#define GL_TEXTURE19 0x84D3 502848b8605Smrg#define GL_TEXTURE20 0x84D4 503848b8605Smrg#define GL_TEXTURE21 0x84D5 504848b8605Smrg#define GL_TEXTURE22 0x84D6 505848b8605Smrg#define GL_TEXTURE23 0x84D7 506848b8605Smrg#define GL_TEXTURE24 0x84D8 507848b8605Smrg#define GL_TEXTURE25 0x84D9 508848b8605Smrg#define GL_TEXTURE26 0x84DA 509848b8605Smrg#define GL_TEXTURE27 0x84DB 510848b8605Smrg#define GL_TEXTURE28 0x84DC 511848b8605Smrg#define GL_TEXTURE29 0x84DD 512848b8605Smrg#define GL_TEXTURE30 0x84DE 513848b8605Smrg#define GL_TEXTURE31 0x84DF 514848b8605Smrg#define GL_ACTIVE_TEXTURE 0x84E0 515848b8605Smrg#define GL_MULTISAMPLE 0x809D 516848b8605Smrg#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E 517848b8605Smrg#define GL_SAMPLE_ALPHA_TO_ONE 0x809F 518848b8605Smrg#define GL_SAMPLE_COVERAGE 0x80A0 519848b8605Smrg#define GL_SAMPLE_BUFFERS 0x80A8 520848b8605Smrg#define GL_SAMPLES 0x80A9 521848b8605Smrg#define GL_SAMPLE_COVERAGE_VALUE 0x80AA 522848b8605Smrg#define GL_SAMPLE_COVERAGE_INVERT 0x80AB 523848b8605Smrg#define GL_TEXTURE_CUBE_MAP 0x8513 524848b8605Smrg#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 525848b8605Smrg#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 526848b8605Smrg#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 527848b8605Smrg#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 528848b8605Smrg#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 529848b8605Smrg#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 530848b8605Smrg#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A 531848b8605Smrg#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B 532848b8605Smrg#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C 533848b8605Smrg#define GL_COMPRESSED_RGB 0x84ED 534848b8605Smrg#define GL_COMPRESSED_RGBA 0x84EE 535848b8605Smrg#define GL_TEXTURE_COMPRESSION_HINT 0x84EF 536848b8605Smrg#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 537848b8605Smrg#define GL_TEXTURE_COMPRESSED 0x86A1 538848b8605Smrg#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 539848b8605Smrg#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 540848b8605Smrg#define GL_CLAMP_TO_BORDER 0x812D 541848b8605Smrgtypedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); 542848b8605Smrgtypedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); 543848b8605Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); 544848b8605Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); 545848b8605Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); 546848b8605Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); 547848b8605Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); 548848b8605Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); 549848b8605Smrgtypedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img); 550848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 551848b8605SmrgGLAPI void APIENTRY glActiveTexture (GLenum texture); 552848b8605SmrgGLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); 553848b8605SmrgGLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); 554848b8605SmrgGLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); 555848b8605SmrgGLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); 556848b8605SmrgGLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); 557848b8605SmrgGLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); 558848b8605SmrgGLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); 559848b8605SmrgGLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img); 560848b8605Smrg#endif 561848b8605Smrg#endif /* GL_VERSION_1_3 */ 562848b8605Smrg 563848b8605Smrg#ifndef GL_VERSION_1_4 564848b8605Smrg#define GL_VERSION_1_4 1 565848b8605Smrg#define GL_BLEND_DST_RGB 0x80C8 566848b8605Smrg#define GL_BLEND_SRC_RGB 0x80C9 567848b8605Smrg#define GL_BLEND_DST_ALPHA 0x80CA 568848b8605Smrg#define GL_BLEND_SRC_ALPHA 0x80CB 569848b8605Smrg#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 570848b8605Smrg#define GL_DEPTH_COMPONENT16 0x81A5 571848b8605Smrg#define GL_DEPTH_COMPONENT24 0x81A6 572848b8605Smrg#define GL_DEPTH_COMPONENT32 0x81A7 573848b8605Smrg#define GL_MIRRORED_REPEAT 0x8370 574848b8605Smrg#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD 575848b8605Smrg#define GL_TEXTURE_LOD_BIAS 0x8501 576848b8605Smrg#define GL_INCR_WRAP 0x8507 577848b8605Smrg#define GL_DECR_WRAP 0x8508 578848b8605Smrg#define GL_TEXTURE_DEPTH_SIZE 0x884A 579848b8605Smrg#define GL_TEXTURE_COMPARE_MODE 0x884C 580848b8605Smrg#define GL_TEXTURE_COMPARE_FUNC 0x884D 581b8e80941Smrg#define GL_BLEND_COLOR 0x8005 582b8e80941Smrg#define GL_BLEND_EQUATION 0x8009 583848b8605Smrg#define GL_CONSTANT_COLOR 0x8001 584848b8605Smrg#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 585848b8605Smrg#define GL_CONSTANT_ALPHA 0x8003 586848b8605Smrg#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 587b8e80941Smrg#define GL_FUNC_ADD 0x8006 588b8e80941Smrg#define GL_FUNC_REVERSE_SUBTRACT 0x800B 589b8e80941Smrg#define GL_FUNC_SUBTRACT 0x800A 590b8e80941Smrg#define GL_MIN 0x8007 591b8e80941Smrg#define GL_MAX 0x8008 592848b8605Smrgtypedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 593848b8605Smrgtypedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); 594848b8605Smrgtypedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount); 595848b8605Smrgtypedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); 596848b8605Smrgtypedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); 597848b8605Smrgtypedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); 598848b8605Smrgtypedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params); 599848b8605Smrgtypedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 600848b8605Smrgtypedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); 601848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 602848b8605SmrgGLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 603848b8605SmrgGLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); 604848b8605SmrgGLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount); 605848b8605SmrgGLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param); 606848b8605SmrgGLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params); 607848b8605SmrgGLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param); 608848b8605SmrgGLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params); 609848b8605SmrgGLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 610848b8605SmrgGLAPI void APIENTRY glBlendEquation (GLenum mode); 611848b8605Smrg#endif 612848b8605Smrg#endif /* GL_VERSION_1_4 */ 613848b8605Smrg 614848b8605Smrg#ifndef GL_VERSION_1_5 615848b8605Smrg#define GL_VERSION_1_5 1 616b8e80941Smrg#include <KHR/khrplatform.h> 617b8e80941Smrgtypedef khronos_ssize_t GLsizeiptr; 618b8e80941Smrgtypedef khronos_intptr_t GLintptr; 619848b8605Smrg#define GL_BUFFER_SIZE 0x8764 620848b8605Smrg#define GL_BUFFER_USAGE 0x8765 621848b8605Smrg#define GL_QUERY_COUNTER_BITS 0x8864 622848b8605Smrg#define GL_CURRENT_QUERY 0x8865 623848b8605Smrg#define GL_QUERY_RESULT 0x8866 624848b8605Smrg#define GL_QUERY_RESULT_AVAILABLE 0x8867 625848b8605Smrg#define GL_ARRAY_BUFFER 0x8892 626848b8605Smrg#define GL_ELEMENT_ARRAY_BUFFER 0x8893 627848b8605Smrg#define GL_ARRAY_BUFFER_BINDING 0x8894 628848b8605Smrg#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 629848b8605Smrg#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F 630848b8605Smrg#define GL_READ_ONLY 0x88B8 631848b8605Smrg#define GL_WRITE_ONLY 0x88B9 632848b8605Smrg#define GL_READ_WRITE 0x88BA 633848b8605Smrg#define GL_BUFFER_ACCESS 0x88BB 634848b8605Smrg#define GL_BUFFER_MAPPED 0x88BC 635848b8605Smrg#define GL_BUFFER_MAP_POINTER 0x88BD 636848b8605Smrg#define GL_STREAM_DRAW 0x88E0 637848b8605Smrg#define GL_STREAM_READ 0x88E1 638848b8605Smrg#define GL_STREAM_COPY 0x88E2 639848b8605Smrg#define GL_STATIC_DRAW 0x88E4 640848b8605Smrg#define GL_STATIC_READ 0x88E5 641848b8605Smrg#define GL_STATIC_COPY 0x88E6 642848b8605Smrg#define GL_DYNAMIC_DRAW 0x88E8 643848b8605Smrg#define GL_DYNAMIC_READ 0x88E9 644848b8605Smrg#define GL_DYNAMIC_COPY 0x88EA 645848b8605Smrg#define GL_SAMPLES_PASSED 0x8914 646848b8605Smrg#define GL_SRC1_ALPHA 0x8589 647848b8605Smrgtypedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); 648848b8605Smrgtypedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); 649848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id); 650848b8605Smrgtypedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); 651848b8605Smrgtypedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target); 652848b8605Smrgtypedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); 653848b8605Smrgtypedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params); 654848b8605Smrgtypedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); 655848b8605Smrgtypedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); 656848b8605Smrgtypedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); 657848b8605Smrgtypedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); 658848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); 659848b8605Smrgtypedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage); 660848b8605Smrgtypedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); 661848b8605Smrgtypedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data); 662848b8605Smrgtypedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access); 663848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); 664848b8605Smrgtypedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 665848b8605Smrgtypedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params); 666848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 667848b8605SmrgGLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids); 668848b8605SmrgGLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); 669848b8605SmrgGLAPI GLboolean APIENTRY glIsQuery (GLuint id); 670848b8605SmrgGLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id); 671848b8605SmrgGLAPI void APIENTRY glEndQuery (GLenum target); 672848b8605SmrgGLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params); 673848b8605SmrgGLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params); 674848b8605SmrgGLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); 675848b8605SmrgGLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer); 676848b8605SmrgGLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); 677848b8605SmrgGLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); 678848b8605SmrgGLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer); 679848b8605SmrgGLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); 680848b8605SmrgGLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); 681848b8605SmrgGLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data); 682848b8605SmrgGLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access); 683848b8605SmrgGLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target); 684848b8605SmrgGLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); 685848b8605SmrgGLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params); 686848b8605Smrg#endif 687848b8605Smrg#endif /* GL_VERSION_1_5 */ 688848b8605Smrg 689848b8605Smrg#ifndef GL_VERSION_2_0 690848b8605Smrg#define GL_VERSION_2_0 1 691848b8605Smrgtypedef char GLchar; 692848b8605Smrgtypedef short GLshort; 693848b8605Smrgtypedef signed char GLbyte; 694848b8605Smrgtypedef unsigned short GLushort; 695848b8605Smrg#define GL_BLEND_EQUATION_RGB 0x8009 696848b8605Smrg#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 697848b8605Smrg#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 698848b8605Smrg#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 699848b8605Smrg#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 700848b8605Smrg#define GL_CURRENT_VERTEX_ATTRIB 0x8626 701848b8605Smrg#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 702848b8605Smrg#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 703848b8605Smrg#define GL_STENCIL_BACK_FUNC 0x8800 704848b8605Smrg#define GL_STENCIL_BACK_FAIL 0x8801 705848b8605Smrg#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 706848b8605Smrg#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 707848b8605Smrg#define GL_MAX_DRAW_BUFFERS 0x8824 708848b8605Smrg#define GL_DRAW_BUFFER0 0x8825 709848b8605Smrg#define GL_DRAW_BUFFER1 0x8826 710848b8605Smrg#define GL_DRAW_BUFFER2 0x8827 711848b8605Smrg#define GL_DRAW_BUFFER3 0x8828 712848b8605Smrg#define GL_DRAW_BUFFER4 0x8829 713848b8605Smrg#define GL_DRAW_BUFFER5 0x882A 714848b8605Smrg#define GL_DRAW_BUFFER6 0x882B 715848b8605Smrg#define GL_DRAW_BUFFER7 0x882C 716848b8605Smrg#define GL_DRAW_BUFFER8 0x882D 717848b8605Smrg#define GL_DRAW_BUFFER9 0x882E 718848b8605Smrg#define GL_DRAW_BUFFER10 0x882F 719848b8605Smrg#define GL_DRAW_BUFFER11 0x8830 720848b8605Smrg#define GL_DRAW_BUFFER12 0x8831 721848b8605Smrg#define GL_DRAW_BUFFER13 0x8832 722848b8605Smrg#define GL_DRAW_BUFFER14 0x8833 723848b8605Smrg#define GL_DRAW_BUFFER15 0x8834 724848b8605Smrg#define GL_BLEND_EQUATION_ALPHA 0x883D 725848b8605Smrg#define GL_MAX_VERTEX_ATTRIBS 0x8869 726848b8605Smrg#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A 727848b8605Smrg#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 728848b8605Smrg#define GL_FRAGMENT_SHADER 0x8B30 729848b8605Smrg#define GL_VERTEX_SHADER 0x8B31 730848b8605Smrg#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 731848b8605Smrg#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A 732848b8605Smrg#define GL_MAX_VARYING_FLOATS 0x8B4B 733848b8605Smrg#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C 734848b8605Smrg#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D 735848b8605Smrg#define GL_SHADER_TYPE 0x8B4F 736848b8605Smrg#define GL_FLOAT_VEC2 0x8B50 737848b8605Smrg#define GL_FLOAT_VEC3 0x8B51 738848b8605Smrg#define GL_FLOAT_VEC4 0x8B52 739848b8605Smrg#define GL_INT_VEC2 0x8B53 740848b8605Smrg#define GL_INT_VEC3 0x8B54 741848b8605Smrg#define GL_INT_VEC4 0x8B55 742848b8605Smrg#define GL_BOOL 0x8B56 743848b8605Smrg#define GL_BOOL_VEC2 0x8B57 744848b8605Smrg#define GL_BOOL_VEC3 0x8B58 745848b8605Smrg#define GL_BOOL_VEC4 0x8B59 746848b8605Smrg#define GL_FLOAT_MAT2 0x8B5A 747848b8605Smrg#define GL_FLOAT_MAT3 0x8B5B 748848b8605Smrg#define GL_FLOAT_MAT4 0x8B5C 749848b8605Smrg#define GL_SAMPLER_1D 0x8B5D 750848b8605Smrg#define GL_SAMPLER_2D 0x8B5E 751848b8605Smrg#define GL_SAMPLER_3D 0x8B5F 752848b8605Smrg#define GL_SAMPLER_CUBE 0x8B60 753848b8605Smrg#define GL_SAMPLER_1D_SHADOW 0x8B61 754848b8605Smrg#define GL_SAMPLER_2D_SHADOW 0x8B62 755848b8605Smrg#define GL_DELETE_STATUS 0x8B80 756848b8605Smrg#define GL_COMPILE_STATUS 0x8B81 757848b8605Smrg#define GL_LINK_STATUS 0x8B82 758848b8605Smrg#define GL_VALIDATE_STATUS 0x8B83 759848b8605Smrg#define GL_INFO_LOG_LENGTH 0x8B84 760848b8605Smrg#define GL_ATTACHED_SHADERS 0x8B85 761848b8605Smrg#define GL_ACTIVE_UNIFORMS 0x8B86 762848b8605Smrg#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 763848b8605Smrg#define GL_SHADER_SOURCE_LENGTH 0x8B88 764848b8605Smrg#define GL_ACTIVE_ATTRIBUTES 0x8B89 765848b8605Smrg#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A 766848b8605Smrg#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B 767848b8605Smrg#define GL_SHADING_LANGUAGE_VERSION 0x8B8C 768848b8605Smrg#define GL_CURRENT_PROGRAM 0x8B8D 769848b8605Smrg#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 770848b8605Smrg#define GL_LOWER_LEFT 0x8CA1 771848b8605Smrg#define GL_UPPER_LEFT 0x8CA2 772848b8605Smrg#define GL_STENCIL_BACK_REF 0x8CA3 773848b8605Smrg#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 774848b8605Smrg#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 775848b8605Smrgtypedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); 776848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); 777848b8605Smrgtypedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 778848b8605Smrgtypedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); 779848b8605Smrgtypedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); 780848b8605Smrgtypedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); 781848b8605Smrgtypedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); 782848b8605Smrgtypedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); 783848b8605Smrgtypedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void); 784848b8605Smrgtypedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); 785848b8605Smrgtypedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); 786848b8605Smrgtypedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); 787848b8605Smrgtypedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); 788848b8605Smrgtypedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); 789848b8605Smrgtypedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); 790848b8605Smrgtypedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 791848b8605Smrgtypedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 792848b8605Smrgtypedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); 793848b8605Smrgtypedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); 794848b8605Smrgtypedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); 795848b8605Smrgtypedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 796848b8605Smrgtypedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); 797848b8605Smrgtypedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 798848b8605Smrgtypedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); 799848b8605Smrgtypedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); 800848b8605Smrgtypedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); 801848b8605Smrgtypedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); 802848b8605Smrgtypedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params); 803848b8605Smrgtypedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); 804848b8605Smrgtypedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); 805848b8605Smrgtypedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); 806848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); 807848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader); 808848b8605Smrgtypedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); 809848b8605Smrgtypedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); 810848b8605Smrgtypedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); 811848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); 812848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); 813848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 814848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 815848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); 816848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); 817848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); 818848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 819848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); 820848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); 821848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); 822848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); 823848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); 824848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); 825848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); 826848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); 827848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 828848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 829848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 830848b8605Smrgtypedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); 831848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x); 832848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v); 833848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); 834848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); 835848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x); 836848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v); 837848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y); 838848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v); 839848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); 840848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); 841848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y); 842848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v); 843848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 844848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v); 845848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); 846848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); 847848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z); 848848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v); 849848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v); 850848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v); 851848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v); 852848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 853848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v); 854848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v); 855848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v); 856848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v); 857848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 858848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v); 859848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 860848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); 861848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v); 862848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 863848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v); 864848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v); 865848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v); 866848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v); 867848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); 868848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 869848b8605SmrgGLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); 870848b8605SmrgGLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); 871848b8605SmrgGLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 872848b8605SmrgGLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); 873848b8605SmrgGLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); 874848b8605SmrgGLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader); 875848b8605SmrgGLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); 876848b8605SmrgGLAPI void APIENTRY glCompileShader (GLuint shader); 877848b8605SmrgGLAPI GLuint APIENTRY glCreateProgram (void); 878848b8605SmrgGLAPI GLuint APIENTRY glCreateShader (GLenum type); 879848b8605SmrgGLAPI void APIENTRY glDeleteProgram (GLuint program); 880848b8605SmrgGLAPI void APIENTRY glDeleteShader (GLuint shader); 881848b8605SmrgGLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader); 882848b8605SmrgGLAPI void APIENTRY glDisableVertexAttribArray (GLuint index); 883848b8605SmrgGLAPI void APIENTRY glEnableVertexAttribArray (GLuint index); 884848b8605SmrgGLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 885848b8605SmrgGLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 886848b8605SmrgGLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); 887848b8605SmrgGLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); 888848b8605SmrgGLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); 889848b8605SmrgGLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 890848b8605SmrgGLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); 891848b8605SmrgGLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 892848b8605SmrgGLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); 893848b8605SmrgGLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); 894848b8605SmrgGLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); 895848b8605SmrgGLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); 896848b8605SmrgGLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params); 897848b8605SmrgGLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); 898848b8605SmrgGLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); 899848b8605SmrgGLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); 900848b8605SmrgGLAPI GLboolean APIENTRY glIsProgram (GLuint program); 901848b8605SmrgGLAPI GLboolean APIENTRY glIsShader (GLuint shader); 902848b8605SmrgGLAPI void APIENTRY glLinkProgram (GLuint program); 903848b8605SmrgGLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); 904848b8605SmrgGLAPI void APIENTRY glUseProgram (GLuint program); 905848b8605SmrgGLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0); 906848b8605SmrgGLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); 907848b8605SmrgGLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 908848b8605SmrgGLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 909848b8605SmrgGLAPI void APIENTRY glUniform1i (GLint location, GLint v0); 910848b8605SmrgGLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); 911848b8605SmrgGLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); 912848b8605SmrgGLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 913848b8605SmrgGLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); 914848b8605SmrgGLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); 915848b8605SmrgGLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); 916848b8605SmrgGLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); 917848b8605SmrgGLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); 918848b8605SmrgGLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); 919848b8605SmrgGLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); 920848b8605SmrgGLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); 921848b8605SmrgGLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 922848b8605SmrgGLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 923848b8605SmrgGLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 924848b8605SmrgGLAPI void APIENTRY glValidateProgram (GLuint program); 925848b8605SmrgGLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x); 926848b8605SmrgGLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v); 927848b8605SmrgGLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); 928848b8605SmrgGLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); 929848b8605SmrgGLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x); 930848b8605SmrgGLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v); 931848b8605SmrgGLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y); 932848b8605SmrgGLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v); 933848b8605SmrgGLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); 934848b8605SmrgGLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); 935848b8605SmrgGLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y); 936848b8605SmrgGLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v); 937848b8605SmrgGLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z); 938848b8605SmrgGLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v); 939848b8605SmrgGLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); 940848b8605SmrgGLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); 941848b8605SmrgGLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z); 942848b8605SmrgGLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v); 943848b8605SmrgGLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v); 944848b8605SmrgGLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v); 945848b8605SmrgGLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v); 946848b8605SmrgGLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 947848b8605SmrgGLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v); 948848b8605SmrgGLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v); 949848b8605SmrgGLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v); 950848b8605SmrgGLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v); 951848b8605SmrgGLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 952848b8605SmrgGLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v); 953848b8605SmrgGLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 954848b8605SmrgGLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); 955848b8605SmrgGLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v); 956848b8605SmrgGLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 957848b8605SmrgGLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v); 958848b8605SmrgGLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v); 959848b8605SmrgGLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v); 960848b8605SmrgGLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v); 961848b8605SmrgGLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); 962848b8605Smrg#endif 963848b8605Smrg#endif /* GL_VERSION_2_0 */ 964848b8605Smrg 965848b8605Smrg#ifndef GL_VERSION_2_1 966848b8605Smrg#define GL_VERSION_2_1 1 967848b8605Smrg#define GL_PIXEL_PACK_BUFFER 0x88EB 968848b8605Smrg#define GL_PIXEL_UNPACK_BUFFER 0x88EC 969848b8605Smrg#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED 970848b8605Smrg#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF 971848b8605Smrg#define GL_FLOAT_MAT2x3 0x8B65 972848b8605Smrg#define GL_FLOAT_MAT2x4 0x8B66 973848b8605Smrg#define GL_FLOAT_MAT3x2 0x8B67 974848b8605Smrg#define GL_FLOAT_MAT3x4 0x8B68 975848b8605Smrg#define GL_FLOAT_MAT4x2 0x8B69 976848b8605Smrg#define GL_FLOAT_MAT4x3 0x8B6A 977848b8605Smrg#define GL_SRGB 0x8C40 978848b8605Smrg#define GL_SRGB8 0x8C41 979848b8605Smrg#define GL_SRGB_ALPHA 0x8C42 980848b8605Smrg#define GL_SRGB8_ALPHA8 0x8C43 981848b8605Smrg#define GL_COMPRESSED_SRGB 0x8C48 982848b8605Smrg#define GL_COMPRESSED_SRGB_ALPHA 0x8C49 983848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 984848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 985848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 986848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 987848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 988848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 989848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 990848b8605SmrgGLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 991848b8605SmrgGLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 992848b8605SmrgGLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 993848b8605SmrgGLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 994848b8605SmrgGLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 995848b8605SmrgGLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 996848b8605Smrg#endif 997848b8605Smrg#endif /* GL_VERSION_2_1 */ 998848b8605Smrg 999848b8605Smrg#ifndef GL_VERSION_3_0 1000848b8605Smrg#define GL_VERSION_3_0 1 1001848b8605Smrgtypedef unsigned short GLhalf; 1002848b8605Smrg#define GL_COMPARE_REF_TO_TEXTURE 0x884E 1003848b8605Smrg#define GL_CLIP_DISTANCE0 0x3000 1004848b8605Smrg#define GL_CLIP_DISTANCE1 0x3001 1005848b8605Smrg#define GL_CLIP_DISTANCE2 0x3002 1006848b8605Smrg#define GL_CLIP_DISTANCE3 0x3003 1007848b8605Smrg#define GL_CLIP_DISTANCE4 0x3004 1008848b8605Smrg#define GL_CLIP_DISTANCE5 0x3005 1009848b8605Smrg#define GL_CLIP_DISTANCE6 0x3006 1010848b8605Smrg#define GL_CLIP_DISTANCE7 0x3007 1011848b8605Smrg#define GL_MAX_CLIP_DISTANCES 0x0D32 1012848b8605Smrg#define GL_MAJOR_VERSION 0x821B 1013848b8605Smrg#define GL_MINOR_VERSION 0x821C 1014848b8605Smrg#define GL_NUM_EXTENSIONS 0x821D 1015848b8605Smrg#define GL_CONTEXT_FLAGS 0x821E 1016848b8605Smrg#define GL_COMPRESSED_RED 0x8225 1017848b8605Smrg#define GL_COMPRESSED_RG 0x8226 1018848b8605Smrg#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001 1019848b8605Smrg#define GL_RGBA32F 0x8814 1020848b8605Smrg#define GL_RGB32F 0x8815 1021848b8605Smrg#define GL_RGBA16F 0x881A 1022848b8605Smrg#define GL_RGB16F 0x881B 1023848b8605Smrg#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD 1024848b8605Smrg#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF 1025848b8605Smrg#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 1026848b8605Smrg#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 1027848b8605Smrg#define GL_CLAMP_READ_COLOR 0x891C 1028848b8605Smrg#define GL_FIXED_ONLY 0x891D 1029848b8605Smrg#define GL_MAX_VARYING_COMPONENTS 0x8B4B 1030848b8605Smrg#define GL_TEXTURE_1D_ARRAY 0x8C18 1031848b8605Smrg#define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 1032848b8605Smrg#define GL_TEXTURE_2D_ARRAY 0x8C1A 1033848b8605Smrg#define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B 1034848b8605Smrg#define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C 1035848b8605Smrg#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D 1036848b8605Smrg#define GL_R11F_G11F_B10F 0x8C3A 1037848b8605Smrg#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B 1038848b8605Smrg#define GL_RGB9_E5 0x8C3D 1039848b8605Smrg#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E 1040848b8605Smrg#define GL_TEXTURE_SHARED_SIZE 0x8C3F 1041848b8605Smrg#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 1042848b8605Smrg#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F 1043848b8605Smrg#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 1044848b8605Smrg#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 1045848b8605Smrg#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 1046848b8605Smrg#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 1047848b8605Smrg#define GL_PRIMITIVES_GENERATED 0x8C87 1048848b8605Smrg#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 1049848b8605Smrg#define GL_RASTERIZER_DISCARD 0x8C89 1050848b8605Smrg#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A 1051848b8605Smrg#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B 1052848b8605Smrg#define GL_INTERLEAVED_ATTRIBS 0x8C8C 1053848b8605Smrg#define GL_SEPARATE_ATTRIBS 0x8C8D 1054848b8605Smrg#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E 1055848b8605Smrg#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F 1056848b8605Smrg#define GL_RGBA32UI 0x8D70 1057848b8605Smrg#define GL_RGB32UI 0x8D71 1058848b8605Smrg#define GL_RGBA16UI 0x8D76 1059848b8605Smrg#define GL_RGB16UI 0x8D77 1060848b8605Smrg#define GL_RGBA8UI 0x8D7C 1061848b8605Smrg#define GL_RGB8UI 0x8D7D 1062848b8605Smrg#define GL_RGBA32I 0x8D82 1063848b8605Smrg#define GL_RGB32I 0x8D83 1064848b8605Smrg#define GL_RGBA16I 0x8D88 1065848b8605Smrg#define GL_RGB16I 0x8D89 1066848b8605Smrg#define GL_RGBA8I 0x8D8E 1067848b8605Smrg#define GL_RGB8I 0x8D8F 1068848b8605Smrg#define GL_RED_INTEGER 0x8D94 1069848b8605Smrg#define GL_GREEN_INTEGER 0x8D95 1070848b8605Smrg#define GL_BLUE_INTEGER 0x8D96 1071848b8605Smrg#define GL_RGB_INTEGER 0x8D98 1072848b8605Smrg#define GL_RGBA_INTEGER 0x8D99 1073848b8605Smrg#define GL_BGR_INTEGER 0x8D9A 1074848b8605Smrg#define GL_BGRA_INTEGER 0x8D9B 1075848b8605Smrg#define GL_SAMPLER_1D_ARRAY 0x8DC0 1076848b8605Smrg#define GL_SAMPLER_2D_ARRAY 0x8DC1 1077848b8605Smrg#define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3 1078848b8605Smrg#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 1079848b8605Smrg#define GL_SAMPLER_CUBE_SHADOW 0x8DC5 1080848b8605Smrg#define GL_UNSIGNED_INT_VEC2 0x8DC6 1081848b8605Smrg#define GL_UNSIGNED_INT_VEC3 0x8DC7 1082848b8605Smrg#define GL_UNSIGNED_INT_VEC4 0x8DC8 1083848b8605Smrg#define GL_INT_SAMPLER_1D 0x8DC9 1084848b8605Smrg#define GL_INT_SAMPLER_2D 0x8DCA 1085848b8605Smrg#define GL_INT_SAMPLER_3D 0x8DCB 1086848b8605Smrg#define GL_INT_SAMPLER_CUBE 0x8DCC 1087848b8605Smrg#define GL_INT_SAMPLER_1D_ARRAY 0x8DCE 1088848b8605Smrg#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF 1089848b8605Smrg#define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1 1090848b8605Smrg#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 1091848b8605Smrg#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 1092848b8605Smrg#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 1093848b8605Smrg#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6 1094848b8605Smrg#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 1095848b8605Smrg#define GL_QUERY_WAIT 0x8E13 1096848b8605Smrg#define GL_QUERY_NO_WAIT 0x8E14 1097848b8605Smrg#define GL_QUERY_BY_REGION_WAIT 0x8E15 1098848b8605Smrg#define GL_QUERY_BY_REGION_NO_WAIT 0x8E16 1099848b8605Smrg#define GL_BUFFER_ACCESS_FLAGS 0x911F 1100848b8605Smrg#define GL_BUFFER_MAP_LENGTH 0x9120 1101848b8605Smrg#define GL_BUFFER_MAP_OFFSET 0x9121 1102848b8605Smrg#define GL_DEPTH_COMPONENT32F 0x8CAC 1103848b8605Smrg#define GL_DEPTH32F_STENCIL8 0x8CAD 1104848b8605Smrg#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD 1105848b8605Smrg#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 1106848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 1107848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 1108848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 1109848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 1110848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 1111848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 1112848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 1113848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 1114848b8605Smrg#define GL_FRAMEBUFFER_DEFAULT 0x8218 1115848b8605Smrg#define GL_FRAMEBUFFER_UNDEFINED 0x8219 1116848b8605Smrg#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A 1117848b8605Smrg#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 1118848b8605Smrg#define GL_DEPTH_STENCIL 0x84F9 1119848b8605Smrg#define GL_UNSIGNED_INT_24_8 0x84FA 1120848b8605Smrg#define GL_DEPTH24_STENCIL8 0x88F0 1121848b8605Smrg#define GL_TEXTURE_STENCIL_SIZE 0x88F1 1122848b8605Smrg#define GL_TEXTURE_RED_TYPE 0x8C10 1123848b8605Smrg#define GL_TEXTURE_GREEN_TYPE 0x8C11 1124848b8605Smrg#define GL_TEXTURE_BLUE_TYPE 0x8C12 1125848b8605Smrg#define GL_TEXTURE_ALPHA_TYPE 0x8C13 1126848b8605Smrg#define GL_TEXTURE_DEPTH_TYPE 0x8C16 1127848b8605Smrg#define GL_UNSIGNED_NORMALIZED 0x8C17 1128848b8605Smrg#define GL_FRAMEBUFFER_BINDING 0x8CA6 1129848b8605Smrg#define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 1130848b8605Smrg#define GL_RENDERBUFFER_BINDING 0x8CA7 1131848b8605Smrg#define GL_READ_FRAMEBUFFER 0x8CA8 1132848b8605Smrg#define GL_DRAW_FRAMEBUFFER 0x8CA9 1133848b8605Smrg#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA 1134848b8605Smrg#define GL_RENDERBUFFER_SAMPLES 0x8CAB 1135848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 1136848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 1137848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 1138848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 1139848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 1140848b8605Smrg#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 1141848b8605Smrg#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 1142848b8605Smrg#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 1143848b8605Smrg#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB 1144848b8605Smrg#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC 1145848b8605Smrg#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD 1146848b8605Smrg#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF 1147848b8605Smrg#define GL_COLOR_ATTACHMENT0 0x8CE0 1148848b8605Smrg#define GL_COLOR_ATTACHMENT1 0x8CE1 1149848b8605Smrg#define GL_COLOR_ATTACHMENT2 0x8CE2 1150848b8605Smrg#define GL_COLOR_ATTACHMENT3 0x8CE3 1151848b8605Smrg#define GL_COLOR_ATTACHMENT4 0x8CE4 1152848b8605Smrg#define GL_COLOR_ATTACHMENT5 0x8CE5 1153848b8605Smrg#define GL_COLOR_ATTACHMENT6 0x8CE6 1154848b8605Smrg#define GL_COLOR_ATTACHMENT7 0x8CE7 1155848b8605Smrg#define GL_COLOR_ATTACHMENT8 0x8CE8 1156848b8605Smrg#define GL_COLOR_ATTACHMENT9 0x8CE9 1157848b8605Smrg#define GL_COLOR_ATTACHMENT10 0x8CEA 1158848b8605Smrg#define GL_COLOR_ATTACHMENT11 0x8CEB 1159848b8605Smrg#define GL_COLOR_ATTACHMENT12 0x8CEC 1160848b8605Smrg#define GL_COLOR_ATTACHMENT13 0x8CED 1161848b8605Smrg#define GL_COLOR_ATTACHMENT14 0x8CEE 1162848b8605Smrg#define GL_COLOR_ATTACHMENT15 0x8CEF 1163b8e80941Smrg#define GL_COLOR_ATTACHMENT16 0x8CF0 1164b8e80941Smrg#define GL_COLOR_ATTACHMENT17 0x8CF1 1165b8e80941Smrg#define GL_COLOR_ATTACHMENT18 0x8CF2 1166b8e80941Smrg#define GL_COLOR_ATTACHMENT19 0x8CF3 1167b8e80941Smrg#define GL_COLOR_ATTACHMENT20 0x8CF4 1168b8e80941Smrg#define GL_COLOR_ATTACHMENT21 0x8CF5 1169b8e80941Smrg#define GL_COLOR_ATTACHMENT22 0x8CF6 1170b8e80941Smrg#define GL_COLOR_ATTACHMENT23 0x8CF7 1171b8e80941Smrg#define GL_COLOR_ATTACHMENT24 0x8CF8 1172b8e80941Smrg#define GL_COLOR_ATTACHMENT25 0x8CF9 1173b8e80941Smrg#define GL_COLOR_ATTACHMENT26 0x8CFA 1174b8e80941Smrg#define GL_COLOR_ATTACHMENT27 0x8CFB 1175b8e80941Smrg#define GL_COLOR_ATTACHMENT28 0x8CFC 1176b8e80941Smrg#define GL_COLOR_ATTACHMENT29 0x8CFD 1177b8e80941Smrg#define GL_COLOR_ATTACHMENT30 0x8CFE 1178b8e80941Smrg#define GL_COLOR_ATTACHMENT31 0x8CFF 1179848b8605Smrg#define GL_DEPTH_ATTACHMENT 0x8D00 1180848b8605Smrg#define GL_STENCIL_ATTACHMENT 0x8D20 1181848b8605Smrg#define GL_FRAMEBUFFER 0x8D40 1182848b8605Smrg#define GL_RENDERBUFFER 0x8D41 1183848b8605Smrg#define GL_RENDERBUFFER_WIDTH 0x8D42 1184848b8605Smrg#define GL_RENDERBUFFER_HEIGHT 0x8D43 1185848b8605Smrg#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 1186848b8605Smrg#define GL_STENCIL_INDEX1 0x8D46 1187848b8605Smrg#define GL_STENCIL_INDEX4 0x8D47 1188848b8605Smrg#define GL_STENCIL_INDEX8 0x8D48 1189848b8605Smrg#define GL_STENCIL_INDEX16 0x8D49 1190848b8605Smrg#define GL_RENDERBUFFER_RED_SIZE 0x8D50 1191848b8605Smrg#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 1192848b8605Smrg#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 1193848b8605Smrg#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 1194848b8605Smrg#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 1195848b8605Smrg#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 1196848b8605Smrg#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 1197848b8605Smrg#define GL_MAX_SAMPLES 0x8D57 1198848b8605Smrg#define GL_FRAMEBUFFER_SRGB 0x8DB9 1199848b8605Smrg#define GL_HALF_FLOAT 0x140B 1200848b8605Smrg#define GL_MAP_READ_BIT 0x0001 1201848b8605Smrg#define GL_MAP_WRITE_BIT 0x0002 1202848b8605Smrg#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 1203848b8605Smrg#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 1204848b8605Smrg#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 1205848b8605Smrg#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 1206848b8605Smrg#define GL_COMPRESSED_RED_RGTC1 0x8DBB 1207848b8605Smrg#define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC 1208848b8605Smrg#define GL_COMPRESSED_RG_RGTC2 0x8DBD 1209848b8605Smrg#define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE 1210848b8605Smrg#define GL_RG 0x8227 1211848b8605Smrg#define GL_RG_INTEGER 0x8228 1212848b8605Smrg#define GL_R8 0x8229 1213848b8605Smrg#define GL_R16 0x822A 1214848b8605Smrg#define GL_RG8 0x822B 1215848b8605Smrg#define GL_RG16 0x822C 1216848b8605Smrg#define GL_R16F 0x822D 1217848b8605Smrg#define GL_R32F 0x822E 1218848b8605Smrg#define GL_RG16F 0x822F 1219848b8605Smrg#define GL_RG32F 0x8230 1220848b8605Smrg#define GL_R8I 0x8231 1221848b8605Smrg#define GL_R8UI 0x8232 1222848b8605Smrg#define GL_R16I 0x8233 1223848b8605Smrg#define GL_R16UI 0x8234 1224848b8605Smrg#define GL_R32I 0x8235 1225848b8605Smrg#define GL_R32UI 0x8236 1226848b8605Smrg#define GL_RG8I 0x8237 1227848b8605Smrg#define GL_RG8UI 0x8238 1228848b8605Smrg#define GL_RG16I 0x8239 1229848b8605Smrg#define GL_RG16UI 0x823A 1230848b8605Smrg#define GL_RG32I 0x823B 1231848b8605Smrg#define GL_RG32UI 0x823C 1232848b8605Smrg#define GL_VERTEX_ARRAY_BINDING 0x85B5 1233848b8605Smrgtypedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 1234848b8605Smrgtypedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data); 1235848b8605Smrgtypedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data); 1236848b8605Smrgtypedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index); 1237848b8605Smrgtypedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index); 1238848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index); 1239848b8605Smrgtypedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode); 1240848b8605Smrgtypedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); 1241848b8605Smrgtypedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 1242848b8605Smrgtypedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); 1243848b8605Smrgtypedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); 1244848b8605Smrgtypedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 1245848b8605Smrgtypedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp); 1246848b8605Smrgtypedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode); 1247848b8605Smrgtypedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void); 1248848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); 1249848b8605Smrgtypedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params); 1250848b8605Smrgtypedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params); 1251848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x); 1252848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y); 1253848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z); 1254848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); 1255848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x); 1256848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y); 1257848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z); 1258848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 1259848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v); 1260848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v); 1261848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v); 1262848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v); 1263848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v); 1264848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v); 1265848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v); 1266848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v); 1267848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v); 1268848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v); 1269848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v); 1270848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v); 1271848b8605Smrgtypedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params); 1272848b8605Smrgtypedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name); 1273848b8605Smrgtypedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name); 1274848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0); 1275848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1); 1276848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); 1277848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1278848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value); 1279848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value); 1280848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value); 1281848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value); 1282848b8605Smrgtypedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params); 1283848b8605Smrgtypedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params); 1284848b8605Smrgtypedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params); 1285848b8605Smrgtypedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params); 1286848b8605Smrgtypedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); 1287848b8605Smrgtypedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); 1288848b8605Smrgtypedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); 1289848b8605Smrgtypedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 1290848b8605Smrgtypedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); 1291848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); 1292848b8605Smrgtypedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); 1293848b8605Smrgtypedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers); 1294848b8605Smrgtypedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); 1295848b8605Smrgtypedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 1296848b8605Smrgtypedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 1297848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); 1298848b8605Smrgtypedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); 1299848b8605Smrgtypedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); 1300848b8605Smrgtypedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); 1301848b8605Smrgtypedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); 1302848b8605Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 1303848b8605Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 1304848b8605Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 1305848b8605Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 1306848b8605Smrgtypedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); 1307848b8605Smrgtypedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); 1308848b8605Smrgtypedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 1309848b8605Smrgtypedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1310848b8605Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 1311848b8605Smrgtypedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 1312848b8605Smrgtypedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); 1313848b8605Smrgtypedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); 1314848b8605Smrgtypedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays); 1315848b8605Smrgtypedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); 1316848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); 1317848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1318848b8605SmrgGLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 1319848b8605SmrgGLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data); 1320848b8605SmrgGLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data); 1321848b8605SmrgGLAPI void APIENTRY glEnablei (GLenum target, GLuint index); 1322848b8605SmrgGLAPI void APIENTRY glDisablei (GLenum target, GLuint index); 1323848b8605SmrgGLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index); 1324848b8605SmrgGLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode); 1325848b8605SmrgGLAPI void APIENTRY glEndTransformFeedback (void); 1326848b8605SmrgGLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 1327848b8605SmrgGLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); 1328848b8605SmrgGLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); 1329848b8605SmrgGLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 1330848b8605SmrgGLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp); 1331848b8605SmrgGLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode); 1332848b8605SmrgGLAPI void APIENTRY glEndConditionalRender (void); 1333848b8605SmrgGLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); 1334848b8605SmrgGLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params); 1335848b8605SmrgGLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params); 1336848b8605SmrgGLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x); 1337848b8605SmrgGLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y); 1338848b8605SmrgGLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z); 1339848b8605SmrgGLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); 1340848b8605SmrgGLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x); 1341848b8605SmrgGLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y); 1342848b8605SmrgGLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z); 1343848b8605SmrgGLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 1344848b8605SmrgGLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v); 1345848b8605SmrgGLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v); 1346848b8605SmrgGLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v); 1347848b8605SmrgGLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); 1348848b8605SmrgGLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v); 1349848b8605SmrgGLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v); 1350848b8605SmrgGLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v); 1351848b8605SmrgGLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); 1352848b8605SmrgGLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v); 1353848b8605SmrgGLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v); 1354848b8605SmrgGLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v); 1355848b8605SmrgGLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v); 1356848b8605SmrgGLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params); 1357848b8605SmrgGLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name); 1358848b8605SmrgGLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); 1359848b8605SmrgGLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0); 1360848b8605SmrgGLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); 1361848b8605SmrgGLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); 1362848b8605SmrgGLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1363848b8605SmrgGLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value); 1364848b8605SmrgGLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value); 1365848b8605SmrgGLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value); 1366848b8605SmrgGLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value); 1367848b8605SmrgGLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params); 1368848b8605SmrgGLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params); 1369848b8605SmrgGLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params); 1370848b8605SmrgGLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params); 1371848b8605SmrgGLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value); 1372848b8605SmrgGLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value); 1373848b8605SmrgGLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value); 1374848b8605SmrgGLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 1375848b8605SmrgGLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index); 1376848b8605SmrgGLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer); 1377848b8605SmrgGLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); 1378848b8605SmrgGLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); 1379848b8605SmrgGLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); 1380848b8605SmrgGLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 1381848b8605SmrgGLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); 1382848b8605SmrgGLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer); 1383848b8605SmrgGLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); 1384848b8605SmrgGLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); 1385848b8605SmrgGLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); 1386848b8605SmrgGLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target); 1387848b8605SmrgGLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 1388848b8605SmrgGLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 1389848b8605SmrgGLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 1390848b8605SmrgGLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 1391848b8605SmrgGLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); 1392848b8605SmrgGLAPI void APIENTRY glGenerateMipmap (GLenum target); 1393848b8605SmrgGLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 1394848b8605SmrgGLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1395848b8605SmrgGLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 1396848b8605SmrgGLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 1397848b8605SmrgGLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); 1398848b8605SmrgGLAPI void APIENTRY glBindVertexArray (GLuint array); 1399848b8605SmrgGLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays); 1400848b8605SmrgGLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); 1401848b8605SmrgGLAPI GLboolean APIENTRY glIsVertexArray (GLuint array); 1402848b8605Smrg#endif 1403848b8605Smrg#endif /* GL_VERSION_3_0 */ 1404848b8605Smrg 1405848b8605Smrg#ifndef GL_VERSION_3_1 1406848b8605Smrg#define GL_VERSION_3_1 1 1407848b8605Smrg#define GL_SAMPLER_2D_RECT 0x8B63 1408848b8605Smrg#define GL_SAMPLER_2D_RECT_SHADOW 0x8B64 1409848b8605Smrg#define GL_SAMPLER_BUFFER 0x8DC2 1410848b8605Smrg#define GL_INT_SAMPLER_2D_RECT 0x8DCD 1411848b8605Smrg#define GL_INT_SAMPLER_BUFFER 0x8DD0 1412848b8605Smrg#define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5 1413848b8605Smrg#define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 1414848b8605Smrg#define GL_TEXTURE_BUFFER 0x8C2A 1415848b8605Smrg#define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B 1416848b8605Smrg#define GL_TEXTURE_BINDING_BUFFER 0x8C2C 1417848b8605Smrg#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D 1418848b8605Smrg#define GL_TEXTURE_RECTANGLE 0x84F5 1419848b8605Smrg#define GL_TEXTURE_BINDING_RECTANGLE 0x84F6 1420848b8605Smrg#define GL_PROXY_TEXTURE_RECTANGLE 0x84F7 1421848b8605Smrg#define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8 1422848b8605Smrg#define GL_R8_SNORM 0x8F94 1423848b8605Smrg#define GL_RG8_SNORM 0x8F95 1424848b8605Smrg#define GL_RGB8_SNORM 0x8F96 1425848b8605Smrg#define GL_RGBA8_SNORM 0x8F97 1426848b8605Smrg#define GL_R16_SNORM 0x8F98 1427848b8605Smrg#define GL_RG16_SNORM 0x8F99 1428848b8605Smrg#define GL_RGB16_SNORM 0x8F9A 1429848b8605Smrg#define GL_RGBA16_SNORM 0x8F9B 1430848b8605Smrg#define GL_SIGNED_NORMALIZED 0x8F9C 1431848b8605Smrg#define GL_PRIMITIVE_RESTART 0x8F9D 1432848b8605Smrg#define GL_PRIMITIVE_RESTART_INDEX 0x8F9E 1433848b8605Smrg#define GL_COPY_READ_BUFFER 0x8F36 1434848b8605Smrg#define GL_COPY_WRITE_BUFFER 0x8F37 1435848b8605Smrg#define GL_UNIFORM_BUFFER 0x8A11 1436848b8605Smrg#define GL_UNIFORM_BUFFER_BINDING 0x8A28 1437848b8605Smrg#define GL_UNIFORM_BUFFER_START 0x8A29 1438848b8605Smrg#define GL_UNIFORM_BUFFER_SIZE 0x8A2A 1439848b8605Smrg#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B 1440848b8605Smrg#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C 1441848b8605Smrg#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D 1442848b8605Smrg#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E 1443848b8605Smrg#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F 1444848b8605Smrg#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 1445848b8605Smrg#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 1446848b8605Smrg#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 1447848b8605Smrg#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 1448848b8605Smrg#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 1449848b8605Smrg#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 1450848b8605Smrg#define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 1451848b8605Smrg#define GL_UNIFORM_TYPE 0x8A37 1452848b8605Smrg#define GL_UNIFORM_SIZE 0x8A38 1453848b8605Smrg#define GL_UNIFORM_NAME_LENGTH 0x8A39 1454848b8605Smrg#define GL_UNIFORM_BLOCK_INDEX 0x8A3A 1455848b8605Smrg#define GL_UNIFORM_OFFSET 0x8A3B 1456848b8605Smrg#define GL_UNIFORM_ARRAY_STRIDE 0x8A3C 1457848b8605Smrg#define GL_UNIFORM_MATRIX_STRIDE 0x8A3D 1458848b8605Smrg#define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E 1459848b8605Smrg#define GL_UNIFORM_BLOCK_BINDING 0x8A3F 1460848b8605Smrg#define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 1461848b8605Smrg#define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 1462848b8605Smrg#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 1463848b8605Smrg#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 1464848b8605Smrg#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 1465848b8605Smrg#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45 1466848b8605Smrg#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 1467848b8605Smrg#define GL_INVALID_INDEX 0xFFFFFFFFu 1468848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); 1469848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); 1470848b8605Smrgtypedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer); 1471848b8605Smrgtypedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index); 1472848b8605Smrgtypedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 1473848b8605Smrgtypedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); 1474848b8605Smrgtypedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); 1475848b8605Smrgtypedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); 1476848b8605Smrgtypedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName); 1477848b8605Smrgtypedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); 1478848b8605Smrgtypedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); 1479848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); 1480848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1481848b8605SmrgGLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); 1482848b8605SmrgGLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); 1483848b8605SmrgGLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer); 1484848b8605SmrgGLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index); 1485848b8605SmrgGLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 1486848b8605SmrgGLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); 1487848b8605SmrgGLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); 1488848b8605SmrgGLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); 1489848b8605SmrgGLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); 1490848b8605SmrgGLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); 1491848b8605SmrgGLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); 1492848b8605SmrgGLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); 1493848b8605Smrg#endif 1494848b8605Smrg#endif /* GL_VERSION_3_1 */ 1495848b8605Smrg 1496848b8605Smrg#ifndef GL_VERSION_3_2 1497848b8605Smrg#define GL_VERSION_3_2 1 1498848b8605Smrgtypedef struct __GLsync *GLsync; 1499848b8605Smrg#ifndef GLEXT_64_TYPES_DEFINED 1500848b8605Smrg/* This code block is duplicated in glxext.h, so must be protected */ 1501848b8605Smrg#define GLEXT_64_TYPES_DEFINED 1502848b8605Smrg/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ 1503848b8605Smrg/* (as used in the GL_EXT_timer_query extension). */ 1504848b8605Smrg#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 1505848b8605Smrg#include <inttypes.h> 1506848b8605Smrg#elif defined(__sun__) || defined(__digital__) 1507848b8605Smrg#include <inttypes.h> 1508848b8605Smrg#if defined(__STDC__) 1509848b8605Smrg#if defined(__arch64__) || defined(_LP64) 1510848b8605Smrgtypedef long int int64_t; 1511848b8605Smrgtypedef unsigned long int uint64_t; 1512848b8605Smrg#else 1513848b8605Smrgtypedef long long int int64_t; 1514848b8605Smrgtypedef unsigned long long int uint64_t; 1515848b8605Smrg#endif /* __arch64__ */ 1516848b8605Smrg#endif /* __STDC__ */ 1517848b8605Smrg#elif defined( __VMS ) || defined(__sgi) 1518848b8605Smrg#include <inttypes.h> 1519848b8605Smrg#elif defined(__SCO__) || defined(__USLC__) 1520848b8605Smrg#include <stdint.h> 1521848b8605Smrg#elif defined(__UNIXOS2__) || defined(__SOL64__) 1522848b8605Smrgtypedef long int int32_t; 1523848b8605Smrgtypedef long long int int64_t; 1524848b8605Smrgtypedef unsigned long long int uint64_t; 1525848b8605Smrg#elif defined(_WIN32) && defined(__GNUC__) 1526848b8605Smrg#include <stdint.h> 1527848b8605Smrg#elif defined(_WIN32) 1528848b8605Smrgtypedef __int32 int32_t; 1529848b8605Smrgtypedef __int64 int64_t; 1530848b8605Smrgtypedef unsigned __int64 uint64_t; 1531848b8605Smrg#else 1532848b8605Smrg/* Fallback if nothing above works */ 1533848b8605Smrg#include <inttypes.h> 1534848b8605Smrg#endif 1535848b8605Smrg#endif 1536848b8605Smrgtypedef uint64_t GLuint64; 1537848b8605Smrgtypedef int64_t GLint64; 1538848b8605Smrg#define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 1539848b8605Smrg#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 1540848b8605Smrg#define GL_LINES_ADJACENCY 0x000A 1541848b8605Smrg#define GL_LINE_STRIP_ADJACENCY 0x000B 1542848b8605Smrg#define GL_TRIANGLES_ADJACENCY 0x000C 1543848b8605Smrg#define GL_TRIANGLE_STRIP_ADJACENCY 0x000D 1544848b8605Smrg#define GL_PROGRAM_POINT_SIZE 0x8642 1545848b8605Smrg#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 1546848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 1547848b8605Smrg#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 1548848b8605Smrg#define GL_GEOMETRY_SHADER 0x8DD9 1549848b8605Smrg#define GL_GEOMETRY_VERTICES_OUT 0x8916 1550848b8605Smrg#define GL_GEOMETRY_INPUT_TYPE 0x8917 1551848b8605Smrg#define GL_GEOMETRY_OUTPUT_TYPE 0x8918 1552848b8605Smrg#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF 1553848b8605Smrg#define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 1554848b8605Smrg#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 1555848b8605Smrg#define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 1556848b8605Smrg#define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 1557848b8605Smrg#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 1558848b8605Smrg#define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 1559848b8605Smrg#define GL_CONTEXT_PROFILE_MASK 0x9126 1560848b8605Smrg#define GL_DEPTH_CLAMP 0x864F 1561848b8605Smrg#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C 1562848b8605Smrg#define GL_FIRST_VERTEX_CONVENTION 0x8E4D 1563848b8605Smrg#define GL_LAST_VERTEX_CONVENTION 0x8E4E 1564848b8605Smrg#define GL_PROVOKING_VERTEX 0x8E4F 1565848b8605Smrg#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F 1566848b8605Smrg#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 1567848b8605Smrg#define GL_OBJECT_TYPE 0x9112 1568848b8605Smrg#define GL_SYNC_CONDITION 0x9113 1569848b8605Smrg#define GL_SYNC_STATUS 0x9114 1570848b8605Smrg#define GL_SYNC_FLAGS 0x9115 1571848b8605Smrg#define GL_SYNC_FENCE 0x9116 1572848b8605Smrg#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 1573848b8605Smrg#define GL_UNSIGNALED 0x9118 1574848b8605Smrg#define GL_SIGNALED 0x9119 1575848b8605Smrg#define GL_ALREADY_SIGNALED 0x911A 1576848b8605Smrg#define GL_TIMEOUT_EXPIRED 0x911B 1577848b8605Smrg#define GL_CONDITION_SATISFIED 0x911C 1578848b8605Smrg#define GL_WAIT_FAILED 0x911D 1579848b8605Smrg#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull 1580848b8605Smrg#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 1581848b8605Smrg#define GL_SAMPLE_POSITION 0x8E50 1582848b8605Smrg#define GL_SAMPLE_MASK 0x8E51 1583848b8605Smrg#define GL_SAMPLE_MASK_VALUE 0x8E52 1584848b8605Smrg#define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 1585848b8605Smrg#define GL_TEXTURE_2D_MULTISAMPLE 0x9100 1586848b8605Smrg#define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101 1587848b8605Smrg#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 1588848b8605Smrg#define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103 1589848b8605Smrg#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 1590848b8605Smrg#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 1591848b8605Smrg#define GL_TEXTURE_SAMPLES 0x9106 1592848b8605Smrg#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 1593848b8605Smrg#define GL_SAMPLER_2D_MULTISAMPLE 0x9108 1594848b8605Smrg#define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 1595848b8605Smrg#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A 1596848b8605Smrg#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B 1597848b8605Smrg#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C 1598848b8605Smrg#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D 1599848b8605Smrg#define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E 1600848b8605Smrg#define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F 1601848b8605Smrg#define GL_MAX_INTEGER_SAMPLES 0x9110 1602848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1603848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1604848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 1605848b8605Smrgtypedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); 1606848b8605Smrgtypedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode); 1607848b8605Smrgtypedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags); 1608848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync); 1609848b8605Smrgtypedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); 1610848b8605Smrgtypedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); 1611848b8605Smrgtypedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); 1612848b8605Smrgtypedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data); 1613848b8605Smrgtypedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 1614848b8605Smrgtypedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); 1615848b8605Smrgtypedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); 1616848b8605Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 1617848b8605Smrgtypedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 1618848b8605Smrgtypedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 1619848b8605Smrgtypedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val); 1620848b8605Smrgtypedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask); 1621848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1622848b8605SmrgGLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1623848b8605SmrgGLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1624848b8605SmrgGLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 1625848b8605SmrgGLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); 1626848b8605SmrgGLAPI void APIENTRY glProvokingVertex (GLenum mode); 1627848b8605SmrgGLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags); 1628848b8605SmrgGLAPI GLboolean APIENTRY glIsSync (GLsync sync); 1629848b8605SmrgGLAPI void APIENTRY glDeleteSync (GLsync sync); 1630848b8605SmrgGLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); 1631848b8605SmrgGLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); 1632848b8605SmrgGLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); 1633848b8605SmrgGLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 1634848b8605SmrgGLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); 1635848b8605SmrgGLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); 1636848b8605SmrgGLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level); 1637848b8605SmrgGLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 1638848b8605SmrgGLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 1639848b8605SmrgGLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val); 1640848b8605SmrgGLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask); 1641848b8605Smrg#endif 1642848b8605Smrg#endif /* GL_VERSION_3_2 */ 1643848b8605Smrg 1644848b8605Smrg#ifndef GL_VERSION_3_3 1645848b8605Smrg#define GL_VERSION_3_3 1 1646848b8605Smrg#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE 1647848b8605Smrg#define GL_SRC1_COLOR 0x88F9 1648848b8605Smrg#define GL_ONE_MINUS_SRC1_COLOR 0x88FA 1649848b8605Smrg#define GL_ONE_MINUS_SRC1_ALPHA 0x88FB 1650848b8605Smrg#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC 1651848b8605Smrg#define GL_ANY_SAMPLES_PASSED 0x8C2F 1652848b8605Smrg#define GL_SAMPLER_BINDING 0x8919 1653848b8605Smrg#define GL_RGB10_A2UI 0x906F 1654848b8605Smrg#define GL_TEXTURE_SWIZZLE_R 0x8E42 1655848b8605Smrg#define GL_TEXTURE_SWIZZLE_G 0x8E43 1656848b8605Smrg#define GL_TEXTURE_SWIZZLE_B 0x8E44 1657848b8605Smrg#define GL_TEXTURE_SWIZZLE_A 0x8E45 1658848b8605Smrg#define GL_TEXTURE_SWIZZLE_RGBA 0x8E46 1659848b8605Smrg#define GL_TIME_ELAPSED 0x88BF 1660848b8605Smrg#define GL_TIMESTAMP 0x8E28 1661848b8605Smrg#define GL_INT_2_10_10_10_REV 0x8D9F 1662848b8605Smrgtypedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); 1663848b8605Smrgtypedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name); 1664848b8605Smrgtypedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers); 1665848b8605Smrgtypedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers); 1666848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler); 1667848b8605Smrgtypedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler); 1668848b8605Smrgtypedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param); 1669848b8605Smrgtypedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param); 1670848b8605Smrgtypedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param); 1671848b8605Smrgtypedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param); 1672848b8605Smrgtypedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param); 1673848b8605Smrgtypedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param); 1674848b8605Smrgtypedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params); 1675848b8605Smrgtypedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params); 1676848b8605Smrgtypedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params); 1677848b8605Smrgtypedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params); 1678848b8605Smrgtypedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target); 1679848b8605Smrgtypedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params); 1680848b8605Smrgtypedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params); 1681848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor); 1682848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1683848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1684848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1685848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1686848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1687848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1688848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1689848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1690848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1691848b8605SmrgGLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); 1692848b8605SmrgGLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name); 1693848b8605SmrgGLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); 1694848b8605SmrgGLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers); 1695848b8605SmrgGLAPI GLboolean APIENTRY glIsSampler (GLuint sampler); 1696848b8605SmrgGLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler); 1697848b8605SmrgGLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); 1698848b8605SmrgGLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param); 1699848b8605SmrgGLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); 1700848b8605SmrgGLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param); 1701848b8605SmrgGLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param); 1702848b8605SmrgGLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param); 1703848b8605SmrgGLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params); 1704848b8605SmrgGLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params); 1705848b8605SmrgGLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params); 1706848b8605SmrgGLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params); 1707848b8605SmrgGLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target); 1708848b8605SmrgGLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params); 1709848b8605SmrgGLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params); 1710848b8605SmrgGLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); 1711848b8605SmrgGLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1712848b8605SmrgGLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1713848b8605SmrgGLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1714848b8605SmrgGLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1715848b8605SmrgGLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1716848b8605SmrgGLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1717848b8605SmrgGLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1718848b8605SmrgGLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1719848b8605Smrg#endif 1720848b8605Smrg#endif /* GL_VERSION_3_3 */ 1721848b8605Smrg 1722848b8605Smrg#ifndef GL_VERSION_4_0 1723848b8605Smrg#define GL_VERSION_4_0 1 1724848b8605Smrg#define GL_SAMPLE_SHADING 0x8C36 1725848b8605Smrg#define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37 1726848b8605Smrg#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E 1727848b8605Smrg#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F 1728848b8605Smrg#define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 1729848b8605Smrg#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A 1730848b8605Smrg#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B 1731848b8605Smrg#define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C 1732848b8605Smrg#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D 1733848b8605Smrg#define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E 1734848b8605Smrg#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F 1735848b8605Smrg#define GL_DRAW_INDIRECT_BUFFER 0x8F3F 1736848b8605Smrg#define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 1737848b8605Smrg#define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F 1738848b8605Smrg#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A 1739848b8605Smrg#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B 1740848b8605Smrg#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C 1741848b8605Smrg#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D 1742848b8605Smrg#define GL_MAX_VERTEX_STREAMS 0x8E71 1743848b8605Smrg#define GL_DOUBLE_VEC2 0x8FFC 1744848b8605Smrg#define GL_DOUBLE_VEC3 0x8FFD 1745848b8605Smrg#define GL_DOUBLE_VEC4 0x8FFE 1746848b8605Smrg#define GL_DOUBLE_MAT2 0x8F46 1747848b8605Smrg#define GL_DOUBLE_MAT3 0x8F47 1748848b8605Smrg#define GL_DOUBLE_MAT4 0x8F48 1749848b8605Smrg#define GL_DOUBLE_MAT2x3 0x8F49 1750848b8605Smrg#define GL_DOUBLE_MAT2x4 0x8F4A 1751848b8605Smrg#define GL_DOUBLE_MAT3x2 0x8F4B 1752848b8605Smrg#define GL_DOUBLE_MAT3x4 0x8F4C 1753848b8605Smrg#define GL_DOUBLE_MAT4x2 0x8F4D 1754848b8605Smrg#define GL_DOUBLE_MAT4x3 0x8F4E 1755848b8605Smrg#define GL_ACTIVE_SUBROUTINES 0x8DE5 1756848b8605Smrg#define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6 1757848b8605Smrg#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47 1758848b8605Smrg#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48 1759848b8605Smrg#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49 1760848b8605Smrg#define GL_MAX_SUBROUTINES 0x8DE7 1761848b8605Smrg#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8 1762848b8605Smrg#define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A 1763848b8605Smrg#define GL_COMPATIBLE_SUBROUTINES 0x8E4B 1764848b8605Smrg#define GL_PATCHES 0x000E 1765848b8605Smrg#define GL_PATCH_VERTICES 0x8E72 1766848b8605Smrg#define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73 1767848b8605Smrg#define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74 1768848b8605Smrg#define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75 1769848b8605Smrg#define GL_TESS_GEN_MODE 0x8E76 1770848b8605Smrg#define GL_TESS_GEN_SPACING 0x8E77 1771848b8605Smrg#define GL_TESS_GEN_VERTEX_ORDER 0x8E78 1772848b8605Smrg#define GL_TESS_GEN_POINT_MODE 0x8E79 1773848b8605Smrg#define GL_ISOLINES 0x8E7A 1774848b8605Smrg#define GL_FRACTIONAL_ODD 0x8E7B 1775848b8605Smrg#define GL_FRACTIONAL_EVEN 0x8E7C 1776848b8605Smrg#define GL_MAX_PATCH_VERTICES 0x8E7D 1777848b8605Smrg#define GL_MAX_TESS_GEN_LEVEL 0x8E7E 1778848b8605Smrg#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F 1779848b8605Smrg#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80 1780848b8605Smrg#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81 1781848b8605Smrg#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82 1782848b8605Smrg#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83 1783848b8605Smrg#define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84 1784848b8605Smrg#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85 1785848b8605Smrg#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86 1786848b8605Smrg#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89 1787848b8605Smrg#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A 1788848b8605Smrg#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C 1789848b8605Smrg#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D 1790848b8605Smrg#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E 1791848b8605Smrg#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F 1792848b8605Smrg#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0 1793848b8605Smrg#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1 1794848b8605Smrg#define GL_TESS_EVALUATION_SHADER 0x8E87 1795848b8605Smrg#define GL_TESS_CONTROL_SHADER 0x8E88 1796848b8605Smrg#define GL_TRANSFORM_FEEDBACK 0x8E22 1797848b8605Smrg#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23 1798848b8605Smrg#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24 1799848b8605Smrg#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 1800848b8605Smrg#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70 1801848b8605Smrgtypedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value); 1802848b8605Smrgtypedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode); 1803848b8605Smrgtypedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 1804848b8605Smrgtypedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst); 1805848b8605Smrgtypedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 1806848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect); 1807848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect); 1808848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x); 1809848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y); 1810848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z); 1811848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 1812848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value); 1813848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value); 1814848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value); 1815848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value); 1816848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1817848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1818848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1819848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1820848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1821848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1822848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1823848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1824848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1825848b8605Smrgtypedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params); 1826848b8605Smrgtypedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name); 1827848b8605Smrgtypedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name); 1828848b8605Smrgtypedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); 1829848b8605Smrgtypedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); 1830848b8605Smrgtypedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); 1831848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices); 1832848b8605Smrgtypedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params); 1833848b8605Smrgtypedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values); 1834848b8605Smrgtypedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value); 1835848b8605Smrgtypedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values); 1836848b8605Smrgtypedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id); 1837848b8605Smrgtypedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids); 1838848b8605Smrgtypedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); 1839848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id); 1840848b8605Smrgtypedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void); 1841848b8605Smrgtypedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void); 1842848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id); 1843848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream); 1844848b8605Smrgtypedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id); 1845848b8605Smrgtypedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index); 1846848b8605Smrgtypedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); 1847848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1848848b8605SmrgGLAPI void APIENTRY glMinSampleShading (GLfloat value); 1849848b8605SmrgGLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode); 1850848b8605SmrgGLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 1851848b8605SmrgGLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst); 1852848b8605SmrgGLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 1853848b8605SmrgGLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect); 1854848b8605SmrgGLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect); 1855848b8605SmrgGLAPI void APIENTRY glUniform1d (GLint location, GLdouble x); 1856848b8605SmrgGLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y); 1857848b8605SmrgGLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z); 1858848b8605SmrgGLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 1859848b8605SmrgGLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value); 1860848b8605SmrgGLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value); 1861848b8605SmrgGLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value); 1862848b8605SmrgGLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value); 1863848b8605SmrgGLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1864848b8605SmrgGLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1865848b8605SmrgGLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1866848b8605SmrgGLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1867848b8605SmrgGLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1868848b8605SmrgGLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1869848b8605SmrgGLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1870848b8605SmrgGLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1871848b8605SmrgGLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1872848b8605SmrgGLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params); 1873848b8605SmrgGLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name); 1874848b8605SmrgGLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name); 1875848b8605SmrgGLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); 1876848b8605SmrgGLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); 1877848b8605SmrgGLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); 1878848b8605SmrgGLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices); 1879848b8605SmrgGLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params); 1880848b8605SmrgGLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values); 1881848b8605SmrgGLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value); 1882848b8605SmrgGLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values); 1883848b8605SmrgGLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id); 1884848b8605SmrgGLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids); 1885848b8605SmrgGLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); 1886848b8605SmrgGLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id); 1887848b8605SmrgGLAPI void APIENTRY glPauseTransformFeedback (void); 1888848b8605SmrgGLAPI void APIENTRY glResumeTransformFeedback (void); 1889848b8605SmrgGLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id); 1890848b8605SmrgGLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream); 1891848b8605SmrgGLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id); 1892848b8605SmrgGLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index); 1893848b8605SmrgGLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params); 1894848b8605Smrg#endif 1895848b8605Smrg#endif /* GL_VERSION_4_0 */ 1896848b8605Smrg 1897848b8605Smrg#ifndef GL_VERSION_4_1 1898848b8605Smrg#define GL_VERSION_4_1 1 1899848b8605Smrg#define GL_FIXED 0x140C 1900848b8605Smrg#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A 1901848b8605Smrg#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B 1902848b8605Smrg#define GL_LOW_FLOAT 0x8DF0 1903848b8605Smrg#define GL_MEDIUM_FLOAT 0x8DF1 1904848b8605Smrg#define GL_HIGH_FLOAT 0x8DF2 1905848b8605Smrg#define GL_LOW_INT 0x8DF3 1906848b8605Smrg#define GL_MEDIUM_INT 0x8DF4 1907848b8605Smrg#define GL_HIGH_INT 0x8DF5 1908848b8605Smrg#define GL_SHADER_COMPILER 0x8DFA 1909848b8605Smrg#define GL_SHADER_BINARY_FORMATS 0x8DF8 1910848b8605Smrg#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 1911848b8605Smrg#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB 1912848b8605Smrg#define GL_MAX_VARYING_VECTORS 0x8DFC 1913848b8605Smrg#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD 1914848b8605Smrg#define GL_RGB565 0x8D62 1915848b8605Smrg#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 1916848b8605Smrg#define GL_PROGRAM_BINARY_LENGTH 0x8741 1917848b8605Smrg#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE 1918848b8605Smrg#define GL_PROGRAM_BINARY_FORMATS 0x87FF 1919848b8605Smrg#define GL_VERTEX_SHADER_BIT 0x00000001 1920848b8605Smrg#define GL_FRAGMENT_SHADER_BIT 0x00000002 1921848b8605Smrg#define GL_GEOMETRY_SHADER_BIT 0x00000004 1922848b8605Smrg#define GL_TESS_CONTROL_SHADER_BIT 0x00000008 1923848b8605Smrg#define GL_TESS_EVALUATION_SHADER_BIT 0x00000010 1924848b8605Smrg#define GL_ALL_SHADER_BITS 0xFFFFFFFF 1925848b8605Smrg#define GL_PROGRAM_SEPARABLE 0x8258 1926848b8605Smrg#define GL_ACTIVE_PROGRAM 0x8259 1927848b8605Smrg#define GL_PROGRAM_PIPELINE_BINDING 0x825A 1928848b8605Smrg#define GL_MAX_VIEWPORTS 0x825B 1929848b8605Smrg#define GL_VIEWPORT_SUBPIXEL_BITS 0x825C 1930848b8605Smrg#define GL_VIEWPORT_BOUNDS_RANGE 0x825D 1931848b8605Smrg#define GL_LAYER_PROVOKING_VERTEX 0x825E 1932848b8605Smrg#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F 1933848b8605Smrg#define GL_UNDEFINED_VERTEX 0x8260 1934848b8605Smrgtypedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); 1935848b8605Smrgtypedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); 1936848b8605Smrgtypedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); 1937848b8605Smrgtypedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); 1938848b8605Smrgtypedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); 1939848b8605Smrgtypedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); 1940848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); 1941848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value); 1942848b8605Smrgtypedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program); 1943848b8605Smrgtypedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program); 1944848b8605Smrgtypedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings); 1945848b8605Smrgtypedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline); 1946848b8605Smrgtypedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines); 1947848b8605Smrgtypedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines); 1948848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline); 1949848b8605Smrgtypedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params); 1950848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0); 1951848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1952848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0); 1953848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1954848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0); 1955848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 1956848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0); 1957848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1958848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1); 1959848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1960848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); 1961848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1962848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1); 1963848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 1964848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); 1965848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1966848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 1967848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1968848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 1969848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1970848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); 1971848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 1972848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 1973848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1974848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 1975848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1976848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 1977848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1978848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); 1979848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 1980848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1981848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1982848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1983848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1984848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1985848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1986848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1987848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1988848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1989848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1990848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1991848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1992848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1993848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1994848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1995848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1996848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1997848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1998848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1999848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2000848b8605Smrgtypedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline); 2001848b8605Smrgtypedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 2002848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x); 2003848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y); 2004848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 2005848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2006848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v); 2007848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v); 2008848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v); 2009848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v); 2010848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); 2011848b8605Smrgtypedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params); 2012848b8605Smrgtypedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v); 2013848b8605Smrgtypedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 2014848b8605Smrgtypedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v); 2015848b8605Smrgtypedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v); 2016848b8605Smrgtypedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 2017848b8605Smrgtypedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v); 2018848b8605Smrgtypedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v); 2019848b8605Smrgtypedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f); 2020848b8605Smrgtypedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data); 2021848b8605Smrgtypedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data); 2022848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2023848b8605SmrgGLAPI void APIENTRY glReleaseShaderCompiler (void); 2024848b8605SmrgGLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); 2025848b8605SmrgGLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); 2026848b8605SmrgGLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f); 2027848b8605SmrgGLAPI void APIENTRY glClearDepthf (GLfloat d); 2028848b8605SmrgGLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); 2029848b8605SmrgGLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); 2030848b8605SmrgGLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); 2031848b8605SmrgGLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program); 2032848b8605SmrgGLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program); 2033848b8605SmrgGLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings); 2034848b8605SmrgGLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline); 2035848b8605SmrgGLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines); 2036848b8605SmrgGLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines); 2037848b8605SmrgGLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline); 2038848b8605SmrgGLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params); 2039848b8605SmrgGLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0); 2040848b8605SmrgGLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value); 2041848b8605SmrgGLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0); 2042848b8605SmrgGLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); 2043848b8605SmrgGLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0); 2044848b8605SmrgGLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); 2045848b8605SmrgGLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0); 2046848b8605SmrgGLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); 2047848b8605SmrgGLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1); 2048848b8605SmrgGLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value); 2049848b8605SmrgGLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1); 2050848b8605SmrgGLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); 2051848b8605SmrgGLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1); 2052848b8605SmrgGLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); 2053848b8605SmrgGLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1); 2054848b8605SmrgGLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); 2055848b8605SmrgGLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 2056848b8605SmrgGLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value); 2057848b8605SmrgGLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 2058848b8605SmrgGLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); 2059848b8605SmrgGLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); 2060848b8605SmrgGLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); 2061848b8605SmrgGLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 2062848b8605SmrgGLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); 2063848b8605SmrgGLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 2064848b8605SmrgGLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value); 2065848b8605SmrgGLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 2066848b8605SmrgGLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); 2067848b8605SmrgGLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); 2068848b8605SmrgGLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); 2069848b8605SmrgGLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 2070848b8605SmrgGLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); 2071848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2072848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2073848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2074848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2075848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2076848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2077848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2078848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2079848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2080848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2081848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2082848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2083848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2084848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2085848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2086848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2087848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2088848b8605SmrgGLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2089848b8605SmrgGLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline); 2090848b8605SmrgGLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 2091848b8605SmrgGLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x); 2092848b8605SmrgGLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y); 2093848b8605SmrgGLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z); 2094848b8605SmrgGLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2095848b8605SmrgGLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v); 2096848b8605SmrgGLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v); 2097848b8605SmrgGLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v); 2098848b8605SmrgGLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v); 2099848b8605SmrgGLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); 2100848b8605SmrgGLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params); 2101848b8605SmrgGLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v); 2102848b8605SmrgGLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 2103848b8605SmrgGLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v); 2104848b8605SmrgGLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v); 2105848b8605SmrgGLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 2106848b8605SmrgGLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v); 2107848b8605SmrgGLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v); 2108848b8605SmrgGLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f); 2109848b8605SmrgGLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data); 2110848b8605SmrgGLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data); 2111848b8605Smrg#endif 2112848b8605Smrg#endif /* GL_VERSION_4_1 */ 2113848b8605Smrg 2114848b8605Smrg#ifndef GL_VERSION_4_2 2115848b8605Smrg#define GL_VERSION_4_2 1 2116b8e80941Smrg#define GL_COPY_READ_BUFFER_BINDING 0x8F36 2117b8e80941Smrg#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 2118b8e80941Smrg#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 2119b8e80941Smrg#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 2120848b8605Smrg#define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127 2121848b8605Smrg#define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128 2122848b8605Smrg#define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129 2123848b8605Smrg#define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A 2124848b8605Smrg#define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B 2125848b8605Smrg#define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C 2126848b8605Smrg#define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D 2127848b8605Smrg#define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E 2128848b8605Smrg#define GL_NUM_SAMPLE_COUNTS 0x9380 2129848b8605Smrg#define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC 2130848b8605Smrg#define GL_ATOMIC_COUNTER_BUFFER 0x92C0 2131848b8605Smrg#define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1 2132848b8605Smrg#define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2 2133848b8605Smrg#define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3 2134848b8605Smrg#define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4 2135848b8605Smrg#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5 2136848b8605Smrg#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6 2137848b8605Smrg#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7 2138848b8605Smrg#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8 2139848b8605Smrg#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9 2140848b8605Smrg#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA 2141848b8605Smrg#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB 2142848b8605Smrg#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC 2143848b8605Smrg#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD 2144848b8605Smrg#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE 2145848b8605Smrg#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF 2146848b8605Smrg#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0 2147848b8605Smrg#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1 2148848b8605Smrg#define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2 2149848b8605Smrg#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3 2150848b8605Smrg#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4 2151848b8605Smrg#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5 2152848b8605Smrg#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6 2153848b8605Smrg#define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7 2154848b8605Smrg#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8 2155848b8605Smrg#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC 2156848b8605Smrg#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9 2157848b8605Smrg#define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA 2158848b8605Smrg#define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB 2159848b8605Smrg#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001 2160848b8605Smrg#define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002 2161848b8605Smrg#define GL_UNIFORM_BARRIER_BIT 0x00000004 2162848b8605Smrg#define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008 2163848b8605Smrg#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 2164848b8605Smrg#define GL_COMMAND_BARRIER_BIT 0x00000040 2165848b8605Smrg#define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080 2166848b8605Smrg#define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100 2167848b8605Smrg#define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200 2168848b8605Smrg#define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400 2169848b8605Smrg#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800 2170848b8605Smrg#define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000 2171848b8605Smrg#define GL_ALL_BARRIER_BITS 0xFFFFFFFF 2172848b8605Smrg#define GL_MAX_IMAGE_UNITS 0x8F38 2173848b8605Smrg#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39 2174848b8605Smrg#define GL_IMAGE_BINDING_NAME 0x8F3A 2175848b8605Smrg#define GL_IMAGE_BINDING_LEVEL 0x8F3B 2176848b8605Smrg#define GL_IMAGE_BINDING_LAYERED 0x8F3C 2177848b8605Smrg#define GL_IMAGE_BINDING_LAYER 0x8F3D 2178848b8605Smrg#define GL_IMAGE_BINDING_ACCESS 0x8F3E 2179848b8605Smrg#define GL_IMAGE_1D 0x904C 2180848b8605Smrg#define GL_IMAGE_2D 0x904D 2181848b8605Smrg#define GL_IMAGE_3D 0x904E 2182848b8605Smrg#define GL_IMAGE_2D_RECT 0x904F 2183848b8605Smrg#define GL_IMAGE_CUBE 0x9050 2184848b8605Smrg#define GL_IMAGE_BUFFER 0x9051 2185848b8605Smrg#define GL_IMAGE_1D_ARRAY 0x9052 2186848b8605Smrg#define GL_IMAGE_2D_ARRAY 0x9053 2187848b8605Smrg#define GL_IMAGE_CUBE_MAP_ARRAY 0x9054 2188848b8605Smrg#define GL_IMAGE_2D_MULTISAMPLE 0x9055 2189848b8605Smrg#define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056 2190848b8605Smrg#define GL_INT_IMAGE_1D 0x9057 2191848b8605Smrg#define GL_INT_IMAGE_2D 0x9058 2192848b8605Smrg#define GL_INT_IMAGE_3D 0x9059 2193848b8605Smrg#define GL_INT_IMAGE_2D_RECT 0x905A 2194848b8605Smrg#define GL_INT_IMAGE_CUBE 0x905B 2195848b8605Smrg#define GL_INT_IMAGE_BUFFER 0x905C 2196848b8605Smrg#define GL_INT_IMAGE_1D_ARRAY 0x905D 2197848b8605Smrg#define GL_INT_IMAGE_2D_ARRAY 0x905E 2198848b8605Smrg#define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F 2199848b8605Smrg#define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060 2200848b8605Smrg#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061 2201848b8605Smrg#define GL_UNSIGNED_INT_IMAGE_1D 0x9062 2202848b8605Smrg#define GL_UNSIGNED_INT_IMAGE_2D 0x9063 2203848b8605Smrg#define GL_UNSIGNED_INT_IMAGE_3D 0x9064 2204848b8605Smrg#define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065 2205848b8605Smrg#define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066 2206848b8605Smrg#define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067 2207848b8605Smrg#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068 2208848b8605Smrg#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069 2209848b8605Smrg#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A 2210848b8605Smrg#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B 2211848b8605Smrg#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C 2212848b8605Smrg#define GL_MAX_IMAGE_SAMPLES 0x906D 2213848b8605Smrg#define GL_IMAGE_BINDING_FORMAT 0x906E 2214848b8605Smrg#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7 2215848b8605Smrg#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8 2216848b8605Smrg#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9 2217848b8605Smrg#define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA 2218848b8605Smrg#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB 2219848b8605Smrg#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC 2220848b8605Smrg#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD 2221848b8605Smrg#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE 2222848b8605Smrg#define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF 2223848b8605Smrg#define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C 2224848b8605Smrg#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D 2225848b8605Smrg#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E 2226848b8605Smrg#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F 2227848b8605Smrg#define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F 2228848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); 2229848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); 2230848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); 2231848b8605Smrgtypedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); 2232848b8605Smrgtypedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); 2233848b8605Smrgtypedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); 2234848b8605Smrgtypedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers); 2235848b8605Smrgtypedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2236848b8605Smrgtypedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2237848b8605Smrgtypedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2238848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount); 2239848b8605Smrgtypedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount); 2240848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2241848b8605SmrgGLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); 2242848b8605SmrgGLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); 2243848b8605SmrgGLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); 2244848b8605SmrgGLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); 2245848b8605SmrgGLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); 2246848b8605SmrgGLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); 2247848b8605SmrgGLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers); 2248848b8605SmrgGLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2249848b8605SmrgGLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2250848b8605SmrgGLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2251848b8605SmrgGLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount); 2252848b8605SmrgGLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount); 2253848b8605Smrg#endif 2254848b8605Smrg#endif /* GL_VERSION_4_2 */ 2255848b8605Smrg 2256848b8605Smrg#ifndef GL_VERSION_4_3 2257848b8605Smrg#define GL_VERSION_4_3 1 2258848b8605Smrgtypedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); 2259848b8605Smrg#define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9 2260848b8605Smrg#define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E 2261848b8605Smrg#define GL_COMPRESSED_RGB8_ETC2 0x9274 2262848b8605Smrg#define GL_COMPRESSED_SRGB8_ETC2 0x9275 2263848b8605Smrg#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 2264848b8605Smrg#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 2265848b8605Smrg#define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 2266848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 2267848b8605Smrg#define GL_COMPRESSED_R11_EAC 0x9270 2268848b8605Smrg#define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 2269848b8605Smrg#define GL_COMPRESSED_RG11_EAC 0x9272 2270848b8605Smrg#define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 2271848b8605Smrg#define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 2272848b8605Smrg#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A 2273848b8605Smrg#define GL_MAX_ELEMENT_INDEX 0x8D6B 2274848b8605Smrg#define GL_COMPUTE_SHADER 0x91B9 2275848b8605Smrg#define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB 2276848b8605Smrg#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC 2277848b8605Smrg#define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD 2278848b8605Smrg#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262 2279848b8605Smrg#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263 2280848b8605Smrg#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264 2281848b8605Smrg#define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265 2282848b8605Smrg#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266 2283848b8605Smrg#define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB 2284848b8605Smrg#define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE 2285848b8605Smrg#define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF 2286848b8605Smrg#define GL_COMPUTE_WORK_GROUP_SIZE 0x8267 2287848b8605Smrg#define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC 2288848b8605Smrg#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED 2289848b8605Smrg#define GL_DISPATCH_INDIRECT_BUFFER 0x90EE 2290848b8605Smrg#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF 2291848b8605Smrg#define GL_COMPUTE_SHADER_BIT 0x00000020 2292848b8605Smrg#define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 2293848b8605Smrg#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 2294848b8605Smrg#define GL_DEBUG_CALLBACK_FUNCTION 0x8244 2295848b8605Smrg#define GL_DEBUG_CALLBACK_USER_PARAM 0x8245 2296848b8605Smrg#define GL_DEBUG_SOURCE_API 0x8246 2297848b8605Smrg#define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247 2298848b8605Smrg#define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248 2299848b8605Smrg#define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249 2300848b8605Smrg#define GL_DEBUG_SOURCE_APPLICATION 0x824A 2301848b8605Smrg#define GL_DEBUG_SOURCE_OTHER 0x824B 2302848b8605Smrg#define GL_DEBUG_TYPE_ERROR 0x824C 2303848b8605Smrg#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D 2304848b8605Smrg#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E 2305848b8605Smrg#define GL_DEBUG_TYPE_PORTABILITY 0x824F 2306848b8605Smrg#define GL_DEBUG_TYPE_PERFORMANCE 0x8250 2307848b8605Smrg#define GL_DEBUG_TYPE_OTHER 0x8251 2308848b8605Smrg#define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 2309848b8605Smrg#define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 2310848b8605Smrg#define GL_DEBUG_LOGGED_MESSAGES 0x9145 2311848b8605Smrg#define GL_DEBUG_SEVERITY_HIGH 0x9146 2312848b8605Smrg#define GL_DEBUG_SEVERITY_MEDIUM 0x9147 2313848b8605Smrg#define GL_DEBUG_SEVERITY_LOW 0x9148 2314848b8605Smrg#define GL_DEBUG_TYPE_MARKER 0x8268 2315848b8605Smrg#define GL_DEBUG_TYPE_PUSH_GROUP 0x8269 2316848b8605Smrg#define GL_DEBUG_TYPE_POP_GROUP 0x826A 2317848b8605Smrg#define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B 2318848b8605Smrg#define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C 2319848b8605Smrg#define GL_DEBUG_GROUP_STACK_DEPTH 0x826D 2320848b8605Smrg#define GL_BUFFER 0x82E0 2321848b8605Smrg#define GL_SHADER 0x82E1 2322848b8605Smrg#define GL_PROGRAM 0x82E2 2323848b8605Smrg#define GL_QUERY 0x82E3 2324848b8605Smrg#define GL_PROGRAM_PIPELINE 0x82E4 2325848b8605Smrg#define GL_SAMPLER 0x82E6 2326848b8605Smrg#define GL_MAX_LABEL_LENGTH 0x82E8 2327848b8605Smrg#define GL_DEBUG_OUTPUT 0x92E0 2328848b8605Smrg#define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 2329848b8605Smrg#define GL_MAX_UNIFORM_LOCATIONS 0x826E 2330848b8605Smrg#define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310 2331848b8605Smrg#define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311 2332848b8605Smrg#define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312 2333848b8605Smrg#define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313 2334848b8605Smrg#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314 2335848b8605Smrg#define GL_MAX_FRAMEBUFFER_WIDTH 0x9315 2336848b8605Smrg#define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316 2337848b8605Smrg#define GL_MAX_FRAMEBUFFER_LAYERS 0x9317 2338848b8605Smrg#define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318 2339848b8605Smrg#define GL_INTERNALFORMAT_SUPPORTED 0x826F 2340848b8605Smrg#define GL_INTERNALFORMAT_PREFERRED 0x8270 2341848b8605Smrg#define GL_INTERNALFORMAT_RED_SIZE 0x8271 2342848b8605Smrg#define GL_INTERNALFORMAT_GREEN_SIZE 0x8272 2343848b8605Smrg#define GL_INTERNALFORMAT_BLUE_SIZE 0x8273 2344848b8605Smrg#define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274 2345848b8605Smrg#define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275 2346848b8605Smrg#define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276 2347848b8605Smrg#define GL_INTERNALFORMAT_SHARED_SIZE 0x8277 2348848b8605Smrg#define GL_INTERNALFORMAT_RED_TYPE 0x8278 2349848b8605Smrg#define GL_INTERNALFORMAT_GREEN_TYPE 0x8279 2350848b8605Smrg#define GL_INTERNALFORMAT_BLUE_TYPE 0x827A 2351848b8605Smrg#define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B 2352848b8605Smrg#define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C 2353848b8605Smrg#define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D 2354848b8605Smrg#define GL_MAX_WIDTH 0x827E 2355848b8605Smrg#define GL_MAX_HEIGHT 0x827F 2356848b8605Smrg#define GL_MAX_DEPTH 0x8280 2357848b8605Smrg#define GL_MAX_LAYERS 0x8281 2358848b8605Smrg#define GL_MAX_COMBINED_DIMENSIONS 0x8282 2359848b8605Smrg#define GL_COLOR_COMPONENTS 0x8283 2360848b8605Smrg#define GL_DEPTH_COMPONENTS 0x8284 2361848b8605Smrg#define GL_STENCIL_COMPONENTS 0x8285 2362848b8605Smrg#define GL_COLOR_RENDERABLE 0x8286 2363848b8605Smrg#define GL_DEPTH_RENDERABLE 0x8287 2364848b8605Smrg#define GL_STENCIL_RENDERABLE 0x8288 2365848b8605Smrg#define GL_FRAMEBUFFER_RENDERABLE 0x8289 2366848b8605Smrg#define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A 2367848b8605Smrg#define GL_FRAMEBUFFER_BLEND 0x828B 2368848b8605Smrg#define GL_READ_PIXELS 0x828C 2369848b8605Smrg#define GL_READ_PIXELS_FORMAT 0x828D 2370848b8605Smrg#define GL_READ_PIXELS_TYPE 0x828E 2371848b8605Smrg#define GL_TEXTURE_IMAGE_FORMAT 0x828F 2372848b8605Smrg#define GL_TEXTURE_IMAGE_TYPE 0x8290 2373848b8605Smrg#define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291 2374848b8605Smrg#define GL_GET_TEXTURE_IMAGE_TYPE 0x8292 2375848b8605Smrg#define GL_MIPMAP 0x8293 2376848b8605Smrg#define GL_MANUAL_GENERATE_MIPMAP 0x8294 2377848b8605Smrg#define GL_AUTO_GENERATE_MIPMAP 0x8295 2378848b8605Smrg#define GL_COLOR_ENCODING 0x8296 2379848b8605Smrg#define GL_SRGB_READ 0x8297 2380848b8605Smrg#define GL_SRGB_WRITE 0x8298 2381848b8605Smrg#define GL_FILTER 0x829A 2382848b8605Smrg#define GL_VERTEX_TEXTURE 0x829B 2383848b8605Smrg#define GL_TESS_CONTROL_TEXTURE 0x829C 2384848b8605Smrg#define GL_TESS_EVALUATION_TEXTURE 0x829D 2385848b8605Smrg#define GL_GEOMETRY_TEXTURE 0x829E 2386848b8605Smrg#define GL_FRAGMENT_TEXTURE 0x829F 2387848b8605Smrg#define GL_COMPUTE_TEXTURE 0x82A0 2388848b8605Smrg#define GL_TEXTURE_SHADOW 0x82A1 2389848b8605Smrg#define GL_TEXTURE_GATHER 0x82A2 2390848b8605Smrg#define GL_TEXTURE_GATHER_SHADOW 0x82A3 2391848b8605Smrg#define GL_SHADER_IMAGE_LOAD 0x82A4 2392848b8605Smrg#define GL_SHADER_IMAGE_STORE 0x82A5 2393848b8605Smrg#define GL_SHADER_IMAGE_ATOMIC 0x82A6 2394848b8605Smrg#define GL_IMAGE_TEXEL_SIZE 0x82A7 2395848b8605Smrg#define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8 2396848b8605Smrg#define GL_IMAGE_PIXEL_FORMAT 0x82A9 2397848b8605Smrg#define GL_IMAGE_PIXEL_TYPE 0x82AA 2398848b8605Smrg#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC 2399848b8605Smrg#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD 2400848b8605Smrg#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE 2401848b8605Smrg#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF 2402848b8605Smrg#define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1 2403848b8605Smrg#define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2 2404848b8605Smrg#define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3 2405848b8605Smrg#define GL_CLEAR_BUFFER 0x82B4 2406848b8605Smrg#define GL_TEXTURE_VIEW 0x82B5 2407848b8605Smrg#define GL_VIEW_COMPATIBILITY_CLASS 0x82B6 2408848b8605Smrg#define GL_FULL_SUPPORT 0x82B7 2409848b8605Smrg#define GL_CAVEAT_SUPPORT 0x82B8 2410848b8605Smrg#define GL_IMAGE_CLASS_4_X_32 0x82B9 2411848b8605Smrg#define GL_IMAGE_CLASS_2_X_32 0x82BA 2412848b8605Smrg#define GL_IMAGE_CLASS_1_X_32 0x82BB 2413848b8605Smrg#define GL_IMAGE_CLASS_4_X_16 0x82BC 2414848b8605Smrg#define GL_IMAGE_CLASS_2_X_16 0x82BD 2415848b8605Smrg#define GL_IMAGE_CLASS_1_X_16 0x82BE 2416848b8605Smrg#define GL_IMAGE_CLASS_4_X_8 0x82BF 2417848b8605Smrg#define GL_IMAGE_CLASS_2_X_8 0x82C0 2418848b8605Smrg#define GL_IMAGE_CLASS_1_X_8 0x82C1 2419848b8605Smrg#define GL_IMAGE_CLASS_11_11_10 0x82C2 2420848b8605Smrg#define GL_IMAGE_CLASS_10_10_10_2 0x82C3 2421848b8605Smrg#define GL_VIEW_CLASS_128_BITS 0x82C4 2422848b8605Smrg#define GL_VIEW_CLASS_96_BITS 0x82C5 2423848b8605Smrg#define GL_VIEW_CLASS_64_BITS 0x82C6 2424848b8605Smrg#define GL_VIEW_CLASS_48_BITS 0x82C7 2425848b8605Smrg#define GL_VIEW_CLASS_32_BITS 0x82C8 2426848b8605Smrg#define GL_VIEW_CLASS_24_BITS 0x82C9 2427848b8605Smrg#define GL_VIEW_CLASS_16_BITS 0x82CA 2428848b8605Smrg#define GL_VIEW_CLASS_8_BITS 0x82CB 2429848b8605Smrg#define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC 2430848b8605Smrg#define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD 2431848b8605Smrg#define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE 2432848b8605Smrg#define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF 2433848b8605Smrg#define GL_VIEW_CLASS_RGTC1_RED 0x82D0 2434848b8605Smrg#define GL_VIEW_CLASS_RGTC2_RG 0x82D1 2435848b8605Smrg#define GL_VIEW_CLASS_BPTC_UNORM 0x82D2 2436848b8605Smrg#define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3 2437848b8605Smrg#define GL_UNIFORM 0x92E1 2438848b8605Smrg#define GL_UNIFORM_BLOCK 0x92E2 2439848b8605Smrg#define GL_PROGRAM_INPUT 0x92E3 2440848b8605Smrg#define GL_PROGRAM_OUTPUT 0x92E4 2441848b8605Smrg#define GL_BUFFER_VARIABLE 0x92E5 2442848b8605Smrg#define GL_SHADER_STORAGE_BLOCK 0x92E6 2443848b8605Smrg#define GL_VERTEX_SUBROUTINE 0x92E8 2444848b8605Smrg#define GL_TESS_CONTROL_SUBROUTINE 0x92E9 2445848b8605Smrg#define GL_TESS_EVALUATION_SUBROUTINE 0x92EA 2446848b8605Smrg#define GL_GEOMETRY_SUBROUTINE 0x92EB 2447848b8605Smrg#define GL_FRAGMENT_SUBROUTINE 0x92EC 2448848b8605Smrg#define GL_COMPUTE_SUBROUTINE 0x92ED 2449848b8605Smrg#define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE 2450848b8605Smrg#define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF 2451848b8605Smrg#define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0 2452848b8605Smrg#define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1 2453848b8605Smrg#define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2 2454848b8605Smrg#define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3 2455848b8605Smrg#define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4 2456848b8605Smrg#define GL_ACTIVE_RESOURCES 0x92F5 2457848b8605Smrg#define GL_MAX_NAME_LENGTH 0x92F6 2458848b8605Smrg#define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7 2459848b8605Smrg#define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8 2460848b8605Smrg#define GL_NAME_LENGTH 0x92F9 2461848b8605Smrg#define GL_TYPE 0x92FA 2462848b8605Smrg#define GL_ARRAY_SIZE 0x92FB 2463848b8605Smrg#define GL_OFFSET 0x92FC 2464848b8605Smrg#define GL_BLOCK_INDEX 0x92FD 2465848b8605Smrg#define GL_ARRAY_STRIDE 0x92FE 2466848b8605Smrg#define GL_MATRIX_STRIDE 0x92FF 2467848b8605Smrg#define GL_IS_ROW_MAJOR 0x9300 2468848b8605Smrg#define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301 2469848b8605Smrg#define GL_BUFFER_BINDING 0x9302 2470848b8605Smrg#define GL_BUFFER_DATA_SIZE 0x9303 2471848b8605Smrg#define GL_NUM_ACTIVE_VARIABLES 0x9304 2472848b8605Smrg#define GL_ACTIVE_VARIABLES 0x9305 2473848b8605Smrg#define GL_REFERENCED_BY_VERTEX_SHADER 0x9306 2474848b8605Smrg#define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307 2475848b8605Smrg#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308 2476848b8605Smrg#define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309 2477848b8605Smrg#define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A 2478848b8605Smrg#define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B 2479848b8605Smrg#define GL_TOP_LEVEL_ARRAY_SIZE 0x930C 2480848b8605Smrg#define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D 2481848b8605Smrg#define GL_LOCATION 0x930E 2482848b8605Smrg#define GL_LOCATION_INDEX 0x930F 2483848b8605Smrg#define GL_IS_PER_PATCH 0x92E7 2484848b8605Smrg#define GL_SHADER_STORAGE_BUFFER 0x90D2 2485848b8605Smrg#define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3 2486848b8605Smrg#define GL_SHADER_STORAGE_BUFFER_START 0x90D4 2487848b8605Smrg#define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5 2488848b8605Smrg#define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6 2489848b8605Smrg#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7 2490848b8605Smrg#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8 2491848b8605Smrg#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9 2492848b8605Smrg#define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA 2493848b8605Smrg#define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB 2494848b8605Smrg#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC 2495848b8605Smrg#define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD 2496848b8605Smrg#define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE 2497848b8605Smrg#define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF 2498848b8605Smrg#define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000 2499848b8605Smrg#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39 2500848b8605Smrg#define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA 2501848b8605Smrg#define GL_TEXTURE_BUFFER_OFFSET 0x919D 2502848b8605Smrg#define GL_TEXTURE_BUFFER_SIZE 0x919E 2503848b8605Smrg#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F 2504848b8605Smrg#define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB 2505848b8605Smrg#define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC 2506848b8605Smrg#define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD 2507848b8605Smrg#define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE 2508848b8605Smrg#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF 2509848b8605Smrg#define GL_VERTEX_ATTRIB_BINDING 0x82D4 2510848b8605Smrg#define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5 2511848b8605Smrg#define GL_VERTEX_BINDING_DIVISOR 0x82D6 2512848b8605Smrg#define GL_VERTEX_BINDING_OFFSET 0x82D7 2513848b8605Smrg#define GL_VERTEX_BINDING_STRIDE 0x82D8 2514848b8605Smrg#define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 2515848b8605Smrg#define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA 2516848b8605Smrg#define GL_VERTEX_BINDING_BUFFER 0x8F4F 2517848b8605Smrgtypedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data); 2518848b8605Smrgtypedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); 2519848b8605Smrgtypedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); 2520848b8605Smrgtypedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect); 2521848b8605Smrgtypedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (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); 2522848b8605Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); 2523848b8605Smrgtypedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 2524848b8605Smrgtypedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); 2525848b8605Smrgtypedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); 2526848b8605Smrgtypedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level); 2527848b8605Smrgtypedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); 2528848b8605Smrgtypedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer); 2529848b8605Smrgtypedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); 2530848b8605Smrgtypedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); 2531848b8605Smrgtypedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 2532848b8605Smrgtypedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 2533848b8605Smrgtypedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params); 2534848b8605Smrgtypedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); 2535848b8605Smrgtypedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); 2536848b8605Smrgtypedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); 2537848b8605Smrgtypedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name); 2538848b8605Smrgtypedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); 2539848b8605Smrgtypedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); 2540848b8605Smrgtypedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 2541848b8605Smrgtypedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 2542848b8605Smrgtypedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 2543848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 2544848b8605Smrgtypedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); 2545848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); 2546848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2547848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2548848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex); 2549848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor); 2550848b8605Smrgtypedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 2551848b8605Smrgtypedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 2552848b8605Smrgtypedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam); 2553848b8605Smrgtypedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 2554848b8605Smrgtypedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); 2555848b8605Smrgtypedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void); 2556848b8605Smrgtypedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); 2557848b8605Smrgtypedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); 2558848b8605Smrgtypedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label); 2559848b8605Smrgtypedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); 2560848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2561848b8605SmrgGLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data); 2562848b8605SmrgGLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); 2563848b8605SmrgGLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); 2564848b8605SmrgGLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect); 2565848b8605SmrgGLAPI void APIENTRY glCopyImageSubData (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); 2566848b8605SmrgGLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param); 2567848b8605SmrgGLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params); 2568848b8605SmrgGLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); 2569848b8605SmrgGLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); 2570848b8605SmrgGLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level); 2571848b8605SmrgGLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length); 2572848b8605SmrgGLAPI void APIENTRY glInvalidateBufferData (GLuint buffer); 2573848b8605SmrgGLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments); 2574848b8605SmrgGLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); 2575848b8605SmrgGLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 2576848b8605SmrgGLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 2577848b8605SmrgGLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params); 2578848b8605SmrgGLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name); 2579848b8605SmrgGLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); 2580848b8605SmrgGLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); 2581848b8605SmrgGLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name); 2582848b8605SmrgGLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name); 2583848b8605SmrgGLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); 2584848b8605SmrgGLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 2585848b8605SmrgGLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 2586848b8605SmrgGLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 2587848b8605SmrgGLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 2588848b8605SmrgGLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); 2589848b8605SmrgGLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); 2590848b8605SmrgGLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2591848b8605SmrgGLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2592848b8605SmrgGLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex); 2593848b8605SmrgGLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor); 2594848b8605SmrgGLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 2595848b8605SmrgGLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 2596848b8605SmrgGLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam); 2597848b8605SmrgGLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 2598848b8605SmrgGLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message); 2599848b8605SmrgGLAPI void APIENTRY glPopDebugGroup (void); 2600848b8605SmrgGLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); 2601848b8605SmrgGLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); 2602848b8605SmrgGLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label); 2603848b8605SmrgGLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); 2604848b8605Smrg#endif 2605848b8605Smrg#endif /* GL_VERSION_4_3 */ 2606848b8605Smrg 2607848b8605Smrg#ifndef GL_VERSION_4_4 2608848b8605Smrg#define GL_VERSION_4_4 1 2609848b8605Smrg#define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 2610848b8605Smrg#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221 2611848b8605Smrg#define GL_TEXTURE_BUFFER_BINDING 0x8C2A 2612848b8605Smrg#define GL_MAP_PERSISTENT_BIT 0x0040 2613848b8605Smrg#define GL_MAP_COHERENT_BIT 0x0080 2614848b8605Smrg#define GL_DYNAMIC_STORAGE_BIT 0x0100 2615848b8605Smrg#define GL_CLIENT_STORAGE_BIT 0x0200 2616848b8605Smrg#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000 2617848b8605Smrg#define GL_BUFFER_IMMUTABLE_STORAGE 0x821F 2618848b8605Smrg#define GL_BUFFER_STORAGE_FLAGS 0x8220 2619848b8605Smrg#define GL_CLEAR_TEXTURE 0x9365 2620848b8605Smrg#define GL_LOCATION_COMPONENT 0x934A 2621848b8605Smrg#define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B 2622848b8605Smrg#define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C 2623848b8605Smrg#define GL_QUERY_BUFFER 0x9192 2624848b8605Smrg#define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000 2625848b8605Smrg#define GL_QUERY_BUFFER_BINDING 0x9193 2626848b8605Smrg#define GL_QUERY_RESULT_NO_WAIT 0x9194 2627848b8605Smrg#define GL_MIRROR_CLAMP_TO_EDGE 0x8743 2628848b8605Smrgtypedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); 2629848b8605Smrgtypedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); 2630848b8605Smrgtypedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); 2631848b8605Smrgtypedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers); 2632848b8605Smrgtypedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes); 2633848b8605Smrgtypedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures); 2634848b8605Smrgtypedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers); 2635848b8605Smrgtypedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures); 2636848b8605Smrgtypedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); 2637848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2638848b8605SmrgGLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); 2639848b8605SmrgGLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); 2640848b8605SmrgGLAPI void APIENTRY glClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); 2641848b8605SmrgGLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers); 2642848b8605SmrgGLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes); 2643848b8605SmrgGLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures); 2644848b8605SmrgGLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers); 2645848b8605SmrgGLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures); 2646848b8605SmrgGLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); 2647848b8605Smrg#endif 2648848b8605Smrg#endif /* GL_VERSION_4_4 */ 2649848b8605Smrg 2650848b8605Smrg#ifndef GL_VERSION_4_5 2651848b8605Smrg#define GL_VERSION_4_5 1 2652848b8605Smrg#define GL_CONTEXT_LOST 0x0507 2653848b8605Smrg#define GL_NEGATIVE_ONE_TO_ONE 0x935E 2654848b8605Smrg#define GL_ZERO_TO_ONE 0x935F 2655848b8605Smrg#define GL_CLIP_ORIGIN 0x935C 2656848b8605Smrg#define GL_CLIP_DEPTH_MODE 0x935D 2657848b8605Smrg#define GL_QUERY_WAIT_INVERTED 0x8E17 2658848b8605Smrg#define GL_QUERY_NO_WAIT_INVERTED 0x8E18 2659848b8605Smrg#define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19 2660848b8605Smrg#define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A 2661848b8605Smrg#define GL_MAX_CULL_DISTANCES 0x82F9 2662848b8605Smrg#define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA 2663848b8605Smrg#define GL_TEXTURE_TARGET 0x1006 2664848b8605Smrg#define GL_QUERY_TARGET 0x82EA 2665848b8605Smrg#define GL_GUILTY_CONTEXT_RESET 0x8253 2666848b8605Smrg#define GL_INNOCENT_CONTEXT_RESET 0x8254 2667848b8605Smrg#define GL_UNKNOWN_CONTEXT_RESET 0x8255 2668848b8605Smrg#define GL_RESET_NOTIFICATION_STRATEGY 0x8256 2669848b8605Smrg#define GL_LOSE_CONTEXT_ON_RESET 0x8252 2670848b8605Smrg#define GL_NO_RESET_NOTIFICATION 0x8261 2671848b8605Smrg#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004 2672848b8605Smrg#define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB 2673848b8605Smrg#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC 2674848b8605Smrgtypedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth); 2675848b8605Smrgtypedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); 2676848b8605Smrgtypedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer); 2677b8e80941Smrgtypedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 2678848b8605Smrgtypedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param); 2679848b8605Smrgtypedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param); 2680848b8605Smrgtypedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param); 2681848b8605Smrgtypedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers); 2682b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); 2683b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); 2684b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); 2685b8e80941Smrgtypedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 2686848b8605Smrgtypedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); 2687b8e80941Smrgtypedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); 2688848b8605Smrgtypedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access); 2689b8e80941Smrgtypedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); 2690848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer); 2691b8e80941Smrgtypedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); 2692848b8605Smrgtypedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params); 2693848b8605Smrgtypedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params); 2694848b8605Smrgtypedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params); 2695b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); 2696848b8605Smrgtypedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); 2697848b8605Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 2698848b8605Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param); 2699848b8605Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); 2700848b8605Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); 2701848b8605Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf); 2702848b8605Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs); 2703848b8605Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src); 2704848b8605Smrgtypedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments); 2705848b8605Smrgtypedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); 2706848b8605Smrgtypedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value); 2707848b8605Smrgtypedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value); 2708848b8605Smrgtypedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value); 2709b8e80941Smrgtypedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 2710848b8605Smrgtypedef 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); 2711848b8605Smrgtypedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target); 2712848b8605Smrgtypedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param); 2713848b8605Smrgtypedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); 2714848b8605Smrgtypedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); 2715848b8605Smrgtypedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); 2716848b8605Smrgtypedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2717848b8605Smrgtypedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params); 2718848b8605Smrgtypedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures); 2719848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer); 2720b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 2721848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width); 2722848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2723848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2724848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 2725848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 2726848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 2727848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 2728848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 2729848b8605Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); 2730848b8605Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); 2731848b8605Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); 2732848b8605Smrgtypedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 2733848b8605Smrgtypedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 2734848b8605Smrgtypedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 2735848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param); 2736848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param); 2737848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param); 2738848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params); 2739848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params); 2740848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param); 2741848b8605Smrgtypedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture); 2742848b8605Smrgtypedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture); 2743848b8605Smrgtypedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); 2744848b8605Smrgtypedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels); 2745848b8605Smrgtypedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params); 2746848b8605Smrgtypedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params); 2747848b8605Smrgtypedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params); 2748848b8605Smrgtypedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params); 2749848b8605Smrgtypedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params); 2750848b8605Smrgtypedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params); 2751848b8605Smrgtypedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); 2752848b8605Smrgtypedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index); 2753848b8605Smrgtypedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index); 2754848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer); 2755848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); 2756848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); 2757848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex); 2758848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); 2759848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2760848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2761848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor); 2762848b8605Smrgtypedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param); 2763848b8605Smrgtypedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param); 2764848b8605Smrgtypedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param); 2765848b8605Smrgtypedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers); 2766848b8605Smrgtypedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines); 2767848b8605Smrgtypedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids); 2768b8e80941Smrgtypedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2769b8e80941Smrgtypedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2770b8e80941Smrgtypedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2771b8e80941Smrgtypedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2772848b8605Smrgtypedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers); 2773848b8605Smrgtypedef 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); 2774848b8605Smrgtypedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels); 2775848b8605Smrgtypedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void); 2776848b8605Smrgtypedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels); 2777848b8605Smrgtypedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); 2778848b8605Smrgtypedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); 2779848b8605Smrgtypedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 2780848b8605Smrgtypedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); 2781848b8605Smrgtypedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 2782848b8605Smrgtypedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 2783848b8605Smrgtypedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void); 2784848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2785848b8605SmrgGLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth); 2786848b8605SmrgGLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids); 2787848b8605SmrgGLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer); 2788b8e80941SmrgGLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 2789848b8605SmrgGLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param); 2790848b8605SmrgGLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param); 2791848b8605SmrgGLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param); 2792848b8605SmrgGLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers); 2793b8e80941SmrgGLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); 2794b8e80941SmrgGLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); 2795b8e80941SmrgGLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); 2796b8e80941SmrgGLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 2797848b8605SmrgGLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); 2798b8e80941SmrgGLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); 2799848b8605SmrgGLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access); 2800b8e80941SmrgGLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); 2801848b8605SmrgGLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer); 2802b8e80941SmrgGLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length); 2803848b8605SmrgGLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params); 2804848b8605SmrgGLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params); 2805848b8605SmrgGLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params); 2806b8e80941SmrgGLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); 2807848b8605SmrgGLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers); 2808848b8605SmrgGLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 2809848b8605SmrgGLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param); 2810848b8605SmrgGLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); 2811848b8605SmrgGLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); 2812848b8605SmrgGLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf); 2813848b8605SmrgGLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs); 2814848b8605SmrgGLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src); 2815848b8605SmrgGLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments); 2816848b8605SmrgGLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); 2817848b8605SmrgGLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value); 2818848b8605SmrgGLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value); 2819848b8605SmrgGLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value); 2820b8e80941SmrgGLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 2821848b8605SmrgGLAPI 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); 2822848b8605SmrgGLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target); 2823848b8605SmrgGLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param); 2824848b8605SmrgGLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); 2825848b8605SmrgGLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers); 2826848b8605SmrgGLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); 2827848b8605SmrgGLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2828848b8605SmrgGLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params); 2829848b8605SmrgGLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures); 2830848b8605SmrgGLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer); 2831b8e80941SmrgGLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 2832848b8605SmrgGLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width); 2833848b8605SmrgGLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2834848b8605SmrgGLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2835848b8605SmrgGLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 2836848b8605SmrgGLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 2837848b8605SmrgGLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 2838848b8605SmrgGLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 2839848b8605SmrgGLAPI void APIENTRY glTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 2840848b8605SmrgGLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); 2841848b8605SmrgGLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); 2842848b8605SmrgGLAPI void APIENTRY glCompressedTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); 2843848b8605SmrgGLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 2844848b8605SmrgGLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 2845848b8605SmrgGLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 2846848b8605SmrgGLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param); 2847848b8605SmrgGLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param); 2848848b8605SmrgGLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param); 2849848b8605SmrgGLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params); 2850848b8605SmrgGLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params); 2851848b8605SmrgGLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param); 2852848b8605SmrgGLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture); 2853848b8605SmrgGLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture); 2854848b8605SmrgGLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); 2855848b8605SmrgGLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels); 2856848b8605SmrgGLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params); 2857848b8605SmrgGLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params); 2858848b8605SmrgGLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params); 2859848b8605SmrgGLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params); 2860848b8605SmrgGLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params); 2861848b8605SmrgGLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params); 2862848b8605SmrgGLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays); 2863848b8605SmrgGLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index); 2864848b8605SmrgGLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index); 2865848b8605SmrgGLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer); 2866848b8605SmrgGLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); 2867848b8605SmrgGLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); 2868848b8605SmrgGLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex); 2869848b8605SmrgGLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); 2870848b8605SmrgGLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2871848b8605SmrgGLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2872848b8605SmrgGLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor); 2873848b8605SmrgGLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param); 2874848b8605SmrgGLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param); 2875848b8605SmrgGLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param); 2876848b8605SmrgGLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers); 2877848b8605SmrgGLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines); 2878848b8605SmrgGLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids); 2879b8e80941SmrgGLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2880b8e80941SmrgGLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2881b8e80941SmrgGLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2882b8e80941SmrgGLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2883848b8605SmrgGLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers); 2884848b8605SmrgGLAPI 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); 2885848b8605SmrgGLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels); 2886848b8605SmrgGLAPI GLenum APIENTRY glGetGraphicsResetStatus (void); 2887848b8605SmrgGLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels); 2888848b8605SmrgGLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); 2889848b8605SmrgGLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); 2890848b8605SmrgGLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 2891848b8605SmrgGLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params); 2892848b8605SmrgGLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 2893848b8605SmrgGLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 2894848b8605SmrgGLAPI void APIENTRY glTextureBarrier (void); 2895848b8605Smrg#endif 2896848b8605Smrg#endif /* GL_VERSION_4_5 */ 2897848b8605Smrg 2898b8e80941Smrg#ifndef GL_VERSION_4_6 2899b8e80941Smrg#define GL_VERSION_4_6 1 2900b8e80941Smrg#define GL_SHADER_BINARY_FORMAT_SPIR_V 0x9551 2901b8e80941Smrg#define GL_SPIR_V_BINARY 0x9552 2902b8e80941Smrg#define GL_PARAMETER_BUFFER 0x80EE 2903b8e80941Smrg#define GL_PARAMETER_BUFFER_BINDING 0x80EF 2904b8e80941Smrg#define GL_CONTEXT_FLAG_NO_ERROR_BIT 0x00000008 2905b8e80941Smrg#define GL_VERTICES_SUBMITTED 0x82EE 2906b8e80941Smrg#define GL_PRIMITIVES_SUBMITTED 0x82EF 2907b8e80941Smrg#define GL_VERTEX_SHADER_INVOCATIONS 0x82F0 2908b8e80941Smrg#define GL_TESS_CONTROL_SHADER_PATCHES 0x82F1 2909b8e80941Smrg#define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2 2910b8e80941Smrg#define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3 2911b8e80941Smrg#define GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4 2912b8e80941Smrg#define GL_COMPUTE_SHADER_INVOCATIONS 0x82F5 2913b8e80941Smrg#define GL_CLIPPING_INPUT_PRIMITIVES 0x82F6 2914b8e80941Smrg#define GL_CLIPPING_OUTPUT_PRIMITIVES 0x82F7 2915b8e80941Smrg#define GL_POLYGON_OFFSET_CLAMP 0x8E1B 2916b8e80941Smrg#define GL_SPIR_V_EXTENSIONS 0x9553 2917b8e80941Smrg#define GL_NUM_SPIR_V_EXTENSIONS 0x9554 2918b8e80941Smrg#define GL_TEXTURE_MAX_ANISOTROPY 0x84FE 2919b8e80941Smrg#define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF 2920b8e80941Smrg#define GL_TRANSFORM_FEEDBACK_OVERFLOW 0x82EC 2921b8e80941Smrg#define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED 2922b8e80941Smrgtypedef void (APIENTRYP PFNGLSPECIALIZESHADERPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); 2923b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 2924b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 2925b8e80941Smrgtypedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) (GLfloat factor, GLfloat units, GLfloat clamp); 2926b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2927b8e80941SmrgGLAPI void APIENTRY glSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); 2928b8e80941SmrgGLAPI void APIENTRY glMultiDrawArraysIndirectCount (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 2929b8e80941SmrgGLAPI void APIENTRY glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 2930b8e80941SmrgGLAPI void APIENTRY glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp); 2931b8e80941Smrg#endif 2932b8e80941Smrg#endif /* GL_VERSION_4_6 */ 2933b8e80941Smrg 2934848b8605Smrg#ifndef GL_ARB_ES2_compatibility 2935848b8605Smrg#define GL_ARB_ES2_compatibility 1 2936848b8605Smrg#endif /* GL_ARB_ES2_compatibility */ 2937848b8605Smrg 2938848b8605Smrg#ifndef GL_ARB_ES3_1_compatibility 2939848b8605Smrg#define GL_ARB_ES3_1_compatibility 1 2940848b8605Smrg#endif /* GL_ARB_ES3_1_compatibility */ 2941848b8605Smrg 2942b8e80941Smrg#ifndef GL_ARB_ES3_2_compatibility 2943b8e80941Smrg#define GL_ARB_ES3_2_compatibility 1 2944b8e80941Smrg#define GL_PRIMITIVE_BOUNDING_BOX_ARB 0x92BE 2945b8e80941Smrg#define GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB 0x9381 2946b8e80941Smrg#define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB 0x9382 2947b8e80941Smrgtypedef void (APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXARBPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 2948b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2949b8e80941SmrgGLAPI void APIENTRY glPrimitiveBoundingBoxARB (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 2950b8e80941Smrg#endif 2951b8e80941Smrg#endif /* GL_ARB_ES3_2_compatibility */ 2952b8e80941Smrg 2953848b8605Smrg#ifndef GL_ARB_ES3_compatibility 2954848b8605Smrg#define GL_ARB_ES3_compatibility 1 2955848b8605Smrg#endif /* GL_ARB_ES3_compatibility */ 2956848b8605Smrg 2957848b8605Smrg#ifndef GL_ARB_arrays_of_arrays 2958848b8605Smrg#define GL_ARB_arrays_of_arrays 1 2959848b8605Smrg#endif /* GL_ARB_arrays_of_arrays */ 2960848b8605Smrg 2961848b8605Smrg#ifndef GL_ARB_base_instance 2962848b8605Smrg#define GL_ARB_base_instance 1 2963848b8605Smrg#endif /* GL_ARB_base_instance */ 2964848b8605Smrg 2965848b8605Smrg#ifndef GL_ARB_bindless_texture 2966848b8605Smrg#define GL_ARB_bindless_texture 1 2967848b8605Smrgtypedef uint64_t GLuint64EXT; 2968848b8605Smrg#define GL_UNSIGNED_INT64_ARB 0x140F 2969848b8605Smrgtypedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture); 2970848b8605Smrgtypedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler); 2971848b8605Smrgtypedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle); 2972848b8605Smrgtypedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle); 2973848b8605Smrgtypedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 2974848b8605Smrgtypedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access); 2975848b8605Smrgtypedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle); 2976848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value); 2977848b8605Smrgtypedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); 2978848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value); 2979848b8605Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2980848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle); 2981848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle); 2982848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x); 2983848b8605Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v); 2984848b8605Smrgtypedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params); 2985848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2986848b8605SmrgGLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture); 2987848b8605SmrgGLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler); 2988848b8605SmrgGLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle); 2989848b8605SmrgGLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle); 2990848b8605SmrgGLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 2991848b8605SmrgGLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access); 2992848b8605SmrgGLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle); 2993848b8605SmrgGLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value); 2994848b8605SmrgGLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value); 2995848b8605SmrgGLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value); 2996848b8605SmrgGLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2997848b8605SmrgGLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle); 2998848b8605SmrgGLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle); 2999848b8605SmrgGLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x); 3000848b8605SmrgGLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v); 3001848b8605SmrgGLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params); 3002848b8605Smrg#endif 3003848b8605Smrg#endif /* GL_ARB_bindless_texture */ 3004848b8605Smrg 3005848b8605Smrg#ifndef GL_ARB_blend_func_extended 3006848b8605Smrg#define GL_ARB_blend_func_extended 1 3007848b8605Smrg#endif /* GL_ARB_blend_func_extended */ 3008848b8605Smrg 3009848b8605Smrg#ifndef GL_ARB_buffer_storage 3010848b8605Smrg#define GL_ARB_buffer_storage 1 3011848b8605Smrg#endif /* GL_ARB_buffer_storage */ 3012848b8605Smrg 3013848b8605Smrg#ifndef GL_ARB_cl_event 3014848b8605Smrg#define GL_ARB_cl_event 1 3015848b8605Smrgstruct _cl_context; 3016848b8605Smrgstruct _cl_event; 3017848b8605Smrg#define GL_SYNC_CL_EVENT_ARB 0x8240 3018848b8605Smrg#define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241 3019848b8605Smrgtypedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags); 3020848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3021848b8605SmrgGLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags); 3022848b8605Smrg#endif 3023848b8605Smrg#endif /* GL_ARB_cl_event */ 3024848b8605Smrg 3025848b8605Smrg#ifndef GL_ARB_clear_buffer_object 3026848b8605Smrg#define GL_ARB_clear_buffer_object 1 3027848b8605Smrg#endif /* GL_ARB_clear_buffer_object */ 3028848b8605Smrg 3029848b8605Smrg#ifndef GL_ARB_clear_texture 3030848b8605Smrg#define GL_ARB_clear_texture 1 3031848b8605Smrg#endif /* GL_ARB_clear_texture */ 3032848b8605Smrg 3033848b8605Smrg#ifndef GL_ARB_clip_control 3034848b8605Smrg#define GL_ARB_clip_control 1 3035848b8605Smrg#endif /* GL_ARB_clip_control */ 3036848b8605Smrg 3037848b8605Smrg#ifndef GL_ARB_compressed_texture_pixel_storage 3038848b8605Smrg#define GL_ARB_compressed_texture_pixel_storage 1 3039848b8605Smrg#endif /* GL_ARB_compressed_texture_pixel_storage */ 3040848b8605Smrg 3041848b8605Smrg#ifndef GL_ARB_compute_shader 3042848b8605Smrg#define GL_ARB_compute_shader 1 3043848b8605Smrg#endif /* GL_ARB_compute_shader */ 3044848b8605Smrg 3045848b8605Smrg#ifndef GL_ARB_compute_variable_group_size 3046848b8605Smrg#define GL_ARB_compute_variable_group_size 1 3047848b8605Smrg#define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344 3048848b8605Smrg#define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB 3049848b8605Smrg#define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345 3050848b8605Smrg#define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF 3051848b8605Smrgtypedef void (APIENTRYP PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z); 3052848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3053848b8605SmrgGLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z); 3054848b8605Smrg#endif 3055848b8605Smrg#endif /* GL_ARB_compute_variable_group_size */ 3056848b8605Smrg 3057848b8605Smrg#ifndef GL_ARB_conditional_render_inverted 3058848b8605Smrg#define GL_ARB_conditional_render_inverted 1 3059848b8605Smrg#endif /* GL_ARB_conditional_render_inverted */ 3060848b8605Smrg 3061848b8605Smrg#ifndef GL_ARB_conservative_depth 3062848b8605Smrg#define GL_ARB_conservative_depth 1 3063848b8605Smrg#endif /* GL_ARB_conservative_depth */ 3064848b8605Smrg 3065848b8605Smrg#ifndef GL_ARB_copy_buffer 3066848b8605Smrg#define GL_ARB_copy_buffer 1 3067848b8605Smrg#endif /* GL_ARB_copy_buffer */ 3068848b8605Smrg 3069848b8605Smrg#ifndef GL_ARB_copy_image 3070848b8605Smrg#define GL_ARB_copy_image 1 3071848b8605Smrg#endif /* GL_ARB_copy_image */ 3072848b8605Smrg 3073848b8605Smrg#ifndef GL_ARB_cull_distance 3074848b8605Smrg#define GL_ARB_cull_distance 1 3075848b8605Smrg#endif /* GL_ARB_cull_distance */ 3076848b8605Smrg 3077848b8605Smrg#ifndef GL_ARB_debug_output 3078848b8605Smrg#define GL_ARB_debug_output 1 3079848b8605Smrgtypedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); 3080848b8605Smrg#define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242 3081848b8605Smrg#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243 3082848b8605Smrg#define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244 3083848b8605Smrg#define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245 3084848b8605Smrg#define GL_DEBUG_SOURCE_API_ARB 0x8246 3085848b8605Smrg#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247 3086848b8605Smrg#define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248 3087848b8605Smrg#define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249 3088848b8605Smrg#define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A 3089848b8605Smrg#define GL_DEBUG_SOURCE_OTHER_ARB 0x824B 3090848b8605Smrg#define GL_DEBUG_TYPE_ERROR_ARB 0x824C 3091848b8605Smrg#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D 3092848b8605Smrg#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E 3093848b8605Smrg#define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F 3094848b8605Smrg#define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250 3095848b8605Smrg#define GL_DEBUG_TYPE_OTHER_ARB 0x8251 3096848b8605Smrg#define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143 3097848b8605Smrg#define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144 3098848b8605Smrg#define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145 3099848b8605Smrg#define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146 3100848b8605Smrg#define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147 3101848b8605Smrg#define GL_DEBUG_SEVERITY_LOW_ARB 0x9148 3102848b8605Smrgtypedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 3103848b8605Smrgtypedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 3104848b8605Smrgtypedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam); 3105848b8605Smrgtypedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 3106848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3107848b8605SmrgGLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 3108848b8605SmrgGLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 3109848b8605SmrgGLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam); 3110848b8605SmrgGLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 3111848b8605Smrg#endif 3112848b8605Smrg#endif /* GL_ARB_debug_output */ 3113848b8605Smrg 3114848b8605Smrg#ifndef GL_ARB_depth_buffer_float 3115848b8605Smrg#define GL_ARB_depth_buffer_float 1 3116848b8605Smrg#endif /* GL_ARB_depth_buffer_float */ 3117848b8605Smrg 3118848b8605Smrg#ifndef GL_ARB_depth_clamp 3119848b8605Smrg#define GL_ARB_depth_clamp 1 3120848b8605Smrg#endif /* GL_ARB_depth_clamp */ 3121848b8605Smrg 3122848b8605Smrg#ifndef GL_ARB_derivative_control 3123848b8605Smrg#define GL_ARB_derivative_control 1 3124848b8605Smrg#endif /* GL_ARB_derivative_control */ 3125848b8605Smrg 3126848b8605Smrg#ifndef GL_ARB_direct_state_access 3127848b8605Smrg#define GL_ARB_direct_state_access 1 3128848b8605Smrg#endif /* GL_ARB_direct_state_access */ 3129848b8605Smrg 3130848b8605Smrg#ifndef GL_ARB_draw_buffers_blend 3131848b8605Smrg#define GL_ARB_draw_buffers_blend 1 3132848b8605Smrgtypedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode); 3133848b8605Smrgtypedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 3134848b8605Smrgtypedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst); 3135848b8605Smrgtypedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 3136848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3137848b8605SmrgGLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode); 3138848b8605SmrgGLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 3139848b8605SmrgGLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst); 3140848b8605SmrgGLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 3141848b8605Smrg#endif 3142848b8605Smrg#endif /* GL_ARB_draw_buffers_blend */ 3143848b8605Smrg 3144848b8605Smrg#ifndef GL_ARB_draw_elements_base_vertex 3145848b8605Smrg#define GL_ARB_draw_elements_base_vertex 1 3146848b8605Smrg#endif /* GL_ARB_draw_elements_base_vertex */ 3147848b8605Smrg 3148848b8605Smrg#ifndef GL_ARB_draw_indirect 3149848b8605Smrg#define GL_ARB_draw_indirect 1 3150848b8605Smrg#endif /* GL_ARB_draw_indirect */ 3151848b8605Smrg 3152b8e80941Smrg#ifndef GL_ARB_draw_instanced 3153b8e80941Smrg#define GL_ARB_draw_instanced 1 3154b8e80941Smrgtypedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 3155b8e80941Smrgtypedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 3156b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3157b8e80941SmrgGLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 3158b8e80941SmrgGLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 3159b8e80941Smrg#endif 3160b8e80941Smrg#endif /* GL_ARB_draw_instanced */ 3161b8e80941Smrg 3162848b8605Smrg#ifndef GL_ARB_enhanced_layouts 3163848b8605Smrg#define GL_ARB_enhanced_layouts 1 3164848b8605Smrg#endif /* GL_ARB_enhanced_layouts */ 3165848b8605Smrg 3166848b8605Smrg#ifndef GL_ARB_explicit_attrib_location 3167848b8605Smrg#define GL_ARB_explicit_attrib_location 1 3168848b8605Smrg#endif /* GL_ARB_explicit_attrib_location */ 3169848b8605Smrg 3170848b8605Smrg#ifndef GL_ARB_explicit_uniform_location 3171848b8605Smrg#define GL_ARB_explicit_uniform_location 1 3172848b8605Smrg#endif /* GL_ARB_explicit_uniform_location */ 3173848b8605Smrg 3174848b8605Smrg#ifndef GL_ARB_fragment_coord_conventions 3175848b8605Smrg#define GL_ARB_fragment_coord_conventions 1 3176848b8605Smrg#endif /* GL_ARB_fragment_coord_conventions */ 3177848b8605Smrg 3178848b8605Smrg#ifndef GL_ARB_fragment_layer_viewport 3179848b8605Smrg#define GL_ARB_fragment_layer_viewport 1 3180848b8605Smrg#endif /* GL_ARB_fragment_layer_viewport */ 3181848b8605Smrg 3182b8e80941Smrg#ifndef GL_ARB_fragment_shader_interlock 3183b8e80941Smrg#define GL_ARB_fragment_shader_interlock 1 3184b8e80941Smrg#endif /* GL_ARB_fragment_shader_interlock */ 3185b8e80941Smrg 3186848b8605Smrg#ifndef GL_ARB_framebuffer_no_attachments 3187848b8605Smrg#define GL_ARB_framebuffer_no_attachments 1 3188848b8605Smrg#endif /* GL_ARB_framebuffer_no_attachments */ 3189848b8605Smrg 3190848b8605Smrg#ifndef GL_ARB_framebuffer_object 3191848b8605Smrg#define GL_ARB_framebuffer_object 1 3192848b8605Smrg#endif /* GL_ARB_framebuffer_object */ 3193848b8605Smrg 3194848b8605Smrg#ifndef GL_ARB_framebuffer_sRGB 3195848b8605Smrg#define GL_ARB_framebuffer_sRGB 1 3196848b8605Smrg#endif /* GL_ARB_framebuffer_sRGB */ 3197848b8605Smrg 3198b8e80941Smrg#ifndef GL_ARB_geometry_shader4 3199b8e80941Smrg#define GL_ARB_geometry_shader4 1 3200b8e80941Smrg#define GL_LINES_ADJACENCY_ARB 0x000A 3201b8e80941Smrg#define GL_LINE_STRIP_ADJACENCY_ARB 0x000B 3202b8e80941Smrg#define GL_TRIANGLES_ADJACENCY_ARB 0x000C 3203b8e80941Smrg#define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D 3204b8e80941Smrg#define GL_PROGRAM_POINT_SIZE_ARB 0x8642 3205b8e80941Smrg#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29 3206b8e80941Smrg#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7 3207b8e80941Smrg#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8 3208b8e80941Smrg#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9 3209b8e80941Smrg#define GL_GEOMETRY_SHADER_ARB 0x8DD9 3210b8e80941Smrg#define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA 3211b8e80941Smrg#define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB 3212b8e80941Smrg#define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC 3213b8e80941Smrg#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD 3214b8e80941Smrg#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE 3215b8e80941Smrg#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF 3216b8e80941Smrg#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0 3217b8e80941Smrg#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1 3218b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value); 3219b8e80941Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 3220b8e80941Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 3221b8e80941Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); 3222b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3223b8e80941SmrgGLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value); 3224b8e80941SmrgGLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level); 3225b8e80941SmrgGLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 3226b8e80941SmrgGLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); 3227b8e80941Smrg#endif 3228b8e80941Smrg#endif /* GL_ARB_geometry_shader4 */ 3229b8e80941Smrg 3230848b8605Smrg#ifndef GL_ARB_get_program_binary 3231848b8605Smrg#define GL_ARB_get_program_binary 1 3232848b8605Smrg#endif /* GL_ARB_get_program_binary */ 3233848b8605Smrg 3234848b8605Smrg#ifndef GL_ARB_get_texture_sub_image 3235848b8605Smrg#define GL_ARB_get_texture_sub_image 1 3236848b8605Smrg#endif /* GL_ARB_get_texture_sub_image */ 3237848b8605Smrg 3238b8e80941Smrg#ifndef GL_ARB_gl_spirv 3239b8e80941Smrg#define GL_ARB_gl_spirv 1 3240b8e80941Smrg#define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551 3241b8e80941Smrg#define GL_SPIR_V_BINARY_ARB 0x9552 3242b8e80941Smrgtypedef void (APIENTRYP PFNGLSPECIALIZESHADERARBPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); 3243b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3244b8e80941SmrgGLAPI void APIENTRY glSpecializeShaderARB (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); 3245b8e80941Smrg#endif 3246b8e80941Smrg#endif /* GL_ARB_gl_spirv */ 3247b8e80941Smrg 3248848b8605Smrg#ifndef GL_ARB_gpu_shader5 3249848b8605Smrg#define GL_ARB_gpu_shader5 1 3250848b8605Smrg#endif /* GL_ARB_gpu_shader5 */ 3251848b8605Smrg 3252848b8605Smrg#ifndef GL_ARB_gpu_shader_fp64 3253848b8605Smrg#define GL_ARB_gpu_shader_fp64 1 3254848b8605Smrg#endif /* GL_ARB_gpu_shader_fp64 */ 3255848b8605Smrg 3256b8e80941Smrg#ifndef GL_ARB_gpu_shader_int64 3257b8e80941Smrg#define GL_ARB_gpu_shader_int64 1 3258b8e80941Smrg#define GL_INT64_ARB 0x140E 3259b8e80941Smrg#define GL_INT64_VEC2_ARB 0x8FE9 3260b8e80941Smrg#define GL_INT64_VEC3_ARB 0x8FEA 3261b8e80941Smrg#define GL_INT64_VEC4_ARB 0x8FEB 3262b8e80941Smrg#define GL_UNSIGNED_INT64_VEC2_ARB 0x8FF5 3263b8e80941Smrg#define GL_UNSIGNED_INT64_VEC3_ARB 0x8FF6 3264b8e80941Smrg#define GL_UNSIGNED_INT64_VEC4_ARB 0x8FF7 3265b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM1I64ARBPROC) (GLint location, GLint64 x); 3266b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM2I64ARBPROC) (GLint location, GLint64 x, GLint64 y); 3267b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM3I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z); 3268b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM4I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); 3269b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM1I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); 3270b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM2I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); 3271b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM3I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); 3272b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM4I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); 3273b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM1UI64ARBPROC) (GLint location, GLuint64 x); 3274b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM2UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y); 3275b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM3UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z); 3276b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM4UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); 3277b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM1UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); 3278b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM2UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); 3279b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM3UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); 3280b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM4UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); 3281b8e80941Smrgtypedef void (APIENTRYP PFNGLGETUNIFORMI64VARBPROC) (GLuint program, GLint location, GLint64 *params); 3282b8e80941Smrgtypedef void (APIENTRYP PFNGLGETUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLuint64 *params); 3283b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNUNIFORMI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint64 *params); 3284b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params); 3285b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64ARBPROC) (GLuint program, GLint location, GLint64 x); 3286b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y); 3287b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z); 3288b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); 3289b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3290b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3291b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3292b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3293b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64ARBPROC) (GLuint program, GLint location, GLuint64 x); 3294b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y); 3295b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z); 3296b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); 3297b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3298b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3299b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3300b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3301b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3302b8e80941SmrgGLAPI void APIENTRY glUniform1i64ARB (GLint location, GLint64 x); 3303b8e80941SmrgGLAPI void APIENTRY glUniform2i64ARB (GLint location, GLint64 x, GLint64 y); 3304b8e80941SmrgGLAPI void APIENTRY glUniform3i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z); 3305b8e80941SmrgGLAPI void APIENTRY glUniform4i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); 3306b8e80941SmrgGLAPI void APIENTRY glUniform1i64vARB (GLint location, GLsizei count, const GLint64 *value); 3307b8e80941SmrgGLAPI void APIENTRY glUniform2i64vARB (GLint location, GLsizei count, const GLint64 *value); 3308b8e80941SmrgGLAPI void APIENTRY glUniform3i64vARB (GLint location, GLsizei count, const GLint64 *value); 3309b8e80941SmrgGLAPI void APIENTRY glUniform4i64vARB (GLint location, GLsizei count, const GLint64 *value); 3310b8e80941SmrgGLAPI void APIENTRY glUniform1ui64ARB (GLint location, GLuint64 x); 3311b8e80941SmrgGLAPI void APIENTRY glUniform2ui64ARB (GLint location, GLuint64 x, GLuint64 y); 3312b8e80941SmrgGLAPI void APIENTRY glUniform3ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z); 3313b8e80941SmrgGLAPI void APIENTRY glUniform4ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); 3314b8e80941SmrgGLAPI void APIENTRY glUniform1ui64vARB (GLint location, GLsizei count, const GLuint64 *value); 3315b8e80941SmrgGLAPI void APIENTRY glUniform2ui64vARB (GLint location, GLsizei count, const GLuint64 *value); 3316b8e80941SmrgGLAPI void APIENTRY glUniform3ui64vARB (GLint location, GLsizei count, const GLuint64 *value); 3317b8e80941SmrgGLAPI void APIENTRY glUniform4ui64vARB (GLint location, GLsizei count, const GLuint64 *value); 3318b8e80941SmrgGLAPI void APIENTRY glGetUniformi64vARB (GLuint program, GLint location, GLint64 *params); 3319b8e80941SmrgGLAPI void APIENTRY glGetUniformui64vARB (GLuint program, GLint location, GLuint64 *params); 3320b8e80941SmrgGLAPI void APIENTRY glGetnUniformi64vARB (GLuint program, GLint location, GLsizei bufSize, GLint64 *params); 3321b8e80941SmrgGLAPI void APIENTRY glGetnUniformui64vARB (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params); 3322b8e80941SmrgGLAPI void APIENTRY glProgramUniform1i64ARB (GLuint program, GLint location, GLint64 x); 3323b8e80941SmrgGLAPI void APIENTRY glProgramUniform2i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y); 3324b8e80941SmrgGLAPI void APIENTRY glProgramUniform3i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z); 3325b8e80941SmrgGLAPI void APIENTRY glProgramUniform4i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); 3326b8e80941SmrgGLAPI void APIENTRY glProgramUniform1i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3327b8e80941SmrgGLAPI void APIENTRY glProgramUniform2i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3328b8e80941SmrgGLAPI void APIENTRY glProgramUniform3i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3329b8e80941SmrgGLAPI void APIENTRY glProgramUniform4i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3330b8e80941SmrgGLAPI void APIENTRY glProgramUniform1ui64ARB (GLuint program, GLint location, GLuint64 x); 3331b8e80941SmrgGLAPI void APIENTRY glProgramUniform2ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y); 3332b8e80941SmrgGLAPI void APIENTRY glProgramUniform3ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z); 3333b8e80941SmrgGLAPI void APIENTRY glProgramUniform4ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); 3334b8e80941SmrgGLAPI void APIENTRY glProgramUniform1ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3335b8e80941SmrgGLAPI void APIENTRY glProgramUniform2ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3336b8e80941SmrgGLAPI void APIENTRY glProgramUniform3ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3337b8e80941SmrgGLAPI void APIENTRY glProgramUniform4ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3338b8e80941Smrg#endif 3339b8e80941Smrg#endif /* GL_ARB_gpu_shader_int64 */ 3340b8e80941Smrg 3341848b8605Smrg#ifndef GL_ARB_half_float_vertex 3342848b8605Smrg#define GL_ARB_half_float_vertex 1 3343848b8605Smrg#endif /* GL_ARB_half_float_vertex */ 3344848b8605Smrg 3345848b8605Smrg#ifndef GL_ARB_imaging 3346848b8605Smrg#define GL_ARB_imaging 1 3347848b8605Smrg#endif /* GL_ARB_imaging */ 3348848b8605Smrg 3349848b8605Smrg#ifndef GL_ARB_indirect_parameters 3350848b8605Smrg#define GL_ARB_indirect_parameters 1 3351848b8605Smrg#define GL_PARAMETER_BUFFER_ARB 0x80EE 3352848b8605Smrg#define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF 3353b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 3354b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 3355848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3356b8e80941SmrgGLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 3357b8e80941SmrgGLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 3358848b8605Smrg#endif 3359848b8605Smrg#endif /* GL_ARB_indirect_parameters */ 3360848b8605Smrg 3361b8e80941Smrg#ifndef GL_ARB_instanced_arrays 3362b8e80941Smrg#define GL_ARB_instanced_arrays 1 3363b8e80941Smrg#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE 3364b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor); 3365b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3366b8e80941SmrgGLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor); 3367b8e80941Smrg#endif 3368b8e80941Smrg#endif /* GL_ARB_instanced_arrays */ 3369b8e80941Smrg 3370848b8605Smrg#ifndef GL_ARB_internalformat_query 3371848b8605Smrg#define GL_ARB_internalformat_query 1 3372848b8605Smrg#endif /* GL_ARB_internalformat_query */ 3373848b8605Smrg 3374848b8605Smrg#ifndef GL_ARB_internalformat_query2 3375848b8605Smrg#define GL_ARB_internalformat_query2 1 3376848b8605Smrg#define GL_SRGB_DECODE_ARB 0x8299 3377848b8605Smrg#endif /* GL_ARB_internalformat_query2 */ 3378848b8605Smrg 3379848b8605Smrg#ifndef GL_ARB_invalidate_subdata 3380848b8605Smrg#define GL_ARB_invalidate_subdata 1 3381848b8605Smrg#endif /* GL_ARB_invalidate_subdata */ 3382848b8605Smrg 3383848b8605Smrg#ifndef GL_ARB_map_buffer_alignment 3384848b8605Smrg#define GL_ARB_map_buffer_alignment 1 3385848b8605Smrg#endif /* GL_ARB_map_buffer_alignment */ 3386848b8605Smrg 3387848b8605Smrg#ifndef GL_ARB_map_buffer_range 3388848b8605Smrg#define GL_ARB_map_buffer_range 1 3389848b8605Smrg#endif /* GL_ARB_map_buffer_range */ 3390848b8605Smrg 3391848b8605Smrg#ifndef GL_ARB_multi_bind 3392848b8605Smrg#define GL_ARB_multi_bind 1 3393848b8605Smrg#endif /* GL_ARB_multi_bind */ 3394848b8605Smrg 3395848b8605Smrg#ifndef GL_ARB_multi_draw_indirect 3396848b8605Smrg#define GL_ARB_multi_draw_indirect 1 3397848b8605Smrg#endif /* GL_ARB_multi_draw_indirect */ 3398848b8605Smrg 3399848b8605Smrg#ifndef GL_ARB_occlusion_query2 3400848b8605Smrg#define GL_ARB_occlusion_query2 1 3401848b8605Smrg#endif /* GL_ARB_occlusion_query2 */ 3402848b8605Smrg 3403b8e80941Smrg#ifndef GL_ARB_parallel_shader_compile 3404b8e80941Smrg#define GL_ARB_parallel_shader_compile 1 3405b8e80941Smrg#define GL_MAX_SHADER_COMPILER_THREADS_ARB 0x91B0 3406b8e80941Smrg#define GL_COMPLETION_STATUS_ARB 0x91B1 3407b8e80941Smrgtypedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSARBPROC) (GLuint count); 3408b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3409b8e80941SmrgGLAPI void APIENTRY glMaxShaderCompilerThreadsARB (GLuint count); 3410b8e80941Smrg#endif 3411b8e80941Smrg#endif /* GL_ARB_parallel_shader_compile */ 3412b8e80941Smrg 3413848b8605Smrg#ifndef GL_ARB_pipeline_statistics_query 3414848b8605Smrg#define GL_ARB_pipeline_statistics_query 1 3415848b8605Smrg#define GL_VERTICES_SUBMITTED_ARB 0x82EE 3416848b8605Smrg#define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF 3417848b8605Smrg#define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0 3418848b8605Smrg#define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1 3419848b8605Smrg#define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2 3420848b8605Smrg#define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3 3421848b8605Smrg#define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4 3422848b8605Smrg#define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5 3423848b8605Smrg#define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6 3424848b8605Smrg#define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7 3425848b8605Smrg#endif /* GL_ARB_pipeline_statistics_query */ 3426848b8605Smrg 3427b8e80941Smrg#ifndef GL_ARB_pixel_buffer_object 3428b8e80941Smrg#define GL_ARB_pixel_buffer_object 1 3429b8e80941Smrg#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB 3430b8e80941Smrg#define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC 3431b8e80941Smrg#define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED 3432b8e80941Smrg#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF 3433b8e80941Smrg#endif /* GL_ARB_pixel_buffer_object */ 3434b8e80941Smrg 3435b8e80941Smrg#ifndef GL_ARB_polygon_offset_clamp 3436b8e80941Smrg#define GL_ARB_polygon_offset_clamp 1 3437b8e80941Smrg#endif /* GL_ARB_polygon_offset_clamp */ 3438b8e80941Smrg 3439b8e80941Smrg#ifndef GL_ARB_post_depth_coverage 3440b8e80941Smrg#define GL_ARB_post_depth_coverage 1 3441b8e80941Smrg#endif /* GL_ARB_post_depth_coverage */ 3442b8e80941Smrg 3443848b8605Smrg#ifndef GL_ARB_program_interface_query 3444848b8605Smrg#define GL_ARB_program_interface_query 1 3445848b8605Smrg#endif /* GL_ARB_program_interface_query */ 3446848b8605Smrg 3447848b8605Smrg#ifndef GL_ARB_provoking_vertex 3448848b8605Smrg#define GL_ARB_provoking_vertex 1 3449848b8605Smrg#endif /* GL_ARB_provoking_vertex */ 3450848b8605Smrg 3451848b8605Smrg#ifndef GL_ARB_query_buffer_object 3452848b8605Smrg#define GL_ARB_query_buffer_object 1 3453848b8605Smrg#endif /* GL_ARB_query_buffer_object */ 3454848b8605Smrg 3455848b8605Smrg#ifndef GL_ARB_robust_buffer_access_behavior 3456848b8605Smrg#define GL_ARB_robust_buffer_access_behavior 1 3457848b8605Smrg#endif /* GL_ARB_robust_buffer_access_behavior */ 3458848b8605Smrg 3459848b8605Smrg#ifndef GL_ARB_robustness 3460848b8605Smrg#define GL_ARB_robustness 1 3461848b8605Smrg#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004 3462848b8605Smrg#define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 3463848b8605Smrg#define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 3464848b8605Smrg#define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 3465848b8605Smrg#define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 3466848b8605Smrg#define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 3467848b8605Smrg#define GL_NO_RESET_NOTIFICATION_ARB 0x8261 3468848b8605Smrgtypedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void); 3469848b8605Smrgtypedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img); 3470848b8605Smrgtypedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 3471848b8605Smrgtypedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img); 3472848b8605Smrgtypedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 3473848b8605Smrgtypedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); 3474848b8605Smrgtypedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 3475848b8605Smrgtypedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); 3476848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3477848b8605SmrgGLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void); 3478848b8605SmrgGLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img); 3479848b8605SmrgGLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 3480848b8605SmrgGLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img); 3481848b8605SmrgGLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 3482848b8605SmrgGLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params); 3483848b8605SmrgGLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 3484848b8605SmrgGLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); 3485848b8605Smrg#endif 3486848b8605Smrg#endif /* GL_ARB_robustness */ 3487848b8605Smrg 3488848b8605Smrg#ifndef GL_ARB_robustness_isolation 3489848b8605Smrg#define GL_ARB_robustness_isolation 1 3490848b8605Smrg#endif /* GL_ARB_robustness_isolation */ 3491848b8605Smrg 3492b8e80941Smrg#ifndef GL_ARB_sample_locations 3493b8e80941Smrg#define GL_ARB_sample_locations 1 3494b8e80941Smrg#define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB 0x933D 3495b8e80941Smrg#define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB 0x933E 3496b8e80941Smrg#define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB 0x933F 3497b8e80941Smrg#define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340 3498b8e80941Smrg#define GL_SAMPLE_LOCATION_ARB 0x8E50 3499b8e80941Smrg#define GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB 0x9341 3500b8e80941Smrg#define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB 0x9342 3501b8e80941Smrg#define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB 0x9343 3502b8e80941Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v); 3503b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); 3504b8e80941Smrgtypedef void (APIENTRYP PFNGLEVALUATEDEPTHVALUESARBPROC) (void); 3505b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3506b8e80941SmrgGLAPI void APIENTRY glFramebufferSampleLocationsfvARB (GLenum target, GLuint start, GLsizei count, const GLfloat *v); 3507b8e80941SmrgGLAPI void APIENTRY glNamedFramebufferSampleLocationsfvARB (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); 3508b8e80941SmrgGLAPI void APIENTRY glEvaluateDepthValuesARB (void); 3509b8e80941Smrg#endif 3510b8e80941Smrg#endif /* GL_ARB_sample_locations */ 3511b8e80941Smrg 3512848b8605Smrg#ifndef GL_ARB_sample_shading 3513848b8605Smrg#define GL_ARB_sample_shading 1 3514848b8605Smrg#define GL_SAMPLE_SHADING_ARB 0x8C36 3515848b8605Smrg#define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37 3516848b8605Smrgtypedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value); 3517848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3518848b8605SmrgGLAPI void APIENTRY glMinSampleShadingARB (GLfloat value); 3519848b8605Smrg#endif 3520848b8605Smrg#endif /* GL_ARB_sample_shading */ 3521848b8605Smrg 3522848b8605Smrg#ifndef GL_ARB_sampler_objects 3523848b8605Smrg#define GL_ARB_sampler_objects 1 3524848b8605Smrg#endif /* GL_ARB_sampler_objects */ 3525848b8605Smrg 3526848b8605Smrg#ifndef GL_ARB_seamless_cube_map 3527848b8605Smrg#define GL_ARB_seamless_cube_map 1 3528848b8605Smrg#endif /* GL_ARB_seamless_cube_map */ 3529848b8605Smrg 3530848b8605Smrg#ifndef GL_ARB_seamless_cubemap_per_texture 3531848b8605Smrg#define GL_ARB_seamless_cubemap_per_texture 1 3532848b8605Smrg#endif /* GL_ARB_seamless_cubemap_per_texture */ 3533848b8605Smrg 3534848b8605Smrg#ifndef GL_ARB_separate_shader_objects 3535848b8605Smrg#define GL_ARB_separate_shader_objects 1 3536848b8605Smrg#endif /* GL_ARB_separate_shader_objects */ 3537848b8605Smrg 3538b8e80941Smrg#ifndef GL_ARB_shader_atomic_counter_ops 3539b8e80941Smrg#define GL_ARB_shader_atomic_counter_ops 1 3540b8e80941Smrg#endif /* GL_ARB_shader_atomic_counter_ops */ 3541b8e80941Smrg 3542848b8605Smrg#ifndef GL_ARB_shader_atomic_counters 3543848b8605Smrg#define GL_ARB_shader_atomic_counters 1 3544848b8605Smrg#endif /* GL_ARB_shader_atomic_counters */ 3545848b8605Smrg 3546b8e80941Smrg#ifndef GL_ARB_shader_ballot 3547b8e80941Smrg#define GL_ARB_shader_ballot 1 3548b8e80941Smrg#endif /* GL_ARB_shader_ballot */ 3549b8e80941Smrg 3550848b8605Smrg#ifndef GL_ARB_shader_bit_encoding 3551848b8605Smrg#define GL_ARB_shader_bit_encoding 1 3552848b8605Smrg#endif /* GL_ARB_shader_bit_encoding */ 3553848b8605Smrg 3554b8e80941Smrg#ifndef GL_ARB_shader_clock 3555b8e80941Smrg#define GL_ARB_shader_clock 1 3556b8e80941Smrg#endif /* GL_ARB_shader_clock */ 3557b8e80941Smrg 3558848b8605Smrg#ifndef GL_ARB_shader_draw_parameters 3559848b8605Smrg#define GL_ARB_shader_draw_parameters 1 3560848b8605Smrg#endif /* GL_ARB_shader_draw_parameters */ 3561848b8605Smrg 3562848b8605Smrg#ifndef GL_ARB_shader_group_vote 3563848b8605Smrg#define GL_ARB_shader_group_vote 1 3564848b8605Smrg#endif /* GL_ARB_shader_group_vote */ 3565848b8605Smrg 3566848b8605Smrg#ifndef GL_ARB_shader_image_load_store 3567848b8605Smrg#define GL_ARB_shader_image_load_store 1 3568848b8605Smrg#endif /* GL_ARB_shader_image_load_store */ 3569848b8605Smrg 3570848b8605Smrg#ifndef GL_ARB_shader_image_size 3571848b8605Smrg#define GL_ARB_shader_image_size 1 3572848b8605Smrg#endif /* GL_ARB_shader_image_size */ 3573848b8605Smrg 3574848b8605Smrg#ifndef GL_ARB_shader_precision 3575848b8605Smrg#define GL_ARB_shader_precision 1 3576848b8605Smrg#endif /* GL_ARB_shader_precision */ 3577848b8605Smrg 3578848b8605Smrg#ifndef GL_ARB_shader_stencil_export 3579848b8605Smrg#define GL_ARB_shader_stencil_export 1 3580848b8605Smrg#endif /* GL_ARB_shader_stencil_export */ 3581848b8605Smrg 3582848b8605Smrg#ifndef GL_ARB_shader_storage_buffer_object 3583848b8605Smrg#define GL_ARB_shader_storage_buffer_object 1 3584848b8605Smrg#endif /* GL_ARB_shader_storage_buffer_object */ 3585848b8605Smrg 3586848b8605Smrg#ifndef GL_ARB_shader_subroutine 3587848b8605Smrg#define GL_ARB_shader_subroutine 1 3588848b8605Smrg#endif /* GL_ARB_shader_subroutine */ 3589848b8605Smrg 3590848b8605Smrg#ifndef GL_ARB_shader_texture_image_samples 3591848b8605Smrg#define GL_ARB_shader_texture_image_samples 1 3592848b8605Smrg#endif /* GL_ARB_shader_texture_image_samples */ 3593848b8605Smrg 3594b8e80941Smrg#ifndef GL_ARB_shader_viewport_layer_array 3595b8e80941Smrg#define GL_ARB_shader_viewport_layer_array 1 3596b8e80941Smrg#endif /* GL_ARB_shader_viewport_layer_array */ 3597b8e80941Smrg 3598848b8605Smrg#ifndef GL_ARB_shading_language_420pack 3599848b8605Smrg#define GL_ARB_shading_language_420pack 1 3600848b8605Smrg#endif /* GL_ARB_shading_language_420pack */ 3601848b8605Smrg 3602848b8605Smrg#ifndef GL_ARB_shading_language_include 3603848b8605Smrg#define GL_ARB_shading_language_include 1 3604848b8605Smrg#define GL_SHADER_INCLUDE_ARB 0x8DAE 3605848b8605Smrg#define GL_NAMED_STRING_LENGTH_ARB 0x8DE9 3606848b8605Smrg#define GL_NAMED_STRING_TYPE_ARB 0x8DEA 3607848b8605Smrgtypedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string); 3608848b8605Smrgtypedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name); 3609848b8605Smrgtypedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length); 3610848b8605Smrgtypedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name); 3611848b8605Smrgtypedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string); 3612848b8605Smrgtypedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params); 3613848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3614848b8605SmrgGLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string); 3615848b8605SmrgGLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name); 3616848b8605SmrgGLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length); 3617848b8605SmrgGLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name); 3618848b8605SmrgGLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string); 3619848b8605SmrgGLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params); 3620848b8605Smrg#endif 3621848b8605Smrg#endif /* GL_ARB_shading_language_include */ 3622848b8605Smrg 3623848b8605Smrg#ifndef GL_ARB_shading_language_packing 3624848b8605Smrg#define GL_ARB_shading_language_packing 1 3625848b8605Smrg#endif /* GL_ARB_shading_language_packing */ 3626848b8605Smrg 3627848b8605Smrg#ifndef GL_ARB_sparse_buffer 3628848b8605Smrg#define GL_ARB_sparse_buffer 1 3629848b8605Smrg#define GL_SPARSE_STORAGE_BIT_ARB 0x0400 3630848b8605Smrg#define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8 3631b8e80941Smrgtypedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit); 3632b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); 3633b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); 3634848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3635b8e80941SmrgGLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit); 3636b8e80941SmrgGLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); 3637b8e80941SmrgGLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); 3638848b8605Smrg#endif 3639848b8605Smrg#endif /* GL_ARB_sparse_buffer */ 3640848b8605Smrg 3641848b8605Smrg#ifndef GL_ARB_sparse_texture 3642848b8605Smrg#define GL_ARB_sparse_texture 1 3643848b8605Smrg#define GL_TEXTURE_SPARSE_ARB 0x91A6 3644848b8605Smrg#define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7 3645b8e80941Smrg#define GL_NUM_SPARSE_LEVELS_ARB 0x91AA 3646848b8605Smrg#define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8 3647848b8605Smrg#define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195 3648848b8605Smrg#define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196 3649848b8605Smrg#define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197 3650848b8605Smrg#define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198 3651848b8605Smrg#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199 3652848b8605Smrg#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A 3653848b8605Smrg#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9 3654b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); 3655848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3656b8e80941SmrgGLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); 3657848b8605Smrg#endif 3658848b8605Smrg#endif /* GL_ARB_sparse_texture */ 3659848b8605Smrg 3660b8e80941Smrg#ifndef GL_ARB_sparse_texture2 3661b8e80941Smrg#define GL_ARB_sparse_texture2 1 3662b8e80941Smrg#endif /* GL_ARB_sparse_texture2 */ 3663b8e80941Smrg 3664b8e80941Smrg#ifndef GL_ARB_sparse_texture_clamp 3665b8e80941Smrg#define GL_ARB_sparse_texture_clamp 1 3666b8e80941Smrg#endif /* GL_ARB_sparse_texture_clamp */ 3667b8e80941Smrg 3668b8e80941Smrg#ifndef GL_ARB_spirv_extensions 3669b8e80941Smrg#define GL_ARB_spirv_extensions 1 3670b8e80941Smrg#endif /* GL_ARB_spirv_extensions */ 3671b8e80941Smrg 3672848b8605Smrg#ifndef GL_ARB_stencil_texturing 3673848b8605Smrg#define GL_ARB_stencil_texturing 1 3674848b8605Smrg#endif /* GL_ARB_stencil_texturing */ 3675848b8605Smrg 3676848b8605Smrg#ifndef GL_ARB_sync 3677848b8605Smrg#define GL_ARB_sync 1 3678848b8605Smrg#endif /* GL_ARB_sync */ 3679848b8605Smrg 3680848b8605Smrg#ifndef GL_ARB_tessellation_shader 3681848b8605Smrg#define GL_ARB_tessellation_shader 1 3682848b8605Smrg#endif /* GL_ARB_tessellation_shader */ 3683848b8605Smrg 3684848b8605Smrg#ifndef GL_ARB_texture_barrier 3685848b8605Smrg#define GL_ARB_texture_barrier 1 3686848b8605Smrg#endif /* GL_ARB_texture_barrier */ 3687848b8605Smrg 3688b8e80941Smrg#ifndef GL_ARB_texture_border_clamp 3689b8e80941Smrg#define GL_ARB_texture_border_clamp 1 3690b8e80941Smrg#define GL_CLAMP_TO_BORDER_ARB 0x812D 3691b8e80941Smrg#endif /* GL_ARB_texture_border_clamp */ 3692b8e80941Smrg 3693b8e80941Smrg#ifndef GL_ARB_texture_buffer_object 3694b8e80941Smrg#define GL_ARB_texture_buffer_object 1 3695b8e80941Smrg#define GL_TEXTURE_BUFFER_ARB 0x8C2A 3696b8e80941Smrg#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B 3697b8e80941Smrg#define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C 3698b8e80941Smrg#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D 3699b8e80941Smrg#define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E 3700b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer); 3701b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3702b8e80941SmrgGLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer); 3703b8e80941Smrg#endif 3704b8e80941Smrg#endif /* GL_ARB_texture_buffer_object */ 3705b8e80941Smrg 3706848b8605Smrg#ifndef GL_ARB_texture_buffer_object_rgb32 3707848b8605Smrg#define GL_ARB_texture_buffer_object_rgb32 1 3708848b8605Smrg#endif /* GL_ARB_texture_buffer_object_rgb32 */ 3709848b8605Smrg 3710848b8605Smrg#ifndef GL_ARB_texture_buffer_range 3711848b8605Smrg#define GL_ARB_texture_buffer_range 1 3712848b8605Smrg#endif /* GL_ARB_texture_buffer_range */ 3713848b8605Smrg 3714848b8605Smrg#ifndef GL_ARB_texture_compression_bptc 3715848b8605Smrg#define GL_ARB_texture_compression_bptc 1 3716848b8605Smrg#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C 3717848b8605Smrg#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D 3718848b8605Smrg#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E 3719848b8605Smrg#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F 3720848b8605Smrg#endif /* GL_ARB_texture_compression_bptc */ 3721848b8605Smrg 3722848b8605Smrg#ifndef GL_ARB_texture_compression_rgtc 3723848b8605Smrg#define GL_ARB_texture_compression_rgtc 1 3724848b8605Smrg#endif /* GL_ARB_texture_compression_rgtc */ 3725848b8605Smrg 3726848b8605Smrg#ifndef GL_ARB_texture_cube_map_array 3727848b8605Smrg#define GL_ARB_texture_cube_map_array 1 3728848b8605Smrg#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009 3729848b8605Smrg#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A 3730848b8605Smrg#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B 3731848b8605Smrg#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C 3732848b8605Smrg#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D 3733848b8605Smrg#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E 3734848b8605Smrg#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F 3735848b8605Smrg#endif /* GL_ARB_texture_cube_map_array */ 3736848b8605Smrg 3737b8e80941Smrg#ifndef GL_ARB_texture_filter_anisotropic 3738b8e80941Smrg#define GL_ARB_texture_filter_anisotropic 1 3739b8e80941Smrg#endif /* GL_ARB_texture_filter_anisotropic */ 3740b8e80941Smrg 3741b8e80941Smrg#ifndef GL_ARB_texture_filter_minmax 3742b8e80941Smrg#define GL_ARB_texture_filter_minmax 1 3743b8e80941Smrg#define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366 3744b8e80941Smrg#define GL_WEIGHTED_AVERAGE_ARB 0x9367 3745b8e80941Smrg#endif /* GL_ARB_texture_filter_minmax */ 3746b8e80941Smrg 3747848b8605Smrg#ifndef GL_ARB_texture_gather 3748848b8605Smrg#define GL_ARB_texture_gather 1 3749848b8605Smrg#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E 3750848b8605Smrg#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F 3751848b8605Smrg#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F 3752848b8605Smrg#endif /* GL_ARB_texture_gather */ 3753848b8605Smrg 3754848b8605Smrg#ifndef GL_ARB_texture_mirror_clamp_to_edge 3755848b8605Smrg#define GL_ARB_texture_mirror_clamp_to_edge 1 3756848b8605Smrg#endif /* GL_ARB_texture_mirror_clamp_to_edge */ 3757848b8605Smrg 3758b8e80941Smrg#ifndef GL_ARB_texture_mirrored_repeat 3759b8e80941Smrg#define GL_ARB_texture_mirrored_repeat 1 3760b8e80941Smrg#define GL_MIRRORED_REPEAT_ARB 0x8370 3761b8e80941Smrg#endif /* GL_ARB_texture_mirrored_repeat */ 3762b8e80941Smrg 3763848b8605Smrg#ifndef GL_ARB_texture_multisample 3764848b8605Smrg#define GL_ARB_texture_multisample 1 3765848b8605Smrg#endif /* GL_ARB_texture_multisample */ 3766848b8605Smrg 3767b8e80941Smrg#ifndef GL_ARB_texture_non_power_of_two 3768b8e80941Smrg#define GL_ARB_texture_non_power_of_two 1 3769b8e80941Smrg#endif /* GL_ARB_texture_non_power_of_two */ 3770b8e80941Smrg 3771848b8605Smrg#ifndef GL_ARB_texture_query_levels 3772848b8605Smrg#define GL_ARB_texture_query_levels 1 3773848b8605Smrg#endif /* GL_ARB_texture_query_levels */ 3774848b8605Smrg 3775848b8605Smrg#ifndef GL_ARB_texture_query_lod 3776848b8605Smrg#define GL_ARB_texture_query_lod 1 3777848b8605Smrg#endif /* GL_ARB_texture_query_lod */ 3778848b8605Smrg 3779848b8605Smrg#ifndef GL_ARB_texture_rg 3780848b8605Smrg#define GL_ARB_texture_rg 1 3781848b8605Smrg#endif /* GL_ARB_texture_rg */ 3782848b8605Smrg 3783848b8605Smrg#ifndef GL_ARB_texture_rgb10_a2ui 3784848b8605Smrg#define GL_ARB_texture_rgb10_a2ui 1 3785848b8605Smrg#endif /* GL_ARB_texture_rgb10_a2ui */ 3786848b8605Smrg 3787848b8605Smrg#ifndef GL_ARB_texture_stencil8 3788848b8605Smrg#define GL_ARB_texture_stencil8 1 3789848b8605Smrg#endif /* GL_ARB_texture_stencil8 */ 3790848b8605Smrg 3791848b8605Smrg#ifndef GL_ARB_texture_storage 3792848b8605Smrg#define GL_ARB_texture_storage 1 3793848b8605Smrg#endif /* GL_ARB_texture_storage */ 3794848b8605Smrg 3795848b8605Smrg#ifndef GL_ARB_texture_storage_multisample 3796848b8605Smrg#define GL_ARB_texture_storage_multisample 1 3797848b8605Smrg#endif /* GL_ARB_texture_storage_multisample */ 3798848b8605Smrg 3799848b8605Smrg#ifndef GL_ARB_texture_swizzle 3800848b8605Smrg#define GL_ARB_texture_swizzle 1 3801848b8605Smrg#endif /* GL_ARB_texture_swizzle */ 3802848b8605Smrg 3803848b8605Smrg#ifndef GL_ARB_texture_view 3804848b8605Smrg#define GL_ARB_texture_view 1 3805848b8605Smrg#endif /* GL_ARB_texture_view */ 3806848b8605Smrg 3807848b8605Smrg#ifndef GL_ARB_timer_query 3808848b8605Smrg#define GL_ARB_timer_query 1 3809848b8605Smrg#endif /* GL_ARB_timer_query */ 3810848b8605Smrg 3811848b8605Smrg#ifndef GL_ARB_transform_feedback2 3812848b8605Smrg#define GL_ARB_transform_feedback2 1 3813848b8605Smrg#endif /* GL_ARB_transform_feedback2 */ 3814848b8605Smrg 3815848b8605Smrg#ifndef GL_ARB_transform_feedback3 3816848b8605Smrg#define GL_ARB_transform_feedback3 1 3817848b8605Smrg#endif /* GL_ARB_transform_feedback3 */ 3818848b8605Smrg 3819848b8605Smrg#ifndef GL_ARB_transform_feedback_instanced 3820848b8605Smrg#define GL_ARB_transform_feedback_instanced 1 3821848b8605Smrg#endif /* GL_ARB_transform_feedback_instanced */ 3822848b8605Smrg 3823848b8605Smrg#ifndef GL_ARB_transform_feedback_overflow_query 3824848b8605Smrg#define GL_ARB_transform_feedback_overflow_query 1 3825848b8605Smrg#define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC 3826848b8605Smrg#define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED 3827848b8605Smrg#endif /* GL_ARB_transform_feedback_overflow_query */ 3828848b8605Smrg 3829848b8605Smrg#ifndef GL_ARB_uniform_buffer_object 3830848b8605Smrg#define GL_ARB_uniform_buffer_object 1 3831848b8605Smrg#endif /* GL_ARB_uniform_buffer_object */ 3832848b8605Smrg 3833848b8605Smrg#ifndef GL_ARB_vertex_array_bgra 3834848b8605Smrg#define GL_ARB_vertex_array_bgra 1 3835848b8605Smrg#endif /* GL_ARB_vertex_array_bgra */ 3836848b8605Smrg 3837848b8605Smrg#ifndef GL_ARB_vertex_array_object 3838848b8605Smrg#define GL_ARB_vertex_array_object 1 3839848b8605Smrg#endif /* GL_ARB_vertex_array_object */ 3840848b8605Smrg 3841848b8605Smrg#ifndef GL_ARB_vertex_attrib_64bit 3842848b8605Smrg#define GL_ARB_vertex_attrib_64bit 1 3843848b8605Smrg#endif /* GL_ARB_vertex_attrib_64bit */ 3844848b8605Smrg 3845848b8605Smrg#ifndef GL_ARB_vertex_attrib_binding 3846848b8605Smrg#define GL_ARB_vertex_attrib_binding 1 3847848b8605Smrg#endif /* GL_ARB_vertex_attrib_binding */ 3848848b8605Smrg 3849848b8605Smrg#ifndef GL_ARB_vertex_type_10f_11f_11f_rev 3850848b8605Smrg#define GL_ARB_vertex_type_10f_11f_11f_rev 1 3851848b8605Smrg#endif /* GL_ARB_vertex_type_10f_11f_11f_rev */ 3852848b8605Smrg 3853848b8605Smrg#ifndef GL_ARB_vertex_type_2_10_10_10_rev 3854848b8605Smrg#define GL_ARB_vertex_type_2_10_10_10_rev 1 3855848b8605Smrg#endif /* GL_ARB_vertex_type_2_10_10_10_rev */ 3856848b8605Smrg 3857848b8605Smrg#ifndef GL_ARB_viewport_array 3858848b8605Smrg#define GL_ARB_viewport_array 1 3859848b8605Smrg#endif /* GL_ARB_viewport_array */ 3860848b8605Smrg 3861b8e80941Smrg#ifndef GL_KHR_blend_equation_advanced 3862b8e80941Smrg#define GL_KHR_blend_equation_advanced 1 3863b8e80941Smrg#define GL_MULTIPLY_KHR 0x9294 3864b8e80941Smrg#define GL_SCREEN_KHR 0x9295 3865b8e80941Smrg#define GL_OVERLAY_KHR 0x9296 3866b8e80941Smrg#define GL_DARKEN_KHR 0x9297 3867b8e80941Smrg#define GL_LIGHTEN_KHR 0x9298 3868b8e80941Smrg#define GL_COLORDODGE_KHR 0x9299 3869b8e80941Smrg#define GL_COLORBURN_KHR 0x929A 3870b8e80941Smrg#define GL_HARDLIGHT_KHR 0x929B 3871b8e80941Smrg#define GL_SOFTLIGHT_KHR 0x929C 3872b8e80941Smrg#define GL_DIFFERENCE_KHR 0x929E 3873b8e80941Smrg#define GL_EXCLUSION_KHR 0x92A0 3874b8e80941Smrg#define GL_HSL_HUE_KHR 0x92AD 3875b8e80941Smrg#define GL_HSL_SATURATION_KHR 0x92AE 3876b8e80941Smrg#define GL_HSL_COLOR_KHR 0x92AF 3877b8e80941Smrg#define GL_HSL_LUMINOSITY_KHR 0x92B0 3878b8e80941Smrgtypedef void (APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void); 3879b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3880b8e80941SmrgGLAPI void APIENTRY glBlendBarrierKHR (void); 3881b8e80941Smrg#endif 3882b8e80941Smrg#endif /* GL_KHR_blend_equation_advanced */ 3883b8e80941Smrg 3884b8e80941Smrg#ifndef GL_KHR_blend_equation_advanced_coherent 3885b8e80941Smrg#define GL_KHR_blend_equation_advanced_coherent 1 3886b8e80941Smrg#define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285 3887b8e80941Smrg#endif /* GL_KHR_blend_equation_advanced_coherent */ 3888b8e80941Smrg 3889848b8605Smrg#ifndef GL_KHR_context_flush_control 3890848b8605Smrg#define GL_KHR_context_flush_control 1 3891848b8605Smrg#endif /* GL_KHR_context_flush_control */ 3892848b8605Smrg 3893848b8605Smrg#ifndef GL_KHR_debug 3894848b8605Smrg#define GL_KHR_debug 1 3895848b8605Smrg#endif /* GL_KHR_debug */ 3896848b8605Smrg 3897b8e80941Smrg#ifndef GL_KHR_no_error 3898b8e80941Smrg#define GL_KHR_no_error 1 3899b8e80941Smrg#define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008 3900b8e80941Smrg#endif /* GL_KHR_no_error */ 3901b8e80941Smrg 3902b8e80941Smrg#ifndef GL_KHR_parallel_shader_compile 3903b8e80941Smrg#define GL_KHR_parallel_shader_compile 1 3904b8e80941Smrg#define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0 3905b8e80941Smrg#define GL_COMPLETION_STATUS_KHR 0x91B1 3906b8e80941Smrgtypedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count); 3907b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3908b8e80941SmrgGLAPI void APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count); 3909b8e80941Smrg#endif 3910b8e80941Smrg#endif /* GL_KHR_parallel_shader_compile */ 3911b8e80941Smrg 3912848b8605Smrg#ifndef GL_KHR_robust_buffer_access_behavior 3913848b8605Smrg#define GL_KHR_robust_buffer_access_behavior 1 3914848b8605Smrg#endif /* GL_KHR_robust_buffer_access_behavior */ 3915848b8605Smrg 3916848b8605Smrg#ifndef GL_KHR_robustness 3917848b8605Smrg#define GL_KHR_robustness 1 3918848b8605Smrg#define GL_CONTEXT_ROBUST_ACCESS 0x90F3 3919848b8605Smrg#endif /* GL_KHR_robustness */ 3920848b8605Smrg 3921848b8605Smrg#ifndef GL_KHR_texture_compression_astc_hdr 3922848b8605Smrg#define GL_KHR_texture_compression_astc_hdr 1 3923848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 3924848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 3925848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 3926848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 3927848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 3928848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 3929848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 3930848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 3931848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 3932848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 3933848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA 3934848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB 3935848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC 3936848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD 3937848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 3938848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 3939848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 3940848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 3941848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 3942848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 3943848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 3944848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 3945848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 3946848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 3947848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA 3948848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB 3949848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC 3950848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD 3951848b8605Smrg#endif /* GL_KHR_texture_compression_astc_hdr */ 3952848b8605Smrg 3953848b8605Smrg#ifndef GL_KHR_texture_compression_astc_ldr 3954848b8605Smrg#define GL_KHR_texture_compression_astc_ldr 1 3955848b8605Smrg#endif /* GL_KHR_texture_compression_astc_ldr */ 3956848b8605Smrg 3957b8e80941Smrg#ifndef GL_KHR_texture_compression_astc_sliced_3d 3958b8e80941Smrg#define GL_KHR_texture_compression_astc_sliced_3d 1 3959b8e80941Smrg#endif /* GL_KHR_texture_compression_astc_sliced_3d */ 3960b8e80941Smrg 3961b8e80941Smrg#ifndef GL_AMD_framebuffer_multisample_advanced 3962b8e80941Smrg#define GL_AMD_framebuffer_multisample_advanced 1 3963b8e80941Smrg#define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2 3964b8e80941Smrg#define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3 3965b8e80941Smrg#define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4 3966b8e80941Smrg#define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5 3967b8e80941Smrg#define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6 3968b8e80941Smrg#define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7 3969b8e80941Smrgtypedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); 3970b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); 3971b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3972b8e80941SmrgGLAPI void APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); 3973b8e80941SmrgGLAPI void APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); 3974b8e80941Smrg#endif 3975b8e80941Smrg#endif /* GL_AMD_framebuffer_multisample_advanced */ 3976b8e80941Smrg 3977b8e80941Smrg#ifndef GL_AMD_performance_monitor 3978b8e80941Smrg#define GL_AMD_performance_monitor 1 3979b8e80941Smrg#define GL_COUNTER_TYPE_AMD 0x8BC0 3980b8e80941Smrg#define GL_COUNTER_RANGE_AMD 0x8BC1 3981b8e80941Smrg#define GL_UNSIGNED_INT64_AMD 0x8BC2 3982b8e80941Smrg#define GL_PERCENTAGE_AMD 0x8BC3 3983b8e80941Smrg#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 3984b8e80941Smrg#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 3985b8e80941Smrg#define GL_PERFMON_RESULT_AMD 0x8BC6 3986b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 3987b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 3988b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 3989b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 3990b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); 3991b8e80941Smrgtypedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 3992b8e80941Smrgtypedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 3993b8e80941Smrgtypedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); 3994b8e80941Smrgtypedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); 3995b8e80941Smrgtypedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); 3996b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 3997b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3998b8e80941SmrgGLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 3999b8e80941SmrgGLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 4000b8e80941SmrgGLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 4001b8e80941SmrgGLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 4002b8e80941SmrgGLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); 4003b8e80941SmrgGLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); 4004b8e80941SmrgGLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); 4005b8e80941SmrgGLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); 4006b8e80941SmrgGLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor); 4007b8e80941SmrgGLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor); 4008b8e80941SmrgGLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 4009b8e80941Smrg#endif 4010b8e80941Smrg#endif /* GL_AMD_performance_monitor */ 4011b8e80941Smrg 4012b8e80941Smrg#ifndef GL_APPLE_rgb_422 4013b8e80941Smrg#define GL_APPLE_rgb_422 1 4014b8e80941Smrg#define GL_RGB_422_APPLE 0x8A1F 4015b8e80941Smrg#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA 4016b8e80941Smrg#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB 4017b8e80941Smrg#define GL_RGB_RAW_422_APPLE 0x8A51 4018b8e80941Smrg#endif /* GL_APPLE_rgb_422 */ 4019b8e80941Smrg 4020b8e80941Smrg#ifndef GL_EXT_EGL_image_storage 4021b8e80941Smrg#define GL_EXT_EGL_image_storage 1 4022b8e80941Smrgtypedef void *GLeglImageOES; 4023b8e80941Smrgtypedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list); 4024b8e80941Smrgtypedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list); 4025b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4026b8e80941SmrgGLAPI void APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list); 4027b8e80941SmrgGLAPI void APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list); 4028b8e80941Smrg#endif 4029b8e80941Smrg#endif /* GL_EXT_EGL_image_storage */ 4030b8e80941Smrg 4031b8e80941Smrg#ifndef GL_EXT_debug_label 4032b8e80941Smrg#define GL_EXT_debug_label 1 4033b8e80941Smrg#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F 4034b8e80941Smrg#define GL_PROGRAM_OBJECT_EXT 0x8B40 4035b8e80941Smrg#define GL_SHADER_OBJECT_EXT 0x8B48 4036b8e80941Smrg#define GL_BUFFER_OBJECT_EXT 0x9151 4037b8e80941Smrg#define GL_QUERY_OBJECT_EXT 0x9153 4038b8e80941Smrg#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 4039b8e80941Smrgtypedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); 4040b8e80941Smrgtypedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 4041b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4042b8e80941SmrgGLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); 4043b8e80941SmrgGLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 4044b8e80941Smrg#endif 4045b8e80941Smrg#endif /* GL_EXT_debug_label */ 4046b8e80941Smrg 4047b8e80941Smrg#ifndef GL_EXT_debug_marker 4048b8e80941Smrg#define GL_EXT_debug_marker 1 4049b8e80941Smrgtypedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); 4050b8e80941Smrgtypedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); 4051b8e80941Smrgtypedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); 4052b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4053b8e80941SmrgGLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); 4054b8e80941SmrgGLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); 4055b8e80941SmrgGLAPI void APIENTRY glPopGroupMarkerEXT (void); 4056b8e80941Smrg#endif 4057b8e80941Smrg#endif /* GL_EXT_debug_marker */ 4058b8e80941Smrg 4059b8e80941Smrg#ifndef GL_EXT_direct_state_access 4060b8e80941Smrg#define GL_EXT_direct_state_access 1 4061b8e80941Smrg#define GL_PROGRAM_MATRIX_EXT 0x8E2D 4062b8e80941Smrg#define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E 4063b8e80941Smrg#define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F 4064b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m); 4065b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m); 4066b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m); 4067b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m); 4068b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode); 4069b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 4070b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 4071b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 4072b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 4073b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 4074b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 4075b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 4076b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 4077b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode); 4078b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode); 4079b8e80941Smrgtypedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); 4080b8e80941Smrgtypedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); 4081b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param); 4082b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params); 4083b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param); 4084b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params); 4085b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 4086b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 4087b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 4088b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 4089b8e80941Smrgtypedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 4090b8e80941Smrgtypedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 4091b8e80941Smrgtypedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 4092b8e80941Smrgtypedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4093b8e80941Smrgtypedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 4094b8e80941Smrgtypedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params); 4095b8e80941Smrgtypedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params); 4096b8e80941Smrgtypedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params); 4097b8e80941Smrgtypedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params); 4098b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); 4099b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 4100b8e80941Smrgtypedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4101b8e80941Smrgtypedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture); 4102b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer); 4103b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); 4104b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); 4105b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); 4106b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 4107b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param); 4108b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params); 4109b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param); 4110b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params); 4111b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param); 4112b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params); 4113b8e80941Smrgtypedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); 4114b8e80941Smrgtypedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); 4115b8e80941Smrgtypedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params); 4116b8e80941Smrgtypedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params); 4117b8e80941Smrgtypedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params); 4118b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); 4119b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 4120b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); 4121b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); 4122b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 4123b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 4124b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 4125b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 4126b8e80941Smrgtypedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 4127b8e80941Smrgtypedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 4128b8e80941Smrgtypedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 4129b8e80941Smrgtypedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4130b8e80941Smrgtypedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 4131b8e80941Smrgtypedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); 4132b8e80941Smrgtypedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); 4133b8e80941Smrgtypedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params); 4134b8e80941Smrgtypedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params); 4135b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); 4136b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 4137b8e80941Smrgtypedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4138b8e80941Smrgtypedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); 4139b8e80941Smrgtypedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); 4140b8e80941Smrgtypedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data); 4141b8e80941Smrgtypedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data); 4142b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data); 4143b8e80941Smrgtypedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index); 4144b8e80941Smrgtypedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index); 4145b8e80941Smrgtypedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index); 4146b8e80941Smrgtypedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data); 4147b8e80941Smrgtypedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data); 4148b8e80941Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); 4149b8e80941Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); 4150b8e80941Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); 4151b8e80941Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); 4152b8e80941Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); 4153b8e80941Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); 4154b8e80941Smrgtypedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img); 4155b8e80941Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); 4156b8e80941Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); 4157b8e80941Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); 4158b8e80941Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); 4159b8e80941Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); 4160b8e80941Smrgtypedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); 4161b8e80941Smrgtypedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img); 4162b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); 4163b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); 4164b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); 4165b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); 4166b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); 4167b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); 4168b8e80941Smrgtypedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access); 4169b8e80941Smrgtypedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer); 4170b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params); 4171b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params); 4172b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); 4173b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); 4174b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); 4175b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 4176b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 4177b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); 4178b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); 4179b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 4180b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 4181b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4182b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4183b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4184b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4185b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 4186b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 4187b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 4188b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 4189b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4190b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4191b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4192b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4193b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4194b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4195b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4196b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4197b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4198b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); 4199b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); 4200b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params); 4201b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params); 4202b8e80941Smrgtypedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params); 4203b8e80941Smrgtypedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params); 4204b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 4205b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params); 4206b8e80941Smrgtypedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); 4207b8e80941Smrgtypedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params); 4208b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); 4209b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); 4210b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 4211b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 4212b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 4213b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 4214b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 4215b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 4216b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params); 4217b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); 4218b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params); 4219b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params); 4220b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 4221b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params); 4222b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params); 4223b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params); 4224b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params); 4225b8e80941Smrgtypedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index); 4226b8e80941Smrgtypedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index); 4227b8e80941Smrgtypedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params); 4228b8e80941Smrgtypedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params); 4229b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params); 4230b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string); 4231b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 4232b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params); 4233b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 4234b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params); 4235b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params); 4236b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params); 4237b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params); 4238b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string); 4239b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); 4240b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params); 4241b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 4242b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); 4243b8e80941Smrgtypedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target); 4244b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 4245b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 4246b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 4247b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 4248b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); 4249b8e80941Smrgtypedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target); 4250b8e80941Smrgtypedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target); 4251b8e80941Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); 4252b8e80941Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs); 4253b8e80941Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); 4254b8e80941Smrgtypedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params); 4255b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 4256b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); 4257b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); 4258b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); 4259b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer); 4260b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer); 4261b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4262b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4263b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset); 4264b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); 4265b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); 4266b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4267b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4268b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); 4269b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4270b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset); 4271b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4272b8e80941Smrgtypedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array); 4273b8e80941Smrgtypedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array); 4274b8e80941Smrgtypedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index); 4275b8e80941Smrgtypedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index); 4276b8e80941Smrgtypedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param); 4277b8e80941Smrgtypedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param); 4278b8e80941Smrgtypedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param); 4279b8e80941Smrgtypedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param); 4280b8e80941Smrgtypedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); 4281b8e80941Smrgtypedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); 4282b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); 4283b8e80941Smrgtypedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); 4284b8e80941Smrgtypedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); 4285b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param); 4286b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params); 4287b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x); 4288b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y); 4289b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); 4290b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 4291b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4292b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4293b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4294b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4295b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4296b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4297b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4298b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4299b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4300b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4301b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4302b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4303b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4304b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 4305b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 4306b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 4307b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 4308b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 4309b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 4310b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); 4311b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); 4312b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 4313b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 4314b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex); 4315b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor); 4316b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4317b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); 4318b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor); 4319b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4320b8e80941SmrgGLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m); 4321b8e80941SmrgGLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m); 4322b8e80941SmrgGLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m); 4323b8e80941SmrgGLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m); 4324b8e80941SmrgGLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode); 4325b8e80941SmrgGLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 4326b8e80941SmrgGLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 4327b8e80941SmrgGLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 4328b8e80941SmrgGLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 4329b8e80941SmrgGLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 4330b8e80941SmrgGLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 4331b8e80941SmrgGLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 4332b8e80941SmrgGLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 4333b8e80941SmrgGLAPI void APIENTRY glMatrixPopEXT (GLenum mode); 4334b8e80941SmrgGLAPI void APIENTRY glMatrixPushEXT (GLenum mode); 4335b8e80941SmrgGLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask); 4336b8e80941SmrgGLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask); 4337b8e80941SmrgGLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param); 4338b8e80941SmrgGLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params); 4339b8e80941SmrgGLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param); 4340b8e80941SmrgGLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params); 4341b8e80941SmrgGLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 4342b8e80941SmrgGLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 4343b8e80941SmrgGLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 4344b8e80941SmrgGLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 4345b8e80941SmrgGLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 4346b8e80941SmrgGLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 4347b8e80941SmrgGLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 4348b8e80941SmrgGLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4349b8e80941SmrgGLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 4350b8e80941SmrgGLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params); 4351b8e80941SmrgGLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params); 4352b8e80941SmrgGLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params); 4353b8e80941SmrgGLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params); 4354b8e80941SmrgGLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); 4355b8e80941SmrgGLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 4356b8e80941SmrgGLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4357b8e80941SmrgGLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture); 4358b8e80941SmrgGLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer); 4359b8e80941SmrgGLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param); 4360b8e80941SmrgGLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); 4361b8e80941SmrgGLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param); 4362b8e80941SmrgGLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 4363b8e80941SmrgGLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param); 4364b8e80941SmrgGLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params); 4365b8e80941SmrgGLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param); 4366b8e80941SmrgGLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params); 4367b8e80941SmrgGLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param); 4368b8e80941SmrgGLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params); 4369b8e80941SmrgGLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); 4370b8e80941SmrgGLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); 4371b8e80941SmrgGLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params); 4372b8e80941SmrgGLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params); 4373b8e80941SmrgGLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params); 4374b8e80941SmrgGLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param); 4375b8e80941SmrgGLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 4376b8e80941SmrgGLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param); 4377b8e80941SmrgGLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); 4378b8e80941SmrgGLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 4379b8e80941SmrgGLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 4380b8e80941SmrgGLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 4381b8e80941SmrgGLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 4382b8e80941SmrgGLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 4383b8e80941SmrgGLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 4384b8e80941SmrgGLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 4385b8e80941SmrgGLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4386b8e80941SmrgGLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 4387b8e80941SmrgGLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); 4388b8e80941SmrgGLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); 4389b8e80941SmrgGLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params); 4390b8e80941SmrgGLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params); 4391b8e80941SmrgGLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); 4392b8e80941SmrgGLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 4393b8e80941SmrgGLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4394b8e80941SmrgGLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index); 4395b8e80941SmrgGLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index); 4396b8e80941SmrgGLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data); 4397b8e80941SmrgGLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data); 4398b8e80941SmrgGLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data); 4399b8e80941SmrgGLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index); 4400b8e80941SmrgGLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index); 4401b8e80941SmrgGLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index); 4402b8e80941SmrgGLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data); 4403b8e80941SmrgGLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data); 4404b8e80941SmrgGLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); 4405b8e80941SmrgGLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); 4406b8e80941SmrgGLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); 4407b8e80941SmrgGLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); 4408b8e80941SmrgGLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); 4409b8e80941SmrgGLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); 4410b8e80941SmrgGLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img); 4411b8e80941SmrgGLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); 4412b8e80941SmrgGLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); 4413b8e80941SmrgGLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); 4414b8e80941SmrgGLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); 4415b8e80941SmrgGLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); 4416b8e80941SmrgGLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); 4417b8e80941SmrgGLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img); 4418b8e80941SmrgGLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m); 4419b8e80941SmrgGLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m); 4420b8e80941SmrgGLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m); 4421b8e80941SmrgGLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m); 4422b8e80941SmrgGLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); 4423b8e80941SmrgGLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); 4424b8e80941SmrgGLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access); 4425b8e80941SmrgGLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer); 4426b8e80941SmrgGLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params); 4427b8e80941SmrgGLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params); 4428b8e80941SmrgGLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); 4429b8e80941SmrgGLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); 4430b8e80941SmrgGLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); 4431b8e80941SmrgGLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 4432b8e80941SmrgGLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 4433b8e80941SmrgGLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); 4434b8e80941SmrgGLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); 4435b8e80941SmrgGLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 4436b8e80941SmrgGLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 4437b8e80941SmrgGLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4438b8e80941SmrgGLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4439b8e80941SmrgGLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4440b8e80941SmrgGLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4441b8e80941SmrgGLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 4442b8e80941SmrgGLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 4443b8e80941SmrgGLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 4444b8e80941SmrgGLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 4445b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4446b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4447b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4448b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4449b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4450b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4451b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4452b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4453b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4454b8e80941SmrgGLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); 4455b8e80941SmrgGLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); 4456b8e80941SmrgGLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params); 4457b8e80941SmrgGLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params); 4458b8e80941SmrgGLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params); 4459b8e80941SmrgGLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params); 4460b8e80941SmrgGLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 4461b8e80941SmrgGLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params); 4462b8e80941SmrgGLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); 4463b8e80941SmrgGLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params); 4464b8e80941SmrgGLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); 4465b8e80941SmrgGLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); 4466b8e80941SmrgGLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 4467b8e80941SmrgGLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 4468b8e80941SmrgGLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 4469b8e80941SmrgGLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 4470b8e80941SmrgGLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 4471b8e80941SmrgGLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 4472b8e80941SmrgGLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params); 4473b8e80941SmrgGLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); 4474b8e80941SmrgGLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params); 4475b8e80941SmrgGLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params); 4476b8e80941SmrgGLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 4477b8e80941SmrgGLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params); 4478b8e80941SmrgGLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params); 4479b8e80941SmrgGLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params); 4480b8e80941SmrgGLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params); 4481b8e80941SmrgGLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index); 4482b8e80941SmrgGLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index); 4483b8e80941SmrgGLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params); 4484b8e80941SmrgGLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params); 4485b8e80941SmrgGLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params); 4486b8e80941SmrgGLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string); 4487b8e80941SmrgGLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 4488b8e80941SmrgGLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params); 4489b8e80941SmrgGLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 4490b8e80941SmrgGLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params); 4491b8e80941SmrgGLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params); 4492b8e80941SmrgGLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params); 4493b8e80941SmrgGLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params); 4494b8e80941SmrgGLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string); 4495b8e80941SmrgGLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); 4496b8e80941SmrgGLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params); 4497b8e80941SmrgGLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 4498b8e80941SmrgGLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); 4499b8e80941SmrgGLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target); 4500b8e80941SmrgGLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 4501b8e80941SmrgGLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 4502b8e80941SmrgGLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 4503b8e80941SmrgGLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 4504b8e80941SmrgGLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); 4505b8e80941SmrgGLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target); 4506b8e80941SmrgGLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target); 4507b8e80941SmrgGLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode); 4508b8e80941SmrgGLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs); 4509b8e80941SmrgGLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode); 4510b8e80941SmrgGLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params); 4511b8e80941SmrgGLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 4512b8e80941SmrgGLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); 4513b8e80941SmrgGLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); 4514b8e80941SmrgGLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); 4515b8e80941SmrgGLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer); 4516b8e80941SmrgGLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer); 4517b8e80941SmrgGLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4518b8e80941SmrgGLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4519b8e80941SmrgGLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset); 4520b8e80941SmrgGLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); 4521b8e80941SmrgGLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); 4522b8e80941SmrgGLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4523b8e80941SmrgGLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4524b8e80941SmrgGLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); 4525b8e80941SmrgGLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4526b8e80941SmrgGLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset); 4527b8e80941SmrgGLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4528b8e80941SmrgGLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array); 4529b8e80941SmrgGLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array); 4530b8e80941SmrgGLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index); 4531b8e80941SmrgGLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index); 4532b8e80941SmrgGLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param); 4533b8e80941SmrgGLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param); 4534b8e80941SmrgGLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param); 4535b8e80941SmrgGLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param); 4536b8e80941SmrgGLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); 4537b8e80941SmrgGLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length); 4538b8e80941SmrgGLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); 4539b8e80941SmrgGLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); 4540b8e80941SmrgGLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); 4541b8e80941SmrgGLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param); 4542b8e80941SmrgGLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params); 4543b8e80941SmrgGLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x); 4544b8e80941SmrgGLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y); 4545b8e80941SmrgGLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); 4546b8e80941SmrgGLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 4547b8e80941SmrgGLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4548b8e80941SmrgGLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4549b8e80941SmrgGLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4550b8e80941SmrgGLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4551b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4552b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4553b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4554b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4555b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4556b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4557b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4558b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4559b8e80941SmrgGLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4560b8e80941SmrgGLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 4561b8e80941SmrgGLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 4562b8e80941SmrgGLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 4563b8e80941SmrgGLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 4564b8e80941SmrgGLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 4565b8e80941SmrgGLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 4566b8e80941SmrgGLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); 4567b8e80941SmrgGLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); 4568b8e80941SmrgGLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 4569b8e80941SmrgGLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 4570b8e80941SmrgGLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex); 4571b8e80941SmrgGLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor); 4572b8e80941SmrgGLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4573b8e80941SmrgGLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); 4574b8e80941SmrgGLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor); 4575b8e80941Smrg#endif 4576b8e80941Smrg#endif /* GL_EXT_direct_state_access */ 4577b8e80941Smrg 4578b8e80941Smrg#ifndef GL_EXT_draw_instanced 4579b8e80941Smrg#define GL_EXT_draw_instanced 1 4580b8e80941Smrgtypedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); 4581b8e80941Smrgtypedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 4582b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4583b8e80941SmrgGLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); 4584b8e80941SmrgGLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 4585b8e80941Smrg#endif 4586b8e80941Smrg#endif /* GL_EXT_draw_instanced */ 4587b8e80941Smrg 4588b8e80941Smrg#ifndef GL_EXT_polygon_offset_clamp 4589b8e80941Smrg#define GL_EXT_polygon_offset_clamp 1 4590b8e80941Smrg#define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B 4591b8e80941Smrgtypedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp); 4592b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4593b8e80941SmrgGLAPI void APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp); 4594b8e80941Smrg#endif 4595b8e80941Smrg#endif /* GL_EXT_polygon_offset_clamp */ 4596b8e80941Smrg 4597b8e80941Smrg#ifndef GL_EXT_post_depth_coverage 4598b8e80941Smrg#define GL_EXT_post_depth_coverage 1 4599b8e80941Smrg#endif /* GL_EXT_post_depth_coverage */ 4600b8e80941Smrg 4601b8e80941Smrg#ifndef GL_EXT_raster_multisample 4602b8e80941Smrg#define GL_EXT_raster_multisample 1 4603b8e80941Smrg#define GL_RASTER_MULTISAMPLE_EXT 0x9327 4604b8e80941Smrg#define GL_RASTER_SAMPLES_EXT 0x9328 4605b8e80941Smrg#define GL_MAX_RASTER_SAMPLES_EXT 0x9329 4606b8e80941Smrg#define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A 4607b8e80941Smrg#define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B 4608b8e80941Smrg#define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C 4609b8e80941Smrgtypedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations); 4610b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4611b8e80941SmrgGLAPI void APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations); 4612b8e80941Smrg#endif 4613b8e80941Smrg#endif /* GL_EXT_raster_multisample */ 4614b8e80941Smrg 4615b8e80941Smrg#ifndef GL_EXT_separate_shader_objects 4616b8e80941Smrg#define GL_EXT_separate_shader_objects 1 4617b8e80941Smrg#define GL_ACTIVE_PROGRAM_EXT 0x8B8D 4618b8e80941Smrgtypedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program); 4619b8e80941Smrgtypedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program); 4620b8e80941Smrgtypedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string); 4621b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4622b8e80941SmrgGLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program); 4623b8e80941SmrgGLAPI void APIENTRY glActiveProgramEXT (GLuint program); 4624b8e80941SmrgGLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string); 4625b8e80941Smrg#endif 4626b8e80941Smrg#endif /* GL_EXT_separate_shader_objects */ 4627b8e80941Smrg 4628b8e80941Smrg#ifndef GL_EXT_shader_framebuffer_fetch 4629b8e80941Smrg#define GL_EXT_shader_framebuffer_fetch 1 4630b8e80941Smrg#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 4631b8e80941Smrg#endif /* GL_EXT_shader_framebuffer_fetch */ 4632b8e80941Smrg 4633b8e80941Smrg#ifndef GL_EXT_shader_framebuffer_fetch_non_coherent 4634b8e80941Smrg#define GL_EXT_shader_framebuffer_fetch_non_coherent 1 4635b8e80941Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void); 4636b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4637b8e80941SmrgGLAPI void APIENTRY glFramebufferFetchBarrierEXT (void); 4638b8e80941Smrg#endif 4639b8e80941Smrg#endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */ 4640b8e80941Smrg 4641b8e80941Smrg#ifndef GL_EXT_shader_integer_mix 4642b8e80941Smrg#define GL_EXT_shader_integer_mix 1 4643b8e80941Smrg#endif /* GL_EXT_shader_integer_mix */ 4644b8e80941Smrg 4645b8e80941Smrg#ifndef GL_EXT_texture_compression_s3tc 4646b8e80941Smrg#define GL_EXT_texture_compression_s3tc 1 4647b8e80941Smrg#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 4648b8e80941Smrg#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 4649b8e80941Smrg#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 4650b8e80941Smrg#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 4651b8e80941Smrg#endif /* GL_EXT_texture_compression_s3tc */ 4652b8e80941Smrg 4653b8e80941Smrg#ifndef GL_EXT_texture_filter_minmax 4654b8e80941Smrg#define GL_EXT_texture_filter_minmax 1 4655b8e80941Smrg#define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366 4656b8e80941Smrg#define GL_WEIGHTED_AVERAGE_EXT 0x9367 4657b8e80941Smrg#endif /* GL_EXT_texture_filter_minmax */ 4658b8e80941Smrg 4659b8e80941Smrg#ifndef GL_EXT_texture_sRGB_decode 4660b8e80941Smrg#define GL_EXT_texture_sRGB_decode 1 4661b8e80941Smrg#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 4662b8e80941Smrg#define GL_DECODE_EXT 0x8A49 4663b8e80941Smrg#define GL_SKIP_DECODE_EXT 0x8A4A 4664b8e80941Smrg#endif /* GL_EXT_texture_sRGB_decode */ 4665b8e80941Smrg 4666b8e80941Smrg#ifndef GL_EXT_window_rectangles 4667b8e80941Smrg#define GL_EXT_window_rectangles 1 4668b8e80941Smrg#define GL_INCLUSIVE_EXT 0x8F10 4669b8e80941Smrg#define GL_EXCLUSIVE_EXT 0x8F11 4670b8e80941Smrg#define GL_WINDOW_RECTANGLE_EXT 0x8F12 4671b8e80941Smrg#define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13 4672b8e80941Smrg#define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14 4673b8e80941Smrg#define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15 4674b8e80941Smrgtypedef void (APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box); 4675b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4676b8e80941SmrgGLAPI void APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box); 4677b8e80941Smrg#endif 4678b8e80941Smrg#endif /* GL_EXT_window_rectangles */ 4679b8e80941Smrg 4680b8e80941Smrg#ifndef GL_INTEL_blackhole_render 4681b8e80941Smrg#define GL_INTEL_blackhole_render 1 4682b8e80941Smrg#define GL_BLACKHOLE_RENDER_INTEL 0x83FC 4683b8e80941Smrg#endif /* GL_INTEL_blackhole_render */ 4684b8e80941Smrg 4685b8e80941Smrg#ifndef GL_INTEL_conservative_rasterization 4686b8e80941Smrg#define GL_INTEL_conservative_rasterization 1 4687b8e80941Smrg#define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE 4688b8e80941Smrg#endif /* GL_INTEL_conservative_rasterization */ 4689b8e80941Smrg 4690b8e80941Smrg#ifndef GL_INTEL_framebuffer_CMAA 4691b8e80941Smrg#define GL_INTEL_framebuffer_CMAA 1 4692b8e80941Smrgtypedef void (APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void); 4693b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4694b8e80941SmrgGLAPI void APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void); 4695b8e80941Smrg#endif 4696b8e80941Smrg#endif /* GL_INTEL_framebuffer_CMAA */ 4697b8e80941Smrg 4698b8e80941Smrg#ifndef GL_INTEL_performance_query 4699b8e80941Smrg#define GL_INTEL_performance_query 1 4700b8e80941Smrg#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000 4701b8e80941Smrg#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001 4702b8e80941Smrg#define GL_PERFQUERY_WAIT_INTEL 0x83FB 4703b8e80941Smrg#define GL_PERFQUERY_FLUSH_INTEL 0x83FA 4704b8e80941Smrg#define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9 4705b8e80941Smrg#define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0 4706b8e80941Smrg#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1 4707b8e80941Smrg#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2 4708b8e80941Smrg#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3 4709b8e80941Smrg#define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4 4710b8e80941Smrg#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5 4711b8e80941Smrg#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8 4712b8e80941Smrg#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9 4713b8e80941Smrg#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA 4714b8e80941Smrg#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB 4715b8e80941Smrg#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC 4716b8e80941Smrg#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD 4717b8e80941Smrg#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE 4718b8e80941Smrg#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF 4719b8e80941Smrg#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500 4720b8e80941Smrgtypedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle); 4721b8e80941Smrgtypedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle); 4722b8e80941Smrgtypedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle); 4723b8e80941Smrgtypedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle); 4724b8e80941Smrgtypedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId); 4725b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId); 4726b8e80941Smrgtypedef 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); 4727b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten); 4728b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId); 4729b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); 4730b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4731b8e80941SmrgGLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle); 4732b8e80941SmrgGLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle); 4733b8e80941SmrgGLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle); 4734b8e80941SmrgGLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle); 4735b8e80941SmrgGLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId); 4736b8e80941SmrgGLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId); 4737b8e80941SmrgGLAPI 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); 4738b8e80941SmrgGLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten); 4739b8e80941SmrgGLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId); 4740b8e80941SmrgGLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); 4741b8e80941Smrg#endif 4742b8e80941Smrg#endif /* GL_INTEL_performance_query */ 4743b8e80941Smrg 4744b8e80941Smrg#ifndef GL_NV_bindless_multi_draw_indirect 4745b8e80941Smrg#define GL_NV_bindless_multi_draw_indirect 1 4746b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); 4747b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); 4748b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4749b8e80941SmrgGLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); 4750b8e80941SmrgGLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); 4751b8e80941Smrg#endif 4752b8e80941Smrg#endif /* GL_NV_bindless_multi_draw_indirect */ 4753b8e80941Smrg 4754b8e80941Smrg#ifndef GL_NV_bindless_multi_draw_indirect_count 4755b8e80941Smrg#define GL_NV_bindless_multi_draw_indirect_count 1 4756b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); 4757b8e80941Smrgtypedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); 4758b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4759b8e80941SmrgGLAPI void APIENTRY glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); 4760b8e80941SmrgGLAPI void APIENTRY glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); 4761b8e80941Smrg#endif 4762b8e80941Smrg#endif /* GL_NV_bindless_multi_draw_indirect_count */ 4763b8e80941Smrg 4764b8e80941Smrg#ifndef GL_NV_bindless_texture 4765b8e80941Smrg#define GL_NV_bindless_texture 1 4766b8e80941Smrgtypedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture); 4767b8e80941Smrgtypedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler); 4768b8e80941Smrgtypedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); 4769b8e80941Smrgtypedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle); 4770b8e80941Smrgtypedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 4771b8e80941Smrgtypedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access); 4772b8e80941Smrgtypedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle); 4773b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value); 4774b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value); 4775b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value); 4776b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 4777b8e80941Smrgtypedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); 4778b8e80941Smrgtypedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle); 4779b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4780b8e80941SmrgGLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture); 4781b8e80941SmrgGLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler); 4782b8e80941SmrgGLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle); 4783b8e80941SmrgGLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle); 4784b8e80941SmrgGLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 4785b8e80941SmrgGLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access); 4786b8e80941SmrgGLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle); 4787b8e80941SmrgGLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value); 4788b8e80941SmrgGLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value); 4789b8e80941SmrgGLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value); 4790b8e80941SmrgGLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 4791b8e80941SmrgGLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle); 4792b8e80941SmrgGLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle); 4793b8e80941Smrg#endif 4794b8e80941Smrg#endif /* GL_NV_bindless_texture */ 4795b8e80941Smrg 4796b8e80941Smrg#ifndef GL_NV_blend_equation_advanced 4797b8e80941Smrg#define GL_NV_blend_equation_advanced 1 4798b8e80941Smrg#define GL_BLEND_OVERLAP_NV 0x9281 4799b8e80941Smrg#define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 4800b8e80941Smrg#define GL_BLUE_NV 0x1905 4801b8e80941Smrg#define GL_COLORBURN_NV 0x929A 4802b8e80941Smrg#define GL_COLORDODGE_NV 0x9299 4803b8e80941Smrg#define GL_CONJOINT_NV 0x9284 4804b8e80941Smrg#define GL_CONTRAST_NV 0x92A1 4805b8e80941Smrg#define GL_DARKEN_NV 0x9297 4806b8e80941Smrg#define GL_DIFFERENCE_NV 0x929E 4807b8e80941Smrg#define GL_DISJOINT_NV 0x9283 4808b8e80941Smrg#define GL_DST_ATOP_NV 0x928F 4809b8e80941Smrg#define GL_DST_IN_NV 0x928B 4810b8e80941Smrg#define GL_DST_NV 0x9287 4811b8e80941Smrg#define GL_DST_OUT_NV 0x928D 4812b8e80941Smrg#define GL_DST_OVER_NV 0x9289 4813b8e80941Smrg#define GL_EXCLUSION_NV 0x92A0 4814b8e80941Smrg#define GL_GREEN_NV 0x1904 4815b8e80941Smrg#define GL_HARDLIGHT_NV 0x929B 4816b8e80941Smrg#define GL_HARDMIX_NV 0x92A9 4817b8e80941Smrg#define GL_HSL_COLOR_NV 0x92AF 4818b8e80941Smrg#define GL_HSL_HUE_NV 0x92AD 4819b8e80941Smrg#define GL_HSL_LUMINOSITY_NV 0x92B0 4820b8e80941Smrg#define GL_HSL_SATURATION_NV 0x92AE 4821b8e80941Smrg#define GL_INVERT_OVG_NV 0x92B4 4822b8e80941Smrg#define GL_INVERT_RGB_NV 0x92A3 4823b8e80941Smrg#define GL_LIGHTEN_NV 0x9298 4824b8e80941Smrg#define GL_LINEARBURN_NV 0x92A5 4825b8e80941Smrg#define GL_LINEARDODGE_NV 0x92A4 4826b8e80941Smrg#define GL_LINEARLIGHT_NV 0x92A7 4827b8e80941Smrg#define GL_MINUS_CLAMPED_NV 0x92B3 4828b8e80941Smrg#define GL_MINUS_NV 0x929F 4829b8e80941Smrg#define GL_MULTIPLY_NV 0x9294 4830b8e80941Smrg#define GL_OVERLAY_NV 0x9296 4831b8e80941Smrg#define GL_PINLIGHT_NV 0x92A8 4832b8e80941Smrg#define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 4833b8e80941Smrg#define GL_PLUS_CLAMPED_NV 0x92B1 4834b8e80941Smrg#define GL_PLUS_DARKER_NV 0x9292 4835b8e80941Smrg#define GL_PLUS_NV 0x9291 4836b8e80941Smrg#define GL_RED_NV 0x1903 4837b8e80941Smrg#define GL_SCREEN_NV 0x9295 4838b8e80941Smrg#define GL_SOFTLIGHT_NV 0x929C 4839b8e80941Smrg#define GL_SRC_ATOP_NV 0x928E 4840b8e80941Smrg#define GL_SRC_IN_NV 0x928A 4841b8e80941Smrg#define GL_SRC_NV 0x9286 4842b8e80941Smrg#define GL_SRC_OUT_NV 0x928C 4843b8e80941Smrg#define GL_SRC_OVER_NV 0x9288 4844b8e80941Smrg#define GL_UNCORRELATED_NV 0x9282 4845b8e80941Smrg#define GL_VIVIDLIGHT_NV 0x92A6 4846b8e80941Smrg#define GL_XOR_NV 0x1506 4847b8e80941Smrgtypedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value); 4848b8e80941Smrgtypedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); 4849b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4850b8e80941SmrgGLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value); 4851b8e80941SmrgGLAPI void APIENTRY glBlendBarrierNV (void); 4852b8e80941Smrg#endif 4853b8e80941Smrg#endif /* GL_NV_blend_equation_advanced */ 4854b8e80941Smrg 4855b8e80941Smrg#ifndef GL_NV_blend_equation_advanced_coherent 4856b8e80941Smrg#define GL_NV_blend_equation_advanced_coherent 1 4857b8e80941Smrg#define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 4858b8e80941Smrg#endif /* GL_NV_blend_equation_advanced_coherent */ 4859b8e80941Smrg 4860b8e80941Smrg#ifndef GL_NV_blend_minmax_factor 4861b8e80941Smrg#define GL_NV_blend_minmax_factor 1 4862b8e80941Smrg#define GL_FACTOR_MIN_AMD 0x901C 4863b8e80941Smrg#define GL_FACTOR_MAX_AMD 0x901D 4864b8e80941Smrg#endif /* GL_NV_blend_minmax_factor */ 4865b8e80941Smrg 4866b8e80941Smrg#ifndef GL_NV_clip_space_w_scaling 4867b8e80941Smrg#define GL_NV_clip_space_w_scaling 1 4868b8e80941Smrg#define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C 4869b8e80941Smrg#define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D 4870b8e80941Smrg#define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E 4871b8e80941Smrgtypedef void (APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff); 4872b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4873b8e80941SmrgGLAPI void APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff); 4874b8e80941Smrg#endif 4875b8e80941Smrg#endif /* GL_NV_clip_space_w_scaling */ 4876b8e80941Smrg 4877b8e80941Smrg#ifndef GL_NV_command_list 4878b8e80941Smrg#define GL_NV_command_list 1 4879b8e80941Smrg#define GL_TERMINATE_SEQUENCE_COMMAND_NV 0x0000 4880b8e80941Smrg#define GL_NOP_COMMAND_NV 0x0001 4881b8e80941Smrg#define GL_DRAW_ELEMENTS_COMMAND_NV 0x0002 4882b8e80941Smrg#define GL_DRAW_ARRAYS_COMMAND_NV 0x0003 4883b8e80941Smrg#define GL_DRAW_ELEMENTS_STRIP_COMMAND_NV 0x0004 4884b8e80941Smrg#define GL_DRAW_ARRAYS_STRIP_COMMAND_NV 0x0005 4885b8e80941Smrg#define GL_DRAW_ELEMENTS_INSTANCED_COMMAND_NV 0x0006 4886b8e80941Smrg#define GL_DRAW_ARRAYS_INSTANCED_COMMAND_NV 0x0007 4887b8e80941Smrg#define GL_ELEMENT_ADDRESS_COMMAND_NV 0x0008 4888b8e80941Smrg#define GL_ATTRIBUTE_ADDRESS_COMMAND_NV 0x0009 4889b8e80941Smrg#define GL_UNIFORM_ADDRESS_COMMAND_NV 0x000A 4890b8e80941Smrg#define GL_BLEND_COLOR_COMMAND_NV 0x000B 4891b8e80941Smrg#define GL_STENCIL_REF_COMMAND_NV 0x000C 4892b8e80941Smrg#define GL_LINE_WIDTH_COMMAND_NV 0x000D 4893b8e80941Smrg#define GL_POLYGON_OFFSET_COMMAND_NV 0x000E 4894b8e80941Smrg#define GL_ALPHA_REF_COMMAND_NV 0x000F 4895b8e80941Smrg#define GL_VIEWPORT_COMMAND_NV 0x0010 4896b8e80941Smrg#define GL_SCISSOR_COMMAND_NV 0x0011 4897b8e80941Smrg#define GL_FRONT_FACE_COMMAND_NV 0x0012 4898b8e80941Smrgtypedef void (APIENTRYP PFNGLCREATESTATESNVPROC) (GLsizei n, GLuint *states); 4899b8e80941Smrgtypedef void (APIENTRYP PFNGLDELETESTATESNVPROC) (GLsizei n, const GLuint *states); 4900b8e80941Smrgtypedef GLboolean (APIENTRYP PFNGLISSTATENVPROC) (GLuint state); 4901b8e80941Smrgtypedef void (APIENTRYP PFNGLSTATECAPTURENVPROC) (GLuint state, GLenum mode); 4902b8e80941Smrgtypedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size); 4903b8e80941Smrgtypedef GLushort (APIENTRYP PFNGLGETSTAGEINDEXNVPROC) (GLenum shadertype); 4904b8e80941Smrgtypedef void (APIENTRYP PFNGLDRAWCOMMANDSNVPROC) (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count); 4905b8e80941Smrgtypedef void (APIENTRYP PFNGLDRAWCOMMANDSADDRESSNVPROC) (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count); 4906b8e80941Smrgtypedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESNVPROC) (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); 4907b8e80941Smrgtypedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC) (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); 4908b8e80941Smrgtypedef void (APIENTRYP PFNGLCREATECOMMANDLISTSNVPROC) (GLsizei n, GLuint *lists); 4909b8e80941Smrgtypedef void (APIENTRYP PFNGLDELETECOMMANDLISTSNVPROC) (GLsizei n, const GLuint *lists); 4910b8e80941Smrgtypedef GLboolean (APIENTRYP PFNGLISCOMMANDLISTNVPROC) (GLuint list); 4911b8e80941Smrgtypedef void (APIENTRYP PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC) (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); 4912b8e80941Smrgtypedef void (APIENTRYP PFNGLCOMMANDLISTSEGMENTSNVPROC) (GLuint list, GLuint segments); 4913b8e80941Smrgtypedef void (APIENTRYP PFNGLCOMPILECOMMANDLISTNVPROC) (GLuint list); 4914b8e80941Smrgtypedef void (APIENTRYP PFNGLCALLCOMMANDLISTNVPROC) (GLuint list); 4915b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4916b8e80941SmrgGLAPI void APIENTRY glCreateStatesNV (GLsizei n, GLuint *states); 4917b8e80941SmrgGLAPI void APIENTRY glDeleteStatesNV (GLsizei n, const GLuint *states); 4918b8e80941SmrgGLAPI GLboolean APIENTRY glIsStateNV (GLuint state); 4919b8e80941SmrgGLAPI void APIENTRY glStateCaptureNV (GLuint state, GLenum mode); 4920b8e80941SmrgGLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size); 4921b8e80941SmrgGLAPI GLushort APIENTRY glGetStageIndexNV (GLenum shadertype); 4922b8e80941SmrgGLAPI void APIENTRY glDrawCommandsNV (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count); 4923b8e80941SmrgGLAPI void APIENTRY glDrawCommandsAddressNV (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count); 4924b8e80941SmrgGLAPI void APIENTRY glDrawCommandsStatesNV (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); 4925b8e80941SmrgGLAPI void APIENTRY glDrawCommandsStatesAddressNV (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); 4926b8e80941SmrgGLAPI void APIENTRY glCreateCommandListsNV (GLsizei n, GLuint *lists); 4927b8e80941SmrgGLAPI void APIENTRY glDeleteCommandListsNV (GLsizei n, const GLuint *lists); 4928b8e80941SmrgGLAPI GLboolean APIENTRY glIsCommandListNV (GLuint list); 4929b8e80941SmrgGLAPI void APIENTRY glListDrawCommandsStatesClientNV (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); 4930b8e80941SmrgGLAPI void APIENTRY glCommandListSegmentsNV (GLuint list, GLuint segments); 4931b8e80941SmrgGLAPI void APIENTRY glCompileCommandListNV (GLuint list); 4932b8e80941SmrgGLAPI void APIENTRY glCallCommandListNV (GLuint list); 4933b8e80941Smrg#endif 4934b8e80941Smrg#endif /* GL_NV_command_list */ 4935b8e80941Smrg 4936b8e80941Smrg#ifndef GL_NV_conditional_render 4937b8e80941Smrg#define GL_NV_conditional_render 1 4938b8e80941Smrg#define GL_QUERY_WAIT_NV 0x8E13 4939b8e80941Smrg#define GL_QUERY_NO_WAIT_NV 0x8E14 4940b8e80941Smrg#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 4941b8e80941Smrg#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 4942b8e80941Smrgtypedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode); 4943b8e80941Smrgtypedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void); 4944b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4945b8e80941SmrgGLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode); 4946b8e80941SmrgGLAPI void APIENTRY glEndConditionalRenderNV (void); 4947b8e80941Smrg#endif 4948b8e80941Smrg#endif /* GL_NV_conditional_render */ 4949b8e80941Smrg 4950b8e80941Smrg#ifndef GL_NV_conservative_raster 4951b8e80941Smrg#define GL_NV_conservative_raster 1 4952b8e80941Smrg#define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346 4953b8e80941Smrg#define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347 4954b8e80941Smrg#define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348 4955b8e80941Smrg#define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349 4956b8e80941Smrgtypedef void (APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits); 4957b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4958b8e80941SmrgGLAPI void APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits); 4959b8e80941Smrg#endif 4960b8e80941Smrg#endif /* GL_NV_conservative_raster */ 4961b8e80941Smrg 4962b8e80941Smrg#ifndef GL_NV_conservative_raster_dilate 4963b8e80941Smrg#define GL_NV_conservative_raster_dilate 1 4964b8e80941Smrg#define GL_CONSERVATIVE_RASTER_DILATE_NV 0x9379 4965b8e80941Smrg#define GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV 0x937A 4966b8e80941Smrg#define GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV 0x937B 4967b8e80941Smrgtypedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERFNVPROC) (GLenum pname, GLfloat value); 4968b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4969b8e80941SmrgGLAPI void APIENTRY glConservativeRasterParameterfNV (GLenum pname, GLfloat value); 4970b8e80941Smrg#endif 4971b8e80941Smrg#endif /* GL_NV_conservative_raster_dilate */ 4972b8e80941Smrg 4973b8e80941Smrg#ifndef GL_NV_conservative_raster_pre_snap 4974b8e80941Smrg#define GL_NV_conservative_raster_pre_snap 1 4975b8e80941Smrg#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550 4976b8e80941Smrg#endif /* GL_NV_conservative_raster_pre_snap */ 4977b8e80941Smrg 4978b8e80941Smrg#ifndef GL_NV_conservative_raster_pre_snap_triangles 4979b8e80941Smrg#define GL_NV_conservative_raster_pre_snap_triangles 1 4980b8e80941Smrg#define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D 4981b8e80941Smrg#define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E 4982b8e80941Smrg#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F 4983b8e80941Smrgtypedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param); 4984b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 4985b8e80941SmrgGLAPI void APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param); 4986b8e80941Smrg#endif 4987b8e80941Smrg#endif /* GL_NV_conservative_raster_pre_snap_triangles */ 4988b8e80941Smrg 4989b8e80941Smrg#ifndef GL_NV_conservative_raster_underestimation 4990b8e80941Smrg#define GL_NV_conservative_raster_underestimation 1 4991b8e80941Smrg#endif /* GL_NV_conservative_raster_underestimation */ 4992b8e80941Smrg 4993b8e80941Smrg#ifndef GL_NV_draw_vulkan_image 4994b8e80941Smrg#define GL_NV_draw_vulkan_image 1 4995b8e80941Smrgtypedef void (APIENTRY *GLVULKANPROCNV)(void); 4996b8e80941Smrgtypedef 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); 4997b8e80941Smrgtypedef GLVULKANPROCNV (APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name); 4998b8e80941Smrgtypedef void (APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); 4999b8e80941Smrgtypedef void (APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); 5000b8e80941Smrgtypedef void (APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence); 5001b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 5002b8e80941SmrgGLAPI 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); 5003b8e80941SmrgGLAPI GLVULKANPROCNV APIENTRY glGetVkProcAddrNV (const GLchar *name); 5004b8e80941SmrgGLAPI void APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore); 5005b8e80941SmrgGLAPI void APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore); 5006b8e80941SmrgGLAPI void APIENTRY glSignalVkFenceNV (GLuint64 vkFence); 5007b8e80941Smrg#endif 5008b8e80941Smrg#endif /* GL_NV_draw_vulkan_image */ 5009b8e80941Smrg 5010b8e80941Smrg#ifndef GL_NV_fill_rectangle 5011b8e80941Smrg#define GL_NV_fill_rectangle 1 5012b8e80941Smrg#define GL_FILL_RECTANGLE_NV 0x933C 5013b8e80941Smrg#endif /* GL_NV_fill_rectangle */ 5014b8e80941Smrg 5015b8e80941Smrg#ifndef GL_NV_fragment_coverage_to_color 5016b8e80941Smrg#define GL_NV_fragment_coverage_to_color 1 5017b8e80941Smrg#define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD 5018b8e80941Smrg#define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE 5019b8e80941Smrgtypedef void (APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color); 5020b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 5021b8e80941SmrgGLAPI void APIENTRY glFragmentCoverageColorNV (GLuint color); 5022b8e80941Smrg#endif 5023b8e80941Smrg#endif /* GL_NV_fragment_coverage_to_color */ 5024b8e80941Smrg 5025b8e80941Smrg#ifndef GL_NV_fragment_shader_interlock 5026b8e80941Smrg#define GL_NV_fragment_shader_interlock 1 5027b8e80941Smrg#endif /* GL_NV_fragment_shader_interlock */ 5028b8e80941Smrg 5029b8e80941Smrg#ifndef GL_NV_framebuffer_mixed_samples 5030b8e80941Smrg#define GL_NV_framebuffer_mixed_samples 1 5031b8e80941Smrg#define GL_COVERAGE_MODULATION_TABLE_NV 0x9331 5032b8e80941Smrg#define GL_COLOR_SAMPLES_NV 0x8E20 5033b8e80941Smrg#define GL_DEPTH_SAMPLES_NV 0x932D 5034b8e80941Smrg#define GL_STENCIL_SAMPLES_NV 0x932E 5035b8e80941Smrg#define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F 5036b8e80941Smrg#define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330 5037b8e80941Smrg#define GL_COVERAGE_MODULATION_NV 0x9332 5038b8e80941Smrg#define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333 5039b8e80941Smrgtypedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v); 5040b8e80941Smrgtypedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v); 5041b8e80941Smrgtypedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components); 5042b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 5043b8e80941SmrgGLAPI void APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v); 5044b8e80941SmrgGLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v); 5045b8e80941SmrgGLAPI void APIENTRY glCoverageModulationNV (GLenum components); 5046b8e80941Smrg#endif 5047b8e80941Smrg#endif /* GL_NV_framebuffer_mixed_samples */ 5048b8e80941Smrg 5049b8e80941Smrg#ifndef GL_NV_framebuffer_multisample_coverage 5050b8e80941Smrg#define GL_NV_framebuffer_multisample_coverage 1 5051b8e80941Smrg#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB 5052b8e80941Smrg#define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10 5053b8e80941Smrg#define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11 5054b8e80941Smrg#define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12 5055b8e80941Smrgtypedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); 5056b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 5057b8e80941SmrgGLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); 5058b8e80941Smrg#endif 5059b8e80941Smrg#endif /* GL_NV_framebuffer_multisample_coverage */ 5060b8e80941Smrg 5061b8e80941Smrg#ifndef GL_NV_geometry_shader_passthrough 5062b8e80941Smrg#define GL_NV_geometry_shader_passthrough 1 5063b8e80941Smrg#endif /* GL_NV_geometry_shader_passthrough */ 5064b8e80941Smrg 5065b8e80941Smrg#ifndef GL_NV_gpu_shader5 5066b8e80941Smrg#define GL_NV_gpu_shader5 1 5067b8e80941Smrgtypedef int64_t GLint64EXT; 5068b8e80941Smrg#define GL_INT64_NV 0x140E 5069b8e80941Smrg#define GL_UNSIGNED_INT64_NV 0x140F 5070b8e80941Smrg#define GL_INT8_NV 0x8FE0 5071b8e80941Smrg#define GL_INT8_VEC2_NV 0x8FE1 5072b8e80941Smrg#define GL_INT8_VEC3_NV 0x8FE2 5073b8e80941Smrg#define GL_INT8_VEC4_NV 0x8FE3 5074b8e80941Smrg#define GL_INT16_NV 0x8FE4 5075b8e80941Smrg#define GL_INT16_VEC2_NV 0x8FE5 5076b8e80941Smrg#define GL_INT16_VEC3_NV 0x8FE6 5077b8e80941Smrg#define GL_INT16_VEC4_NV 0x8FE7 5078b8e80941Smrg#define GL_INT64_VEC2_NV 0x8FE9 5079b8e80941Smrg#define GL_INT64_VEC3_NV 0x8FEA 5080b8e80941Smrg#define GL_INT64_VEC4_NV 0x8FEB 5081b8e80941Smrg#define GL_UNSIGNED_INT8_NV 0x8FEC 5082b8e80941Smrg#define GL_UNSIGNED_INT8_VEC2_NV 0x8FED 5083b8e80941Smrg#define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE 5084b8e80941Smrg#define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF 5085b8e80941Smrg#define GL_UNSIGNED_INT16_NV 0x8FF0 5086b8e80941Smrg#define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 5087b8e80941Smrg#define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 5088b8e80941Smrg#define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 5089b8e80941Smrg#define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 5090b8e80941Smrg#define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 5091b8e80941Smrg#define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 5092b8e80941Smrg#define GL_FLOAT16_NV 0x8FF8 5093b8e80941Smrg#define GL_FLOAT16_VEC2_NV 0x8FF9 5094b8e80941Smrg#define GL_FLOAT16_VEC3_NV 0x8FFA 5095b8e80941Smrg#define GL_FLOAT16_VEC4_NV 0x8FFB 5096b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x); 5097b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y); 5098b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 5099b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 5100b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 5101b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 5102b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 5103b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 5104b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x); 5105b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y); 5106b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 5107b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 5108b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 5109b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 5110b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 5111b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 5112b8e80941Smrgtypedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params); 5113b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x); 5114b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); 5115b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 5116b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 5117b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5118b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5119b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5120b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5121b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x); 5122b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); 5123b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 5124b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 5125b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5126b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5127b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5128b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5129b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 5130b8e80941SmrgGLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x); 5131b8e80941SmrgGLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y); 5132b8e80941SmrgGLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 5133b8e80941SmrgGLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 5134b8e80941SmrgGLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 5135b8e80941SmrgGLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 5136b8e80941SmrgGLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 5137b8e80941SmrgGLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 5138b8e80941SmrgGLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x); 5139b8e80941SmrgGLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y); 5140b8e80941SmrgGLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 5141b8e80941SmrgGLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 5142b8e80941SmrgGLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 5143b8e80941SmrgGLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 5144b8e80941SmrgGLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 5145b8e80941SmrgGLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 5146b8e80941SmrgGLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params); 5147b8e80941SmrgGLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x); 5148b8e80941SmrgGLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); 5149b8e80941SmrgGLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 5150b8e80941SmrgGLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 5151b8e80941SmrgGLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5152b8e80941SmrgGLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5153b8e80941SmrgGLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5154b8e80941SmrgGLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5155b8e80941SmrgGLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x); 5156b8e80941SmrgGLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); 5157b8e80941SmrgGLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 5158b8e80941SmrgGLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 5159b8e80941SmrgGLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5160b8e80941SmrgGLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5161b8e80941SmrgGLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5162b8e80941SmrgGLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5163b8e80941Smrg#endif 5164b8e80941Smrg#endif /* GL_NV_gpu_shader5 */ 5165b8e80941Smrg 5166b8e80941Smrg#ifndef GL_NV_internalformat_sample_query 5167b8e80941Smrg#define GL_NV_internalformat_sample_query 1 5168b8e80941Smrg#define GL_MULTISAMPLES_NV 0x9371 5169b8e80941Smrg#define GL_SUPERSAMPLE_SCALE_X_NV 0x9372 5170b8e80941Smrg#define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373 5171b8e80941Smrg#define GL_CONFORMANT_NV 0x9374 5172b8e80941Smrgtypedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); 5173b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 5174b8e80941SmrgGLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); 5175b8e80941Smrg#endif 5176b8e80941Smrg#endif /* GL_NV_internalformat_sample_query */ 5177b8e80941Smrg 5178b8e80941Smrg#ifndef GL_NV_path_rendering 5179b8e80941Smrg#define GL_NV_path_rendering 1 5180b8e80941Smrg#define GL_PATH_FORMAT_SVG_NV 0x9070 5181b8e80941Smrg#define GL_PATH_FORMAT_PS_NV 0x9071 5182b8e80941Smrg#define GL_STANDARD_FONT_NAME_NV 0x9072 5183b8e80941Smrg#define GL_SYSTEM_FONT_NAME_NV 0x9073 5184b8e80941Smrg#define GL_FILE_NAME_NV 0x9074 5185b8e80941Smrg#define GL_PATH_STROKE_WIDTH_NV 0x9075 5186b8e80941Smrg#define GL_PATH_END_CAPS_NV 0x9076 5187b8e80941Smrg#define GL_PATH_INITIAL_END_CAP_NV 0x9077 5188b8e80941Smrg#define GL_PATH_TERMINAL_END_CAP_NV 0x9078 5189b8e80941Smrg#define GL_PATH_JOIN_STYLE_NV 0x9079 5190b8e80941Smrg#define GL_PATH_MITER_LIMIT_NV 0x907A 5191b8e80941Smrg#define GL_PATH_DASH_CAPS_NV 0x907B 5192b8e80941Smrg#define GL_PATH_INITIAL_DASH_CAP_NV 0x907C 5193b8e80941Smrg#define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D 5194b8e80941Smrg#define GL_PATH_DASH_OFFSET_NV 0x907E 5195b8e80941Smrg#define GL_PATH_CLIENT_LENGTH_NV 0x907F 5196b8e80941Smrg#define GL_PATH_FILL_MODE_NV 0x9080 5197b8e80941Smrg#define GL_PATH_FILL_MASK_NV 0x9081 5198b8e80941Smrg#define GL_PATH_FILL_COVER_MODE_NV 0x9082 5199b8e80941Smrg#define GL_PATH_STROKE_COVER_MODE_NV 0x9083 5200b8e80941Smrg#define GL_PATH_STROKE_MASK_NV 0x9084 5201b8e80941Smrg#define GL_COUNT_UP_NV 0x9088 5202b8e80941Smrg#define GL_COUNT_DOWN_NV 0x9089 5203b8e80941Smrg#define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A 5204b8e80941Smrg#define GL_CONVEX_HULL_NV 0x908B 5205b8e80941Smrg#define GL_BOUNDING_BOX_NV 0x908D 5206b8e80941Smrg#define GL_TRANSLATE_X_NV 0x908E 5207b8e80941Smrg#define GL_TRANSLATE_Y_NV 0x908F 5208b8e80941Smrg#define GL_TRANSLATE_2D_NV 0x9090 5209b8e80941Smrg#define GL_TRANSLATE_3D_NV 0x9091 5210b8e80941Smrg#define GL_AFFINE_2D_NV 0x9092 5211b8e80941Smrg#define GL_AFFINE_3D_NV 0x9094 5212b8e80941Smrg#define GL_TRANSPOSE_AFFINE_2D_NV 0x9096 5213b8e80941Smrg#define GL_TRANSPOSE_AFFINE_3D_NV 0x9098 5214b8e80941Smrg#define GL_UTF8_NV 0x909A 5215b8e80941Smrg#define GL_UTF16_NV 0x909B 5216b8e80941Smrg#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C 5217b8e80941Smrg#define GL_PATH_COMMAND_COUNT_NV 0x909D 5218b8e80941Smrg#define GL_PATH_COORD_COUNT_NV 0x909E 5219b8e80941Smrg#define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F 5220b8e80941Smrg#define GL_PATH_COMPUTED_LENGTH_NV 0x90A0 5221b8e80941Smrg#define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1 5222b8e80941Smrg#define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2 5223b8e80941Smrg#define GL_SQUARE_NV 0x90A3 5224b8e80941Smrg#define GL_ROUND_NV 0x90A4 5225b8e80941Smrg#define GL_TRIANGULAR_NV 0x90A5 5226b8e80941Smrg#define GL_BEVEL_NV 0x90A6 5227b8e80941Smrg#define GL_MITER_REVERT_NV 0x90A7 5228b8e80941Smrg#define GL_MITER_TRUNCATE_NV 0x90A8 5229b8e80941Smrg#define GL_SKIP_MISSING_GLYPH_NV 0x90A9 5230b8e80941Smrg#define GL_USE_MISSING_GLYPH_NV 0x90AA 5231b8e80941Smrg#define GL_PATH_ERROR_POSITION_NV 0x90AB 5232b8e80941Smrg#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD 5233b8e80941Smrg#define GL_ADJACENT_PAIRS_NV 0x90AE 5234b8e80941Smrg#define GL_FIRST_TO_REST_NV 0x90AF 5235b8e80941Smrg#define GL_PATH_GEN_MODE_NV 0x90B0 5236b8e80941Smrg#define GL_PATH_GEN_COEFF_NV 0x90B1 5237b8e80941Smrg#define GL_PATH_GEN_COMPONENTS_NV 0x90B3 5238b8e80941Smrg#define GL_PATH_STENCIL_FUNC_NV 0x90B7 5239b8e80941Smrg#define GL_PATH_STENCIL_REF_NV 0x90B8 5240b8e80941Smrg#define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9 5241b8e80941Smrg#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD 5242b8e80941Smrg#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE 5243b8e80941Smrg#define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF 5244b8e80941Smrg#define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4 5245b8e80941Smrg#define GL_MOVE_TO_RESETS_NV 0x90B5 5246b8e80941Smrg#define GL_MOVE_TO_CONTINUES_NV 0x90B6 5247b8e80941Smrg#define GL_CLOSE_PATH_NV 0x00 5248b8e80941Smrg#define GL_MOVE_TO_NV 0x02 5249b8e80941Smrg#define GL_RELATIVE_MOVE_TO_NV 0x03 5250b8e80941Smrg#define GL_LINE_TO_NV 0x04 5251b8e80941Smrg#define GL_RELATIVE_LINE_TO_NV 0x05 5252b8e80941Smrg#define GL_HORIZONTAL_LINE_TO_NV 0x06 5253b8e80941Smrg#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07 5254b8e80941Smrg#define GL_VERTICAL_LINE_TO_NV 0x08 5255b8e80941Smrg#define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09 5256b8e80941Smrg#define GL_QUADRATIC_CURVE_TO_NV 0x0A 5257b8e80941Smrg#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B 5258b8e80941Smrg#define GL_CUBIC_CURVE_TO_NV 0x0C 5259b8e80941Smrg#define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D 5260b8e80941Smrg#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E 5261b8e80941Smrg#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F 5262b8e80941Smrg#define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10 5263b8e80941Smrg#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11 5264b8e80941Smrg#define GL_SMALL_CCW_ARC_TO_NV 0x12 5265b8e80941Smrg#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13 5266b8e80941Smrg#define GL_SMALL_CW_ARC_TO_NV 0x14 5267b8e80941Smrg#define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15 5268b8e80941Smrg#define GL_LARGE_CCW_ARC_TO_NV 0x16 5269b8e80941Smrg#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17 5270b8e80941Smrg#define GL_LARGE_CW_ARC_TO_NV 0x18 5271b8e80941Smrg#define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19 5272b8e80941Smrg#define GL_RESTART_PATH_NV 0xF0 5273b8e80941Smrg#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2 5274b8e80941Smrg#define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4 5275b8e80941Smrg#define GL_RECT_NV 0xF6 5276b8e80941Smrg#define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8 5277b8e80941Smrg#define GL_CIRCULAR_CW_ARC_TO_NV 0xFA 5278b8e80941Smrg#define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC 5279b8e80941Smrg#define GL_ARC_TO_NV 0xFE 5280b8e80941Smrg#define GL_RELATIVE_ARC_TO_NV 0xFF 5281b8e80941Smrg#define GL_BOLD_BIT_NV 0x01 5282b8e80941Smrg#define GL_ITALIC_BIT_NV 0x02 5283b8e80941Smrg#define GL_GLYPH_WIDTH_BIT_NV 0x01 5284b8e80941Smrg#define GL_GLYPH_HEIGHT_BIT_NV 0x02 5285b8e80941Smrg#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04 5286b8e80941Smrg#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08 5287b8e80941Smrg#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10 5288b8e80941Smrg#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20 5289b8e80941Smrg#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40 5290b8e80941Smrg#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80 5291b8e80941Smrg#define GL_GLYPH_HAS_KERNING_BIT_NV 0x100 5292b8e80941Smrg#define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000 5293b8e80941Smrg#define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000 5294b8e80941Smrg#define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000 5295b8e80941Smrg#define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000 5296b8e80941Smrg#define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000 5297b8e80941Smrg#define GL_FONT_ASCENDER_BIT_NV 0x00200000 5298b8e80941Smrg#define GL_FONT_DESCENDER_BIT_NV 0x00400000 5299b8e80941Smrg#define GL_FONT_HEIGHT_BIT_NV 0x00800000 5300b8e80941Smrg#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000 5301b8e80941Smrg#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000 5302b8e80941Smrg#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000 5303b8e80941Smrg#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000 5304b8e80941Smrg#define GL_FONT_HAS_KERNING_BIT_NV 0x10000000 5305b8e80941Smrg#define GL_ROUNDED_RECT_NV 0xE8 5306b8e80941Smrg#define GL_RELATIVE_ROUNDED_RECT_NV 0xE9 5307b8e80941Smrg#define GL_ROUNDED_RECT2_NV 0xEA 5308b8e80941Smrg#define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB 5309b8e80941Smrg#define GL_ROUNDED_RECT4_NV 0xEC 5310b8e80941Smrg#define GL_RELATIVE_ROUNDED_RECT4_NV 0xED 5311b8e80941Smrg#define GL_ROUNDED_RECT8_NV 0xEE 5312b8e80941Smrg#define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF 5313b8e80941Smrg#define GL_RELATIVE_RECT_NV 0xF7 5314b8e80941Smrg#define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368 5315b8e80941Smrg#define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369 5316b8e80941Smrg#define GL_FONT_UNAVAILABLE_NV 0x936A 5317b8e80941Smrg#define GL_FONT_UNINTELLIGIBLE_NV 0x936B 5318b8e80941Smrg#define GL_CONIC_CURVE_TO_NV 0x1A 5319b8e80941Smrg#define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B 5320b8e80941Smrg#define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000 5321b8e80941Smrg#define GL_STANDARD_FONT_FORMAT_NV 0x936C 5322b8e80941Smrg#define GL_PATH_PROJECTION_NV 0x1701 5323b8e80941Smrg#define GL_PATH_MODELVIEW_NV 0x1700 5324b8e80941Smrg#define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3 5325b8e80941Smrg#define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6 5326b8e80941Smrg#define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36 5327b8e80941Smrg#define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3 5328b8e80941Smrg#define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4 5329b8e80941Smrg#define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7 5330b8e80941Smrg#define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38 5331b8e80941Smrg#define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4 5332b8e80941Smrg#define GL_FRAGMENT_INPUT_NV 0x936D 5333b8e80941Smrgtypedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range); 5334b8e80941Smrgtypedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range); 5335b8e80941Smrgtypedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path); 5336b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 5337b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); 5338b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 5339b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); 5340b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString); 5341b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 5342b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 5343b8e80941Smrgtypedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); 5344b8e80941Smrgtypedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath); 5345b8e80941Smrgtypedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); 5346b8e80941Smrgtypedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); 5347b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value); 5348b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value); 5349b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value); 5350b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value); 5351b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray); 5352b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask); 5353b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units); 5354b8e80941Smrgtypedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask); 5355b8e80941Smrgtypedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask); 5356b8e80941Smrgtypedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); 5357b8e80941Smrgtypedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); 5358b8e80941Smrgtypedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func); 5359b8e80941Smrgtypedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode); 5360b8e80941Smrgtypedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode); 5361b8e80941Smrgtypedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5362b8e80941Smrgtypedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5363b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value); 5364b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value); 5365b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands); 5366b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords); 5367b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray); 5368b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 5369b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); 5370b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); 5371b8e80941Smrgtypedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y); 5372b8e80941Smrgtypedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y); 5373b8e80941Smrgtypedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments); 5374b8e80941Smrgtypedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); 5375b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); 5376b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 5377b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 5378b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); 5379b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 5380b8e80941Smrgtypedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 5381b8e80941Smrgtypedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); 5382b8e80941Smrgtypedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode); 5383b8e80941Smrgtypedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5384b8e80941Smrgtypedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5385b8e80941Smrgtypedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); 5386b8e80941Smrgtypedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 5387b8e80941Smrgtypedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 5388b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); 5389b8e80941Smrgtypedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); 5390b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 5391b8e80941SmrgGLAPI GLuint APIENTRY glGenPathsNV (GLsizei range); 5392b8e80941SmrgGLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range); 5393b8e80941SmrgGLAPI GLboolean APIENTRY glIsPathNV (GLuint path); 5394b8e80941SmrgGLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 5395b8e80941SmrgGLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); 5396b8e80941SmrgGLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 5397b8e80941SmrgGLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); 5398b8e80941SmrgGLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString); 5399b8e80941SmrgGLAPI void APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 5400b8e80941SmrgGLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 5401b8e80941SmrgGLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); 5402b8e80941SmrgGLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath); 5403b8e80941SmrgGLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); 5404b8e80941SmrgGLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); 5405b8e80941SmrgGLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value); 5406b8e80941SmrgGLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value); 5407b8e80941SmrgGLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value); 5408b8e80941SmrgGLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value); 5409b8e80941SmrgGLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray); 5410b8e80941SmrgGLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask); 5411b8e80941SmrgGLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units); 5412b8e80941SmrgGLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask); 5413b8e80941SmrgGLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask); 5414b8e80941SmrgGLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); 5415b8e80941SmrgGLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); 5416b8e80941SmrgGLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func); 5417b8e80941SmrgGLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode); 5418b8e80941SmrgGLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode); 5419b8e80941SmrgGLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5420b8e80941SmrgGLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5421b8e80941SmrgGLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value); 5422b8e80941SmrgGLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value); 5423b8e80941SmrgGLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands); 5424b8e80941SmrgGLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords); 5425b8e80941SmrgGLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray); 5426b8e80941SmrgGLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 5427b8e80941SmrgGLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); 5428b8e80941SmrgGLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); 5429b8e80941SmrgGLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y); 5430b8e80941SmrgGLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y); 5431b8e80941SmrgGLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments); 5432b8e80941SmrgGLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); 5433b8e80941SmrgGLAPI void APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m); 5434b8e80941SmrgGLAPI void APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m); 5435b8e80941SmrgGLAPI void APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); 5436b8e80941SmrgGLAPI void APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m); 5437b8e80941SmrgGLAPI void APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m); 5438b8e80941SmrgGLAPI void APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); 5439b8e80941SmrgGLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); 5440b8e80941SmrgGLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode); 5441b8e80941SmrgGLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5442b8e80941SmrgGLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5443b8e80941SmrgGLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); 5444b8e80941SmrgGLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 5445b8e80941SmrgGLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 5446b8e80941SmrgGLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); 5447b8e80941SmrgGLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); 5448b8e80941Smrg#endif 5449b8e80941Smrg#endif /* GL_NV_path_rendering */ 5450b8e80941Smrg 5451b8e80941Smrg#ifndef GL_NV_path_rendering_shared_edge 5452b8e80941Smrg#define GL_NV_path_rendering_shared_edge 1 5453b8e80941Smrg#define GL_SHARED_EDGE_NV 0xC0 5454b8e80941Smrg#endif /* GL_NV_path_rendering_shared_edge */ 5455b8e80941Smrg 5456b8e80941Smrg#ifndef GL_NV_sample_locations 5457b8e80941Smrg#define GL_NV_sample_locations 1 5458b8e80941Smrg#define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D 5459b8e80941Smrg#define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E 5460b8e80941Smrg#define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F 5461b8e80941Smrg#define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340 5462b8e80941Smrg#define GL_SAMPLE_LOCATION_NV 0x8E50 5463b8e80941Smrg#define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341 5464b8e80941Smrg#define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342 5465b8e80941Smrg#define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343 5466b8e80941Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v); 5467b8e80941Smrgtypedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); 5468b8e80941Smrgtypedef void (APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void); 5469b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 5470b8e80941SmrgGLAPI void APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v); 5471b8e80941SmrgGLAPI void APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); 5472b8e80941SmrgGLAPI void APIENTRY glResolveDepthValuesNV (void); 5473b8e80941Smrg#endif 5474b8e80941Smrg#endif /* GL_NV_sample_locations */ 5475b8e80941Smrg 5476b8e80941Smrg#ifndef GL_NV_sample_mask_override_coverage 5477b8e80941Smrg#define GL_NV_sample_mask_override_coverage 1 5478b8e80941Smrg#endif /* GL_NV_sample_mask_override_coverage */ 5479b8e80941Smrg 5480b8e80941Smrg#ifndef GL_NV_shader_atomic_counters 5481b8e80941Smrg#define GL_NV_shader_atomic_counters 1 5482b8e80941Smrg#endif /* GL_NV_shader_atomic_counters */ 5483b8e80941Smrg 5484b8e80941Smrg#ifndef GL_NV_shader_atomic_float 5485b8e80941Smrg#define GL_NV_shader_atomic_float 1 5486b8e80941Smrg#endif /* GL_NV_shader_atomic_float */ 5487b8e80941Smrg 5488b8e80941Smrg#ifndef GL_NV_shader_atomic_float64 5489b8e80941Smrg#define GL_NV_shader_atomic_float64 1 5490b8e80941Smrg#endif /* GL_NV_shader_atomic_float64 */ 5491b8e80941Smrg 5492b8e80941Smrg#ifndef GL_NV_shader_atomic_fp16_vector 5493b8e80941Smrg#define GL_NV_shader_atomic_fp16_vector 1 5494b8e80941Smrg#endif /* GL_NV_shader_atomic_fp16_vector */ 5495b8e80941Smrg 5496b8e80941Smrg#ifndef GL_NV_shader_atomic_int64 5497b8e80941Smrg#define GL_NV_shader_atomic_int64 1 5498b8e80941Smrg#endif /* GL_NV_shader_atomic_int64 */ 5499b8e80941Smrg 5500b8e80941Smrg#ifndef GL_NV_shader_buffer_load 5501b8e80941Smrg#define GL_NV_shader_buffer_load 1 5502b8e80941Smrg#define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D 5503b8e80941Smrg#define GL_GPU_ADDRESS_NV 0x8F34 5504b8e80941Smrg#define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35 5505b8e80941Smrgtypedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access); 5506b8e80941Smrgtypedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target); 5507b8e80941Smrgtypedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target); 5508b8e80941Smrgtypedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access); 5509b8e80941Smrgtypedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer); 5510b8e80941Smrgtypedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer); 5511b8e80941Smrgtypedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params); 5512b8e80941Smrgtypedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params); 5513b8e80941Smrgtypedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result); 5514b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value); 5515b8e80941Smrgtypedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 5516b8e80941Smrgtypedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params); 5517b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value); 5518b8e80941Smrgtypedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5519b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 5520b8e80941SmrgGLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access); 5521b8e80941SmrgGLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target); 5522b8e80941SmrgGLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target); 5523b8e80941SmrgGLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access); 5524b8e80941SmrgGLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer); 5525b8e80941SmrgGLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer); 5526b8e80941SmrgGLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params); 5527b8e80941SmrgGLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params); 5528b8e80941SmrgGLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result); 5529b8e80941SmrgGLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value); 5530b8e80941SmrgGLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 5531b8e80941SmrgGLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params); 5532b8e80941SmrgGLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value); 5533b8e80941SmrgGLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5534b8e80941Smrg#endif 5535b8e80941Smrg#endif /* GL_NV_shader_buffer_load */ 5536b8e80941Smrg 5537b8e80941Smrg#ifndef GL_NV_shader_buffer_store 5538b8e80941Smrg#define GL_NV_shader_buffer_store 1 5539b8e80941Smrg#define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010 5540b8e80941Smrg#endif /* GL_NV_shader_buffer_store */ 5541b8e80941Smrg 5542b8e80941Smrg#ifndef GL_NV_shader_thread_group 5543b8e80941Smrg#define GL_NV_shader_thread_group 1 5544b8e80941Smrg#define GL_WARP_SIZE_NV 0x9339 5545b8e80941Smrg#define GL_WARPS_PER_SM_NV 0x933A 5546b8e80941Smrg#define GL_SM_COUNT_NV 0x933B 5547b8e80941Smrg#endif /* GL_NV_shader_thread_group */ 5548b8e80941Smrg 5549b8e80941Smrg#ifndef GL_NV_shader_thread_shuffle 5550b8e80941Smrg#define GL_NV_shader_thread_shuffle 1 5551b8e80941Smrg#endif /* GL_NV_shader_thread_shuffle */ 5552b8e80941Smrg 5553b8e80941Smrg#ifndef GL_NV_stereo_view_rendering 5554b8e80941Smrg#define GL_NV_stereo_view_rendering 1 5555b8e80941Smrg#endif /* GL_NV_stereo_view_rendering */ 5556b8e80941Smrg 5557b8e80941Smrg#ifndef GL_NV_texture_barrier 5558b8e80941Smrg#define GL_NV_texture_barrier 1 5559b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void); 5560b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 5561b8e80941SmrgGLAPI void APIENTRY glTextureBarrierNV (void); 5562b8e80941Smrg#endif 5563b8e80941Smrg#endif /* GL_NV_texture_barrier */ 5564b8e80941Smrg 5565b8e80941Smrg#ifndef GL_NV_texture_rectangle_compressed 5566b8e80941Smrg#define GL_NV_texture_rectangle_compressed 1 5567b8e80941Smrg#endif /* GL_NV_texture_rectangle_compressed */ 5568b8e80941Smrg 5569b8e80941Smrg#ifndef GL_NV_uniform_buffer_unified_memory 5570b8e80941Smrg#define GL_NV_uniform_buffer_unified_memory 1 5571b8e80941Smrg#define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E 5572b8e80941Smrg#define GL_UNIFORM_BUFFER_ADDRESS_NV 0x936F 5573b8e80941Smrg#define GL_UNIFORM_BUFFER_LENGTH_NV 0x9370 5574b8e80941Smrg#endif /* GL_NV_uniform_buffer_unified_memory */ 5575b8e80941Smrg 5576b8e80941Smrg#ifndef GL_NV_vertex_attrib_integer_64bit 5577b8e80941Smrg#define GL_NV_vertex_attrib_integer_64bit 1 5578b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x); 5579b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y); 5580b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); 5581b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 5582b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v); 5583b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v); 5584b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v); 5585b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v); 5586b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x); 5587b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y); 5588b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 5589b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 5590b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v); 5591b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v); 5592b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v); 5593b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v); 5594b8e80941Smrgtypedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params); 5595b8e80941Smrgtypedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params); 5596b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride); 5597b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 5598b8e80941SmrgGLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x); 5599b8e80941SmrgGLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y); 5600b8e80941SmrgGLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); 5601b8e80941SmrgGLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 5602b8e80941SmrgGLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v); 5603b8e80941SmrgGLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v); 5604b8e80941SmrgGLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v); 5605b8e80941SmrgGLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v); 5606b8e80941SmrgGLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x); 5607b8e80941SmrgGLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y); 5608b8e80941SmrgGLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 5609b8e80941SmrgGLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 5610b8e80941SmrgGLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v); 5611b8e80941SmrgGLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v); 5612b8e80941SmrgGLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v); 5613b8e80941SmrgGLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v); 5614b8e80941SmrgGLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params); 5615b8e80941SmrgGLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params); 5616b8e80941SmrgGLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride); 5617b8e80941Smrg#endif 5618b8e80941Smrg#endif /* GL_NV_vertex_attrib_integer_64bit */ 5619b8e80941Smrg 5620b8e80941Smrg#ifndef GL_NV_vertex_buffer_unified_memory 5621b8e80941Smrg#define GL_NV_vertex_buffer_unified_memory 1 5622b8e80941Smrg#define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E 5623b8e80941Smrg#define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F 5624b8e80941Smrg#define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20 5625b8e80941Smrg#define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21 5626b8e80941Smrg#define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22 5627b8e80941Smrg#define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23 5628b8e80941Smrg#define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24 5629b8e80941Smrg#define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25 5630b8e80941Smrg#define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26 5631b8e80941Smrg#define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27 5632b8e80941Smrg#define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28 5633b8e80941Smrg#define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29 5634b8e80941Smrg#define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A 5635b8e80941Smrg#define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B 5636b8e80941Smrg#define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C 5637b8e80941Smrg#define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D 5638b8e80941Smrg#define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E 5639b8e80941Smrg#define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F 5640b8e80941Smrg#define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30 5641b8e80941Smrg#define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31 5642b8e80941Smrg#define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32 5643b8e80941Smrg#define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33 5644b8e80941Smrg#define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40 5645b8e80941Smrg#define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41 5646b8e80941Smrg#define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42 5647b8e80941Smrgtypedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); 5648b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); 5649b8e80941Smrgtypedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride); 5650b8e80941Smrgtypedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); 5651b8e80941Smrgtypedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride); 5652b8e80941Smrgtypedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); 5653b8e80941Smrgtypedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride); 5654b8e80941Smrgtypedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); 5655b8e80941Smrgtypedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride); 5656b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); 5657b8e80941Smrgtypedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride); 5658b8e80941Smrgtypedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result); 5659b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 5660b8e80941SmrgGLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); 5661b8e80941SmrgGLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride); 5662b8e80941SmrgGLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride); 5663b8e80941SmrgGLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride); 5664b8e80941SmrgGLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride); 5665b8e80941SmrgGLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride); 5666b8e80941SmrgGLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride); 5667b8e80941SmrgGLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride); 5668b8e80941SmrgGLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride); 5669b8e80941SmrgGLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); 5670b8e80941SmrgGLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride); 5671b8e80941SmrgGLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result); 5672b8e80941Smrg#endif 5673b8e80941Smrg#endif /* GL_NV_vertex_buffer_unified_memory */ 5674b8e80941Smrg 5675b8e80941Smrg#ifndef GL_NV_viewport_array2 5676b8e80941Smrg#define GL_NV_viewport_array2 1 5677b8e80941Smrg#endif /* GL_NV_viewport_array2 */ 5678b8e80941Smrg 5679b8e80941Smrg#ifndef GL_NV_viewport_swizzle 5680b8e80941Smrg#define GL_NV_viewport_swizzle 1 5681b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350 5682b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351 5683b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352 5684b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353 5685b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354 5686b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355 5687b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356 5688b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357 5689b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_X_NV 0x9358 5690b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359 5691b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A 5692b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_W_NV 0x935B 5693b8e80941Smrgtypedef void (APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); 5694b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 5695b8e80941SmrgGLAPI void APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); 5696b8e80941Smrg#endif 5697b8e80941Smrg#endif /* GL_NV_viewport_swizzle */ 5698b8e80941Smrg 5699b8e80941Smrg#ifndef GL_OVR_multiview 5700b8e80941Smrg#define GL_OVR_multiview 1 5701b8e80941Smrg#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630 5702b8e80941Smrg#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632 5703b8e80941Smrg#define GL_MAX_VIEWS_OVR 0x9631 5704b8e80941Smrg#define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633 5705b8e80941Smrgtypedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); 5706b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 5707b8e80941SmrgGLAPI void APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); 5708b8e80941Smrg#endif 5709b8e80941Smrg#endif /* GL_OVR_multiview */ 5710b8e80941Smrg 5711b8e80941Smrg#ifndef GL_OVR_multiview2 5712b8e80941Smrg#define GL_OVR_multiview2 1 5713b8e80941Smrg#endif /* GL_OVR_multiview2 */ 5714b8e80941Smrg 5715848b8605Smrg#ifdef __cplusplus 5716848b8605Smrg} 5717848b8605Smrg#endif 5718848b8605Smrg 5719848b8605Smrg#endif 5720