1 #ifndef __glcorearb_h_ 2 #define __glcorearb_h_ 1 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 /* 9 ** Copyright (c) 2013-2017 The Khronos Group Inc. 10 ** 11 ** Permission is hereby granted, free of charge, to any person obtaining a 12 ** copy of this software and/or associated documentation files (the 13 ** "Materials"), to deal in the Materials without restriction, including 14 ** without limitation the rights to use, copy, modify, merge, publish, 15 ** distribute, sublicense, and/or sell copies of the Materials, and to 16 ** permit persons to whom the Materials are furnished to do so, subject to 17 ** the following conditions: 18 ** 19 ** The above copyright notice and this permission notice shall be included 20 ** in all copies or substantial portions of the Materials. 21 ** 22 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 25 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 29 */ 30 /* 31 ** This header is generated from the Khronos OpenGL / OpenGL ES XML 32 ** API Registry. The current version of the Registry, generator scripts 33 ** used to make the header, and the header can be found at 34 ** https://github.com/KhronosGroup/OpenGL-Registry 35 */ 36 37 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) 38 #ifndef WIN32_LEAN_AND_MEAN 39 #define WIN32_LEAN_AND_MEAN 1 40 #endif 41 #include <windows.h> 42 #endif 43 44 #ifndef APIENTRY 45 #define APIENTRY 46 #endif 47 #ifndef APIENTRYP 48 #define APIENTRYP APIENTRY * 49 #endif 50 #ifndef GLAPI 51 #define GLAPI extern 52 #endif 53 54 /* glcorearb.h is for use with OpenGL core profile implementations. 55 ** It should should be placed in the same directory as gl.h and 56 ** included as <GL/glcorearb.h>. 57 ** 58 ** glcorearb.h includes only APIs in the latest OpenGL core profile 59 ** implementation together with APIs in newer ARB extensions which 60 ** can be supported by the core profile. It does not, and never will 61 ** include functionality removed from the core profile, such as 62 ** fixed-function vertex and fragment processing. 63 ** 64 ** Do not #include both <GL/glcorearb.h> and either of <GL/gl.h> or 65 ** <GL/glext.h> in the same source file. 66 */ 67 68 /* Generated C header for: 69 * API: gl 70 * Profile: core 71 * Versions considered: .* 72 * Versions emitted: .* 73 * Default extensions included: glcore 74 * Additional extensions included: _nomatch_^ 75 * Extensions removed: _nomatch_^ 76 */ 77 78 #ifndef GL_VERSION_1_0 79 #define GL_VERSION_1_0 1 80 typedef void GLvoid; 81 typedef unsigned int GLenum; 82 typedef float GLfloat; 83 typedef int GLint; 84 typedef int GLsizei; 85 typedef unsigned int GLbitfield; 86 typedef double GLdouble; 87 typedef unsigned int GLuint; 88 typedef unsigned char GLboolean; 89 typedef unsigned char GLubyte; 90 #define GL_DEPTH_BUFFER_BIT 0x00000100 91 #define GL_STENCIL_BUFFER_BIT 0x00000400 92 #define GL_COLOR_BUFFER_BIT 0x00004000 93 #define GL_FALSE 0 94 #define GL_TRUE 1 95 #define GL_POINTS 0x0000 96 #define GL_LINES 0x0001 97 #define GL_LINE_LOOP 0x0002 98 #define GL_LINE_STRIP 0x0003 99 #define GL_TRIANGLES 0x0004 100 #define GL_TRIANGLE_STRIP 0x0005 101 #define GL_TRIANGLE_FAN 0x0006 102 #define GL_QUADS 0x0007 103 #define GL_NEVER 0x0200 104 #define GL_LESS 0x0201 105 #define GL_EQUAL 0x0202 106 #define GL_LEQUAL 0x0203 107 #define GL_GREATER 0x0204 108 #define GL_NOTEQUAL 0x0205 109 #define GL_GEQUAL 0x0206 110 #define GL_ALWAYS 0x0207 111 #define GL_ZERO 0 112 #define GL_ONE 1 113 #define GL_SRC_COLOR 0x0300 114 #define GL_ONE_MINUS_SRC_COLOR 0x0301 115 #define GL_SRC_ALPHA 0x0302 116 #define GL_ONE_MINUS_SRC_ALPHA 0x0303 117 #define GL_DST_ALPHA 0x0304 118 #define GL_ONE_MINUS_DST_ALPHA 0x0305 119 #define GL_DST_COLOR 0x0306 120 #define GL_ONE_MINUS_DST_COLOR 0x0307 121 #define GL_SRC_ALPHA_SATURATE 0x0308 122 #define GL_NONE 0 123 #define GL_FRONT_LEFT 0x0400 124 #define GL_FRONT_RIGHT 0x0401 125 #define GL_BACK_LEFT 0x0402 126 #define GL_BACK_RIGHT 0x0403 127 #define GL_FRONT 0x0404 128 #define GL_BACK 0x0405 129 #define GL_LEFT 0x0406 130 #define GL_RIGHT 0x0407 131 #define GL_FRONT_AND_BACK 0x0408 132 #define GL_NO_ERROR 0 133 #define GL_INVALID_ENUM 0x0500 134 #define GL_INVALID_VALUE 0x0501 135 #define GL_INVALID_OPERATION 0x0502 136 #define GL_OUT_OF_MEMORY 0x0505 137 #define GL_CW 0x0900 138 #define GL_CCW 0x0901 139 #define GL_POINT_SIZE 0x0B11 140 #define GL_POINT_SIZE_RANGE 0x0B12 141 #define GL_POINT_SIZE_GRANULARITY 0x0B13 142 #define GL_LINE_SMOOTH 0x0B20 143 #define GL_LINE_WIDTH 0x0B21 144 #define GL_LINE_WIDTH_RANGE 0x0B22 145 #define GL_LINE_WIDTH_GRANULARITY 0x0B23 146 #define GL_POLYGON_MODE 0x0B40 147 #define GL_POLYGON_SMOOTH 0x0B41 148 #define GL_CULL_FACE 0x0B44 149 #define GL_CULL_FACE_MODE 0x0B45 150 #define GL_FRONT_FACE 0x0B46 151 #define GL_DEPTH_RANGE 0x0B70 152 #define GL_DEPTH_TEST 0x0B71 153 #define GL_DEPTH_WRITEMASK 0x0B72 154 #define GL_DEPTH_CLEAR_VALUE 0x0B73 155 #define GL_DEPTH_FUNC 0x0B74 156 #define GL_STENCIL_TEST 0x0B90 157 #define GL_STENCIL_CLEAR_VALUE 0x0B91 158 #define GL_STENCIL_FUNC 0x0B92 159 #define GL_STENCIL_VALUE_MASK 0x0B93 160 #define GL_STENCIL_FAIL 0x0B94 161 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 162 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 163 #define GL_STENCIL_REF 0x0B97 164 #define GL_STENCIL_WRITEMASK 0x0B98 165 #define GL_VIEWPORT 0x0BA2 166 #define GL_DITHER 0x0BD0 167 #define GL_BLEND_DST 0x0BE0 168 #define GL_BLEND_SRC 0x0BE1 169 #define GL_BLEND 0x0BE2 170 #define GL_LOGIC_OP_MODE 0x0BF0 171 #define GL_DRAW_BUFFER 0x0C01 172 #define GL_READ_BUFFER 0x0C02 173 #define GL_SCISSOR_BOX 0x0C10 174 #define GL_SCISSOR_TEST 0x0C11 175 #define GL_COLOR_CLEAR_VALUE 0x0C22 176 #define GL_COLOR_WRITEMASK 0x0C23 177 #define GL_DOUBLEBUFFER 0x0C32 178 #define GL_STEREO 0x0C33 179 #define GL_LINE_SMOOTH_HINT 0x0C52 180 #define GL_POLYGON_SMOOTH_HINT 0x0C53 181 #define GL_UNPACK_SWAP_BYTES 0x0CF0 182 #define GL_UNPACK_LSB_FIRST 0x0CF1 183 #define GL_UNPACK_ROW_LENGTH 0x0CF2 184 #define GL_UNPACK_SKIP_ROWS 0x0CF3 185 #define GL_UNPACK_SKIP_PIXELS 0x0CF4 186 #define GL_UNPACK_ALIGNMENT 0x0CF5 187 #define GL_PACK_SWAP_BYTES 0x0D00 188 #define GL_PACK_LSB_FIRST 0x0D01 189 #define GL_PACK_ROW_LENGTH 0x0D02 190 #define GL_PACK_SKIP_ROWS 0x0D03 191 #define GL_PACK_SKIP_PIXELS 0x0D04 192 #define GL_PACK_ALIGNMENT 0x0D05 193 #define GL_MAX_TEXTURE_SIZE 0x0D33 194 #define GL_MAX_VIEWPORT_DIMS 0x0D3A 195 #define GL_SUBPIXEL_BITS 0x0D50 196 #define GL_TEXTURE_1D 0x0DE0 197 #define GL_TEXTURE_2D 0x0DE1 198 #define GL_TEXTURE_WIDTH 0x1000 199 #define GL_TEXTURE_HEIGHT 0x1001 200 #define GL_TEXTURE_BORDER_COLOR 0x1004 201 #define GL_DONT_CARE 0x1100 202 #define GL_FASTEST 0x1101 203 #define GL_NICEST 0x1102 204 #define GL_BYTE 0x1400 205 #define GL_UNSIGNED_BYTE 0x1401 206 #define GL_SHORT 0x1402 207 #define GL_UNSIGNED_SHORT 0x1403 208 #define GL_INT 0x1404 209 #define GL_UNSIGNED_INT 0x1405 210 #define GL_FLOAT 0x1406 211 #define GL_STACK_OVERFLOW 0x0503 212 #define GL_STACK_UNDERFLOW 0x0504 213 #define GL_CLEAR 0x1500 214 #define GL_AND 0x1501 215 #define GL_AND_REVERSE 0x1502 216 #define GL_COPY 0x1503 217 #define GL_AND_INVERTED 0x1504 218 #define GL_NOOP 0x1505 219 #define GL_XOR 0x1506 220 #define GL_OR 0x1507 221 #define GL_NOR 0x1508 222 #define GL_EQUIV 0x1509 223 #define GL_INVERT 0x150A 224 #define GL_OR_REVERSE 0x150B 225 #define GL_COPY_INVERTED 0x150C 226 #define GL_OR_INVERTED 0x150D 227 #define GL_NAND 0x150E 228 #define GL_SET 0x150F 229 #define GL_TEXTURE 0x1702 230 #define GL_COLOR 0x1800 231 #define GL_DEPTH 0x1801 232 #define GL_STENCIL 0x1802 233 #define GL_STENCIL_INDEX 0x1901 234 #define GL_DEPTH_COMPONENT 0x1902 235 #define GL_RED 0x1903 236 #define GL_GREEN 0x1904 237 #define GL_BLUE 0x1905 238 #define GL_ALPHA 0x1906 239 #define GL_RGB 0x1907 240 #define GL_RGBA 0x1908 241 #define GL_POINT 0x1B00 242 #define GL_LINE 0x1B01 243 #define GL_FILL 0x1B02 244 #define GL_KEEP 0x1E00 245 #define GL_REPLACE 0x1E01 246 #define GL_INCR 0x1E02 247 #define GL_DECR 0x1E03 248 #define GL_VENDOR 0x1F00 249 #define GL_RENDERER 0x1F01 250 #define GL_VERSION 0x1F02 251 #define GL_EXTENSIONS 0x1F03 252 #define GL_NEAREST 0x2600 253 #define GL_LINEAR 0x2601 254 #define GL_NEAREST_MIPMAP_NEAREST 0x2700 255 #define GL_LINEAR_MIPMAP_NEAREST 0x2701 256 #define GL_NEAREST_MIPMAP_LINEAR 0x2702 257 #define GL_LINEAR_MIPMAP_LINEAR 0x2703 258 #define GL_TEXTURE_MAG_FILTER 0x2800 259 #define GL_TEXTURE_MIN_FILTER 0x2801 260 #define GL_TEXTURE_WRAP_S 0x2802 261 #define GL_TEXTURE_WRAP_T 0x2803 262 #define GL_REPEAT 0x2901 263 typedef void (APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); 264 typedef void (APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); 265 typedef void (APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); 266 typedef void (APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width); 267 typedef void (APIENTRYP PFNGLPOINTSIZEPROC) (GLfloat size); 268 typedef void (APIENTRYP PFNGLPOLYGONMODEPROC) (GLenum face, GLenum mode); 269 typedef void (APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); 270 typedef void (APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); 271 typedef void (APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); 272 typedef void (APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); 273 typedef void (APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); 274 typedef void (APIENTRYP PFNGLTEXIMAGE1DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 275 typedef void (APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 276 typedef void (APIENTRYP PFNGLDRAWBUFFERPROC) (GLenum buf); 277 typedef void (APIENTRYP PFNGLCLEARPROC) (GLbitfield mask); 278 typedef void (APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 279 typedef void (APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s); 280 typedef void (APIENTRYP PFNGLCLEARDEPTHPROC) (GLdouble depth); 281 typedef void (APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask); 282 typedef void (APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 283 typedef void (APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag); 284 typedef void (APIENTRYP PFNGLDISABLEPROC) (GLenum cap); 285 typedef void (APIENTRYP PFNGLENABLEPROC) (GLenum cap); 286 typedef void (APIENTRYP PFNGLFINISHPROC) (void); 287 typedef void (APIENTRYP PFNGLFLUSHPROC) (void); 288 typedef void (APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor); 289 typedef void (APIENTRYP PFNGLLOGICOPPROC) (GLenum opcode); 290 typedef void (APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); 291 typedef void (APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass); 292 typedef void (APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func); 293 typedef void (APIENTRYP PFNGLPIXELSTOREFPROC) (GLenum pname, GLfloat param); 294 typedef void (APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param); 295 typedef void (APIENTRYP PFNGLREADBUFFERPROC) (GLenum src); 296 typedef void (APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); 297 typedef void (APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data); 298 typedef void (APIENTRYP PFNGLGETDOUBLEVPROC) (GLenum pname, GLdouble *data); 299 typedef GLenum (APIENTRYP PFNGLGETERRORPROC) (void); 300 typedef void (APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data); 301 typedef void (APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data); 302 typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGPROC) (GLenum name); 303 typedef void (APIENTRYP PFNGLGETTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 304 typedef void (APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 305 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 306 typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERFVPROC) (GLenum target, GLint level, GLenum pname, GLfloat *params); 307 typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params); 308 typedef GLboolean (APIENTRYP PFNGLISENABLEDPROC) (GLenum cap); 309 typedef void (APIENTRYP PFNGLDEPTHRANGEPROC) (GLdouble near, GLdouble far); 310 typedef void (APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); 311 #ifdef GL_GLEXT_PROTOTYPES 312 GLAPI void APIENTRY glCullFace (GLenum mode); 313 GLAPI void APIENTRY glFrontFace (GLenum mode); 314 GLAPI void APIENTRY glHint (GLenum target, GLenum mode); 315 GLAPI void APIENTRY glLineWidth (GLfloat width); 316 GLAPI void APIENTRY glPointSize (GLfloat size); 317 GLAPI void APIENTRY glPolygonMode (GLenum face, GLenum mode); 318 GLAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); 319 GLAPI void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); 320 GLAPI void APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); 321 GLAPI void APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); 322 GLAPI void APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); 323 GLAPI void APIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 324 GLAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 325 GLAPI void APIENTRY glDrawBuffer (GLenum buf); 326 GLAPI void APIENTRY glClear (GLbitfield mask); 327 GLAPI void APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 328 GLAPI void APIENTRY glClearStencil (GLint s); 329 GLAPI void APIENTRY glClearDepth (GLdouble depth); 330 GLAPI void APIENTRY glStencilMask (GLuint mask); 331 GLAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 332 GLAPI void APIENTRY glDepthMask (GLboolean flag); 333 GLAPI void APIENTRY glDisable (GLenum cap); 334 GLAPI void APIENTRY glEnable (GLenum cap); 335 GLAPI void APIENTRY glFinish (void); 336 GLAPI void APIENTRY glFlush (void); 337 GLAPI void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); 338 GLAPI void APIENTRY glLogicOp (GLenum opcode); 339 GLAPI void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); 340 GLAPI void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); 341 GLAPI void APIENTRY glDepthFunc (GLenum func); 342 GLAPI void APIENTRY glPixelStoref (GLenum pname, GLfloat param); 343 GLAPI void APIENTRY glPixelStorei (GLenum pname, GLint param); 344 GLAPI void APIENTRY glReadBuffer (GLenum src); 345 GLAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); 346 GLAPI void APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); 347 GLAPI void APIENTRY glGetDoublev (GLenum pname, GLdouble *data); 348 GLAPI GLenum APIENTRY glGetError (void); 349 GLAPI void APIENTRY glGetFloatv (GLenum pname, GLfloat *data); 350 GLAPI void APIENTRY glGetIntegerv (GLenum pname, GLint *data); 351 GLAPI const GLubyte *APIENTRY glGetString (GLenum name); 352 GLAPI void APIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 353 GLAPI void APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); 354 GLAPI void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); 355 GLAPI void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params); 356 GLAPI void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params); 357 GLAPI GLboolean APIENTRY glIsEnabled (GLenum cap); 358 GLAPI void APIENTRY glDepthRange (GLdouble near, GLdouble far); 359 GLAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); 360 #endif 361 #endif /* GL_VERSION_1_0 */ 362 363 #ifndef GL_VERSION_1_1 364 #define GL_VERSION_1_1 1 365 typedef float GLclampf; 366 typedef double GLclampd; 367 #define GL_COLOR_LOGIC_OP 0x0BF2 368 #define GL_POLYGON_OFFSET_UNITS 0x2A00 369 #define GL_POLYGON_OFFSET_POINT 0x2A01 370 #define GL_POLYGON_OFFSET_LINE 0x2A02 371 #define GL_POLYGON_OFFSET_FILL 0x8037 372 #define GL_POLYGON_OFFSET_FACTOR 0x8038 373 #define GL_TEXTURE_BINDING_1D 0x8068 374 #define GL_TEXTURE_BINDING_2D 0x8069 375 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003 376 #define GL_TEXTURE_RED_SIZE 0x805C 377 #define GL_TEXTURE_GREEN_SIZE 0x805D 378 #define GL_TEXTURE_BLUE_SIZE 0x805E 379 #define GL_TEXTURE_ALPHA_SIZE 0x805F 380 #define GL_DOUBLE 0x140A 381 #define GL_PROXY_TEXTURE_1D 0x8063 382 #define GL_PROXY_TEXTURE_2D 0x8064 383 #define GL_R3_G3_B2 0x2A10 384 #define GL_RGB4 0x804F 385 #define GL_RGB5 0x8050 386 #define GL_RGB8 0x8051 387 #define GL_RGB10 0x8052 388 #define GL_RGB12 0x8053 389 #define GL_RGB16 0x8054 390 #define GL_RGBA2 0x8055 391 #define GL_RGBA4 0x8056 392 #define GL_RGB5_A1 0x8057 393 #define GL_RGBA8 0x8058 394 #define GL_RGB10_A2 0x8059 395 #define GL_RGBA12 0x805A 396 #define GL_RGBA16 0x805B 397 #define GL_VERTEX_ARRAY 0x8074 398 typedef void (APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count); 399 typedef void (APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices); 400 typedef void (APIENTRYP PFNGLGETPOINTERVPROC) (GLenum pname, void **params); 401 typedef void (APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units); 402 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 403 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 404 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 405 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 406 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 407 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 408 typedef void (APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture); 409 typedef void (APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures); 410 typedef void (APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures); 411 typedef GLboolean (APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture); 412 #ifdef GL_GLEXT_PROTOTYPES 413 GLAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); 414 GLAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); 415 GLAPI void APIENTRY glGetPointerv (GLenum pname, void **params); 416 GLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); 417 GLAPI void APIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 418 GLAPI void APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 419 GLAPI void APIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 420 GLAPI void APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 421 GLAPI void APIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 422 GLAPI void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 423 GLAPI void APIENTRY glBindTexture (GLenum target, GLuint texture); 424 GLAPI void APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); 425 GLAPI void APIENTRY glGenTextures (GLsizei n, GLuint *textures); 426 GLAPI GLboolean APIENTRY glIsTexture (GLuint texture); 427 #endif 428 #endif /* GL_VERSION_1_1 */ 429 430 #ifndef GL_VERSION_1_2 431 #define GL_VERSION_1_2 1 432 #define GL_UNSIGNED_BYTE_3_3_2 0x8032 433 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 434 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 435 #define GL_UNSIGNED_INT_8_8_8_8 0x8035 436 #define GL_UNSIGNED_INT_10_10_10_2 0x8036 437 #define GL_TEXTURE_BINDING_3D 0x806A 438 #define GL_PACK_SKIP_IMAGES 0x806B 439 #define GL_PACK_IMAGE_HEIGHT 0x806C 440 #define GL_UNPACK_SKIP_IMAGES 0x806D 441 #define GL_UNPACK_IMAGE_HEIGHT 0x806E 442 #define GL_TEXTURE_3D 0x806F 443 #define GL_PROXY_TEXTURE_3D 0x8070 444 #define GL_TEXTURE_DEPTH 0x8071 445 #define GL_TEXTURE_WRAP_R 0x8072 446 #define GL_MAX_3D_TEXTURE_SIZE 0x8073 447 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 448 #define GL_UNSIGNED_SHORT_5_6_5 0x8363 449 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 450 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 451 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 452 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 453 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 454 #define GL_BGR 0x80E0 455 #define GL_BGRA 0x80E1 456 #define GL_MAX_ELEMENTS_VERTICES 0x80E8 457 #define GL_MAX_ELEMENTS_INDICES 0x80E9 458 #define GL_CLAMP_TO_EDGE 0x812F 459 #define GL_TEXTURE_MIN_LOD 0x813A 460 #define GL_TEXTURE_MAX_LOD 0x813B 461 #define GL_TEXTURE_BASE_LEVEL 0x813C 462 #define GL_TEXTURE_MAX_LEVEL 0x813D 463 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 464 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 465 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 466 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 467 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E 468 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); 469 typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); 470 typedef 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); 471 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 472 #ifdef GL_GLEXT_PROTOTYPES 473 GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); 474 GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); 475 GLAPI 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); 476 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 477 #endif 478 #endif /* GL_VERSION_1_2 */ 479 480 #ifndef GL_VERSION_1_3 481 #define GL_VERSION_1_3 1 482 #define GL_TEXTURE0 0x84C0 483 #define GL_TEXTURE1 0x84C1 484 #define GL_TEXTURE2 0x84C2 485 #define GL_TEXTURE3 0x84C3 486 #define GL_TEXTURE4 0x84C4 487 #define GL_TEXTURE5 0x84C5 488 #define GL_TEXTURE6 0x84C6 489 #define GL_TEXTURE7 0x84C7 490 #define GL_TEXTURE8 0x84C8 491 #define GL_TEXTURE9 0x84C9 492 #define GL_TEXTURE10 0x84CA 493 #define GL_TEXTURE11 0x84CB 494 #define GL_TEXTURE12 0x84CC 495 #define GL_TEXTURE13 0x84CD 496 #define GL_TEXTURE14 0x84CE 497 #define GL_TEXTURE15 0x84CF 498 #define GL_TEXTURE16 0x84D0 499 #define GL_TEXTURE17 0x84D1 500 #define GL_TEXTURE18 0x84D2 501 #define GL_TEXTURE19 0x84D3 502 #define GL_TEXTURE20 0x84D4 503 #define GL_TEXTURE21 0x84D5 504 #define GL_TEXTURE22 0x84D6 505 #define GL_TEXTURE23 0x84D7 506 #define GL_TEXTURE24 0x84D8 507 #define GL_TEXTURE25 0x84D9 508 #define GL_TEXTURE26 0x84DA 509 #define GL_TEXTURE27 0x84DB 510 #define GL_TEXTURE28 0x84DC 511 #define GL_TEXTURE29 0x84DD 512 #define GL_TEXTURE30 0x84DE 513 #define GL_TEXTURE31 0x84DF 514 #define GL_ACTIVE_TEXTURE 0x84E0 515 #define GL_MULTISAMPLE 0x809D 516 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E 517 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F 518 #define GL_SAMPLE_COVERAGE 0x80A0 519 #define GL_SAMPLE_BUFFERS 0x80A8 520 #define GL_SAMPLES 0x80A9 521 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA 522 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB 523 #define GL_TEXTURE_CUBE_MAP 0x8513 524 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 525 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 526 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 527 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 528 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 529 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 530 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A 531 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B 532 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C 533 #define GL_COMPRESSED_RGB 0x84ED 534 #define GL_COMPRESSED_RGBA 0x84EE 535 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF 536 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 537 #define GL_TEXTURE_COMPRESSED 0x86A1 538 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 539 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 540 #define GL_CLAMP_TO_BORDER 0x812D 541 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); 542 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); 543 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); 544 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); 545 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); 546 typedef 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); 547 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); 548 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); 549 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img); 550 #ifdef GL_GLEXT_PROTOTYPES 551 GLAPI void APIENTRY glActiveTexture (GLenum texture); 552 GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); 553 GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); 554 GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); 555 GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); 556 GLAPI 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); 557 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); 558 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); 559 GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img); 560 #endif 561 #endif /* GL_VERSION_1_3 */ 562 563 #ifndef GL_VERSION_1_4 564 #define GL_VERSION_1_4 1 565 #define GL_BLEND_DST_RGB 0x80C8 566 #define GL_BLEND_SRC_RGB 0x80C9 567 #define GL_BLEND_DST_ALPHA 0x80CA 568 #define GL_BLEND_SRC_ALPHA 0x80CB 569 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 570 #define GL_DEPTH_COMPONENT16 0x81A5 571 #define GL_DEPTH_COMPONENT24 0x81A6 572 #define GL_DEPTH_COMPONENT32 0x81A7 573 #define GL_MIRRORED_REPEAT 0x8370 574 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD 575 #define GL_TEXTURE_LOD_BIAS 0x8501 576 #define GL_INCR_WRAP 0x8507 577 #define GL_DECR_WRAP 0x8508 578 #define GL_TEXTURE_DEPTH_SIZE 0x884A 579 #define GL_TEXTURE_COMPARE_MODE 0x884C 580 #define GL_TEXTURE_COMPARE_FUNC 0x884D 581 #define GL_FUNC_ADD 0x8006 582 #define GL_FUNC_SUBTRACT 0x800A 583 #define GL_FUNC_REVERSE_SUBTRACT 0x800B 584 #define GL_MIN 0x8007 585 #define GL_MAX 0x8008 586 #define GL_CONSTANT_COLOR 0x8001 587 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 588 #define GL_CONSTANT_ALPHA 0x8003 589 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 590 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 591 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); 592 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount); 593 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); 594 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); 595 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); 596 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params); 597 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 598 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); 599 #ifdef GL_GLEXT_PROTOTYPES 600 GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 601 GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); 602 GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount); 603 GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param); 604 GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params); 605 GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param); 606 GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params); 607 GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 608 GLAPI void APIENTRY glBlendEquation (GLenum mode); 609 #endif 610 #endif /* GL_VERSION_1_4 */ 611 612 #ifndef GL_VERSION_1_5 613 #define GL_VERSION_1_5 1 614 #include <stddef.h> 615 typedef ptrdiff_t GLsizeiptr; 616 typedef ptrdiff_t GLintptr; 617 #define GL_BUFFER_SIZE 0x8764 618 #define GL_BUFFER_USAGE 0x8765 619 #define GL_QUERY_COUNTER_BITS 0x8864 620 #define GL_CURRENT_QUERY 0x8865 621 #define GL_QUERY_RESULT 0x8866 622 #define GL_QUERY_RESULT_AVAILABLE 0x8867 623 #define GL_ARRAY_BUFFER 0x8892 624 #define GL_ELEMENT_ARRAY_BUFFER 0x8893 625 #define GL_ARRAY_BUFFER_BINDING 0x8894 626 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 627 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F 628 #define GL_READ_ONLY 0x88B8 629 #define GL_WRITE_ONLY 0x88B9 630 #define GL_READ_WRITE 0x88BA 631 #define GL_BUFFER_ACCESS 0x88BB 632 #define GL_BUFFER_MAPPED 0x88BC 633 #define GL_BUFFER_MAP_POINTER 0x88BD 634 #define GL_STREAM_DRAW 0x88E0 635 #define GL_STREAM_READ 0x88E1 636 #define GL_STREAM_COPY 0x88E2 637 #define GL_STATIC_DRAW 0x88E4 638 #define GL_STATIC_READ 0x88E5 639 #define GL_STATIC_COPY 0x88E6 640 #define GL_DYNAMIC_DRAW 0x88E8 641 #define GL_DYNAMIC_READ 0x88E9 642 #define GL_DYNAMIC_COPY 0x88EA 643 #define GL_SAMPLES_PASSED 0x8914 644 #define GL_SRC1_ALPHA 0x8589 645 typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); 646 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); 647 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id); 648 typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); 649 typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target); 650 typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); 651 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params); 652 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); 653 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); 654 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); 655 typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); 656 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); 657 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage); 658 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); 659 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data); 660 typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access); 661 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); 662 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 663 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params); 664 #ifdef GL_GLEXT_PROTOTYPES 665 GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids); 666 GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); 667 GLAPI GLboolean APIENTRY glIsQuery (GLuint id); 668 GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id); 669 GLAPI void APIENTRY glEndQuery (GLenum target); 670 GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params); 671 GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params); 672 GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); 673 GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer); 674 GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); 675 GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); 676 GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer); 677 GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); 678 GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); 679 GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data); 680 GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access); 681 GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target); 682 GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); 683 GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params); 684 #endif 685 #endif /* GL_VERSION_1_5 */ 686 687 #ifndef GL_VERSION_2_0 688 #define GL_VERSION_2_0 1 689 typedef char GLchar; 690 typedef short GLshort; 691 typedef signed char GLbyte; 692 typedef unsigned short GLushort; 693 #define GL_BLEND_EQUATION_RGB 0x8009 694 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 695 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 696 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 697 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 698 #define GL_CURRENT_VERTEX_ATTRIB 0x8626 699 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 700 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 701 #define GL_STENCIL_BACK_FUNC 0x8800 702 #define GL_STENCIL_BACK_FAIL 0x8801 703 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 704 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 705 #define GL_MAX_DRAW_BUFFERS 0x8824 706 #define GL_DRAW_BUFFER0 0x8825 707 #define GL_DRAW_BUFFER1 0x8826 708 #define GL_DRAW_BUFFER2 0x8827 709 #define GL_DRAW_BUFFER3 0x8828 710 #define GL_DRAW_BUFFER4 0x8829 711 #define GL_DRAW_BUFFER5 0x882A 712 #define GL_DRAW_BUFFER6 0x882B 713 #define GL_DRAW_BUFFER7 0x882C 714 #define GL_DRAW_BUFFER8 0x882D 715 #define GL_DRAW_BUFFER9 0x882E 716 #define GL_DRAW_BUFFER10 0x882F 717 #define GL_DRAW_BUFFER11 0x8830 718 #define GL_DRAW_BUFFER12 0x8831 719 #define GL_DRAW_BUFFER13 0x8832 720 #define GL_DRAW_BUFFER14 0x8833 721 #define GL_DRAW_BUFFER15 0x8834 722 #define GL_BLEND_EQUATION_ALPHA 0x883D 723 #define GL_MAX_VERTEX_ATTRIBS 0x8869 724 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A 725 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 726 #define GL_FRAGMENT_SHADER 0x8B30 727 #define GL_VERTEX_SHADER 0x8B31 728 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 729 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A 730 #define GL_MAX_VARYING_FLOATS 0x8B4B 731 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C 732 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D 733 #define GL_SHADER_TYPE 0x8B4F 734 #define GL_FLOAT_VEC2 0x8B50 735 #define GL_FLOAT_VEC3 0x8B51 736 #define GL_FLOAT_VEC4 0x8B52 737 #define GL_INT_VEC2 0x8B53 738 #define GL_INT_VEC3 0x8B54 739 #define GL_INT_VEC4 0x8B55 740 #define GL_BOOL 0x8B56 741 #define GL_BOOL_VEC2 0x8B57 742 #define GL_BOOL_VEC3 0x8B58 743 #define GL_BOOL_VEC4 0x8B59 744 #define GL_FLOAT_MAT2 0x8B5A 745 #define GL_FLOAT_MAT3 0x8B5B 746 #define GL_FLOAT_MAT4 0x8B5C 747 #define GL_SAMPLER_1D 0x8B5D 748 #define GL_SAMPLER_2D 0x8B5E 749 #define GL_SAMPLER_3D 0x8B5F 750 #define GL_SAMPLER_CUBE 0x8B60 751 #define GL_SAMPLER_1D_SHADOW 0x8B61 752 #define GL_SAMPLER_2D_SHADOW 0x8B62 753 #define GL_DELETE_STATUS 0x8B80 754 #define GL_COMPILE_STATUS 0x8B81 755 #define GL_LINK_STATUS 0x8B82 756 #define GL_VALIDATE_STATUS 0x8B83 757 #define GL_INFO_LOG_LENGTH 0x8B84 758 #define GL_ATTACHED_SHADERS 0x8B85 759 #define GL_ACTIVE_UNIFORMS 0x8B86 760 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 761 #define GL_SHADER_SOURCE_LENGTH 0x8B88 762 #define GL_ACTIVE_ATTRIBUTES 0x8B89 763 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A 764 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B 765 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C 766 #define GL_CURRENT_PROGRAM 0x8B8D 767 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 768 #define GL_LOWER_LEFT 0x8CA1 769 #define GL_UPPER_LEFT 0x8CA2 770 #define GL_STENCIL_BACK_REF 0x8CA3 771 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 772 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 773 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); 774 typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); 775 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 776 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); 777 typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); 778 typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); 779 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); 780 typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); 781 typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void); 782 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); 783 typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); 784 typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); 785 typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); 786 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); 787 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); 788 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 789 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 790 typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); 791 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); 792 typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); 793 typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 794 typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); 795 typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 796 typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); 797 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); 798 typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); 799 typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); 800 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params); 801 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); 802 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); 803 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); 804 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); 805 typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader); 806 typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); 807 typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); 808 typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); 809 typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); 810 typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); 811 typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 812 typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 813 typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); 814 typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); 815 typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); 816 typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 817 typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); 818 typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); 819 typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); 820 typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); 821 typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); 822 typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); 823 typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); 824 typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); 825 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 826 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 827 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 828 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); 829 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x); 830 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v); 831 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); 832 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); 833 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x); 834 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v); 835 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y); 836 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v); 837 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); 838 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); 839 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y); 840 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v); 841 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 842 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v); 843 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); 844 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); 845 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z); 846 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v); 847 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v); 848 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v); 849 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v); 850 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 851 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v); 852 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v); 853 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v); 854 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v); 855 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 856 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v); 857 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 858 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); 859 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v); 860 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 861 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v); 862 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v); 863 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v); 864 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v); 865 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); 866 #ifdef GL_GLEXT_PROTOTYPES 867 GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); 868 GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); 869 GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 870 GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); 871 GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); 872 GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader); 873 GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); 874 GLAPI void APIENTRY glCompileShader (GLuint shader); 875 GLAPI GLuint APIENTRY glCreateProgram (void); 876 GLAPI GLuint APIENTRY glCreateShader (GLenum type); 877 GLAPI void APIENTRY glDeleteProgram (GLuint program); 878 GLAPI void APIENTRY glDeleteShader (GLuint shader); 879 GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader); 880 GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index); 881 GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index); 882 GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 883 GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 884 GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); 885 GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); 886 GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); 887 GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 888 GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); 889 GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 890 GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); 891 GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); 892 GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); 893 GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); 894 GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params); 895 GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); 896 GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); 897 GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); 898 GLAPI GLboolean APIENTRY glIsProgram (GLuint program); 899 GLAPI GLboolean APIENTRY glIsShader (GLuint shader); 900 GLAPI void APIENTRY glLinkProgram (GLuint program); 901 GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); 902 GLAPI void APIENTRY glUseProgram (GLuint program); 903 GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0); 904 GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); 905 GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 906 GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 907 GLAPI void APIENTRY glUniform1i (GLint location, GLint v0); 908 GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); 909 GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); 910 GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 911 GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); 912 GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); 913 GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); 914 GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); 915 GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); 916 GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); 917 GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); 918 GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); 919 GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 920 GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 921 GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 922 GLAPI void APIENTRY glValidateProgram (GLuint program); 923 GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x); 924 GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v); 925 GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); 926 GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); 927 GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x); 928 GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v); 929 GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y); 930 GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v); 931 GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); 932 GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); 933 GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y); 934 GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v); 935 GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z); 936 GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v); 937 GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); 938 GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); 939 GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z); 940 GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v); 941 GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v); 942 GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v); 943 GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v); 944 GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 945 GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v); 946 GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v); 947 GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v); 948 GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v); 949 GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 950 GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v); 951 GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 952 GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); 953 GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v); 954 GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 955 GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v); 956 GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v); 957 GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v); 958 GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v); 959 GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); 960 #endif 961 #endif /* GL_VERSION_2_0 */ 962 963 #ifndef GL_VERSION_2_1 964 #define GL_VERSION_2_1 1 965 #define GL_PIXEL_PACK_BUFFER 0x88EB 966 #define GL_PIXEL_UNPACK_BUFFER 0x88EC 967 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED 968 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF 969 #define GL_FLOAT_MAT2x3 0x8B65 970 #define GL_FLOAT_MAT2x4 0x8B66 971 #define GL_FLOAT_MAT3x2 0x8B67 972 #define GL_FLOAT_MAT3x4 0x8B68 973 #define GL_FLOAT_MAT4x2 0x8B69 974 #define GL_FLOAT_MAT4x3 0x8B6A 975 #define GL_SRGB 0x8C40 976 #define GL_SRGB8 0x8C41 977 #define GL_SRGB_ALPHA 0x8C42 978 #define GL_SRGB8_ALPHA8 0x8C43 979 #define GL_COMPRESSED_SRGB 0x8C48 980 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49 981 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 982 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 983 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 984 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 985 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 986 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 987 #ifdef GL_GLEXT_PROTOTYPES 988 GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 989 GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 990 GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 991 GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 992 GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 993 GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 994 #endif 995 #endif /* GL_VERSION_2_1 */ 996 997 #ifndef GL_VERSION_3_0 998 #define GL_VERSION_3_0 1 999 typedef unsigned short GLhalf; 1000 #define GL_COMPARE_REF_TO_TEXTURE 0x884E 1001 #define GL_CLIP_DISTANCE0 0x3000 1002 #define GL_CLIP_DISTANCE1 0x3001 1003 #define GL_CLIP_DISTANCE2 0x3002 1004 #define GL_CLIP_DISTANCE3 0x3003 1005 #define GL_CLIP_DISTANCE4 0x3004 1006 #define GL_CLIP_DISTANCE5 0x3005 1007 #define GL_CLIP_DISTANCE6 0x3006 1008 #define GL_CLIP_DISTANCE7 0x3007 1009 #define GL_MAX_CLIP_DISTANCES 0x0D32 1010 #define GL_MAJOR_VERSION 0x821B 1011 #define GL_MINOR_VERSION 0x821C 1012 #define GL_NUM_EXTENSIONS 0x821D 1013 #define GL_CONTEXT_FLAGS 0x821E 1014 #define GL_COMPRESSED_RED 0x8225 1015 #define GL_COMPRESSED_RG 0x8226 1016 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001 1017 #define GL_RGBA32F 0x8814 1018 #define GL_RGB32F 0x8815 1019 #define GL_RGBA16F 0x881A 1020 #define GL_RGB16F 0x881B 1021 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD 1022 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF 1023 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 1024 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 1025 #define GL_CLAMP_READ_COLOR 0x891C 1026 #define GL_FIXED_ONLY 0x891D 1027 #define GL_MAX_VARYING_COMPONENTS 0x8B4B 1028 #define GL_TEXTURE_1D_ARRAY 0x8C18 1029 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 1030 #define GL_TEXTURE_2D_ARRAY 0x8C1A 1031 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B 1032 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C 1033 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D 1034 #define GL_R11F_G11F_B10F 0x8C3A 1035 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B 1036 #define GL_RGB9_E5 0x8C3D 1037 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E 1038 #define GL_TEXTURE_SHARED_SIZE 0x8C3F 1039 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 1040 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F 1041 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 1042 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 1043 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 1044 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 1045 #define GL_PRIMITIVES_GENERATED 0x8C87 1046 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 1047 #define GL_RASTERIZER_DISCARD 0x8C89 1048 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A 1049 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B 1050 #define GL_INTERLEAVED_ATTRIBS 0x8C8C 1051 #define GL_SEPARATE_ATTRIBS 0x8C8D 1052 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E 1053 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F 1054 #define GL_RGBA32UI 0x8D70 1055 #define GL_RGB32UI 0x8D71 1056 #define GL_RGBA16UI 0x8D76 1057 #define GL_RGB16UI 0x8D77 1058 #define GL_RGBA8UI 0x8D7C 1059 #define GL_RGB8UI 0x8D7D 1060 #define GL_RGBA32I 0x8D82 1061 #define GL_RGB32I 0x8D83 1062 #define GL_RGBA16I 0x8D88 1063 #define GL_RGB16I 0x8D89 1064 #define GL_RGBA8I 0x8D8E 1065 #define GL_RGB8I 0x8D8F 1066 #define GL_RED_INTEGER 0x8D94 1067 #define GL_GREEN_INTEGER 0x8D95 1068 #define GL_BLUE_INTEGER 0x8D96 1069 #define GL_RGB_INTEGER 0x8D98 1070 #define GL_RGBA_INTEGER 0x8D99 1071 #define GL_BGR_INTEGER 0x8D9A 1072 #define GL_BGRA_INTEGER 0x8D9B 1073 #define GL_SAMPLER_1D_ARRAY 0x8DC0 1074 #define GL_SAMPLER_2D_ARRAY 0x8DC1 1075 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3 1076 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 1077 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5 1078 #define GL_UNSIGNED_INT_VEC2 0x8DC6 1079 #define GL_UNSIGNED_INT_VEC3 0x8DC7 1080 #define GL_UNSIGNED_INT_VEC4 0x8DC8 1081 #define GL_INT_SAMPLER_1D 0x8DC9 1082 #define GL_INT_SAMPLER_2D 0x8DCA 1083 #define GL_INT_SAMPLER_3D 0x8DCB 1084 #define GL_INT_SAMPLER_CUBE 0x8DCC 1085 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE 1086 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF 1087 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1 1088 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 1089 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 1090 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 1091 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6 1092 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 1093 #define GL_QUERY_WAIT 0x8E13 1094 #define GL_QUERY_NO_WAIT 0x8E14 1095 #define GL_QUERY_BY_REGION_WAIT 0x8E15 1096 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16 1097 #define GL_BUFFER_ACCESS_FLAGS 0x911F 1098 #define GL_BUFFER_MAP_LENGTH 0x9120 1099 #define GL_BUFFER_MAP_OFFSET 0x9121 1100 #define GL_DEPTH_COMPONENT32F 0x8CAC 1101 #define GL_DEPTH32F_STENCIL8 0x8CAD 1102 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD 1103 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 1104 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 1105 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 1106 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 1107 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 1108 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 1109 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 1110 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 1111 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 1112 #define GL_FRAMEBUFFER_DEFAULT 0x8218 1113 #define GL_FRAMEBUFFER_UNDEFINED 0x8219 1114 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A 1115 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 1116 #define GL_DEPTH_STENCIL 0x84F9 1117 #define GL_UNSIGNED_INT_24_8 0x84FA 1118 #define GL_DEPTH24_STENCIL8 0x88F0 1119 #define GL_TEXTURE_STENCIL_SIZE 0x88F1 1120 #define GL_TEXTURE_RED_TYPE 0x8C10 1121 #define GL_TEXTURE_GREEN_TYPE 0x8C11 1122 #define GL_TEXTURE_BLUE_TYPE 0x8C12 1123 #define GL_TEXTURE_ALPHA_TYPE 0x8C13 1124 #define GL_TEXTURE_DEPTH_TYPE 0x8C16 1125 #define GL_UNSIGNED_NORMALIZED 0x8C17 1126 #define GL_FRAMEBUFFER_BINDING 0x8CA6 1127 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 1128 #define GL_RENDERBUFFER_BINDING 0x8CA7 1129 #define GL_READ_FRAMEBUFFER 0x8CA8 1130 #define GL_DRAW_FRAMEBUFFER 0x8CA9 1131 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA 1132 #define GL_RENDERBUFFER_SAMPLES 0x8CAB 1133 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 1134 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 1135 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 1136 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 1137 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 1138 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 1139 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 1140 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 1141 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB 1142 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC 1143 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD 1144 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF 1145 #define GL_COLOR_ATTACHMENT0 0x8CE0 1146 #define GL_COLOR_ATTACHMENT1 0x8CE1 1147 #define GL_COLOR_ATTACHMENT2 0x8CE2 1148 #define GL_COLOR_ATTACHMENT3 0x8CE3 1149 #define GL_COLOR_ATTACHMENT4 0x8CE4 1150 #define GL_COLOR_ATTACHMENT5 0x8CE5 1151 #define GL_COLOR_ATTACHMENT6 0x8CE6 1152 #define GL_COLOR_ATTACHMENT7 0x8CE7 1153 #define GL_COLOR_ATTACHMENT8 0x8CE8 1154 #define GL_COLOR_ATTACHMENT9 0x8CE9 1155 #define GL_COLOR_ATTACHMENT10 0x8CEA 1156 #define GL_COLOR_ATTACHMENT11 0x8CEB 1157 #define GL_COLOR_ATTACHMENT12 0x8CEC 1158 #define GL_COLOR_ATTACHMENT13 0x8CED 1159 #define GL_COLOR_ATTACHMENT14 0x8CEE 1160 #define GL_COLOR_ATTACHMENT15 0x8CEF 1161 #define GL_COLOR_ATTACHMENT16 0x8CF0 1162 #define GL_COLOR_ATTACHMENT17 0x8CF1 1163 #define GL_COLOR_ATTACHMENT18 0x8CF2 1164 #define GL_COLOR_ATTACHMENT19 0x8CF3 1165 #define GL_COLOR_ATTACHMENT20 0x8CF4 1166 #define GL_COLOR_ATTACHMENT21 0x8CF5 1167 #define GL_COLOR_ATTACHMENT22 0x8CF6 1168 #define GL_COLOR_ATTACHMENT23 0x8CF7 1169 #define GL_COLOR_ATTACHMENT24 0x8CF8 1170 #define GL_COLOR_ATTACHMENT25 0x8CF9 1171 #define GL_COLOR_ATTACHMENT26 0x8CFA 1172 #define GL_COLOR_ATTACHMENT27 0x8CFB 1173 #define GL_COLOR_ATTACHMENT28 0x8CFC 1174 #define GL_COLOR_ATTACHMENT29 0x8CFD 1175 #define GL_COLOR_ATTACHMENT30 0x8CFE 1176 #define GL_COLOR_ATTACHMENT31 0x8CFF 1177 #define GL_DEPTH_ATTACHMENT 0x8D00 1178 #define GL_STENCIL_ATTACHMENT 0x8D20 1179 #define GL_FRAMEBUFFER 0x8D40 1180 #define GL_RENDERBUFFER 0x8D41 1181 #define GL_RENDERBUFFER_WIDTH 0x8D42 1182 #define GL_RENDERBUFFER_HEIGHT 0x8D43 1183 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 1184 #define GL_STENCIL_INDEX1 0x8D46 1185 #define GL_STENCIL_INDEX4 0x8D47 1186 #define GL_STENCIL_INDEX8 0x8D48 1187 #define GL_STENCIL_INDEX16 0x8D49 1188 #define GL_RENDERBUFFER_RED_SIZE 0x8D50 1189 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 1190 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 1191 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 1192 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 1193 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 1194 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 1195 #define GL_MAX_SAMPLES 0x8D57 1196 #define GL_FRAMEBUFFER_SRGB 0x8DB9 1197 #define GL_HALF_FLOAT 0x140B 1198 #define GL_MAP_READ_BIT 0x0001 1199 #define GL_MAP_WRITE_BIT 0x0002 1200 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 1201 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 1202 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 1203 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 1204 #define GL_COMPRESSED_RED_RGTC1 0x8DBB 1205 #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC 1206 #define GL_COMPRESSED_RG_RGTC2 0x8DBD 1207 #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE 1208 #define GL_RG 0x8227 1209 #define GL_RG_INTEGER 0x8228 1210 #define GL_R8 0x8229 1211 #define GL_R16 0x822A 1212 #define GL_RG8 0x822B 1213 #define GL_RG16 0x822C 1214 #define GL_R16F 0x822D 1215 #define GL_R32F 0x822E 1216 #define GL_RG16F 0x822F 1217 #define GL_RG32F 0x8230 1218 #define GL_R8I 0x8231 1219 #define GL_R8UI 0x8232 1220 #define GL_R16I 0x8233 1221 #define GL_R16UI 0x8234 1222 #define GL_R32I 0x8235 1223 #define GL_R32UI 0x8236 1224 #define GL_RG8I 0x8237 1225 #define GL_RG8UI 0x8238 1226 #define GL_RG16I 0x8239 1227 #define GL_RG16UI 0x823A 1228 #define GL_RG32I 0x823B 1229 #define GL_RG32UI 0x823C 1230 #define GL_VERTEX_ARRAY_BINDING 0x85B5 1231 typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 1232 typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data); 1233 typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data); 1234 typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index); 1235 typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index); 1236 typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index); 1237 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode); 1238 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); 1239 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 1240 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); 1241 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); 1242 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 1243 typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp); 1244 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode); 1245 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void); 1246 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); 1247 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params); 1248 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params); 1249 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x); 1250 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y); 1251 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z); 1252 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); 1253 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x); 1254 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y); 1255 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z); 1256 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 1257 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v); 1258 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v); 1259 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v); 1260 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v); 1261 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v); 1262 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v); 1263 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v); 1264 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v); 1265 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v); 1266 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v); 1267 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v); 1268 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v); 1269 typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params); 1270 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name); 1271 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name); 1272 typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0); 1273 typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1); 1274 typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); 1275 typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1276 typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value); 1277 typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value); 1278 typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value); 1279 typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value); 1280 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params); 1281 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params); 1282 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params); 1283 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params); 1284 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); 1285 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); 1286 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); 1287 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 1288 typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); 1289 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); 1290 typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); 1291 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers); 1292 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); 1293 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 1294 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 1295 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); 1296 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); 1297 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); 1298 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); 1299 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); 1300 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 1301 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 1302 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 1303 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 1304 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); 1305 typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); 1306 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 1307 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1308 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 1309 typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 1310 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); 1311 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); 1312 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays); 1313 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); 1314 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); 1315 #ifdef GL_GLEXT_PROTOTYPES 1316 GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 1317 GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data); 1318 GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data); 1319 GLAPI void APIENTRY glEnablei (GLenum target, GLuint index); 1320 GLAPI void APIENTRY glDisablei (GLenum target, GLuint index); 1321 GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index); 1322 GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode); 1323 GLAPI void APIENTRY glEndTransformFeedback (void); 1324 GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 1325 GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); 1326 GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); 1327 GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 1328 GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp); 1329 GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode); 1330 GLAPI void APIENTRY glEndConditionalRender (void); 1331 GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); 1332 GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params); 1333 GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params); 1334 GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x); 1335 GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y); 1336 GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z); 1337 GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); 1338 GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x); 1339 GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y); 1340 GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z); 1341 GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 1342 GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v); 1343 GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v); 1344 GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v); 1345 GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); 1346 GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v); 1347 GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v); 1348 GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v); 1349 GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); 1350 GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v); 1351 GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v); 1352 GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v); 1353 GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v); 1354 GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params); 1355 GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name); 1356 GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); 1357 GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0); 1358 GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); 1359 GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); 1360 GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1361 GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value); 1362 GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value); 1363 GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value); 1364 GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value); 1365 GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params); 1366 GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params); 1367 GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params); 1368 GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params); 1369 GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value); 1370 GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value); 1371 GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value); 1372 GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 1373 GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index); 1374 GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer); 1375 GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); 1376 GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); 1377 GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); 1378 GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 1379 GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); 1380 GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer); 1381 GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); 1382 GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); 1383 GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); 1384 GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target); 1385 GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 1386 GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 1387 GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 1388 GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 1389 GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); 1390 GLAPI void APIENTRY glGenerateMipmap (GLenum target); 1391 GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 1392 GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1393 GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 1394 GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 1395 GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); 1396 GLAPI void APIENTRY glBindVertexArray (GLuint array); 1397 GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays); 1398 GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); 1399 GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array); 1400 #endif 1401 #endif /* GL_VERSION_3_0 */ 1402 1403 #ifndef GL_VERSION_3_1 1404 #define GL_VERSION_3_1 1 1405 #define GL_SAMPLER_2D_RECT 0x8B63 1406 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64 1407 #define GL_SAMPLER_BUFFER 0x8DC2 1408 #define GL_INT_SAMPLER_2D_RECT 0x8DCD 1409 #define GL_INT_SAMPLER_BUFFER 0x8DD0 1410 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5 1411 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 1412 #define GL_TEXTURE_BUFFER 0x8C2A 1413 #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B 1414 #define GL_TEXTURE_BINDING_BUFFER 0x8C2C 1415 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D 1416 #define GL_TEXTURE_RECTANGLE 0x84F5 1417 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6 1418 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7 1419 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8 1420 #define GL_R8_SNORM 0x8F94 1421 #define GL_RG8_SNORM 0x8F95 1422 #define GL_RGB8_SNORM 0x8F96 1423 #define GL_RGBA8_SNORM 0x8F97 1424 #define GL_R16_SNORM 0x8F98 1425 #define GL_RG16_SNORM 0x8F99 1426 #define GL_RGB16_SNORM 0x8F9A 1427 #define GL_RGBA16_SNORM 0x8F9B 1428 #define GL_SIGNED_NORMALIZED 0x8F9C 1429 #define GL_PRIMITIVE_RESTART 0x8F9D 1430 #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E 1431 #define GL_COPY_READ_BUFFER 0x8F36 1432 #define GL_COPY_WRITE_BUFFER 0x8F37 1433 #define GL_UNIFORM_BUFFER 0x8A11 1434 #define GL_UNIFORM_BUFFER_BINDING 0x8A28 1435 #define GL_UNIFORM_BUFFER_START 0x8A29 1436 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A 1437 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B 1438 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C 1439 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D 1440 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E 1441 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F 1442 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 1443 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 1444 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 1445 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 1446 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 1447 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 1448 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 1449 #define GL_UNIFORM_TYPE 0x8A37 1450 #define GL_UNIFORM_SIZE 0x8A38 1451 #define GL_UNIFORM_NAME_LENGTH 0x8A39 1452 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A 1453 #define GL_UNIFORM_OFFSET 0x8A3B 1454 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C 1455 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D 1456 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E 1457 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F 1458 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 1459 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 1460 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 1461 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 1462 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 1463 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45 1464 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 1465 #define GL_INVALID_INDEX 0xFFFFFFFFu 1466 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); 1467 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); 1468 typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer); 1469 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index); 1470 typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 1471 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); 1472 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); 1473 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); 1474 typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName); 1475 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); 1476 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); 1477 typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); 1478 #ifdef GL_GLEXT_PROTOTYPES 1479 GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); 1480 GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); 1481 GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer); 1482 GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index); 1483 GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 1484 GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); 1485 GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); 1486 GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); 1487 GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); 1488 GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); 1489 GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); 1490 GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); 1491 #endif 1492 #endif /* GL_VERSION_3_1 */ 1493 1494 #ifndef GL_VERSION_3_2 1495 #define GL_VERSION_3_2 1 1496 typedef struct __GLsync *GLsync; 1497 #ifndef GLEXT_64_TYPES_DEFINED 1498 /* This code block is duplicated in glxext.h, so must be protected */ 1499 #define GLEXT_64_TYPES_DEFINED 1500 /* Define int32_t, int64_t, and uint64_t types for UST/MSC */ 1501 /* (as used in the GL_EXT_timer_query extension). */ 1502 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 1503 #include <inttypes.h> 1504 #elif defined(__sun__) || defined(__digital__) 1505 #include <inttypes.h> 1506 #if defined(__STDC__) 1507 #if defined(__arch64__) || defined(_LP64) 1508 typedef long int int64_t; 1509 typedef unsigned long int uint64_t; 1510 #else 1511 typedef long long int int64_t; 1512 typedef unsigned long long int uint64_t; 1513 #endif /* __arch64__ */ 1514 #endif /* __STDC__ */ 1515 #elif defined( __VMS ) || defined(__sgi) 1516 #include <inttypes.h> 1517 #elif defined(__SCO__) || defined(__USLC__) 1518 #include <stdint.h> 1519 #elif defined(__UNIXOS2__) || defined(__SOL64__) 1520 typedef long int int32_t; 1521 typedef long long int int64_t; 1522 typedef unsigned long long int uint64_t; 1523 #elif defined(_WIN32) && defined(__GNUC__) 1524 #include <stdint.h> 1525 #elif defined(_WIN32) 1526 typedef __int32 int32_t; 1527 typedef __int64 int64_t; 1528 typedef unsigned __int64 uint64_t; 1529 #else 1530 /* Fallback if nothing above works */ 1531 #include <inttypes.h> 1532 #endif 1533 #endif 1534 typedef uint64_t GLuint64; 1535 typedef int64_t GLint64; 1536 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 1537 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 1538 #define GL_LINES_ADJACENCY 0x000A 1539 #define GL_LINE_STRIP_ADJACENCY 0x000B 1540 #define GL_TRIANGLES_ADJACENCY 0x000C 1541 #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D 1542 #define GL_PROGRAM_POINT_SIZE 0x8642 1543 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 1544 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 1545 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 1546 #define GL_GEOMETRY_SHADER 0x8DD9 1547 #define GL_GEOMETRY_VERTICES_OUT 0x8916 1548 #define GL_GEOMETRY_INPUT_TYPE 0x8917 1549 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918 1550 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF 1551 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 1552 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 1553 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 1554 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 1555 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 1556 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 1557 #define GL_CONTEXT_PROFILE_MASK 0x9126 1558 #define GL_DEPTH_CLAMP 0x864F 1559 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C 1560 #define GL_FIRST_VERTEX_CONVENTION 0x8E4D 1561 #define GL_LAST_VERTEX_CONVENTION 0x8E4E 1562 #define GL_PROVOKING_VERTEX 0x8E4F 1563 #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F 1564 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 1565 #define GL_OBJECT_TYPE 0x9112 1566 #define GL_SYNC_CONDITION 0x9113 1567 #define GL_SYNC_STATUS 0x9114 1568 #define GL_SYNC_FLAGS 0x9115 1569 #define GL_SYNC_FENCE 0x9116 1570 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 1571 #define GL_UNSIGNALED 0x9118 1572 #define GL_SIGNALED 0x9119 1573 #define GL_ALREADY_SIGNALED 0x911A 1574 #define GL_TIMEOUT_EXPIRED 0x911B 1575 #define GL_CONDITION_SATISFIED 0x911C 1576 #define GL_WAIT_FAILED 0x911D 1577 #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull 1578 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 1579 #define GL_SAMPLE_POSITION 0x8E50 1580 #define GL_SAMPLE_MASK 0x8E51 1581 #define GL_SAMPLE_MASK_VALUE 0x8E52 1582 #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 1583 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100 1584 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101 1585 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 1586 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103 1587 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 1588 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 1589 #define GL_TEXTURE_SAMPLES 0x9106 1590 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 1591 #define GL_SAMPLER_2D_MULTISAMPLE 0x9108 1592 #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 1593 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A 1594 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B 1595 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C 1596 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D 1597 #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E 1598 #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F 1599 #define GL_MAX_INTEGER_SAMPLES 0x9110 1600 typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1601 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1602 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 1603 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); 1604 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode); 1605 typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags); 1606 typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync); 1607 typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); 1608 typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); 1609 typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); 1610 typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data); 1611 typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 1612 typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); 1613 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); 1614 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 1615 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 1616 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 1617 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val); 1618 typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask); 1619 #ifdef GL_GLEXT_PROTOTYPES 1620 GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1621 GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1622 GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 1623 GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); 1624 GLAPI void APIENTRY glProvokingVertex (GLenum mode); 1625 GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags); 1626 GLAPI GLboolean APIENTRY glIsSync (GLsync sync); 1627 GLAPI void APIENTRY glDeleteSync (GLsync sync); 1628 GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); 1629 GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); 1630 GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); 1631 GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 1632 GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); 1633 GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); 1634 GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level); 1635 GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 1636 GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 1637 GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val); 1638 GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask); 1639 #endif 1640 #endif /* GL_VERSION_3_2 */ 1641 1642 #ifndef GL_VERSION_3_3 1643 #define GL_VERSION_3_3 1 1644 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE 1645 #define GL_SRC1_COLOR 0x88F9 1646 #define GL_ONE_MINUS_SRC1_COLOR 0x88FA 1647 #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB 1648 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC 1649 #define GL_ANY_SAMPLES_PASSED 0x8C2F 1650 #define GL_SAMPLER_BINDING 0x8919 1651 #define GL_RGB10_A2UI 0x906F 1652 #define GL_TEXTURE_SWIZZLE_R 0x8E42 1653 #define GL_TEXTURE_SWIZZLE_G 0x8E43 1654 #define GL_TEXTURE_SWIZZLE_B 0x8E44 1655 #define GL_TEXTURE_SWIZZLE_A 0x8E45 1656 #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46 1657 #define GL_TIME_ELAPSED 0x88BF 1658 #define GL_TIMESTAMP 0x8E28 1659 #define GL_INT_2_10_10_10_REV 0x8D9F 1660 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); 1661 typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name); 1662 typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers); 1663 typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers); 1664 typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler); 1665 typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler); 1666 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param); 1667 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param); 1668 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param); 1669 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param); 1670 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param); 1671 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param); 1672 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params); 1673 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params); 1674 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params); 1675 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params); 1676 typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target); 1677 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params); 1678 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params); 1679 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor); 1680 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1681 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1682 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1683 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1684 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1685 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1686 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1687 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1688 #ifdef GL_GLEXT_PROTOTYPES 1689 GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); 1690 GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name); 1691 GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); 1692 GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers); 1693 GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler); 1694 GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler); 1695 GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); 1696 GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param); 1697 GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); 1698 GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param); 1699 GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param); 1700 GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param); 1701 GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params); 1702 GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params); 1703 GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params); 1704 GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params); 1705 GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target); 1706 GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params); 1707 GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params); 1708 GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); 1709 GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1710 GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1711 GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1712 GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1713 GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1714 GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1715 GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); 1716 GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 1717 #endif 1718 #endif /* GL_VERSION_3_3 */ 1719 1720 #ifndef GL_VERSION_4_0 1721 #define GL_VERSION_4_0 1 1722 #define GL_SAMPLE_SHADING 0x8C36 1723 #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37 1724 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E 1725 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F 1726 #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 1727 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A 1728 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B 1729 #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C 1730 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D 1731 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E 1732 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F 1733 #define GL_DRAW_INDIRECT_BUFFER 0x8F3F 1734 #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 1735 #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F 1736 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A 1737 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B 1738 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C 1739 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D 1740 #define GL_MAX_VERTEX_STREAMS 0x8E71 1741 #define GL_DOUBLE_VEC2 0x8FFC 1742 #define GL_DOUBLE_VEC3 0x8FFD 1743 #define GL_DOUBLE_VEC4 0x8FFE 1744 #define GL_DOUBLE_MAT2 0x8F46 1745 #define GL_DOUBLE_MAT3 0x8F47 1746 #define GL_DOUBLE_MAT4 0x8F48 1747 #define GL_DOUBLE_MAT2x3 0x8F49 1748 #define GL_DOUBLE_MAT2x4 0x8F4A 1749 #define GL_DOUBLE_MAT3x2 0x8F4B 1750 #define GL_DOUBLE_MAT3x4 0x8F4C 1751 #define GL_DOUBLE_MAT4x2 0x8F4D 1752 #define GL_DOUBLE_MAT4x3 0x8F4E 1753 #define GL_ACTIVE_SUBROUTINES 0x8DE5 1754 #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6 1755 #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47 1756 #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48 1757 #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49 1758 #define GL_MAX_SUBROUTINES 0x8DE7 1759 #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8 1760 #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A 1761 #define GL_COMPATIBLE_SUBROUTINES 0x8E4B 1762 #define GL_PATCHES 0x000E 1763 #define GL_PATCH_VERTICES 0x8E72 1764 #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73 1765 #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74 1766 #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75 1767 #define GL_TESS_GEN_MODE 0x8E76 1768 #define GL_TESS_GEN_SPACING 0x8E77 1769 #define GL_TESS_GEN_VERTEX_ORDER 0x8E78 1770 #define GL_TESS_GEN_POINT_MODE 0x8E79 1771 #define GL_ISOLINES 0x8E7A 1772 #define GL_FRACTIONAL_ODD 0x8E7B 1773 #define GL_FRACTIONAL_EVEN 0x8E7C 1774 #define GL_MAX_PATCH_VERTICES 0x8E7D 1775 #define GL_MAX_TESS_GEN_LEVEL 0x8E7E 1776 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F 1777 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80 1778 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81 1779 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82 1780 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83 1781 #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84 1782 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85 1783 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86 1784 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89 1785 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A 1786 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C 1787 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D 1788 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E 1789 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F 1790 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0 1791 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1 1792 #define GL_TESS_EVALUATION_SHADER 0x8E87 1793 #define GL_TESS_CONTROL_SHADER 0x8E88 1794 #define GL_TRANSFORM_FEEDBACK 0x8E22 1795 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23 1796 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24 1797 #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 1798 #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70 1799 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value); 1800 typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode); 1801 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 1802 typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst); 1803 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 1804 typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect); 1805 typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect); 1806 typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x); 1807 typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y); 1808 typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z); 1809 typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 1810 typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value); 1811 typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value); 1812 typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value); 1813 typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value); 1814 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1815 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1816 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1817 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1818 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1819 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1820 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1821 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1822 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1823 typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params); 1824 typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name); 1825 typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name); 1826 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); 1827 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); 1828 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); 1829 typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices); 1830 typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params); 1831 typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values); 1832 typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value); 1833 typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values); 1834 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id); 1835 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids); 1836 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); 1837 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id); 1838 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void); 1839 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void); 1840 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id); 1841 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream); 1842 typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id); 1843 typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index); 1844 typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); 1845 #ifdef GL_GLEXT_PROTOTYPES 1846 GLAPI void APIENTRY glMinSampleShading (GLfloat value); 1847 GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode); 1848 GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 1849 GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst); 1850 GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 1851 GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect); 1852 GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect); 1853 GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x); 1854 GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y); 1855 GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z); 1856 GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 1857 GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value); 1858 GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value); 1859 GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value); 1860 GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value); 1861 GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1862 GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1863 GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1864 GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1865 GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1866 GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1867 GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1868 GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1869 GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1870 GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params); 1871 GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name); 1872 GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name); 1873 GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); 1874 GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); 1875 GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); 1876 GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices); 1877 GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params); 1878 GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values); 1879 GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value); 1880 GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values); 1881 GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id); 1882 GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids); 1883 GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); 1884 GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id); 1885 GLAPI void APIENTRY glPauseTransformFeedback (void); 1886 GLAPI void APIENTRY glResumeTransformFeedback (void); 1887 GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id); 1888 GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream); 1889 GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id); 1890 GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index); 1891 GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params); 1892 #endif 1893 #endif /* GL_VERSION_4_0 */ 1894 1895 #ifndef GL_VERSION_4_1 1896 #define GL_VERSION_4_1 1 1897 #define GL_FIXED 0x140C 1898 #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A 1899 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B 1900 #define GL_LOW_FLOAT 0x8DF0 1901 #define GL_MEDIUM_FLOAT 0x8DF1 1902 #define GL_HIGH_FLOAT 0x8DF2 1903 #define GL_LOW_INT 0x8DF3 1904 #define GL_MEDIUM_INT 0x8DF4 1905 #define GL_HIGH_INT 0x8DF5 1906 #define GL_SHADER_COMPILER 0x8DFA 1907 #define GL_SHADER_BINARY_FORMATS 0x8DF8 1908 #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 1909 #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB 1910 #define GL_MAX_VARYING_VECTORS 0x8DFC 1911 #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD 1912 #define GL_RGB565 0x8D62 1913 #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 1914 #define GL_PROGRAM_BINARY_LENGTH 0x8741 1915 #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE 1916 #define GL_PROGRAM_BINARY_FORMATS 0x87FF 1917 #define GL_VERTEX_SHADER_BIT 0x00000001 1918 #define GL_FRAGMENT_SHADER_BIT 0x00000002 1919 #define GL_GEOMETRY_SHADER_BIT 0x00000004 1920 #define GL_TESS_CONTROL_SHADER_BIT 0x00000008 1921 #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010 1922 #define GL_ALL_SHADER_BITS 0xFFFFFFFF 1923 #define GL_PROGRAM_SEPARABLE 0x8258 1924 #define GL_ACTIVE_PROGRAM 0x8259 1925 #define GL_PROGRAM_PIPELINE_BINDING 0x825A 1926 #define GL_MAX_VIEWPORTS 0x825B 1927 #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C 1928 #define GL_VIEWPORT_BOUNDS_RANGE 0x825D 1929 #define GL_LAYER_PROVOKING_VERTEX 0x825E 1930 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F 1931 #define GL_UNDEFINED_VERTEX 0x8260 1932 typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); 1933 typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); 1934 typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); 1935 typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); 1936 typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); 1937 typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); 1938 typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); 1939 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value); 1940 typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program); 1941 typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program); 1942 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings); 1943 typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline); 1944 typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines); 1945 typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines); 1946 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline); 1947 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params); 1948 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0); 1949 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1950 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0); 1951 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1952 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0); 1953 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 1954 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0); 1955 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1956 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1); 1957 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1958 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); 1959 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1960 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1); 1961 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 1962 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); 1963 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1964 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 1965 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1966 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 1967 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1968 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); 1969 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 1970 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 1971 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1972 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 1973 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1974 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 1975 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1976 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); 1977 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 1978 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1979 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1980 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1981 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1982 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1983 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1984 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1985 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1986 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1987 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1988 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1989 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1990 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1991 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1992 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1993 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1994 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1995 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1996 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1997 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1998 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline); 1999 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 2000 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x); 2001 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y); 2002 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 2003 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2004 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v); 2005 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v); 2006 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v); 2007 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v); 2008 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); 2009 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params); 2010 typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v); 2011 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 2012 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v); 2013 typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v); 2014 typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 2015 typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v); 2016 typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v); 2017 typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f); 2018 typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data); 2019 typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data); 2020 #ifdef GL_GLEXT_PROTOTYPES 2021 GLAPI void APIENTRY glReleaseShaderCompiler (void); 2022 GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); 2023 GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); 2024 GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f); 2025 GLAPI void APIENTRY glClearDepthf (GLfloat d); 2026 GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); 2027 GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); 2028 GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); 2029 GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program); 2030 GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program); 2031 GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings); 2032 GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline); 2033 GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines); 2034 GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines); 2035 GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline); 2036 GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params); 2037 GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0); 2038 GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value); 2039 GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0); 2040 GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); 2041 GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0); 2042 GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); 2043 GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0); 2044 GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); 2045 GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1); 2046 GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value); 2047 GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1); 2048 GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); 2049 GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1); 2050 GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); 2051 GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1); 2052 GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); 2053 GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 2054 GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value); 2055 GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 2056 GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); 2057 GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); 2058 GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); 2059 GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 2060 GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); 2061 GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 2062 GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value); 2063 GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 2064 GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); 2065 GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); 2066 GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); 2067 GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 2068 GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); 2069 GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2070 GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2071 GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2072 GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2073 GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2074 GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2075 GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2076 GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2077 GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2078 GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2079 GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2080 GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2081 GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2082 GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2083 GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2084 GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2085 GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2086 GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 2087 GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline); 2088 GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 2089 GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x); 2090 GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y); 2091 GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z); 2092 GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2093 GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v); 2094 GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v); 2095 GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v); 2096 GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v); 2097 GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); 2098 GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params); 2099 GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v); 2100 GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 2101 GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v); 2102 GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v); 2103 GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 2104 GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v); 2105 GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v); 2106 GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f); 2107 GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data); 2108 GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data); 2109 #endif 2110 #endif /* GL_VERSION_4_1 */ 2111 2112 #ifndef GL_VERSION_4_2 2113 #define GL_VERSION_4_2 1 2114 #define GL_COPY_READ_BUFFER_BINDING 0x8F36 2115 #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 2116 #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 2117 #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 2118 #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127 2119 #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128 2120 #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129 2121 #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A 2122 #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B 2123 #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C 2124 #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D 2125 #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E 2126 #define GL_NUM_SAMPLE_COUNTS 0x9380 2127 #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC 2128 #define GL_ATOMIC_COUNTER_BUFFER 0x92C0 2129 #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1 2130 #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2 2131 #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3 2132 #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4 2133 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5 2134 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6 2135 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7 2136 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8 2137 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9 2138 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA 2139 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB 2140 #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC 2141 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD 2142 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE 2143 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF 2144 #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0 2145 #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1 2146 #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2 2147 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3 2148 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4 2149 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5 2150 #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6 2151 #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7 2152 #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8 2153 #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC 2154 #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9 2155 #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA 2156 #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB 2157 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001 2158 #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002 2159 #define GL_UNIFORM_BARRIER_BIT 0x00000004 2160 #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008 2161 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 2162 #define GL_COMMAND_BARRIER_BIT 0x00000040 2163 #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080 2164 #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100 2165 #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200 2166 #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400 2167 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800 2168 #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000 2169 #define GL_ALL_BARRIER_BITS 0xFFFFFFFF 2170 #define GL_MAX_IMAGE_UNITS 0x8F38 2171 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39 2172 #define GL_IMAGE_BINDING_NAME 0x8F3A 2173 #define GL_IMAGE_BINDING_LEVEL 0x8F3B 2174 #define GL_IMAGE_BINDING_LAYERED 0x8F3C 2175 #define GL_IMAGE_BINDING_LAYER 0x8F3D 2176 #define GL_IMAGE_BINDING_ACCESS 0x8F3E 2177 #define GL_IMAGE_1D 0x904C 2178 #define GL_IMAGE_2D 0x904D 2179 #define GL_IMAGE_3D 0x904E 2180 #define GL_IMAGE_2D_RECT 0x904F 2181 #define GL_IMAGE_CUBE 0x9050 2182 #define GL_IMAGE_BUFFER 0x9051 2183 #define GL_IMAGE_1D_ARRAY 0x9052 2184 #define GL_IMAGE_2D_ARRAY 0x9053 2185 #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054 2186 #define GL_IMAGE_2D_MULTISAMPLE 0x9055 2187 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056 2188 #define GL_INT_IMAGE_1D 0x9057 2189 #define GL_INT_IMAGE_2D 0x9058 2190 #define GL_INT_IMAGE_3D 0x9059 2191 #define GL_INT_IMAGE_2D_RECT 0x905A 2192 #define GL_INT_IMAGE_CUBE 0x905B 2193 #define GL_INT_IMAGE_BUFFER 0x905C 2194 #define GL_INT_IMAGE_1D_ARRAY 0x905D 2195 #define GL_INT_IMAGE_2D_ARRAY 0x905E 2196 #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F 2197 #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060 2198 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061 2199 #define GL_UNSIGNED_INT_IMAGE_1D 0x9062 2200 #define GL_UNSIGNED_INT_IMAGE_2D 0x9063 2201 #define GL_UNSIGNED_INT_IMAGE_3D 0x9064 2202 #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065 2203 #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066 2204 #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067 2205 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068 2206 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069 2207 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A 2208 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B 2209 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C 2210 #define GL_MAX_IMAGE_SAMPLES 0x906D 2211 #define GL_IMAGE_BINDING_FORMAT 0x906E 2212 #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7 2213 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8 2214 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9 2215 #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA 2216 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB 2217 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC 2218 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD 2219 #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE 2220 #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF 2221 #define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C 2222 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D 2223 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E 2224 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F 2225 #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F 2226 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); 2227 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); 2228 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); 2229 typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); 2230 typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); 2231 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); 2232 typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers); 2233 typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2234 typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2235 typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2236 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount); 2237 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount); 2238 #ifdef GL_GLEXT_PROTOTYPES 2239 GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); 2240 GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); 2241 GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); 2242 GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); 2243 GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); 2244 GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); 2245 GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers); 2246 GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2247 GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2248 GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2249 GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount); 2250 GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount); 2251 #endif 2252 #endif /* GL_VERSION_4_2 */ 2253 2254 #ifndef GL_VERSION_4_3 2255 #define GL_VERSION_4_3 1 2256 typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); 2257 #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9 2258 #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E 2259 #define GL_COMPRESSED_RGB8_ETC2 0x9274 2260 #define GL_COMPRESSED_SRGB8_ETC2 0x9275 2261 #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 2262 #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 2263 #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 2264 #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 2265 #define GL_COMPRESSED_R11_EAC 0x9270 2266 #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 2267 #define GL_COMPRESSED_RG11_EAC 0x9272 2268 #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 2269 #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 2270 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A 2271 #define GL_MAX_ELEMENT_INDEX 0x8D6B 2272 #define GL_COMPUTE_SHADER 0x91B9 2273 #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB 2274 #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC 2275 #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD 2276 #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262 2277 #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263 2278 #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264 2279 #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265 2280 #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266 2281 #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB 2282 #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE 2283 #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF 2284 #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267 2285 #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC 2286 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED 2287 #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE 2288 #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF 2289 #define GL_COMPUTE_SHADER_BIT 0x00000020 2290 #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 2291 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 2292 #define GL_DEBUG_CALLBACK_FUNCTION 0x8244 2293 #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245 2294 #define GL_DEBUG_SOURCE_API 0x8246 2295 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247 2296 #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248 2297 #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249 2298 #define GL_DEBUG_SOURCE_APPLICATION 0x824A 2299 #define GL_DEBUG_SOURCE_OTHER 0x824B 2300 #define GL_DEBUG_TYPE_ERROR 0x824C 2301 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D 2302 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E 2303 #define GL_DEBUG_TYPE_PORTABILITY 0x824F 2304 #define GL_DEBUG_TYPE_PERFORMANCE 0x8250 2305 #define GL_DEBUG_TYPE_OTHER 0x8251 2306 #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 2307 #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 2308 #define GL_DEBUG_LOGGED_MESSAGES 0x9145 2309 #define GL_DEBUG_SEVERITY_HIGH 0x9146 2310 #define GL_DEBUG_SEVERITY_MEDIUM 0x9147 2311 #define GL_DEBUG_SEVERITY_LOW 0x9148 2312 #define GL_DEBUG_TYPE_MARKER 0x8268 2313 #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269 2314 #define GL_DEBUG_TYPE_POP_GROUP 0x826A 2315 #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B 2316 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C 2317 #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D 2318 #define GL_BUFFER 0x82E0 2319 #define GL_SHADER 0x82E1 2320 #define GL_PROGRAM 0x82E2 2321 #define GL_QUERY 0x82E3 2322 #define GL_PROGRAM_PIPELINE 0x82E4 2323 #define GL_SAMPLER 0x82E6 2324 #define GL_MAX_LABEL_LENGTH 0x82E8 2325 #define GL_DEBUG_OUTPUT 0x92E0 2326 #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 2327 #define GL_MAX_UNIFORM_LOCATIONS 0x826E 2328 #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310 2329 #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311 2330 #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312 2331 #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313 2332 #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314 2333 #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315 2334 #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316 2335 #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317 2336 #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318 2337 #define GL_INTERNALFORMAT_SUPPORTED 0x826F 2338 #define GL_INTERNALFORMAT_PREFERRED 0x8270 2339 #define GL_INTERNALFORMAT_RED_SIZE 0x8271 2340 #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272 2341 #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273 2342 #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274 2343 #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275 2344 #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276 2345 #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277 2346 #define GL_INTERNALFORMAT_RED_TYPE 0x8278 2347 #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279 2348 #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A 2349 #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B 2350 #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C 2351 #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D 2352 #define GL_MAX_WIDTH 0x827E 2353 #define GL_MAX_HEIGHT 0x827F 2354 #define GL_MAX_DEPTH 0x8280 2355 #define GL_MAX_LAYERS 0x8281 2356 #define GL_MAX_COMBINED_DIMENSIONS 0x8282 2357 #define GL_COLOR_COMPONENTS 0x8283 2358 #define GL_DEPTH_COMPONENTS 0x8284 2359 #define GL_STENCIL_COMPONENTS 0x8285 2360 #define GL_COLOR_RENDERABLE 0x8286 2361 #define GL_DEPTH_RENDERABLE 0x8287 2362 #define GL_STENCIL_RENDERABLE 0x8288 2363 #define GL_FRAMEBUFFER_RENDERABLE 0x8289 2364 #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A 2365 #define GL_FRAMEBUFFER_BLEND 0x828B 2366 #define GL_READ_PIXELS 0x828C 2367 #define GL_READ_PIXELS_FORMAT 0x828D 2368 #define GL_READ_PIXELS_TYPE 0x828E 2369 #define GL_TEXTURE_IMAGE_FORMAT 0x828F 2370 #define GL_TEXTURE_IMAGE_TYPE 0x8290 2371 #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291 2372 #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292 2373 #define GL_MIPMAP 0x8293 2374 #define GL_MANUAL_GENERATE_MIPMAP 0x8294 2375 #define GL_AUTO_GENERATE_MIPMAP 0x8295 2376 #define GL_COLOR_ENCODING 0x8296 2377 #define GL_SRGB_READ 0x8297 2378 #define GL_SRGB_WRITE 0x8298 2379 #define GL_FILTER 0x829A 2380 #define GL_VERTEX_TEXTURE 0x829B 2381 #define GL_TESS_CONTROL_TEXTURE 0x829C 2382 #define GL_TESS_EVALUATION_TEXTURE 0x829D 2383 #define GL_GEOMETRY_TEXTURE 0x829E 2384 #define GL_FRAGMENT_TEXTURE 0x829F 2385 #define GL_COMPUTE_TEXTURE 0x82A0 2386 #define GL_TEXTURE_SHADOW 0x82A1 2387 #define GL_TEXTURE_GATHER 0x82A2 2388 #define GL_TEXTURE_GATHER_SHADOW 0x82A3 2389 #define GL_SHADER_IMAGE_LOAD 0x82A4 2390 #define GL_SHADER_IMAGE_STORE 0x82A5 2391 #define GL_SHADER_IMAGE_ATOMIC 0x82A6 2392 #define GL_IMAGE_TEXEL_SIZE 0x82A7 2393 #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8 2394 #define GL_IMAGE_PIXEL_FORMAT 0x82A9 2395 #define GL_IMAGE_PIXEL_TYPE 0x82AA 2396 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC 2397 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD 2398 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE 2399 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF 2400 #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1 2401 #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2 2402 #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3 2403 #define GL_CLEAR_BUFFER 0x82B4 2404 #define GL_TEXTURE_VIEW 0x82B5 2405 #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6 2406 #define GL_FULL_SUPPORT 0x82B7 2407 #define GL_CAVEAT_SUPPORT 0x82B8 2408 #define GL_IMAGE_CLASS_4_X_32 0x82B9 2409 #define GL_IMAGE_CLASS_2_X_32 0x82BA 2410 #define GL_IMAGE_CLASS_1_X_32 0x82BB 2411 #define GL_IMAGE_CLASS_4_X_16 0x82BC 2412 #define GL_IMAGE_CLASS_2_X_16 0x82BD 2413 #define GL_IMAGE_CLASS_1_X_16 0x82BE 2414 #define GL_IMAGE_CLASS_4_X_8 0x82BF 2415 #define GL_IMAGE_CLASS_2_X_8 0x82C0 2416 #define GL_IMAGE_CLASS_1_X_8 0x82C1 2417 #define GL_IMAGE_CLASS_11_11_10 0x82C2 2418 #define GL_IMAGE_CLASS_10_10_10_2 0x82C3 2419 #define GL_VIEW_CLASS_128_BITS 0x82C4 2420 #define GL_VIEW_CLASS_96_BITS 0x82C5 2421 #define GL_VIEW_CLASS_64_BITS 0x82C6 2422 #define GL_VIEW_CLASS_48_BITS 0x82C7 2423 #define GL_VIEW_CLASS_32_BITS 0x82C8 2424 #define GL_VIEW_CLASS_24_BITS 0x82C9 2425 #define GL_VIEW_CLASS_16_BITS 0x82CA 2426 #define GL_VIEW_CLASS_8_BITS 0x82CB 2427 #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC 2428 #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD 2429 #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE 2430 #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF 2431 #define GL_VIEW_CLASS_RGTC1_RED 0x82D0 2432 #define GL_VIEW_CLASS_RGTC2_RG 0x82D1 2433 #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2 2434 #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3 2435 #define GL_UNIFORM 0x92E1 2436 #define GL_UNIFORM_BLOCK 0x92E2 2437 #define GL_PROGRAM_INPUT 0x92E3 2438 #define GL_PROGRAM_OUTPUT 0x92E4 2439 #define GL_BUFFER_VARIABLE 0x92E5 2440 #define GL_SHADER_STORAGE_BLOCK 0x92E6 2441 #define GL_VERTEX_SUBROUTINE 0x92E8 2442 #define GL_TESS_CONTROL_SUBROUTINE 0x92E9 2443 #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA 2444 #define GL_GEOMETRY_SUBROUTINE 0x92EB 2445 #define GL_FRAGMENT_SUBROUTINE 0x92EC 2446 #define GL_COMPUTE_SUBROUTINE 0x92ED 2447 #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE 2448 #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF 2449 #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0 2450 #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1 2451 #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2 2452 #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3 2453 #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4 2454 #define GL_ACTIVE_RESOURCES 0x92F5 2455 #define GL_MAX_NAME_LENGTH 0x92F6 2456 #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7 2457 #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8 2458 #define GL_NAME_LENGTH 0x92F9 2459 #define GL_TYPE 0x92FA 2460 #define GL_ARRAY_SIZE 0x92FB 2461 #define GL_OFFSET 0x92FC 2462 #define GL_BLOCK_INDEX 0x92FD 2463 #define GL_ARRAY_STRIDE 0x92FE 2464 #define GL_MATRIX_STRIDE 0x92FF 2465 #define GL_IS_ROW_MAJOR 0x9300 2466 #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301 2467 #define GL_BUFFER_BINDING 0x9302 2468 #define GL_BUFFER_DATA_SIZE 0x9303 2469 #define GL_NUM_ACTIVE_VARIABLES 0x9304 2470 #define GL_ACTIVE_VARIABLES 0x9305 2471 #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306 2472 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307 2473 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308 2474 #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309 2475 #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A 2476 #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B 2477 #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C 2478 #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D 2479 #define GL_LOCATION 0x930E 2480 #define GL_LOCATION_INDEX 0x930F 2481 #define GL_IS_PER_PATCH 0x92E7 2482 #define GL_SHADER_STORAGE_BUFFER 0x90D2 2483 #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3 2484 #define GL_SHADER_STORAGE_BUFFER_START 0x90D4 2485 #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5 2486 #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6 2487 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7 2488 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8 2489 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9 2490 #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA 2491 #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB 2492 #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC 2493 #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD 2494 #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE 2495 #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF 2496 #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000 2497 #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39 2498 #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA 2499 #define GL_TEXTURE_BUFFER_OFFSET 0x919D 2500 #define GL_TEXTURE_BUFFER_SIZE 0x919E 2501 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F 2502 #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB 2503 #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC 2504 #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD 2505 #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE 2506 #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF 2507 #define GL_VERTEX_ATTRIB_BINDING 0x82D4 2508 #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5 2509 #define GL_VERTEX_BINDING_DIVISOR 0x82D6 2510 #define GL_VERTEX_BINDING_OFFSET 0x82D7 2511 #define GL_VERTEX_BINDING_STRIDE 0x82D8 2512 #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 2513 #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA 2514 #define GL_VERTEX_BINDING_BUFFER 0x8F4F 2515 typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data); 2516 typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); 2517 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); 2518 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect); 2519 typedef 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); 2520 typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); 2521 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 2522 typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); 2523 typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); 2524 typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level); 2525 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); 2526 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer); 2527 typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); 2528 typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); 2529 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 2530 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 2531 typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params); 2532 typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); 2533 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); 2534 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); 2535 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name); 2536 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); 2537 typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); 2538 typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 2539 typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 2540 typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 2541 typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 2542 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); 2543 typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); 2544 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2545 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2546 typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex); 2547 typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor); 2548 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 2549 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 2550 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam); 2551 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 2552 typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); 2553 typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void); 2554 typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); 2555 typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); 2556 typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label); 2557 typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); 2558 #ifdef GL_GLEXT_PROTOTYPES 2559 GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data); 2560 GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); 2561 GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); 2562 GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect); 2563 GLAPI 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); 2564 GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param); 2565 GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params); 2566 GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); 2567 GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); 2568 GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level); 2569 GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length); 2570 GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer); 2571 GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments); 2572 GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); 2573 GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 2574 GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 2575 GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params); 2576 GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name); 2577 GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); 2578 GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); 2579 GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name); 2580 GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name); 2581 GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); 2582 GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 2583 GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 2584 GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 2585 GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 2586 GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); 2587 GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); 2588 GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2589 GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2590 GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex); 2591 GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor); 2592 GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 2593 GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 2594 GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam); 2595 GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 2596 GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message); 2597 GLAPI void APIENTRY glPopDebugGroup (void); 2598 GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); 2599 GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); 2600 GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label); 2601 GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); 2602 #endif 2603 #endif /* GL_VERSION_4_3 */ 2604 2605 #ifndef GL_VERSION_4_4 2606 #define GL_VERSION_4_4 1 2607 #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 2608 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221 2609 #define GL_TEXTURE_BUFFER_BINDING 0x8C2A 2610 #define GL_MAP_PERSISTENT_BIT 0x0040 2611 #define GL_MAP_COHERENT_BIT 0x0080 2612 #define GL_DYNAMIC_STORAGE_BIT 0x0100 2613 #define GL_CLIENT_STORAGE_BIT 0x0200 2614 #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000 2615 #define GL_BUFFER_IMMUTABLE_STORAGE 0x821F 2616 #define GL_BUFFER_STORAGE_FLAGS 0x8220 2617 #define GL_CLEAR_TEXTURE 0x9365 2618 #define GL_LOCATION_COMPONENT 0x934A 2619 #define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B 2620 #define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C 2621 #define GL_QUERY_BUFFER 0x9192 2622 #define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000 2623 #define GL_QUERY_BUFFER_BINDING 0x9193 2624 #define GL_QUERY_RESULT_NO_WAIT 0x9194 2625 #define GL_MIRROR_CLAMP_TO_EDGE 0x8743 2626 typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); 2627 typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); 2628 typedef 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); 2629 typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers); 2630 typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes); 2631 typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures); 2632 typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers); 2633 typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures); 2634 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); 2635 #ifdef GL_GLEXT_PROTOTYPES 2636 GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); 2637 GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); 2638 GLAPI 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); 2639 GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers); 2640 GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes); 2641 GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures); 2642 GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers); 2643 GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures); 2644 GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); 2645 #endif 2646 #endif /* GL_VERSION_4_4 */ 2647 2648 #ifndef GL_VERSION_4_5 2649 #define GL_VERSION_4_5 1 2650 #define GL_CONTEXT_LOST 0x0507 2651 #define GL_NEGATIVE_ONE_TO_ONE 0x935E 2652 #define GL_ZERO_TO_ONE 0x935F 2653 #define GL_CLIP_ORIGIN 0x935C 2654 #define GL_CLIP_DEPTH_MODE 0x935D 2655 #define GL_QUERY_WAIT_INVERTED 0x8E17 2656 #define GL_QUERY_NO_WAIT_INVERTED 0x8E18 2657 #define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19 2658 #define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A 2659 #define GL_MAX_CULL_DISTANCES 0x82F9 2660 #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA 2661 #define GL_TEXTURE_TARGET 0x1006 2662 #define GL_QUERY_TARGET 0x82EA 2663 #define GL_GUILTY_CONTEXT_RESET 0x8253 2664 #define GL_INNOCENT_CONTEXT_RESET 0x8254 2665 #define GL_UNKNOWN_CONTEXT_RESET 0x8255 2666 #define GL_RESET_NOTIFICATION_STRATEGY 0x8256 2667 #define GL_LOSE_CONTEXT_ON_RESET 0x8252 2668 #define GL_NO_RESET_NOTIFICATION 0x8261 2669 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004 2670 #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB 2671 #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC 2672 typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth); 2673 typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); 2674 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer); 2675 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 2676 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param); 2677 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param); 2678 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param); 2679 typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers); 2680 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); 2681 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); 2682 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); 2683 typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 2684 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); 2685 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); 2686 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access); 2687 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); 2688 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer); 2689 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); 2690 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params); 2691 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params); 2692 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params); 2693 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); 2694 typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); 2695 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 2696 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param); 2697 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); 2698 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); 2699 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf); 2700 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs); 2701 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src); 2702 typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments); 2703 typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); 2704 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value); 2705 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value); 2706 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value); 2707 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 2708 typedef void (APIENTRYP PFNGLBLITNAMEDFRAMEBUFFERPROC) (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 2709 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target); 2710 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param); 2711 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); 2712 typedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); 2713 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); 2714 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2715 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params); 2716 typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures); 2717 typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer); 2718 typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 2719 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width); 2720 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2721 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2722 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 2723 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 2724 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 2725 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 2726 typedef 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); 2727 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); 2728 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); 2729 typedef 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); 2730 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 2731 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 2732 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 2733 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param); 2734 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param); 2735 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param); 2736 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params); 2737 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params); 2738 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param); 2739 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture); 2740 typedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture); 2741 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); 2742 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels); 2743 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params); 2744 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params); 2745 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params); 2746 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params); 2747 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params); 2748 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params); 2749 typedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); 2750 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index); 2751 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index); 2752 typedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer); 2753 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); 2754 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); 2755 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex); 2756 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); 2757 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2758 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2759 typedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor); 2760 typedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param); 2761 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param); 2762 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param); 2763 typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers); 2764 typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines); 2765 typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids); 2766 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2767 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2768 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2769 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2770 typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers); 2771 typedef void (APIENTRYP PFNGLGETTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels); 2772 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels); 2773 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void); 2774 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels); 2775 typedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); 2776 typedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); 2777 typedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 2778 typedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); 2779 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 2780 typedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 2781 typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void); 2782 #ifdef GL_GLEXT_PROTOTYPES 2783 GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth); 2784 GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids); 2785 GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer); 2786 GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 2787 GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param); 2788 GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param); 2789 GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param); 2790 GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers); 2791 GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); 2792 GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); 2793 GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); 2794 GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 2795 GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); 2796 GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); 2797 GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access); 2798 GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); 2799 GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer); 2800 GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length); 2801 GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params); 2802 GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params); 2803 GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params); 2804 GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); 2805 GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers); 2806 GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 2807 GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param); 2808 GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); 2809 GLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); 2810 GLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf); 2811 GLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs); 2812 GLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src); 2813 GLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments); 2814 GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); 2815 GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value); 2816 GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value); 2817 GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value); 2818 GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 2819 GLAPI void APIENTRY glBlitNamedFramebuffer (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 2820 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target); 2821 GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param); 2822 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); 2823 GLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers); 2824 GLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); 2825 GLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2826 GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params); 2827 GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures); 2828 GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer); 2829 GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 2830 GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width); 2831 GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2832 GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2833 GLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 2834 GLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 2835 GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 2836 GLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 2837 GLAPI 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); 2838 GLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); 2839 GLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); 2840 GLAPI 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); 2841 GLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 2842 GLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 2843 GLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 2844 GLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param); 2845 GLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param); 2846 GLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param); 2847 GLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params); 2848 GLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params); 2849 GLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param); 2850 GLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture); 2851 GLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture); 2852 GLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); 2853 GLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels); 2854 GLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params); 2855 GLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params); 2856 GLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params); 2857 GLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params); 2858 GLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params); 2859 GLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params); 2860 GLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays); 2861 GLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index); 2862 GLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index); 2863 GLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer); 2864 GLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); 2865 GLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); 2866 GLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex); 2867 GLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); 2868 GLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2869 GLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 2870 GLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor); 2871 GLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param); 2872 GLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param); 2873 GLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param); 2874 GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers); 2875 GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines); 2876 GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids); 2877 GLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2878 GLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2879 GLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2880 GLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); 2881 GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers); 2882 GLAPI void APIENTRY glGetTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels); 2883 GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels); 2884 GLAPI GLenum APIENTRY glGetGraphicsResetStatus (void); 2885 GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels); 2886 GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); 2887 GLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); 2888 GLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 2889 GLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params); 2890 GLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 2891 GLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 2892 GLAPI void APIENTRY glTextureBarrier (void); 2893 #endif 2894 #endif /* GL_VERSION_4_5 */ 2895 2896 #ifndef GL_ARB_ES2_compatibility 2897 #define GL_ARB_ES2_compatibility 1 2898 #endif /* GL_ARB_ES2_compatibility */ 2899 2900 #ifndef GL_ARB_ES3_1_compatibility 2901 #define GL_ARB_ES3_1_compatibility 1 2902 #endif /* GL_ARB_ES3_1_compatibility */ 2903 2904 #ifndef GL_ARB_ES3_2_compatibility 2905 #define GL_ARB_ES3_2_compatibility 1 2906 #define GL_PRIMITIVE_BOUNDING_BOX_ARB 0x92BE 2907 #define GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB 0x9381 2908 #define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB 0x9382 2909 typedef void (APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXARBPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 2910 #ifdef GL_GLEXT_PROTOTYPES 2911 GLAPI void APIENTRY glPrimitiveBoundingBoxARB (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 2912 #endif 2913 #endif /* GL_ARB_ES3_2_compatibility */ 2914 2915 #ifndef GL_ARB_ES3_compatibility 2916 #define GL_ARB_ES3_compatibility 1 2917 #endif /* GL_ARB_ES3_compatibility */ 2918 2919 #ifndef GL_ARB_arrays_of_arrays 2920 #define GL_ARB_arrays_of_arrays 1 2921 #endif /* GL_ARB_arrays_of_arrays */ 2922 2923 #ifndef GL_ARB_base_instance 2924 #define GL_ARB_base_instance 1 2925 #endif /* GL_ARB_base_instance */ 2926 2927 #ifndef GL_ARB_bindless_texture 2928 #define GL_ARB_bindless_texture 1 2929 typedef uint64_t GLuint64EXT; 2930 #define GL_UNSIGNED_INT64_ARB 0x140F 2931 typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture); 2932 typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler); 2933 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle); 2934 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle); 2935 typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 2936 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access); 2937 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle); 2938 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value); 2939 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); 2940 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value); 2941 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2942 typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle); 2943 typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle); 2944 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x); 2945 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v); 2946 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params); 2947 #ifdef GL_GLEXT_PROTOTYPES 2948 GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture); 2949 GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler); 2950 GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle); 2951 GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle); 2952 GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 2953 GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access); 2954 GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle); 2955 GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value); 2956 GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value); 2957 GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value); 2958 GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2959 GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle); 2960 GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle); 2961 GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x); 2962 GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v); 2963 GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params); 2964 #endif 2965 #endif /* GL_ARB_bindless_texture */ 2966 2967 #ifndef GL_ARB_blend_func_extended 2968 #define GL_ARB_blend_func_extended 1 2969 #endif /* GL_ARB_blend_func_extended */ 2970 2971 #ifndef GL_ARB_buffer_storage 2972 #define GL_ARB_buffer_storage 1 2973 #endif /* GL_ARB_buffer_storage */ 2974 2975 #ifndef GL_ARB_cl_event 2976 #define GL_ARB_cl_event 1 2977 struct _cl_context; 2978 struct _cl_event; 2979 #define GL_SYNC_CL_EVENT_ARB 0x8240 2980 #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241 2981 typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags); 2982 #ifdef GL_GLEXT_PROTOTYPES 2983 GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags); 2984 #endif 2985 #endif /* GL_ARB_cl_event */ 2986 2987 #ifndef GL_ARB_clear_buffer_object 2988 #define GL_ARB_clear_buffer_object 1 2989 #endif /* GL_ARB_clear_buffer_object */ 2990 2991 #ifndef GL_ARB_clear_texture 2992 #define GL_ARB_clear_texture 1 2993 #endif /* GL_ARB_clear_texture */ 2994 2995 #ifndef GL_ARB_clip_control 2996 #define GL_ARB_clip_control 1 2997 #endif /* GL_ARB_clip_control */ 2998 2999 #ifndef GL_ARB_compressed_texture_pixel_storage 3000 #define GL_ARB_compressed_texture_pixel_storage 1 3001 #endif /* GL_ARB_compressed_texture_pixel_storage */ 3002 3003 #ifndef GL_ARB_compute_shader 3004 #define GL_ARB_compute_shader 1 3005 #endif /* GL_ARB_compute_shader */ 3006 3007 #ifndef GL_ARB_compute_variable_group_size 3008 #define GL_ARB_compute_variable_group_size 1 3009 #define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344 3010 #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB 3011 #define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345 3012 #define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF 3013 typedef 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); 3014 #ifdef GL_GLEXT_PROTOTYPES 3015 GLAPI 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); 3016 #endif 3017 #endif /* GL_ARB_compute_variable_group_size */ 3018 3019 #ifndef GL_ARB_conditional_render_inverted 3020 #define GL_ARB_conditional_render_inverted 1 3021 #endif /* GL_ARB_conditional_render_inverted */ 3022 3023 #ifndef GL_ARB_conservative_depth 3024 #define GL_ARB_conservative_depth 1 3025 #endif /* GL_ARB_conservative_depth */ 3026 3027 #ifndef GL_ARB_copy_buffer 3028 #define GL_ARB_copy_buffer 1 3029 #endif /* GL_ARB_copy_buffer */ 3030 3031 #ifndef GL_ARB_copy_image 3032 #define GL_ARB_copy_image 1 3033 #endif /* GL_ARB_copy_image */ 3034 3035 #ifndef GL_ARB_cull_distance 3036 #define GL_ARB_cull_distance 1 3037 #endif /* GL_ARB_cull_distance */ 3038 3039 #ifndef GL_ARB_debug_output 3040 #define GL_ARB_debug_output 1 3041 typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); 3042 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242 3043 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243 3044 #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244 3045 #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245 3046 #define GL_DEBUG_SOURCE_API_ARB 0x8246 3047 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247 3048 #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248 3049 #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249 3050 #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A 3051 #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B 3052 #define GL_DEBUG_TYPE_ERROR_ARB 0x824C 3053 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D 3054 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E 3055 #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F 3056 #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250 3057 #define GL_DEBUG_TYPE_OTHER_ARB 0x8251 3058 #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143 3059 #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144 3060 #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145 3061 #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146 3062 #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147 3063 #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148 3064 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 3065 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 3066 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam); 3067 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 3068 #ifdef GL_GLEXT_PROTOTYPES 3069 GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 3070 GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 3071 GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam); 3072 GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 3073 #endif 3074 #endif /* GL_ARB_debug_output */ 3075 3076 #ifndef GL_ARB_depth_buffer_float 3077 #define GL_ARB_depth_buffer_float 1 3078 #endif /* GL_ARB_depth_buffer_float */ 3079 3080 #ifndef GL_ARB_depth_clamp 3081 #define GL_ARB_depth_clamp 1 3082 #endif /* GL_ARB_depth_clamp */ 3083 3084 #ifndef GL_ARB_derivative_control 3085 #define GL_ARB_derivative_control 1 3086 #endif /* GL_ARB_derivative_control */ 3087 3088 #ifndef GL_ARB_direct_state_access 3089 #define GL_ARB_direct_state_access 1 3090 #endif /* GL_ARB_direct_state_access */ 3091 3092 #ifndef GL_ARB_draw_buffers_blend 3093 #define GL_ARB_draw_buffers_blend 1 3094 typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode); 3095 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 3096 typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst); 3097 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 3098 #ifdef GL_GLEXT_PROTOTYPES 3099 GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode); 3100 GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 3101 GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst); 3102 GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 3103 #endif 3104 #endif /* GL_ARB_draw_buffers_blend */ 3105 3106 #ifndef GL_ARB_draw_elements_base_vertex 3107 #define GL_ARB_draw_elements_base_vertex 1 3108 #endif /* GL_ARB_draw_elements_base_vertex */ 3109 3110 #ifndef GL_ARB_draw_indirect 3111 #define GL_ARB_draw_indirect 1 3112 #endif /* GL_ARB_draw_indirect */ 3113 3114 #ifndef GL_ARB_draw_instanced 3115 #define GL_ARB_draw_instanced 1 3116 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 3117 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 3118 #ifdef GL_GLEXT_PROTOTYPES 3119 GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 3120 GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 3121 #endif 3122 #endif /* GL_ARB_draw_instanced */ 3123 3124 #ifndef GL_ARB_enhanced_layouts 3125 #define GL_ARB_enhanced_layouts 1 3126 #endif /* GL_ARB_enhanced_layouts */ 3127 3128 #ifndef GL_ARB_explicit_attrib_location 3129 #define GL_ARB_explicit_attrib_location 1 3130 #endif /* GL_ARB_explicit_attrib_location */ 3131 3132 #ifndef GL_ARB_explicit_uniform_location 3133 #define GL_ARB_explicit_uniform_location 1 3134 #endif /* GL_ARB_explicit_uniform_location */ 3135 3136 #ifndef GL_ARB_fragment_coord_conventions 3137 #define GL_ARB_fragment_coord_conventions 1 3138 #endif /* GL_ARB_fragment_coord_conventions */ 3139 3140 #ifndef GL_ARB_fragment_layer_viewport 3141 #define GL_ARB_fragment_layer_viewport 1 3142 #endif /* GL_ARB_fragment_layer_viewport */ 3143 3144 #ifndef GL_ARB_fragment_shader_interlock 3145 #define GL_ARB_fragment_shader_interlock 1 3146 #endif /* GL_ARB_fragment_shader_interlock */ 3147 3148 #ifndef GL_ARB_framebuffer_no_attachments 3149 #define GL_ARB_framebuffer_no_attachments 1 3150 #endif /* GL_ARB_framebuffer_no_attachments */ 3151 3152 #ifndef GL_ARB_framebuffer_object 3153 #define GL_ARB_framebuffer_object 1 3154 #endif /* GL_ARB_framebuffer_object */ 3155 3156 #ifndef GL_ARB_framebuffer_sRGB 3157 #define GL_ARB_framebuffer_sRGB 1 3158 #endif /* GL_ARB_framebuffer_sRGB */ 3159 3160 #ifndef GL_ARB_geometry_shader4 3161 #define GL_ARB_geometry_shader4 1 3162 #define GL_LINES_ADJACENCY_ARB 0x000A 3163 #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B 3164 #define GL_TRIANGLES_ADJACENCY_ARB 0x000C 3165 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D 3166 #define GL_PROGRAM_POINT_SIZE_ARB 0x8642 3167 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29 3168 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7 3169 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8 3170 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9 3171 #define GL_GEOMETRY_SHADER_ARB 0x8DD9 3172 #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA 3173 #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB 3174 #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC 3175 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD 3176 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE 3177 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF 3178 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0 3179 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1 3180 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value); 3181 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 3182 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 3183 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); 3184 #ifdef GL_GLEXT_PROTOTYPES 3185 GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value); 3186 GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level); 3187 GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 3188 GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); 3189 #endif 3190 #endif /* GL_ARB_geometry_shader4 */ 3191 3192 #ifndef GL_ARB_get_program_binary 3193 #define GL_ARB_get_program_binary 1 3194 #endif /* GL_ARB_get_program_binary */ 3195 3196 #ifndef GL_ARB_get_texture_sub_image 3197 #define GL_ARB_get_texture_sub_image 1 3198 #endif /* GL_ARB_get_texture_sub_image */ 3199 3200 #ifndef GL_ARB_gl_spirv 3201 #define GL_ARB_gl_spirv 1 3202 #define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551 3203 #define GL_SPIR_V_BINARY_ARB 0x9552 3204 typedef void (APIENTRYP PFNGLSPECIALIZESHADERARBPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); 3205 #ifdef GL_GLEXT_PROTOTYPES 3206 GLAPI void APIENTRY glSpecializeShaderARB (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); 3207 #endif 3208 #endif /* GL_ARB_gl_spirv */ 3209 3210 #ifndef GL_ARB_gpu_shader5 3211 #define GL_ARB_gpu_shader5 1 3212 #endif /* GL_ARB_gpu_shader5 */ 3213 3214 #ifndef GL_ARB_gpu_shader_fp64 3215 #define GL_ARB_gpu_shader_fp64 1 3216 #endif /* GL_ARB_gpu_shader_fp64 */ 3217 3218 #ifndef GL_ARB_gpu_shader_int64 3219 #define GL_ARB_gpu_shader_int64 1 3220 #define GL_INT64_ARB 0x140E 3221 #define GL_INT64_VEC2_ARB 0x8FE9 3222 #define GL_INT64_VEC3_ARB 0x8FEA 3223 #define GL_INT64_VEC4_ARB 0x8FEB 3224 #define GL_UNSIGNED_INT64_VEC2_ARB 0x8FF5 3225 #define GL_UNSIGNED_INT64_VEC3_ARB 0x8FF6 3226 #define GL_UNSIGNED_INT64_VEC4_ARB 0x8FF7 3227 typedef void (APIENTRYP PFNGLUNIFORM1I64ARBPROC) (GLint location, GLint64 x); 3228 typedef void (APIENTRYP PFNGLUNIFORM2I64ARBPROC) (GLint location, GLint64 x, GLint64 y); 3229 typedef void (APIENTRYP PFNGLUNIFORM3I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z); 3230 typedef void (APIENTRYP PFNGLUNIFORM4I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); 3231 typedef void (APIENTRYP PFNGLUNIFORM1I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); 3232 typedef void (APIENTRYP PFNGLUNIFORM2I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); 3233 typedef void (APIENTRYP PFNGLUNIFORM3I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); 3234 typedef void (APIENTRYP PFNGLUNIFORM4I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); 3235 typedef void (APIENTRYP PFNGLUNIFORM1UI64ARBPROC) (GLint location, GLuint64 x); 3236 typedef void (APIENTRYP PFNGLUNIFORM2UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y); 3237 typedef void (APIENTRYP PFNGLUNIFORM3UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z); 3238 typedef void (APIENTRYP PFNGLUNIFORM4UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); 3239 typedef void (APIENTRYP PFNGLUNIFORM1UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); 3240 typedef void (APIENTRYP PFNGLUNIFORM2UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); 3241 typedef void (APIENTRYP PFNGLUNIFORM3UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); 3242 typedef void (APIENTRYP PFNGLUNIFORM4UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); 3243 typedef void (APIENTRYP PFNGLGETUNIFORMI64VARBPROC) (GLuint program, GLint location, GLint64 *params); 3244 typedef void (APIENTRYP PFNGLGETUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLuint64 *params); 3245 typedef void (APIENTRYP PFNGLGETNUNIFORMI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint64 *params); 3246 typedef void (APIENTRYP PFNGLGETNUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params); 3247 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64ARBPROC) (GLuint program, GLint location, GLint64 x); 3248 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y); 3249 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z); 3250 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); 3251 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3252 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3253 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3254 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3255 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64ARBPROC) (GLuint program, GLint location, GLuint64 x); 3256 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y); 3257 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z); 3258 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); 3259 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3260 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3261 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3262 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3263 #ifdef GL_GLEXT_PROTOTYPES 3264 GLAPI void APIENTRY glUniform1i64ARB (GLint location, GLint64 x); 3265 GLAPI void APIENTRY glUniform2i64ARB (GLint location, GLint64 x, GLint64 y); 3266 GLAPI void APIENTRY glUniform3i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z); 3267 GLAPI void APIENTRY glUniform4i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); 3268 GLAPI void APIENTRY glUniform1i64vARB (GLint location, GLsizei count, const GLint64 *value); 3269 GLAPI void APIENTRY glUniform2i64vARB (GLint location, GLsizei count, const GLint64 *value); 3270 GLAPI void APIENTRY glUniform3i64vARB (GLint location, GLsizei count, const GLint64 *value); 3271 GLAPI void APIENTRY glUniform4i64vARB (GLint location, GLsizei count, const GLint64 *value); 3272 GLAPI void APIENTRY glUniform1ui64ARB (GLint location, GLuint64 x); 3273 GLAPI void APIENTRY glUniform2ui64ARB (GLint location, GLuint64 x, GLuint64 y); 3274 GLAPI void APIENTRY glUniform3ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z); 3275 GLAPI void APIENTRY glUniform4ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); 3276 GLAPI void APIENTRY glUniform1ui64vARB (GLint location, GLsizei count, const GLuint64 *value); 3277 GLAPI void APIENTRY glUniform2ui64vARB (GLint location, GLsizei count, const GLuint64 *value); 3278 GLAPI void APIENTRY glUniform3ui64vARB (GLint location, GLsizei count, const GLuint64 *value); 3279 GLAPI void APIENTRY glUniform4ui64vARB (GLint location, GLsizei count, const GLuint64 *value); 3280 GLAPI void APIENTRY glGetUniformi64vARB (GLuint program, GLint location, GLint64 *params); 3281 GLAPI void APIENTRY glGetUniformui64vARB (GLuint program, GLint location, GLuint64 *params); 3282 GLAPI void APIENTRY glGetnUniformi64vARB (GLuint program, GLint location, GLsizei bufSize, GLint64 *params); 3283 GLAPI void APIENTRY glGetnUniformui64vARB (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params); 3284 GLAPI void APIENTRY glProgramUniform1i64ARB (GLuint program, GLint location, GLint64 x); 3285 GLAPI void APIENTRY glProgramUniform2i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y); 3286 GLAPI void APIENTRY glProgramUniform3i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z); 3287 GLAPI void APIENTRY glProgramUniform4i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); 3288 GLAPI void APIENTRY glProgramUniform1i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3289 GLAPI void APIENTRY glProgramUniform2i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3290 GLAPI void APIENTRY glProgramUniform3i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3291 GLAPI void APIENTRY glProgramUniform4i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); 3292 GLAPI void APIENTRY glProgramUniform1ui64ARB (GLuint program, GLint location, GLuint64 x); 3293 GLAPI void APIENTRY glProgramUniform2ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y); 3294 GLAPI void APIENTRY glProgramUniform3ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z); 3295 GLAPI void APIENTRY glProgramUniform4ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); 3296 GLAPI void APIENTRY glProgramUniform1ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3297 GLAPI void APIENTRY glProgramUniform2ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3298 GLAPI void APIENTRY glProgramUniform3ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3299 GLAPI void APIENTRY glProgramUniform4ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); 3300 #endif 3301 #endif /* GL_ARB_gpu_shader_int64 */ 3302 3303 #ifndef GL_ARB_half_float_vertex 3304 #define GL_ARB_half_float_vertex 1 3305 #endif /* GL_ARB_half_float_vertex */ 3306 3307 #ifndef GL_ARB_imaging 3308 #define GL_ARB_imaging 1 3309 #define GL_BLEND_COLOR 0x8005 3310 #define GL_BLEND_EQUATION 0x8009 3311 #endif /* GL_ARB_imaging */ 3312 3313 #ifndef GL_ARB_indirect_parameters 3314 #define GL_ARB_indirect_parameters 1 3315 #define GL_PARAMETER_BUFFER_ARB 0x80EE 3316 #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF 3317 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 3318 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 3319 #ifdef GL_GLEXT_PROTOTYPES 3320 GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 3321 GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 3322 #endif 3323 #endif /* GL_ARB_indirect_parameters */ 3324 3325 #ifndef GL_ARB_instanced_arrays 3326 #define GL_ARB_instanced_arrays 1 3327 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE 3328 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor); 3329 #ifdef GL_GLEXT_PROTOTYPES 3330 GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor); 3331 #endif 3332 #endif /* GL_ARB_instanced_arrays */ 3333 3334 #ifndef GL_ARB_internalformat_query 3335 #define GL_ARB_internalformat_query 1 3336 #endif /* GL_ARB_internalformat_query */ 3337 3338 #ifndef GL_ARB_internalformat_query2 3339 #define GL_ARB_internalformat_query2 1 3340 #define GL_SRGB_DECODE_ARB 0x8299 3341 #endif /* GL_ARB_internalformat_query2 */ 3342 3343 #ifndef GL_ARB_invalidate_subdata 3344 #define GL_ARB_invalidate_subdata 1 3345 #endif /* GL_ARB_invalidate_subdata */ 3346 3347 #ifndef GL_ARB_map_buffer_alignment 3348 #define GL_ARB_map_buffer_alignment 1 3349 #endif /* GL_ARB_map_buffer_alignment */ 3350 3351 #ifndef GL_ARB_map_buffer_range 3352 #define GL_ARB_map_buffer_range 1 3353 #endif /* GL_ARB_map_buffer_range */ 3354 3355 #ifndef GL_ARB_multi_bind 3356 #define GL_ARB_multi_bind 1 3357 #endif /* GL_ARB_multi_bind */ 3358 3359 #ifndef GL_ARB_multi_draw_indirect 3360 #define GL_ARB_multi_draw_indirect 1 3361 #endif /* GL_ARB_multi_draw_indirect */ 3362 3363 #ifndef GL_ARB_occlusion_query2 3364 #define GL_ARB_occlusion_query2 1 3365 #endif /* GL_ARB_occlusion_query2 */ 3366 3367 #ifndef GL_ARB_parallel_shader_compile 3368 #define GL_ARB_parallel_shader_compile 1 3369 #define GL_MAX_SHADER_COMPILER_THREADS_ARB 0x91B0 3370 #define GL_COMPLETION_STATUS_ARB 0x91B1 3371 typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSARBPROC) (GLuint count); 3372 #ifdef GL_GLEXT_PROTOTYPES 3373 GLAPI void APIENTRY glMaxShaderCompilerThreadsARB (GLuint count); 3374 #endif 3375 #endif /* GL_ARB_parallel_shader_compile */ 3376 3377 #ifndef GL_ARB_pipeline_statistics_query 3378 #define GL_ARB_pipeline_statistics_query 1 3379 #define GL_VERTICES_SUBMITTED_ARB 0x82EE 3380 #define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF 3381 #define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0 3382 #define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1 3383 #define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2 3384 #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3 3385 #define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4 3386 #define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5 3387 #define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6 3388 #define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7 3389 #endif /* GL_ARB_pipeline_statistics_query */ 3390 3391 #ifndef GL_ARB_pixel_buffer_object 3392 #define GL_ARB_pixel_buffer_object 1 3393 #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB 3394 #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC 3395 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED 3396 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF 3397 #endif /* GL_ARB_pixel_buffer_object */ 3398 3399 #ifndef GL_ARB_post_depth_coverage 3400 #define GL_ARB_post_depth_coverage 1 3401 #endif /* GL_ARB_post_depth_coverage */ 3402 3403 #ifndef GL_ARB_program_interface_query 3404 #define GL_ARB_program_interface_query 1 3405 #endif /* GL_ARB_program_interface_query */ 3406 3407 #ifndef GL_ARB_provoking_vertex 3408 #define GL_ARB_provoking_vertex 1 3409 #endif /* GL_ARB_provoking_vertex */ 3410 3411 #ifndef GL_ARB_query_buffer_object 3412 #define GL_ARB_query_buffer_object 1 3413 #endif /* GL_ARB_query_buffer_object */ 3414 3415 #ifndef GL_ARB_robust_buffer_access_behavior 3416 #define GL_ARB_robust_buffer_access_behavior 1 3417 #endif /* GL_ARB_robust_buffer_access_behavior */ 3418 3419 #ifndef GL_ARB_robustness 3420 #define GL_ARB_robustness 1 3421 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004 3422 #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 3423 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 3424 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 3425 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 3426 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 3427 #define GL_NO_RESET_NOTIFICATION_ARB 0x8261 3428 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void); 3429 typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img); 3430 typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 3431 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img); 3432 typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 3433 typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); 3434 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 3435 typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); 3436 #ifdef GL_GLEXT_PROTOTYPES 3437 GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void); 3438 GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img); 3439 GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 3440 GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img); 3441 GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 3442 GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params); 3443 GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 3444 GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); 3445 #endif 3446 #endif /* GL_ARB_robustness */ 3447 3448 #ifndef GL_ARB_robustness_isolation 3449 #define GL_ARB_robustness_isolation 1 3450 #endif /* GL_ARB_robustness_isolation */ 3451 3452 #ifndef GL_ARB_sample_locations 3453 #define GL_ARB_sample_locations 1 3454 #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB 0x933D 3455 #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB 0x933E 3456 #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB 0x933F 3457 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340 3458 #define GL_SAMPLE_LOCATION_ARB 0x8E50 3459 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB 0x9341 3460 #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB 0x9342 3461 #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB 0x9343 3462 typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v); 3463 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); 3464 typedef void (APIENTRYP PFNGLEVALUATEDEPTHVALUESARBPROC) (void); 3465 #ifdef GL_GLEXT_PROTOTYPES 3466 GLAPI void APIENTRY glFramebufferSampleLocationsfvARB (GLenum target, GLuint start, GLsizei count, const GLfloat *v); 3467 GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvARB (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); 3468 GLAPI void APIENTRY glEvaluateDepthValuesARB (void); 3469 #endif 3470 #endif /* GL_ARB_sample_locations */ 3471 3472 #ifndef GL_ARB_sample_shading 3473 #define GL_ARB_sample_shading 1 3474 #define GL_SAMPLE_SHADING_ARB 0x8C36 3475 #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37 3476 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value); 3477 #ifdef GL_GLEXT_PROTOTYPES 3478 GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value); 3479 #endif 3480 #endif /* GL_ARB_sample_shading */ 3481 3482 #ifndef GL_ARB_sampler_objects 3483 #define GL_ARB_sampler_objects 1 3484 #endif /* GL_ARB_sampler_objects */ 3485 3486 #ifndef GL_ARB_seamless_cube_map 3487 #define GL_ARB_seamless_cube_map 1 3488 #endif /* GL_ARB_seamless_cube_map */ 3489 3490 #ifndef GL_ARB_seamless_cubemap_per_texture 3491 #define GL_ARB_seamless_cubemap_per_texture 1 3492 #endif /* GL_ARB_seamless_cubemap_per_texture */ 3493 3494 #ifndef GL_ARB_separate_shader_objects 3495 #define GL_ARB_separate_shader_objects 1 3496 #endif /* GL_ARB_separate_shader_objects */ 3497 3498 #ifndef GL_ARB_shader_atomic_counter_ops 3499 #define GL_ARB_shader_atomic_counter_ops 1 3500 #endif /* GL_ARB_shader_atomic_counter_ops */ 3501 3502 #ifndef GL_ARB_shader_atomic_counters 3503 #define GL_ARB_shader_atomic_counters 1 3504 #endif /* GL_ARB_shader_atomic_counters */ 3505 3506 #ifndef GL_ARB_shader_ballot 3507 #define GL_ARB_shader_ballot 1 3508 #endif /* GL_ARB_shader_ballot */ 3509 3510 #ifndef GL_ARB_shader_bit_encoding 3511 #define GL_ARB_shader_bit_encoding 1 3512 #endif /* GL_ARB_shader_bit_encoding */ 3513 3514 #ifndef GL_ARB_shader_clock 3515 #define GL_ARB_shader_clock 1 3516 #endif /* GL_ARB_shader_clock */ 3517 3518 #ifndef GL_ARB_shader_draw_parameters 3519 #define GL_ARB_shader_draw_parameters 1 3520 #endif /* GL_ARB_shader_draw_parameters */ 3521 3522 #ifndef GL_ARB_shader_group_vote 3523 #define GL_ARB_shader_group_vote 1 3524 #endif /* GL_ARB_shader_group_vote */ 3525 3526 #ifndef GL_ARB_shader_image_load_store 3527 #define GL_ARB_shader_image_load_store 1 3528 #endif /* GL_ARB_shader_image_load_store */ 3529 3530 #ifndef GL_ARB_shader_image_size 3531 #define GL_ARB_shader_image_size 1 3532 #endif /* GL_ARB_shader_image_size */ 3533 3534 #ifndef GL_ARB_shader_precision 3535 #define GL_ARB_shader_precision 1 3536 #endif /* GL_ARB_shader_precision */ 3537 3538 #ifndef GL_ARB_shader_stencil_export 3539 #define GL_ARB_shader_stencil_export 1 3540 #endif /* GL_ARB_shader_stencil_export */ 3541 3542 #ifndef GL_ARB_shader_storage_buffer_object 3543 #define GL_ARB_shader_storage_buffer_object 1 3544 #endif /* GL_ARB_shader_storage_buffer_object */ 3545 3546 #ifndef GL_ARB_shader_subroutine 3547 #define GL_ARB_shader_subroutine 1 3548 #endif /* GL_ARB_shader_subroutine */ 3549 3550 #ifndef GL_ARB_shader_texture_image_samples 3551 #define GL_ARB_shader_texture_image_samples 1 3552 #endif /* GL_ARB_shader_texture_image_samples */ 3553 3554 #ifndef GL_ARB_shader_viewport_layer_array 3555 #define GL_ARB_shader_viewport_layer_array 1 3556 #endif /* GL_ARB_shader_viewport_layer_array */ 3557 3558 #ifndef GL_ARB_shading_language_420pack 3559 #define GL_ARB_shading_language_420pack 1 3560 #endif /* GL_ARB_shading_language_420pack */ 3561 3562 #ifndef GL_ARB_shading_language_include 3563 #define GL_ARB_shading_language_include 1 3564 #define GL_SHADER_INCLUDE_ARB 0x8DAE 3565 #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9 3566 #define GL_NAMED_STRING_TYPE_ARB 0x8DEA 3567 typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string); 3568 typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name); 3569 typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length); 3570 typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name); 3571 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string); 3572 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params); 3573 #ifdef GL_GLEXT_PROTOTYPES 3574 GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string); 3575 GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name); 3576 GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length); 3577 GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name); 3578 GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string); 3579 GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params); 3580 #endif 3581 #endif /* GL_ARB_shading_language_include */ 3582 3583 #ifndef GL_ARB_shading_language_packing 3584 #define GL_ARB_shading_language_packing 1 3585 #endif /* GL_ARB_shading_language_packing */ 3586 3587 #ifndef GL_ARB_sparse_buffer 3588 #define GL_ARB_sparse_buffer 1 3589 #define GL_SPARSE_STORAGE_BIT_ARB 0x0400 3590 #define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8 3591 typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit); 3592 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); 3593 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); 3594 #ifdef GL_GLEXT_PROTOTYPES 3595 GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit); 3596 GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); 3597 GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); 3598 #endif 3599 #endif /* GL_ARB_sparse_buffer */ 3600 3601 #ifndef GL_ARB_sparse_texture 3602 #define GL_ARB_sparse_texture 1 3603 #define GL_TEXTURE_SPARSE_ARB 0x91A6 3604 #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7 3605 #define GL_NUM_SPARSE_LEVELS_ARB 0x91AA 3606 #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8 3607 #define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195 3608 #define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196 3609 #define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197 3610 #define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198 3611 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199 3612 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A 3613 #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9 3614 typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); 3615 #ifdef GL_GLEXT_PROTOTYPES 3616 GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); 3617 #endif 3618 #endif /* GL_ARB_sparse_texture */ 3619 3620 #ifndef GL_ARB_sparse_texture2 3621 #define GL_ARB_sparse_texture2 1 3622 #endif /* GL_ARB_sparse_texture2 */ 3623 3624 #ifndef GL_ARB_sparse_texture_clamp 3625 #define GL_ARB_sparse_texture_clamp 1 3626 #endif /* GL_ARB_sparse_texture_clamp */ 3627 3628 #ifndef GL_ARB_stencil_texturing 3629 #define GL_ARB_stencil_texturing 1 3630 #endif /* GL_ARB_stencil_texturing */ 3631 3632 #ifndef GL_ARB_sync 3633 #define GL_ARB_sync 1 3634 #endif /* GL_ARB_sync */ 3635 3636 #ifndef GL_ARB_tessellation_shader 3637 #define GL_ARB_tessellation_shader 1 3638 #endif /* GL_ARB_tessellation_shader */ 3639 3640 #ifndef GL_ARB_texture_barrier 3641 #define GL_ARB_texture_barrier 1 3642 #endif /* GL_ARB_texture_barrier */ 3643 3644 #ifndef GL_ARB_texture_border_clamp 3645 #define GL_ARB_texture_border_clamp 1 3646 #define GL_CLAMP_TO_BORDER_ARB 0x812D 3647 #endif /* GL_ARB_texture_border_clamp */ 3648 3649 #ifndef GL_ARB_texture_buffer_object 3650 #define GL_ARB_texture_buffer_object 1 3651 #define GL_TEXTURE_BUFFER_ARB 0x8C2A 3652 #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B 3653 #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C 3654 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D 3655 #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E 3656 typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer); 3657 #ifdef GL_GLEXT_PROTOTYPES 3658 GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer); 3659 #endif 3660 #endif /* GL_ARB_texture_buffer_object */ 3661 3662 #ifndef GL_ARB_texture_buffer_object_rgb32 3663 #define GL_ARB_texture_buffer_object_rgb32 1 3664 #endif /* GL_ARB_texture_buffer_object_rgb32 */ 3665 3666 #ifndef GL_ARB_texture_buffer_range 3667 #define GL_ARB_texture_buffer_range 1 3668 #endif /* GL_ARB_texture_buffer_range */ 3669 3670 #ifndef GL_ARB_texture_compression_bptc 3671 #define GL_ARB_texture_compression_bptc 1 3672 #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C 3673 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D 3674 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E 3675 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F 3676 #endif /* GL_ARB_texture_compression_bptc */ 3677 3678 #ifndef GL_ARB_texture_compression_rgtc 3679 #define GL_ARB_texture_compression_rgtc 1 3680 #endif /* GL_ARB_texture_compression_rgtc */ 3681 3682 #ifndef GL_ARB_texture_cube_map_array 3683 #define GL_ARB_texture_cube_map_array 1 3684 #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009 3685 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A 3686 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B 3687 #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C 3688 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D 3689 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E 3690 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F 3691 #endif /* GL_ARB_texture_cube_map_array */ 3692 3693 #ifndef GL_ARB_texture_filter_minmax 3694 #define GL_ARB_texture_filter_minmax 1 3695 #define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366 3696 #define GL_WEIGHTED_AVERAGE_ARB 0x9367 3697 #endif /* GL_ARB_texture_filter_minmax */ 3698 3699 #ifndef GL_ARB_texture_gather 3700 #define GL_ARB_texture_gather 1 3701 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E 3702 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F 3703 #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F 3704 #endif /* GL_ARB_texture_gather */ 3705 3706 #ifndef GL_ARB_texture_mirror_clamp_to_edge 3707 #define GL_ARB_texture_mirror_clamp_to_edge 1 3708 #endif /* GL_ARB_texture_mirror_clamp_to_edge */ 3709 3710 #ifndef GL_ARB_texture_mirrored_repeat 3711 #define GL_ARB_texture_mirrored_repeat 1 3712 #define GL_MIRRORED_REPEAT_ARB 0x8370 3713 #endif /* GL_ARB_texture_mirrored_repeat */ 3714 3715 #ifndef GL_ARB_texture_multisample 3716 #define GL_ARB_texture_multisample 1 3717 #endif /* GL_ARB_texture_multisample */ 3718 3719 #ifndef GL_ARB_texture_non_power_of_two 3720 #define GL_ARB_texture_non_power_of_two 1 3721 #endif /* GL_ARB_texture_non_power_of_two */ 3722 3723 #ifndef GL_ARB_texture_query_levels 3724 #define GL_ARB_texture_query_levels 1 3725 #endif /* GL_ARB_texture_query_levels */ 3726 3727 #ifndef GL_ARB_texture_query_lod 3728 #define GL_ARB_texture_query_lod 1 3729 #endif /* GL_ARB_texture_query_lod */ 3730 3731 #ifndef GL_ARB_texture_rg 3732 #define GL_ARB_texture_rg 1 3733 #endif /* GL_ARB_texture_rg */ 3734 3735 #ifndef GL_ARB_texture_rgb10_a2ui 3736 #define GL_ARB_texture_rgb10_a2ui 1 3737 #endif /* GL_ARB_texture_rgb10_a2ui */ 3738 3739 #ifndef GL_ARB_texture_stencil8 3740 #define GL_ARB_texture_stencil8 1 3741 #endif /* GL_ARB_texture_stencil8 */ 3742 3743 #ifndef GL_ARB_texture_storage 3744 #define GL_ARB_texture_storage 1 3745 #endif /* GL_ARB_texture_storage */ 3746 3747 #ifndef GL_ARB_texture_storage_multisample 3748 #define GL_ARB_texture_storage_multisample 1 3749 #endif /* GL_ARB_texture_storage_multisample */ 3750 3751 #ifndef GL_ARB_texture_swizzle 3752 #define GL_ARB_texture_swizzle 1 3753 #endif /* GL_ARB_texture_swizzle */ 3754 3755 #ifndef GL_ARB_texture_view 3756 #define GL_ARB_texture_view 1 3757 #endif /* GL_ARB_texture_view */ 3758 3759 #ifndef GL_ARB_timer_query 3760 #define GL_ARB_timer_query 1 3761 #endif /* GL_ARB_timer_query */ 3762 3763 #ifndef GL_ARB_transform_feedback2 3764 #define GL_ARB_transform_feedback2 1 3765 #endif /* GL_ARB_transform_feedback2 */ 3766 3767 #ifndef GL_ARB_transform_feedback3 3768 #define GL_ARB_transform_feedback3 1 3769 #endif /* GL_ARB_transform_feedback3 */ 3770 3771 #ifndef GL_ARB_transform_feedback_instanced 3772 #define GL_ARB_transform_feedback_instanced 1 3773 #endif /* GL_ARB_transform_feedback_instanced */ 3774 3775 #ifndef GL_ARB_transform_feedback_overflow_query 3776 #define GL_ARB_transform_feedback_overflow_query 1 3777 #define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC 3778 #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED 3779 #endif /* GL_ARB_transform_feedback_overflow_query */ 3780 3781 #ifndef GL_ARB_uniform_buffer_object 3782 #define GL_ARB_uniform_buffer_object 1 3783 #endif /* GL_ARB_uniform_buffer_object */ 3784 3785 #ifndef GL_ARB_vertex_array_bgra 3786 #define GL_ARB_vertex_array_bgra 1 3787 #endif /* GL_ARB_vertex_array_bgra */ 3788 3789 #ifndef GL_ARB_vertex_array_object 3790 #define GL_ARB_vertex_array_object 1 3791 #endif /* GL_ARB_vertex_array_object */ 3792 3793 #ifndef GL_ARB_vertex_attrib_64bit 3794 #define GL_ARB_vertex_attrib_64bit 1 3795 #endif /* GL_ARB_vertex_attrib_64bit */ 3796 3797 #ifndef GL_ARB_vertex_attrib_binding 3798 #define GL_ARB_vertex_attrib_binding 1 3799 #endif /* GL_ARB_vertex_attrib_binding */ 3800 3801 #ifndef GL_ARB_vertex_type_10f_11f_11f_rev 3802 #define GL_ARB_vertex_type_10f_11f_11f_rev 1 3803 #endif /* GL_ARB_vertex_type_10f_11f_11f_rev */ 3804 3805 #ifndef GL_ARB_vertex_type_2_10_10_10_rev 3806 #define GL_ARB_vertex_type_2_10_10_10_rev 1 3807 #endif /* GL_ARB_vertex_type_2_10_10_10_rev */ 3808 3809 #ifndef GL_ARB_viewport_array 3810 #define GL_ARB_viewport_array 1 3811 #endif /* GL_ARB_viewport_array */ 3812 3813 #ifndef GL_KHR_blend_equation_advanced 3814 #define GL_KHR_blend_equation_advanced 1 3815 #define GL_MULTIPLY_KHR 0x9294 3816 #define GL_SCREEN_KHR 0x9295 3817 #define GL_OVERLAY_KHR 0x9296 3818 #define GL_DARKEN_KHR 0x9297 3819 #define GL_LIGHTEN_KHR 0x9298 3820 #define GL_COLORDODGE_KHR 0x9299 3821 #define GL_COLORBURN_KHR 0x929A 3822 #define GL_HARDLIGHT_KHR 0x929B 3823 #define GL_SOFTLIGHT_KHR 0x929C 3824 #define GL_DIFFERENCE_KHR 0x929E 3825 #define GL_EXCLUSION_KHR 0x92A0 3826 #define GL_HSL_HUE_KHR 0x92AD 3827 #define GL_HSL_SATURATION_KHR 0x92AE 3828 #define GL_HSL_COLOR_KHR 0x92AF 3829 #define GL_HSL_LUMINOSITY_KHR 0x92B0 3830 typedef void (APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void); 3831 #ifdef GL_GLEXT_PROTOTYPES 3832 GLAPI void APIENTRY glBlendBarrierKHR (void); 3833 #endif 3834 #endif /* GL_KHR_blend_equation_advanced */ 3835 3836 #ifndef GL_KHR_blend_equation_advanced_coherent 3837 #define GL_KHR_blend_equation_advanced_coherent 1 3838 #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285 3839 #endif /* GL_KHR_blend_equation_advanced_coherent */ 3840 3841 #ifndef GL_KHR_context_flush_control 3842 #define GL_KHR_context_flush_control 1 3843 #endif /* GL_KHR_context_flush_control */ 3844 3845 #ifndef GL_KHR_debug 3846 #define GL_KHR_debug 1 3847 #endif /* GL_KHR_debug */ 3848 3849 #ifndef GL_KHR_no_error 3850 #define GL_KHR_no_error 1 3851 #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008 3852 #endif /* GL_KHR_no_error */ 3853 3854 #ifndef GL_KHR_robust_buffer_access_behavior 3855 #define GL_KHR_robust_buffer_access_behavior 1 3856 #endif /* GL_KHR_robust_buffer_access_behavior */ 3857 3858 #ifndef GL_KHR_robustness 3859 #define GL_KHR_robustness 1 3860 #define GL_CONTEXT_ROBUST_ACCESS 0x90F3 3861 #endif /* GL_KHR_robustness */ 3862 3863 #ifndef GL_KHR_texture_compression_astc_hdr 3864 #define GL_KHR_texture_compression_astc_hdr 1 3865 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 3866 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 3867 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 3868 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 3869 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 3870 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 3871 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 3872 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 3873 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 3874 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 3875 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA 3876 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB 3877 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC 3878 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD 3879 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 3880 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 3881 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 3882 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 3883 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 3884 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 3885 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 3886 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 3887 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 3888 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 3889 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA 3890 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB 3891 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC 3892 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD 3893 #endif /* GL_KHR_texture_compression_astc_hdr */ 3894 3895 #ifndef GL_KHR_texture_compression_astc_ldr 3896 #define GL_KHR_texture_compression_astc_ldr 1 3897 #endif /* GL_KHR_texture_compression_astc_ldr */ 3898 3899 #ifndef GL_KHR_texture_compression_astc_sliced_3d 3900 #define GL_KHR_texture_compression_astc_sliced_3d 1 3901 #endif /* GL_KHR_texture_compression_astc_sliced_3d */ 3902 3903 #ifndef GL_AMD_performance_monitor 3904 #define GL_AMD_performance_monitor 1 3905 #define GL_COUNTER_TYPE_AMD 0x8BC0 3906 #define GL_COUNTER_RANGE_AMD 0x8BC1 3907 #define GL_UNSIGNED_INT64_AMD 0x8BC2 3908 #define GL_PERCENTAGE_AMD 0x8BC3 3909 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 3910 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 3911 #define GL_PERFMON_RESULT_AMD 0x8BC6 3912 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 3913 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 3914 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 3915 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 3916 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); 3917 typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 3918 typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 3919 typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); 3920 typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); 3921 typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); 3922 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 3923 #ifdef GL_GLEXT_PROTOTYPES 3924 GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 3925 GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 3926 GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 3927 GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 3928 GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); 3929 GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); 3930 GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); 3931 GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); 3932 GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor); 3933 GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor); 3934 GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 3935 #endif 3936 #endif /* GL_AMD_performance_monitor */ 3937 3938 #ifndef GL_APPLE_rgb_422 3939 #define GL_APPLE_rgb_422 1 3940 #define GL_RGB_422_APPLE 0x8A1F 3941 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA 3942 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB 3943 #define GL_RGB_RAW_422_APPLE 0x8A51 3944 #endif /* GL_APPLE_rgb_422 */ 3945 3946 #ifndef GL_EXT_debug_label 3947 #define GL_EXT_debug_label 1 3948 #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F 3949 #define GL_PROGRAM_OBJECT_EXT 0x8B40 3950 #define GL_SHADER_OBJECT_EXT 0x8B48 3951 #define GL_BUFFER_OBJECT_EXT 0x9151 3952 #define GL_QUERY_OBJECT_EXT 0x9153 3953 #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 3954 typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); 3955 typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 3956 #ifdef GL_GLEXT_PROTOTYPES 3957 GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); 3958 GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 3959 #endif 3960 #endif /* GL_EXT_debug_label */ 3961 3962 #ifndef GL_EXT_debug_marker 3963 #define GL_EXT_debug_marker 1 3964 typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); 3965 typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); 3966 typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); 3967 #ifdef GL_GLEXT_PROTOTYPES 3968 GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); 3969 GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); 3970 GLAPI void APIENTRY glPopGroupMarkerEXT (void); 3971 #endif 3972 #endif /* GL_EXT_debug_marker */ 3973 3974 #ifndef GL_EXT_direct_state_access 3975 #define GL_EXT_direct_state_access 1 3976 #define GL_PROGRAM_MATRIX_EXT 0x8E2D 3977 #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E 3978 #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F 3979 typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m); 3980 typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m); 3981 typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m); 3982 typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m); 3983 typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode); 3984 typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 3985 typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 3986 typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 3987 typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 3988 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 3989 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 3990 typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 3991 typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 3992 typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode); 3993 typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode); 3994 typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); 3995 typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); 3996 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param); 3997 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params); 3998 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param); 3999 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params); 4000 typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 4001 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 4002 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 4003 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 4004 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 4005 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 4006 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 4007 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4008 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 4009 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params); 4010 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params); 4011 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params); 4012 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params); 4013 typedef 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); 4014 typedef 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); 4015 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4016 typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture); 4017 typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer); 4018 typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); 4019 typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); 4020 typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); 4021 typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 4022 typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param); 4023 typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params); 4024 typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param); 4025 typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params); 4026 typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param); 4027 typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params); 4028 typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); 4029 typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); 4030 typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params); 4031 typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params); 4032 typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params); 4033 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); 4034 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 4035 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); 4036 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); 4037 typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 4038 typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 4039 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 4040 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 4041 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 4042 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 4043 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 4044 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4045 typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 4046 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); 4047 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); 4048 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params); 4049 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params); 4050 typedef 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); 4051 typedef 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); 4052 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4053 typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); 4054 typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); 4055 typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data); 4056 typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data); 4057 typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data); 4058 typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index); 4059 typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index); 4060 typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index); 4061 typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data); 4062 typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data); 4063 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); 4064 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); 4065 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); 4066 typedef 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); 4067 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); 4068 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); 4069 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img); 4070 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); 4071 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); 4072 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); 4073 typedef 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); 4074 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); 4075 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); 4076 typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img); 4077 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); 4078 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); 4079 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); 4080 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); 4081 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); 4082 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); 4083 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access); 4084 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer); 4085 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params); 4086 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params); 4087 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); 4088 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); 4089 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); 4090 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 4091 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 4092 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); 4093 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); 4094 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 4095 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 4096 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4097 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4098 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4099 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4100 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 4101 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 4102 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 4103 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 4104 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4105 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4106 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4107 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4108 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4109 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4110 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4111 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4112 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4113 typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); 4114 typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); 4115 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params); 4116 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params); 4117 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params); 4118 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params); 4119 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 4120 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params); 4121 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); 4122 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params); 4123 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); 4124 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); 4125 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 4126 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 4127 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 4128 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 4129 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 4130 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 4131 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params); 4132 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); 4133 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params); 4134 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params); 4135 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 4136 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params); 4137 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params); 4138 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params); 4139 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params); 4140 typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index); 4141 typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index); 4142 typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params); 4143 typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params); 4144 typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params); 4145 typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string); 4146 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 4147 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params); 4148 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 4149 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params); 4150 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params); 4151 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params); 4152 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params); 4153 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string); 4154 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); 4155 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params); 4156 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 4157 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); 4158 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target); 4159 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 4160 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 4161 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 4162 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 4163 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); 4164 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target); 4165 typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target); 4166 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); 4167 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs); 4168 typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); 4169 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params); 4170 typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 4171 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); 4172 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); 4173 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); 4174 typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer); 4175 typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer); 4176 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4177 typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4178 typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset); 4179 typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); 4180 typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); 4181 typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4182 typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4183 typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); 4184 typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4185 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset); 4186 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4187 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array); 4188 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array); 4189 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index); 4190 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index); 4191 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param); 4192 typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param); 4193 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param); 4194 typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param); 4195 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); 4196 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); 4197 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); 4198 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); 4199 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); 4200 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param); 4201 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params); 4202 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x); 4203 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y); 4204 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); 4205 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 4206 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4207 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4208 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4209 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4210 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4211 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4212 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4213 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4214 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4215 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4216 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4217 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4218 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4219 typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 4220 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 4221 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 4222 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 4223 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 4224 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 4225 typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); 4226 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); 4227 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 4228 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 4229 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex); 4230 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor); 4231 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4232 typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); 4233 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor); 4234 #ifdef GL_GLEXT_PROTOTYPES 4235 GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m); 4236 GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m); 4237 GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m); 4238 GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m); 4239 GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode); 4240 GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 4241 GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 4242 GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 4243 GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 4244 GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 4245 GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 4246 GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 4247 GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 4248 GLAPI void APIENTRY glMatrixPopEXT (GLenum mode); 4249 GLAPI void APIENTRY glMatrixPushEXT (GLenum mode); 4250 GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask); 4251 GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask); 4252 GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param); 4253 GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params); 4254 GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param); 4255 GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params); 4256 GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 4257 GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 4258 GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 4259 GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 4260 GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 4261 GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 4262 GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 4263 GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4264 GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 4265 GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params); 4266 GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params); 4267 GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params); 4268 GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params); 4269 GLAPI 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); 4270 GLAPI 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); 4271 GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4272 GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture); 4273 GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer); 4274 GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param); 4275 GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); 4276 GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param); 4277 GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 4278 GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param); 4279 GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params); 4280 GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param); 4281 GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params); 4282 GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param); 4283 GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params); 4284 GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); 4285 GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); 4286 GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params); 4287 GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params); 4288 GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params); 4289 GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param); 4290 GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 4291 GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param); 4292 GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); 4293 GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 4294 GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 4295 GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 4296 GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 4297 GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 4298 GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 4299 GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 4300 GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4301 GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 4302 GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); 4303 GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); 4304 GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params); 4305 GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params); 4306 GLAPI 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); 4307 GLAPI 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); 4308 GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4309 GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index); 4310 GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index); 4311 GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data); 4312 GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data); 4313 GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data); 4314 GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index); 4315 GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index); 4316 GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index); 4317 GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data); 4318 GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data); 4319 GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); 4320 GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); 4321 GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); 4322 GLAPI 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); 4323 GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); 4324 GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); 4325 GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img); 4326 GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); 4327 GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); 4328 GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); 4329 GLAPI 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); 4330 GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); 4331 GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); 4332 GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img); 4333 GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m); 4334 GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m); 4335 GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m); 4336 GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m); 4337 GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); 4338 GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); 4339 GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access); 4340 GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer); 4341 GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params); 4342 GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params); 4343 GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); 4344 GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); 4345 GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); 4346 GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 4347 GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 4348 GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); 4349 GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); 4350 GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 4351 GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 4352 GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4353 GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4354 GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4355 GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 4356 GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 4357 GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 4358 GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 4359 GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 4360 GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4361 GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4362 GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4363 GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4364 GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4365 GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4366 GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4367 GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4368 GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 4369 GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); 4370 GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); 4371 GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params); 4372 GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params); 4373 GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params); 4374 GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params); 4375 GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 4376 GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params); 4377 GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); 4378 GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params); 4379 GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); 4380 GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); 4381 GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 4382 GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 4383 GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 4384 GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 4385 GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 4386 GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 4387 GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params); 4388 GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); 4389 GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params); 4390 GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params); 4391 GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 4392 GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params); 4393 GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params); 4394 GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params); 4395 GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params); 4396 GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index); 4397 GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index); 4398 GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params); 4399 GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params); 4400 GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params); 4401 GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string); 4402 GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 4403 GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params); 4404 GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 4405 GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params); 4406 GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params); 4407 GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params); 4408 GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params); 4409 GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string); 4410 GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); 4411 GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params); 4412 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 4413 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); 4414 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target); 4415 GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 4416 GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 4417 GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 4418 GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 4419 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); 4420 GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target); 4421 GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target); 4422 GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode); 4423 GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs); 4424 GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode); 4425 GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params); 4426 GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 4427 GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); 4428 GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); 4429 GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); 4430 GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer); 4431 GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer); 4432 GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4433 GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4434 GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset); 4435 GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); 4436 GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); 4437 GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4438 GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4439 GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); 4440 GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4441 GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset); 4442 GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4443 GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array); 4444 GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array); 4445 GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index); 4446 GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index); 4447 GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param); 4448 GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param); 4449 GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param); 4450 GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param); 4451 GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); 4452 GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length); 4453 GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); 4454 GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); 4455 GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); 4456 GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param); 4457 GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params); 4458 GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x); 4459 GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y); 4460 GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); 4461 GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 4462 GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4463 GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4464 GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4465 GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); 4466 GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4467 GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4468 GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4469 GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4470 GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4471 GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4472 GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4473 GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4474 GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 4475 GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 4476 GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 4477 GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 4478 GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 4479 GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 4480 GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 4481 GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); 4482 GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); 4483 GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 4484 GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); 4485 GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex); 4486 GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor); 4487 GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); 4488 GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); 4489 GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor); 4490 #endif 4491 #endif /* GL_EXT_direct_state_access */ 4492 4493 #ifndef GL_EXT_draw_instanced 4494 #define GL_EXT_draw_instanced 1 4495 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); 4496 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 4497 #ifdef GL_GLEXT_PROTOTYPES 4498 GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); 4499 GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 4500 #endif 4501 #endif /* GL_EXT_draw_instanced */ 4502 4503 #ifndef GL_EXT_polygon_offset_clamp 4504 #define GL_EXT_polygon_offset_clamp 1 4505 #define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B 4506 typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp); 4507 #ifdef GL_GLEXT_PROTOTYPES 4508 GLAPI void APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp); 4509 #endif 4510 #endif /* GL_EXT_polygon_offset_clamp */ 4511 4512 #ifndef GL_EXT_post_depth_coverage 4513 #define GL_EXT_post_depth_coverage 1 4514 #endif /* GL_EXT_post_depth_coverage */ 4515 4516 #ifndef GL_EXT_raster_multisample 4517 #define GL_EXT_raster_multisample 1 4518 #define GL_RASTER_MULTISAMPLE_EXT 0x9327 4519 #define GL_RASTER_SAMPLES_EXT 0x9328 4520 #define GL_MAX_RASTER_SAMPLES_EXT 0x9329 4521 #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A 4522 #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B 4523 #define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C 4524 typedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations); 4525 #ifdef GL_GLEXT_PROTOTYPES 4526 GLAPI void APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations); 4527 #endif 4528 #endif /* GL_EXT_raster_multisample */ 4529 4530 #ifndef GL_EXT_separate_shader_objects 4531 #define GL_EXT_separate_shader_objects 1 4532 #define GL_ACTIVE_PROGRAM_EXT 0x8B8D 4533 typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program); 4534 typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program); 4535 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string); 4536 #ifdef GL_GLEXT_PROTOTYPES 4537 GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program); 4538 GLAPI void APIENTRY glActiveProgramEXT (GLuint program); 4539 GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string); 4540 #endif 4541 #endif /* GL_EXT_separate_shader_objects */ 4542 4543 #ifndef GL_EXT_shader_integer_mix 4544 #define GL_EXT_shader_integer_mix 1 4545 #endif /* GL_EXT_shader_integer_mix */ 4546 4547 #ifndef GL_EXT_texture_compression_s3tc 4548 #define GL_EXT_texture_compression_s3tc 1 4549 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 4550 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 4551 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 4552 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 4553 #endif /* GL_EXT_texture_compression_s3tc */ 4554 4555 #ifndef GL_EXT_texture_filter_minmax 4556 #define GL_EXT_texture_filter_minmax 1 4557 #endif /* GL_EXT_texture_filter_minmax */ 4558 4559 #ifndef GL_EXT_texture_sRGB_decode 4560 #define GL_EXT_texture_sRGB_decode 1 4561 #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 4562 #define GL_DECODE_EXT 0x8A49 4563 #define GL_SKIP_DECODE_EXT 0x8A4A 4564 #endif /* GL_EXT_texture_sRGB_decode */ 4565 4566 #ifndef GL_EXT_window_rectangles 4567 #define GL_EXT_window_rectangles 1 4568 #define GL_INCLUSIVE_EXT 0x8F10 4569 #define GL_EXCLUSIVE_EXT 0x8F11 4570 #define GL_WINDOW_RECTANGLE_EXT 0x8F12 4571 #define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13 4572 #define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14 4573 #define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15 4574 typedef void (APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box); 4575 #ifdef GL_GLEXT_PROTOTYPES 4576 GLAPI void APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box); 4577 #endif 4578 #endif /* GL_EXT_window_rectangles */ 4579 4580 #ifndef GL_INTEL_conservative_rasterization 4581 #define GL_INTEL_conservative_rasterization 1 4582 #define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE 4583 #endif /* GL_INTEL_conservative_rasterization */ 4584 4585 #ifndef GL_INTEL_framebuffer_CMAA 4586 #define GL_INTEL_framebuffer_CMAA 1 4587 typedef void (APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void); 4588 #ifdef GL_GLEXT_PROTOTYPES 4589 GLAPI void APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void); 4590 #endif 4591 #endif /* GL_INTEL_framebuffer_CMAA */ 4592 4593 #ifndef GL_INTEL_performance_query 4594 #define GL_INTEL_performance_query 1 4595 #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000 4596 #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001 4597 #define GL_PERFQUERY_WAIT_INTEL 0x83FB 4598 #define GL_PERFQUERY_FLUSH_INTEL 0x83FA 4599 #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9 4600 #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0 4601 #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1 4602 #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2 4603 #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3 4604 #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4 4605 #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5 4606 #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8 4607 #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9 4608 #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA 4609 #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB 4610 #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC 4611 #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD 4612 #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE 4613 #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF 4614 #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500 4615 typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle); 4616 typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle); 4617 typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle); 4618 typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle); 4619 typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId); 4620 typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId); 4621 typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); 4622 typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); 4623 typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId); 4624 typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); 4625 #ifdef GL_GLEXT_PROTOTYPES 4626 GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle); 4627 GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle); 4628 GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle); 4629 GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle); 4630 GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId); 4631 GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId); 4632 GLAPI void APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); 4633 GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); 4634 GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId); 4635 GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); 4636 #endif 4637 #endif /* GL_INTEL_performance_query */ 4638 4639 #ifndef GL_NV_bindless_multi_draw_indirect 4640 #define GL_NV_bindless_multi_draw_indirect 1 4641 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); 4642 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); 4643 #ifdef GL_GLEXT_PROTOTYPES 4644 GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); 4645 GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); 4646 #endif 4647 #endif /* GL_NV_bindless_multi_draw_indirect */ 4648 4649 #ifndef GL_NV_bindless_multi_draw_indirect_count 4650 #define GL_NV_bindless_multi_draw_indirect_count 1 4651 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); 4652 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); 4653 #ifdef GL_GLEXT_PROTOTYPES 4654 GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); 4655 GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); 4656 #endif 4657 #endif /* GL_NV_bindless_multi_draw_indirect_count */ 4658 4659 #ifndef GL_NV_bindless_texture 4660 #define GL_NV_bindless_texture 1 4661 typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture); 4662 typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler); 4663 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); 4664 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle); 4665 typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 4666 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access); 4667 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle); 4668 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value); 4669 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value); 4670 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value); 4671 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 4672 typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); 4673 typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle); 4674 #ifdef GL_GLEXT_PROTOTYPES 4675 GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture); 4676 GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler); 4677 GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle); 4678 GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle); 4679 GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 4680 GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access); 4681 GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle); 4682 GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value); 4683 GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value); 4684 GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value); 4685 GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 4686 GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle); 4687 GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle); 4688 #endif 4689 #endif /* GL_NV_bindless_texture */ 4690 4691 #ifndef GL_NV_blend_equation_advanced 4692 #define GL_NV_blend_equation_advanced 1 4693 #define GL_BLEND_OVERLAP_NV 0x9281 4694 #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 4695 #define GL_BLUE_NV 0x1905 4696 #define GL_COLORBURN_NV 0x929A 4697 #define GL_COLORDODGE_NV 0x9299 4698 #define GL_CONJOINT_NV 0x9284 4699 #define GL_CONTRAST_NV 0x92A1 4700 #define GL_DARKEN_NV 0x9297 4701 #define GL_DIFFERENCE_NV 0x929E 4702 #define GL_DISJOINT_NV 0x9283 4703 #define GL_DST_ATOP_NV 0x928F 4704 #define GL_DST_IN_NV 0x928B 4705 #define GL_DST_NV 0x9287 4706 #define GL_DST_OUT_NV 0x928D 4707 #define GL_DST_OVER_NV 0x9289 4708 #define GL_EXCLUSION_NV 0x92A0 4709 #define GL_GREEN_NV 0x1904 4710 #define GL_HARDLIGHT_NV 0x929B 4711 #define GL_HARDMIX_NV 0x92A9 4712 #define GL_HSL_COLOR_NV 0x92AF 4713 #define GL_HSL_HUE_NV 0x92AD 4714 #define GL_HSL_LUMINOSITY_NV 0x92B0 4715 #define GL_HSL_SATURATION_NV 0x92AE 4716 #define GL_INVERT_OVG_NV 0x92B4 4717 #define GL_INVERT_RGB_NV 0x92A3 4718 #define GL_LIGHTEN_NV 0x9298 4719 #define GL_LINEARBURN_NV 0x92A5 4720 #define GL_LINEARDODGE_NV 0x92A4 4721 #define GL_LINEARLIGHT_NV 0x92A7 4722 #define GL_MINUS_CLAMPED_NV 0x92B3 4723 #define GL_MINUS_NV 0x929F 4724 #define GL_MULTIPLY_NV 0x9294 4725 #define GL_OVERLAY_NV 0x9296 4726 #define GL_PINLIGHT_NV 0x92A8 4727 #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 4728 #define GL_PLUS_CLAMPED_NV 0x92B1 4729 #define GL_PLUS_DARKER_NV 0x9292 4730 #define GL_PLUS_NV 0x9291 4731 #define GL_RED_NV 0x1903 4732 #define GL_SCREEN_NV 0x9295 4733 #define GL_SOFTLIGHT_NV 0x929C 4734 #define GL_SRC_ATOP_NV 0x928E 4735 #define GL_SRC_IN_NV 0x928A 4736 #define GL_SRC_NV 0x9286 4737 #define GL_SRC_OUT_NV 0x928C 4738 #define GL_SRC_OVER_NV 0x9288 4739 #define GL_UNCORRELATED_NV 0x9282 4740 #define GL_VIVIDLIGHT_NV 0x92A6 4741 #define GL_XOR_NV 0x1506 4742 typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value); 4743 typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); 4744 #ifdef GL_GLEXT_PROTOTYPES 4745 GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value); 4746 GLAPI void APIENTRY glBlendBarrierNV (void); 4747 #endif 4748 #endif /* GL_NV_blend_equation_advanced */ 4749 4750 #ifndef GL_NV_blend_equation_advanced_coherent 4751 #define GL_NV_blend_equation_advanced_coherent 1 4752 #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 4753 #endif /* GL_NV_blend_equation_advanced_coherent */ 4754 4755 #ifndef GL_NV_blend_minmax_factor 4756 #define GL_NV_blend_minmax_factor 1 4757 #define GL_FACTOR_MIN_AMD 0x901C 4758 #define GL_FACTOR_MAX_AMD 0x901D 4759 #endif /* GL_NV_blend_minmax_factor */ 4760 4761 #ifndef GL_NV_clip_space_w_scaling 4762 #define GL_NV_clip_space_w_scaling 1 4763 #define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C 4764 #define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D 4765 #define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E 4766 typedef void (APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff); 4767 #ifdef GL_GLEXT_PROTOTYPES 4768 GLAPI void APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff); 4769 #endif 4770 #endif /* GL_NV_clip_space_w_scaling */ 4771 4772 #ifndef GL_NV_command_list 4773 #define GL_NV_command_list 1 4774 #define GL_TERMINATE_SEQUENCE_COMMAND_NV 0x0000 4775 #define GL_NOP_COMMAND_NV 0x0001 4776 #define GL_DRAW_ELEMENTS_COMMAND_NV 0x0002 4777 #define GL_DRAW_ARRAYS_COMMAND_NV 0x0003 4778 #define GL_DRAW_ELEMENTS_STRIP_COMMAND_NV 0x0004 4779 #define GL_DRAW_ARRAYS_STRIP_COMMAND_NV 0x0005 4780 #define GL_DRAW_ELEMENTS_INSTANCED_COMMAND_NV 0x0006 4781 #define GL_DRAW_ARRAYS_INSTANCED_COMMAND_NV 0x0007 4782 #define GL_ELEMENT_ADDRESS_COMMAND_NV 0x0008 4783 #define GL_ATTRIBUTE_ADDRESS_COMMAND_NV 0x0009 4784 #define GL_UNIFORM_ADDRESS_COMMAND_NV 0x000A 4785 #define GL_BLEND_COLOR_COMMAND_NV 0x000B 4786 #define GL_STENCIL_REF_COMMAND_NV 0x000C 4787 #define GL_LINE_WIDTH_COMMAND_NV 0x000D 4788 #define GL_POLYGON_OFFSET_COMMAND_NV 0x000E 4789 #define GL_ALPHA_REF_COMMAND_NV 0x000F 4790 #define GL_VIEWPORT_COMMAND_NV 0x0010 4791 #define GL_SCISSOR_COMMAND_NV 0x0011 4792 #define GL_FRONT_FACE_COMMAND_NV 0x0012 4793 typedef void (APIENTRYP PFNGLCREATESTATESNVPROC) (GLsizei n, GLuint *states); 4794 typedef void (APIENTRYP PFNGLDELETESTATESNVPROC) (GLsizei n, const GLuint *states); 4795 typedef GLboolean (APIENTRYP PFNGLISSTATENVPROC) (GLuint state); 4796 typedef void (APIENTRYP PFNGLSTATECAPTURENVPROC) (GLuint state, GLenum mode); 4797 typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size); 4798 typedef GLushort (APIENTRYP PFNGLGETSTAGEINDEXNVPROC) (GLenum shadertype); 4799 typedef void (APIENTRYP PFNGLDRAWCOMMANDSNVPROC) (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count); 4800 typedef void (APIENTRYP PFNGLDRAWCOMMANDSADDRESSNVPROC) (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count); 4801 typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESNVPROC) (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); 4802 typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC) (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); 4803 typedef void (APIENTRYP PFNGLCREATECOMMANDLISTSNVPROC) (GLsizei n, GLuint *lists); 4804 typedef void (APIENTRYP PFNGLDELETECOMMANDLISTSNVPROC) (GLsizei n, const GLuint *lists); 4805 typedef GLboolean (APIENTRYP PFNGLISCOMMANDLISTNVPROC) (GLuint list); 4806 typedef void (APIENTRYP PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC) (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); 4807 typedef void (APIENTRYP PFNGLCOMMANDLISTSEGMENTSNVPROC) (GLuint list, GLuint segments); 4808 typedef void (APIENTRYP PFNGLCOMPILECOMMANDLISTNVPROC) (GLuint list); 4809 typedef void (APIENTRYP PFNGLCALLCOMMANDLISTNVPROC) (GLuint list); 4810 #ifdef GL_GLEXT_PROTOTYPES 4811 GLAPI void APIENTRY glCreateStatesNV (GLsizei n, GLuint *states); 4812 GLAPI void APIENTRY glDeleteStatesNV (GLsizei n, const GLuint *states); 4813 GLAPI GLboolean APIENTRY glIsStateNV (GLuint state); 4814 GLAPI void APIENTRY glStateCaptureNV (GLuint state, GLenum mode); 4815 GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size); 4816 GLAPI GLushort APIENTRY glGetStageIndexNV (GLenum shadertype); 4817 GLAPI void APIENTRY glDrawCommandsNV (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count); 4818 GLAPI void APIENTRY glDrawCommandsAddressNV (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count); 4819 GLAPI void APIENTRY glDrawCommandsStatesNV (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); 4820 GLAPI void APIENTRY glDrawCommandsStatesAddressNV (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); 4821 GLAPI void APIENTRY glCreateCommandListsNV (GLsizei n, GLuint *lists); 4822 GLAPI void APIENTRY glDeleteCommandListsNV (GLsizei n, const GLuint *lists); 4823 GLAPI GLboolean APIENTRY glIsCommandListNV (GLuint list); 4824 GLAPI void APIENTRY glListDrawCommandsStatesClientNV (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); 4825 GLAPI void APIENTRY glCommandListSegmentsNV (GLuint list, GLuint segments); 4826 GLAPI void APIENTRY glCompileCommandListNV (GLuint list); 4827 GLAPI void APIENTRY glCallCommandListNV (GLuint list); 4828 #endif 4829 #endif /* GL_NV_command_list */ 4830 4831 #ifndef GL_NV_conditional_render 4832 #define GL_NV_conditional_render 1 4833 #define GL_QUERY_WAIT_NV 0x8E13 4834 #define GL_QUERY_NO_WAIT_NV 0x8E14 4835 #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 4836 #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 4837 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode); 4838 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void); 4839 #ifdef GL_GLEXT_PROTOTYPES 4840 GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode); 4841 GLAPI void APIENTRY glEndConditionalRenderNV (void); 4842 #endif 4843 #endif /* GL_NV_conditional_render */ 4844 4845 #ifndef GL_NV_conservative_raster 4846 #define GL_NV_conservative_raster 1 4847 #define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346 4848 #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347 4849 #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348 4850 #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349 4851 typedef void (APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits); 4852 #ifdef GL_GLEXT_PROTOTYPES 4853 GLAPI void APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits); 4854 #endif 4855 #endif /* GL_NV_conservative_raster */ 4856 4857 #ifndef GL_NV_conservative_raster_dilate 4858 #define GL_NV_conservative_raster_dilate 1 4859 #define GL_CONSERVATIVE_RASTER_DILATE_NV 0x9379 4860 #define GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV 0x937A 4861 #define GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV 0x937B 4862 typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERFNVPROC) (GLenum pname, GLfloat value); 4863 #ifdef GL_GLEXT_PROTOTYPES 4864 GLAPI void APIENTRY glConservativeRasterParameterfNV (GLenum pname, GLfloat value); 4865 #endif 4866 #endif /* GL_NV_conservative_raster_dilate */ 4867 4868 #ifndef GL_NV_conservative_raster_pre_snap_triangles 4869 #define GL_NV_conservative_raster_pre_snap_triangles 1 4870 #define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D 4871 #define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E 4872 #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F 4873 typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param); 4874 #ifdef GL_GLEXT_PROTOTYPES 4875 GLAPI void APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param); 4876 #endif 4877 #endif /* GL_NV_conservative_raster_pre_snap_triangles */ 4878 4879 #ifndef GL_NV_draw_vulkan_image 4880 #define GL_NV_draw_vulkan_image 1 4881 typedef void (APIENTRY *GLVULKANPROCNV)(void); 4882 typedef void (APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); 4883 typedef GLVULKANPROCNV (APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name); 4884 typedef void (APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); 4885 typedef void (APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); 4886 typedef void (APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence); 4887 #ifdef GL_GLEXT_PROTOTYPES 4888 GLAPI void APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); 4889 GLAPI GLVULKANPROCNV APIENTRY glGetVkProcAddrNV (const GLchar *name); 4890 GLAPI void APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore); 4891 GLAPI void APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore); 4892 GLAPI void APIENTRY glSignalVkFenceNV (GLuint64 vkFence); 4893 #endif 4894 #endif /* GL_NV_draw_vulkan_image */ 4895 4896 #ifndef GL_NV_fill_rectangle 4897 #define GL_NV_fill_rectangle 1 4898 #define GL_FILL_RECTANGLE_NV 0x933C 4899 #endif /* GL_NV_fill_rectangle */ 4900 4901 #ifndef GL_NV_fragment_coverage_to_color 4902 #define GL_NV_fragment_coverage_to_color 1 4903 #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD 4904 #define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE 4905 typedef void (APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color); 4906 #ifdef GL_GLEXT_PROTOTYPES 4907 GLAPI void APIENTRY glFragmentCoverageColorNV (GLuint color); 4908 #endif 4909 #endif /* GL_NV_fragment_coverage_to_color */ 4910 4911 #ifndef GL_NV_fragment_shader_interlock 4912 #define GL_NV_fragment_shader_interlock 1 4913 #endif /* GL_NV_fragment_shader_interlock */ 4914 4915 #ifndef GL_NV_framebuffer_mixed_samples 4916 #define GL_NV_framebuffer_mixed_samples 1 4917 #define GL_COVERAGE_MODULATION_TABLE_NV 0x9331 4918 #define GL_COLOR_SAMPLES_NV 0x8E20 4919 #define GL_DEPTH_SAMPLES_NV 0x932D 4920 #define GL_STENCIL_SAMPLES_NV 0x932E 4921 #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F 4922 #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330 4923 #define GL_COVERAGE_MODULATION_NV 0x9332 4924 #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333 4925 typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v); 4926 typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v); 4927 typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components); 4928 #ifdef GL_GLEXT_PROTOTYPES 4929 GLAPI void APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v); 4930 GLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v); 4931 GLAPI void APIENTRY glCoverageModulationNV (GLenum components); 4932 #endif 4933 #endif /* GL_NV_framebuffer_mixed_samples */ 4934 4935 #ifndef GL_NV_framebuffer_multisample_coverage 4936 #define GL_NV_framebuffer_multisample_coverage 1 4937 #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB 4938 #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10 4939 #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11 4940 #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12 4941 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); 4942 #ifdef GL_GLEXT_PROTOTYPES 4943 GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); 4944 #endif 4945 #endif /* GL_NV_framebuffer_multisample_coverage */ 4946 4947 #ifndef GL_NV_geometry_shader_passthrough 4948 #define GL_NV_geometry_shader_passthrough 1 4949 #endif /* GL_NV_geometry_shader_passthrough */ 4950 4951 #ifndef GL_NV_gpu_shader5 4952 #define GL_NV_gpu_shader5 1 4953 typedef int64_t GLint64EXT; 4954 #define GL_INT64_NV 0x140E 4955 #define GL_UNSIGNED_INT64_NV 0x140F 4956 #define GL_INT8_NV 0x8FE0 4957 #define GL_INT8_VEC2_NV 0x8FE1 4958 #define GL_INT8_VEC3_NV 0x8FE2 4959 #define GL_INT8_VEC4_NV 0x8FE3 4960 #define GL_INT16_NV 0x8FE4 4961 #define GL_INT16_VEC2_NV 0x8FE5 4962 #define GL_INT16_VEC3_NV 0x8FE6 4963 #define GL_INT16_VEC4_NV 0x8FE7 4964 #define GL_INT64_VEC2_NV 0x8FE9 4965 #define GL_INT64_VEC3_NV 0x8FEA 4966 #define GL_INT64_VEC4_NV 0x8FEB 4967 #define GL_UNSIGNED_INT8_NV 0x8FEC 4968 #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED 4969 #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE 4970 #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF 4971 #define GL_UNSIGNED_INT16_NV 0x8FF0 4972 #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 4973 #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 4974 #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 4975 #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 4976 #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 4977 #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 4978 #define GL_FLOAT16_NV 0x8FF8 4979 #define GL_FLOAT16_VEC2_NV 0x8FF9 4980 #define GL_FLOAT16_VEC3_NV 0x8FFA 4981 #define GL_FLOAT16_VEC4_NV 0x8FFB 4982 typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x); 4983 typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y); 4984 typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 4985 typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 4986 typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 4987 typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 4988 typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 4989 typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 4990 typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x); 4991 typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y); 4992 typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 4993 typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 4994 typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 4995 typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 4996 typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 4997 typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 4998 typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params); 4999 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x); 5000 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); 5001 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 5002 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 5003 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5004 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5005 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5006 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5007 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x); 5008 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); 5009 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 5010 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 5011 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5012 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5013 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5014 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5015 #ifdef GL_GLEXT_PROTOTYPES 5016 GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x); 5017 GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y); 5018 GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 5019 GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 5020 GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 5021 GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 5022 GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 5023 GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 5024 GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x); 5025 GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y); 5026 GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 5027 GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 5028 GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 5029 GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 5030 GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 5031 GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 5032 GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params); 5033 GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x); 5034 GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); 5035 GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 5036 GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 5037 GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5038 GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5039 GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5040 GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 5041 GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x); 5042 GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); 5043 GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 5044 GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 5045 GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5046 GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5047 GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5048 GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5049 #endif 5050 #endif /* GL_NV_gpu_shader5 */ 5051 5052 #ifndef GL_NV_internalformat_sample_query 5053 #define GL_NV_internalformat_sample_query 1 5054 #define GL_MULTISAMPLES_NV 0x9371 5055 #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372 5056 #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373 5057 #define GL_CONFORMANT_NV 0x9374 5058 typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); 5059 #ifdef GL_GLEXT_PROTOTYPES 5060 GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); 5061 #endif 5062 #endif /* GL_NV_internalformat_sample_query */ 5063 5064 #ifndef GL_NV_path_rendering 5065 #define GL_NV_path_rendering 1 5066 #define GL_PATH_FORMAT_SVG_NV 0x9070 5067 #define GL_PATH_FORMAT_PS_NV 0x9071 5068 #define GL_STANDARD_FONT_NAME_NV 0x9072 5069 #define GL_SYSTEM_FONT_NAME_NV 0x9073 5070 #define GL_FILE_NAME_NV 0x9074 5071 #define GL_PATH_STROKE_WIDTH_NV 0x9075 5072 #define GL_PATH_END_CAPS_NV 0x9076 5073 #define GL_PATH_INITIAL_END_CAP_NV 0x9077 5074 #define GL_PATH_TERMINAL_END_CAP_NV 0x9078 5075 #define GL_PATH_JOIN_STYLE_NV 0x9079 5076 #define GL_PATH_MITER_LIMIT_NV 0x907A 5077 #define GL_PATH_DASH_CAPS_NV 0x907B 5078 #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C 5079 #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D 5080 #define GL_PATH_DASH_OFFSET_NV 0x907E 5081 #define GL_PATH_CLIENT_LENGTH_NV 0x907F 5082 #define GL_PATH_FILL_MODE_NV 0x9080 5083 #define GL_PATH_FILL_MASK_NV 0x9081 5084 #define GL_PATH_FILL_COVER_MODE_NV 0x9082 5085 #define GL_PATH_STROKE_COVER_MODE_NV 0x9083 5086 #define GL_PATH_STROKE_MASK_NV 0x9084 5087 #define GL_COUNT_UP_NV 0x9088 5088 #define GL_COUNT_DOWN_NV 0x9089 5089 #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A 5090 #define GL_CONVEX_HULL_NV 0x908B 5091 #define GL_BOUNDING_BOX_NV 0x908D 5092 #define GL_TRANSLATE_X_NV 0x908E 5093 #define GL_TRANSLATE_Y_NV 0x908F 5094 #define GL_TRANSLATE_2D_NV 0x9090 5095 #define GL_TRANSLATE_3D_NV 0x9091 5096 #define GL_AFFINE_2D_NV 0x9092 5097 #define GL_AFFINE_3D_NV 0x9094 5098 #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096 5099 #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098 5100 #define GL_UTF8_NV 0x909A 5101 #define GL_UTF16_NV 0x909B 5102 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C 5103 #define GL_PATH_COMMAND_COUNT_NV 0x909D 5104 #define GL_PATH_COORD_COUNT_NV 0x909E 5105 #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F 5106 #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0 5107 #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1 5108 #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2 5109 #define GL_SQUARE_NV 0x90A3 5110 #define GL_ROUND_NV 0x90A4 5111 #define GL_TRIANGULAR_NV 0x90A5 5112 #define GL_BEVEL_NV 0x90A6 5113 #define GL_MITER_REVERT_NV 0x90A7 5114 #define GL_MITER_TRUNCATE_NV 0x90A8 5115 #define GL_SKIP_MISSING_GLYPH_NV 0x90A9 5116 #define GL_USE_MISSING_GLYPH_NV 0x90AA 5117 #define GL_PATH_ERROR_POSITION_NV 0x90AB 5118 #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD 5119 #define GL_ADJACENT_PAIRS_NV 0x90AE 5120 #define GL_FIRST_TO_REST_NV 0x90AF 5121 #define GL_PATH_GEN_MODE_NV 0x90B0 5122 #define GL_PATH_GEN_COEFF_NV 0x90B1 5123 #define GL_PATH_GEN_COMPONENTS_NV 0x90B3 5124 #define GL_PATH_STENCIL_FUNC_NV 0x90B7 5125 #define GL_PATH_STENCIL_REF_NV 0x90B8 5126 #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9 5127 #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD 5128 #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE 5129 #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF 5130 #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4 5131 #define GL_MOVE_TO_RESETS_NV 0x90B5 5132 #define GL_MOVE_TO_CONTINUES_NV 0x90B6 5133 #define GL_CLOSE_PATH_NV 0x00 5134 #define GL_MOVE_TO_NV 0x02 5135 #define GL_RELATIVE_MOVE_TO_NV 0x03 5136 #define GL_LINE_TO_NV 0x04 5137 #define GL_RELATIVE_LINE_TO_NV 0x05 5138 #define GL_HORIZONTAL_LINE_TO_NV 0x06 5139 #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07 5140 #define GL_VERTICAL_LINE_TO_NV 0x08 5141 #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09 5142 #define GL_QUADRATIC_CURVE_TO_NV 0x0A 5143 #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B 5144 #define GL_CUBIC_CURVE_TO_NV 0x0C 5145 #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D 5146 #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E 5147 #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F 5148 #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10 5149 #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11 5150 #define GL_SMALL_CCW_ARC_TO_NV 0x12 5151 #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13 5152 #define GL_SMALL_CW_ARC_TO_NV 0x14 5153 #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15 5154 #define GL_LARGE_CCW_ARC_TO_NV 0x16 5155 #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17 5156 #define GL_LARGE_CW_ARC_TO_NV 0x18 5157 #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19 5158 #define GL_RESTART_PATH_NV 0xF0 5159 #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2 5160 #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4 5161 #define GL_RECT_NV 0xF6 5162 #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8 5163 #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA 5164 #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC 5165 #define GL_ARC_TO_NV 0xFE 5166 #define GL_RELATIVE_ARC_TO_NV 0xFF 5167 #define GL_BOLD_BIT_NV 0x01 5168 #define GL_ITALIC_BIT_NV 0x02 5169 #define GL_GLYPH_WIDTH_BIT_NV 0x01 5170 #define GL_GLYPH_HEIGHT_BIT_NV 0x02 5171 #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04 5172 #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08 5173 #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10 5174 #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20 5175 #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40 5176 #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80 5177 #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100 5178 #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000 5179 #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000 5180 #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000 5181 #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000 5182 #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000 5183 #define GL_FONT_ASCENDER_BIT_NV 0x00200000 5184 #define GL_FONT_DESCENDER_BIT_NV 0x00400000 5185 #define GL_FONT_HEIGHT_BIT_NV 0x00800000 5186 #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000 5187 #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000 5188 #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000 5189 #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000 5190 #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000 5191 #define GL_ROUNDED_RECT_NV 0xE8 5192 #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9 5193 #define GL_ROUNDED_RECT2_NV 0xEA 5194 #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB 5195 #define GL_ROUNDED_RECT4_NV 0xEC 5196 #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED 5197 #define GL_ROUNDED_RECT8_NV 0xEE 5198 #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF 5199 #define GL_RELATIVE_RECT_NV 0xF7 5200 #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368 5201 #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369 5202 #define GL_FONT_UNAVAILABLE_NV 0x936A 5203 #define GL_FONT_UNINTELLIGIBLE_NV 0x936B 5204 #define GL_CONIC_CURVE_TO_NV 0x1A 5205 #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B 5206 #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000 5207 #define GL_STANDARD_FONT_FORMAT_NV 0x936C 5208 #define GL_PATH_PROJECTION_NV 0x1701 5209 #define GL_PATH_MODELVIEW_NV 0x1700 5210 #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3 5211 #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6 5212 #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36 5213 #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3 5214 #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4 5215 #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7 5216 #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38 5217 #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4 5218 #define GL_FRAGMENT_INPUT_NV 0x936D 5219 typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range); 5220 typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range); 5221 typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path); 5222 typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 5223 typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); 5224 typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 5225 typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); 5226 typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString); 5227 typedef 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); 5228 typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 5229 typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); 5230 typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath); 5231 typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); 5232 typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); 5233 typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value); 5234 typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value); 5235 typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value); 5236 typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value); 5237 typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray); 5238 typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask); 5239 typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units); 5240 typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask); 5241 typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask); 5242 typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); 5243 typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); 5244 typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func); 5245 typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode); 5246 typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode); 5247 typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5248 typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5249 typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value); 5250 typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value); 5251 typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands); 5252 typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords); 5253 typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray); 5254 typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 5255 typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); 5256 typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); 5257 typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y); 5258 typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y); 5259 typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments); 5260 typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); 5261 typedef void (APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); 5262 typedef void (APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 5263 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 5264 typedef void (APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); 5265 typedef void (APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 5266 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 5267 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); 5268 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode); 5269 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5270 typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5271 typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); 5272 typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 5273 typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 5274 typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); 5275 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); 5276 #ifdef GL_GLEXT_PROTOTYPES 5277 GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range); 5278 GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range); 5279 GLAPI GLboolean APIENTRY glIsPathNV (GLuint path); 5280 GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 5281 GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); 5282 GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 5283 GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); 5284 GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString); 5285 GLAPI 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); 5286 GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 5287 GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); 5288 GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath); 5289 GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); 5290 GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); 5291 GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value); 5292 GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value); 5293 GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value); 5294 GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value); 5295 GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray); 5296 GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask); 5297 GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units); 5298 GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask); 5299 GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask); 5300 GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); 5301 GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); 5302 GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func); 5303 GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode); 5304 GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode); 5305 GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5306 GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5307 GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value); 5308 GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value); 5309 GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands); 5310 GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords); 5311 GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray); 5312 GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 5313 GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); 5314 GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); 5315 GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y); 5316 GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y); 5317 GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments); 5318 GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); 5319 GLAPI void APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m); 5320 GLAPI void APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m); 5321 GLAPI void APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); 5322 GLAPI void APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m); 5323 GLAPI void APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m); 5324 GLAPI void APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); 5325 GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); 5326 GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode); 5327 GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5328 GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 5329 GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); 5330 GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 5331 GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 5332 GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); 5333 GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); 5334 #endif 5335 #endif /* GL_NV_path_rendering */ 5336 5337 #ifndef GL_NV_path_rendering_shared_edge 5338 #define GL_NV_path_rendering_shared_edge 1 5339 #define GL_SHARED_EDGE_NV 0xC0 5340 #endif /* GL_NV_path_rendering_shared_edge */ 5341 5342 #ifndef GL_NV_sample_locations 5343 #define GL_NV_sample_locations 1 5344 #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D 5345 #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E 5346 #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F 5347 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340 5348 #define GL_SAMPLE_LOCATION_NV 0x8E50 5349 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341 5350 #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342 5351 #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343 5352 typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v); 5353 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); 5354 typedef void (APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void); 5355 #ifdef GL_GLEXT_PROTOTYPES 5356 GLAPI void APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v); 5357 GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); 5358 GLAPI void APIENTRY glResolveDepthValuesNV (void); 5359 #endif 5360 #endif /* GL_NV_sample_locations */ 5361 5362 #ifndef GL_NV_sample_mask_override_coverage 5363 #define GL_NV_sample_mask_override_coverage 1 5364 #endif /* GL_NV_sample_mask_override_coverage */ 5365 5366 #ifndef GL_NV_shader_atomic_counters 5367 #define GL_NV_shader_atomic_counters 1 5368 #endif /* GL_NV_shader_atomic_counters */ 5369 5370 #ifndef GL_NV_shader_atomic_float 5371 #define GL_NV_shader_atomic_float 1 5372 #endif /* GL_NV_shader_atomic_float */ 5373 5374 #ifndef GL_NV_shader_atomic_float64 5375 #define GL_NV_shader_atomic_float64 1 5376 #endif /* GL_NV_shader_atomic_float64 */ 5377 5378 #ifndef GL_NV_shader_atomic_fp16_vector 5379 #define GL_NV_shader_atomic_fp16_vector 1 5380 #endif /* GL_NV_shader_atomic_fp16_vector */ 5381 5382 #ifndef GL_NV_shader_atomic_int64 5383 #define GL_NV_shader_atomic_int64 1 5384 #endif /* GL_NV_shader_atomic_int64 */ 5385 5386 #ifndef GL_NV_shader_buffer_load 5387 #define GL_NV_shader_buffer_load 1 5388 #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D 5389 #define GL_GPU_ADDRESS_NV 0x8F34 5390 #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35 5391 typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access); 5392 typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target); 5393 typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target); 5394 typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access); 5395 typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer); 5396 typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer); 5397 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params); 5398 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params); 5399 typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result); 5400 typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value); 5401 typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 5402 typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params); 5403 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value); 5404 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5405 #ifdef GL_GLEXT_PROTOTYPES 5406 GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access); 5407 GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target); 5408 GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target); 5409 GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access); 5410 GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer); 5411 GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer); 5412 GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params); 5413 GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params); 5414 GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result); 5415 GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value); 5416 GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 5417 GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params); 5418 GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value); 5419 GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 5420 #endif 5421 #endif /* GL_NV_shader_buffer_load */ 5422 5423 #ifndef GL_NV_shader_buffer_store 5424 #define GL_NV_shader_buffer_store 1 5425 #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010 5426 #endif /* GL_NV_shader_buffer_store */ 5427 5428 #ifndef GL_NV_shader_thread_group 5429 #define GL_NV_shader_thread_group 1 5430 #define GL_WARP_SIZE_NV 0x9339 5431 #define GL_WARPS_PER_SM_NV 0x933A 5432 #define GL_SM_COUNT_NV 0x933B 5433 #endif /* GL_NV_shader_thread_group */ 5434 5435 #ifndef GL_NV_shader_thread_shuffle 5436 #define GL_NV_shader_thread_shuffle 1 5437 #endif /* GL_NV_shader_thread_shuffle */ 5438 5439 #ifndef GL_NV_stereo_view_rendering 5440 #define GL_NV_stereo_view_rendering 1 5441 #endif /* GL_NV_stereo_view_rendering */ 5442 5443 #ifndef GL_NV_texture_barrier 5444 #define GL_NV_texture_barrier 1 5445 typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void); 5446 #ifdef GL_GLEXT_PROTOTYPES 5447 GLAPI void APIENTRY glTextureBarrierNV (void); 5448 #endif 5449 #endif /* GL_NV_texture_barrier */ 5450 5451 #ifndef GL_NV_texture_rectangle_compressed 5452 #define GL_NV_texture_rectangle_compressed 1 5453 #endif /* GL_NV_texture_rectangle_compressed */ 5454 5455 #ifndef GL_NV_uniform_buffer_unified_memory 5456 #define GL_NV_uniform_buffer_unified_memory 1 5457 #define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E 5458 #define GL_UNIFORM_BUFFER_ADDRESS_NV 0x936F 5459 #define GL_UNIFORM_BUFFER_LENGTH_NV 0x9370 5460 #endif /* GL_NV_uniform_buffer_unified_memory */ 5461 5462 #ifndef GL_NV_vertex_attrib_integer_64bit 5463 #define GL_NV_vertex_attrib_integer_64bit 1 5464 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x); 5465 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y); 5466 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); 5467 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 5468 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v); 5469 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v); 5470 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v); 5471 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v); 5472 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x); 5473 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y); 5474 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 5475 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 5476 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v); 5477 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v); 5478 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v); 5479 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v); 5480 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params); 5481 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params); 5482 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride); 5483 #ifdef GL_GLEXT_PROTOTYPES 5484 GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x); 5485 GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y); 5486 GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); 5487 GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 5488 GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v); 5489 GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v); 5490 GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v); 5491 GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v); 5492 GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x); 5493 GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y); 5494 GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 5495 GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 5496 GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v); 5497 GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v); 5498 GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v); 5499 GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v); 5500 GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params); 5501 GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params); 5502 GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride); 5503 #endif 5504 #endif /* GL_NV_vertex_attrib_integer_64bit */ 5505 5506 #ifndef GL_NV_vertex_buffer_unified_memory 5507 #define GL_NV_vertex_buffer_unified_memory 1 5508 #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E 5509 #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F 5510 #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20 5511 #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21 5512 #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22 5513 #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23 5514 #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24 5515 #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25 5516 #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26 5517 #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27 5518 #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28 5519 #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29 5520 #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A 5521 #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B 5522 #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C 5523 #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D 5524 #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E 5525 #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F 5526 #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30 5527 #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31 5528 #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32 5529 #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33 5530 #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40 5531 #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41 5532 #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42 5533 typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); 5534 typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); 5535 typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride); 5536 typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); 5537 typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride); 5538 typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); 5539 typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride); 5540 typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); 5541 typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride); 5542 typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); 5543 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride); 5544 typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result); 5545 #ifdef GL_GLEXT_PROTOTYPES 5546 GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); 5547 GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride); 5548 GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride); 5549 GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride); 5550 GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride); 5551 GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride); 5552 GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride); 5553 GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride); 5554 GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride); 5555 GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); 5556 GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride); 5557 GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result); 5558 #endif 5559 #endif /* GL_NV_vertex_buffer_unified_memory */ 5560 5561 #ifndef GL_NV_viewport_array2 5562 #define GL_NV_viewport_array2 1 5563 #endif /* GL_NV_viewport_array2 */ 5564 5565 #ifndef GL_NV_viewport_swizzle 5566 #define GL_NV_viewport_swizzle 1 5567 #define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350 5568 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351 5569 #define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352 5570 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353 5571 #define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354 5572 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355 5573 #define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356 5574 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357 5575 #define GL_VIEWPORT_SWIZZLE_X_NV 0x9358 5576 #define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359 5577 #define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A 5578 #define GL_VIEWPORT_SWIZZLE_W_NV 0x935B 5579 typedef void (APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); 5580 #ifdef GL_GLEXT_PROTOTYPES 5581 GLAPI void APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); 5582 #endif 5583 #endif /* GL_NV_viewport_swizzle */ 5584 5585 #ifndef GL_OVR_multiview 5586 #define GL_OVR_multiview 1 5587 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630 5588 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632 5589 #define GL_MAX_VIEWS_OVR 0x9631 5590 #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633 5591 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); 5592 #ifdef GL_GLEXT_PROTOTYPES 5593 GLAPI void APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); 5594 #endif 5595 #endif /* GL_OVR_multiview */ 5596 5597 #ifndef GL_OVR_multiview2 5598 #define GL_OVR_multiview2 1 5599 #endif /* GL_OVR_multiview2 */ 5600 5601 #ifdef __cplusplus 5602 } 5603 #endif 5604 5605 #endif 5606