1 #ifndef __gl_glcorearb_h_
2 #define __gl_glcorearb_h_ 1
18 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
19 #ifndef WIN32_LEAN_AND_MEAN
20 #define WIN32_LEAN_AND_MEAN 1
29 #define APIENTRYP APIENTRY *
59 #ifndef GL_VERSION_1_0
60 #define GL_VERSION_1_0 1
72 #define GL_DEPTH_BUFFER_BIT 0x00000100
73 #define GL_STENCIL_BUFFER_BIT 0x00000400
74 #define GL_COLOR_BUFFER_BIT 0x00004000
77 #define GL_POINTS 0x0000
78 #define GL_LINES 0x0001
79 #define GL_LINE_LOOP 0x0002
80 #define GL_LINE_STRIP 0x0003
81 #define GL_TRIANGLES 0x0004
82 #define GL_TRIANGLE_STRIP 0x0005
83 #define GL_TRIANGLE_FAN 0x0006
84 #define GL_QUADS 0x0007
85 #define GL_NEVER 0x0200
86 #define GL_LESS 0x0201
87 #define GL_EQUAL 0x0202
88 #define GL_LEQUAL 0x0203
89 #define GL_GREATER 0x0204
90 #define GL_NOTEQUAL 0x0205
91 #define GL_GEQUAL 0x0206
92 #define GL_ALWAYS 0x0207
95 #define GL_SRC_COLOR 0x0300
96 #define GL_ONE_MINUS_SRC_COLOR 0x0301
97 #define GL_SRC_ALPHA 0x0302
98 #define GL_ONE_MINUS_SRC_ALPHA 0x0303
99 #define GL_DST_ALPHA 0x0304
100 #define GL_ONE_MINUS_DST_ALPHA 0x0305
101 #define GL_DST_COLOR 0x0306
102 #define GL_ONE_MINUS_DST_COLOR 0x0307
103 #define GL_SRC_ALPHA_SATURATE 0x0308
105 #define GL_FRONT_LEFT 0x0400
106 #define GL_FRONT_RIGHT 0x0401
107 #define GL_BACK_LEFT 0x0402
108 #define GL_BACK_RIGHT 0x0403
109 #define GL_FRONT 0x0404
110 #define GL_BACK 0x0405
111 #define GL_LEFT 0x0406
112 #define GL_RIGHT 0x0407
113 #define GL_FRONT_AND_BACK 0x0408
114 #define GL_NO_ERROR 0
115 #define GL_INVALID_ENUM 0x0500
116 #define GL_INVALID_VALUE 0x0501
117 #define GL_INVALID_OPERATION 0x0502
118 #define GL_OUT_OF_MEMORY 0x0505
120 #define GL_CCW 0x0901
121 #define GL_POINT_SIZE 0x0B11
122 #define GL_POINT_SIZE_RANGE 0x0B12
123 #define GL_POINT_SIZE_GRANULARITY 0x0B13
124 #define GL_LINE_SMOOTH 0x0B20
125 #define GL_LINE_WIDTH 0x0B21
126 #define GL_LINE_WIDTH_RANGE 0x0B22
127 #define GL_LINE_WIDTH_GRANULARITY 0x0B23
128 #define GL_POLYGON_MODE 0x0B40
129 #define GL_POLYGON_SMOOTH 0x0B41
130 #define GL_CULL_FACE 0x0B44
131 #define GL_CULL_FACE_MODE 0x0B45
132 #define GL_FRONT_FACE 0x0B46
133 #define GL_DEPTH_RANGE 0x0B70
134 #define GL_DEPTH_TEST 0x0B71
135 #define GL_DEPTH_WRITEMASK 0x0B72
136 #define GL_DEPTH_CLEAR_VALUE 0x0B73
137 #define GL_DEPTH_FUNC 0x0B74
138 #define GL_STENCIL_TEST 0x0B90
139 #define GL_STENCIL_CLEAR_VALUE 0x0B91
140 #define GL_STENCIL_FUNC 0x0B92
141 #define GL_STENCIL_VALUE_MASK 0x0B93
142 #define GL_STENCIL_FAIL 0x0B94
143 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
144 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
145 #define GL_STENCIL_REF 0x0B97
146 #define GL_STENCIL_WRITEMASK 0x0B98
147 #define GL_VIEWPORT 0x0BA2
148 #define GL_DITHER 0x0BD0
149 #define GL_BLEND_DST 0x0BE0
150 #define GL_BLEND_SRC 0x0BE1
151 #define GL_BLEND 0x0BE2
152 #define GL_LOGIC_OP_MODE 0x0BF0
153 #define GL_DRAW_BUFFER 0x0C01
154 #define GL_READ_BUFFER 0x0C02
155 #define GL_SCISSOR_BOX 0x0C10
156 #define GL_SCISSOR_TEST 0x0C11
157 #define GL_COLOR_CLEAR_VALUE 0x0C22
158 #define GL_COLOR_WRITEMASK 0x0C23
159 #define GL_DOUBLEBUFFER 0x0C32
160 #define GL_STEREO 0x0C33
161 #define GL_LINE_SMOOTH_HINT 0x0C52
162 #define GL_POLYGON_SMOOTH_HINT 0x0C53
163 #define GL_UNPACK_SWAP_BYTES 0x0CF0
164 #define GL_UNPACK_LSB_FIRST 0x0CF1
165 #define GL_UNPACK_ROW_LENGTH 0x0CF2
166 #define GL_UNPACK_SKIP_ROWS 0x0CF3
167 #define GL_UNPACK_SKIP_PIXELS 0x0CF4
168 #define GL_UNPACK_ALIGNMENT 0x0CF5
169 #define GL_PACK_SWAP_BYTES 0x0D00
170 #define GL_PACK_LSB_FIRST 0x0D01
171 #define GL_PACK_ROW_LENGTH 0x0D02
172 #define GL_PACK_SKIP_ROWS 0x0D03
173 #define GL_PACK_SKIP_PIXELS 0x0D04
174 #define GL_PACK_ALIGNMENT 0x0D05
175 #define GL_MAX_TEXTURE_SIZE 0x0D33
176 #define GL_MAX_VIEWPORT_DIMS 0x0D3A
177 #define GL_SUBPIXEL_BITS 0x0D50
178 #define GL_TEXTURE_1D 0x0DE0
179 #define GL_TEXTURE_2D 0x0DE1
180 #define GL_TEXTURE_WIDTH 0x1000
181 #define GL_TEXTURE_HEIGHT 0x1001
182 #define GL_TEXTURE_BORDER_COLOR 0x1004
183 #define GL_DONT_CARE 0x1100
184 #define GL_FASTEST 0x1101
185 #define GL_NICEST 0x1102
186 #define GL_BYTE 0x1400
187 #define GL_UNSIGNED_BYTE 0x1401
188 #define GL_SHORT 0x1402
189 #define GL_UNSIGNED_SHORT 0x1403
190 #define GL_INT 0x1404
191 #define GL_UNSIGNED_INT 0x1405
192 #define GL_FLOAT 0x1406
193 #define GL_STACK_OVERFLOW 0x0503
194 #define GL_STACK_UNDERFLOW 0x0504
195 #define GL_CLEAR 0x1500
196 #define GL_AND 0x1501
197 #define GL_AND_REVERSE 0x1502
198 #define GL_COPY 0x1503
199 #define GL_AND_INVERTED 0x1504
200 #define GL_NOOP 0x1505
201 #define GL_XOR 0x1506
203 #define GL_NOR 0x1508
204 #define GL_EQUIV 0x1509
205 #define GL_INVERT 0x150A
206 #define GL_OR_REVERSE 0x150B
207 #define GL_COPY_INVERTED 0x150C
208 #define GL_OR_INVERTED 0x150D
209 #define GL_NAND 0x150E
210 #define GL_SET 0x150F
211 #define GL_TEXTURE 0x1702
212 #define GL_COLOR 0x1800
213 #define GL_DEPTH 0x1801
214 #define GL_STENCIL 0x1802
215 #define GL_STENCIL_INDEX 0x1901
216 #define GL_DEPTH_COMPONENT 0x1902
217 #define GL_RED 0x1903
218 #define GL_GREEN 0x1904
219 #define GL_BLUE 0x1905
220 #define GL_ALPHA 0x1906
221 #define GL_RGB 0x1907
222 #define GL_RGBA 0x1908
223 #define GL_POINT 0x1B00
224 #define GL_LINE 0x1B01
225 #define GL_FILL 0x1B02
226 #define GL_KEEP 0x1E00
227 #define GL_REPLACE 0x1E01
228 #define GL_INCR 0x1E02
229 #define GL_DECR 0x1E03
230 #define GL_VENDOR 0x1F00
231 #define GL_RENDERER 0x1F01
232 #define GL_VERSION 0x1F02
233 #define GL_EXTENSIONS 0x1F03
234 #define GL_NEAREST 0x2600
235 #define GL_LINEAR 0x2601
236 #define GL_NEAREST_MIPMAP_NEAREST 0x2700
237 #define GL_LINEAR_MIPMAP_NEAREST 0x2701
238 #define GL_NEAREST_MIPMAP_LINEAR 0x2702
239 #define GL_LINEAR_MIPMAP_LINEAR 0x2703
240 #define GL_TEXTURE_MAG_FILTER 0x2800
241 #define GL_TEXTURE_MIN_FILTER 0x2801
242 #define GL_TEXTURE_WRAP_S 0x2802
243 #define GL_TEXTURE_WRAP_T 0x2803
244 #define GL_REPEAT 0x2901
293 #ifdef GL_GLEXT_PROTOTYPES
345 #ifndef GL_VERSION_1_1
346 #define GL_VERSION_1_1 1
349 #define GL_COLOR_LOGIC_OP 0x0BF2
350 #define GL_POLYGON_OFFSET_UNITS 0x2A00
351 #define GL_POLYGON_OFFSET_POINT 0x2A01
352 #define GL_POLYGON_OFFSET_LINE 0x2A02
353 #define GL_POLYGON_OFFSET_FILL 0x8037
354 #define GL_POLYGON_OFFSET_FACTOR 0x8038
355 #define GL_TEXTURE_BINDING_1D 0x8068
356 #define GL_TEXTURE_BINDING_2D 0x8069
357 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003
358 #define GL_TEXTURE_RED_SIZE 0x805C
359 #define GL_TEXTURE_GREEN_SIZE 0x805D
360 #define GL_TEXTURE_BLUE_SIZE 0x805E
361 #define GL_TEXTURE_ALPHA_SIZE 0x805F
362 #define GL_DOUBLE 0x140A
363 #define GL_PROXY_TEXTURE_1D 0x8063
364 #define GL_PROXY_TEXTURE_2D 0x8064
365 #define GL_R3_G3_B2 0x2A10
366 #define GL_RGB4 0x804F
367 #define GL_RGB5 0x8050
368 #define GL_RGB8 0x8051
369 #define GL_RGB10 0x8052
370 #define GL_RGB12 0x8053
371 #define GL_RGB16 0x8054
372 #define GL_RGBA2 0x8055
373 #define GL_RGBA4 0x8056
374 #define GL_RGB5_A1 0x8057
375 #define GL_RGBA8 0x8058
376 #define GL_RGB10_A2 0x8059
377 #define GL_RGBA12 0x805A
378 #define GL_RGBA16 0x805B
379 #define GL_VERTEX_ARRAY 0x8074
394 #ifdef GL_GLEXT_PROTOTYPES
412 #ifndef GL_VERSION_1_2
413 #define GL_VERSION_1_2 1
414 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
415 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
416 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
417 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
418 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
419 #define GL_TEXTURE_BINDING_3D 0x806A
420 #define GL_PACK_SKIP_IMAGES 0x806B
421 #define GL_PACK_IMAGE_HEIGHT 0x806C
422 #define GL_UNPACK_SKIP_IMAGES 0x806D
423 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
424 #define GL_TEXTURE_3D 0x806F
425 #define GL_PROXY_TEXTURE_3D 0x8070
426 #define GL_TEXTURE_DEPTH 0x8071
427 #define GL_TEXTURE_WRAP_R 0x8072
428 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
429 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
430 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
431 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
432 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
433 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
434 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
435 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
436 #define GL_BGR 0x80E0
437 #define GL_BGRA 0x80E1
438 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
439 #define GL_MAX_ELEMENTS_INDICES 0x80E9
440 #define GL_CLAMP_TO_EDGE 0x812F
441 #define GL_TEXTURE_MIN_LOD 0x813A
442 #define GL_TEXTURE_MAX_LOD 0x813B
443 #define GL_TEXTURE_BASE_LEVEL 0x813C
444 #define GL_TEXTURE_MAX_LEVEL 0x813D
445 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
446 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
447 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
448 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
449 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
452 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);
454 #ifdef GL_GLEXT_PROTOTYPES
457 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);
462 #ifndef GL_VERSION_1_3
463 #define GL_VERSION_1_3 1
464 #define GL_TEXTURE0 0x84C0
465 #define GL_TEXTURE1 0x84C1
466 #define GL_TEXTURE2 0x84C2
467 #define GL_TEXTURE3 0x84C3
468 #define GL_TEXTURE4 0x84C4
469 #define GL_TEXTURE5 0x84C5
470 #define GL_TEXTURE6 0x84C6
471 #define GL_TEXTURE7 0x84C7
472 #define GL_TEXTURE8 0x84C8
473 #define GL_TEXTURE9 0x84C9
474 #define GL_TEXTURE10 0x84CA
475 #define GL_TEXTURE11 0x84CB
476 #define GL_TEXTURE12 0x84CC
477 #define GL_TEXTURE13 0x84CD
478 #define GL_TEXTURE14 0x84CE
479 #define GL_TEXTURE15 0x84CF
480 #define GL_TEXTURE16 0x84D0
481 #define GL_TEXTURE17 0x84D1
482 #define GL_TEXTURE18 0x84D2
483 #define GL_TEXTURE19 0x84D3
484 #define GL_TEXTURE20 0x84D4
485 #define GL_TEXTURE21 0x84D5
486 #define GL_TEXTURE22 0x84D6
487 #define GL_TEXTURE23 0x84D7
488 #define GL_TEXTURE24 0x84D8
489 #define GL_TEXTURE25 0x84D9
490 #define GL_TEXTURE26 0x84DA
491 #define GL_TEXTURE27 0x84DB
492 #define GL_TEXTURE28 0x84DC
493 #define GL_TEXTURE29 0x84DD
494 #define GL_TEXTURE30 0x84DE
495 #define GL_TEXTURE31 0x84DF
496 #define GL_ACTIVE_TEXTURE 0x84E0
497 #define GL_MULTISAMPLE 0x809D
498 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
499 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
500 #define GL_SAMPLE_COVERAGE 0x80A0
501 #define GL_SAMPLE_BUFFERS 0x80A8
502 #define GL_SAMPLES 0x80A9
503 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
504 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
505 #define GL_TEXTURE_CUBE_MAP 0x8513
506 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
507 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
508 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
509 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
510 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
511 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
512 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
513 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
514 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
515 #define GL_COMPRESSED_RGB 0x84ED
516 #define GL_COMPRESSED_RGBA 0x84EE
517 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
518 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
519 #define GL_TEXTURE_COMPRESSED 0x86A1
520 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
521 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
522 #define GL_CLAMP_TO_BORDER 0x812D
528 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);
532 #ifdef GL_GLEXT_PROTOTYPES
538 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);
545 #ifndef GL_VERSION_1_4
546 #define GL_VERSION_1_4 1
547 #define GL_BLEND_DST_RGB 0x80C8
548 #define GL_BLEND_SRC_RGB 0x80C9
549 #define GL_BLEND_DST_ALPHA 0x80CA
550 #define GL_BLEND_SRC_ALPHA 0x80CB
551 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
552 #define GL_DEPTH_COMPONENT16 0x81A5
553 #define GL_DEPTH_COMPONENT24 0x81A6
554 #define GL_DEPTH_COMPONENT32 0x81A7
555 #define GL_MIRRORED_REPEAT 0x8370
556 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
557 #define GL_TEXTURE_LOD_BIAS 0x8501
558 #define GL_INCR_WRAP 0x8507
559 #define GL_DECR_WRAP 0x8508
560 #define GL_TEXTURE_DEPTH_SIZE 0x884A
561 #define GL_TEXTURE_COMPARE_MODE 0x884C
562 #define GL_TEXTURE_COMPARE_FUNC 0x884D
563 #define GL_BLEND_COLOR 0x8005
564 #define GL_BLEND_EQUATION 0x8009
565 #define GL_CONSTANT_COLOR 0x8001
566 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
567 #define GL_CONSTANT_ALPHA 0x8003
568 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
569 #define GL_FUNC_ADD 0x8006
570 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
571 #define GL_FUNC_SUBTRACT 0x800A
572 #define GL_MIN 0x8007
573 #define GL_MAX 0x8008
583 #ifdef GL_GLEXT_PROTOTYPES
596 #ifndef GL_VERSION_1_5
597 #define GL_VERSION_1_5 1
600 #define GL_BUFFER_SIZE 0x8764
601 #define GL_BUFFER_USAGE 0x8765
602 #define GL_QUERY_COUNTER_BITS 0x8864
603 #define GL_CURRENT_QUERY 0x8865
604 #define GL_QUERY_RESULT 0x8866
605 #define GL_QUERY_RESULT_AVAILABLE 0x8867
606 #define GL_ARRAY_BUFFER 0x8892
607 #define GL_ELEMENT_ARRAY_BUFFER 0x8893
608 #define GL_ARRAY_BUFFER_BINDING 0x8894
609 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
610 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
611 #define GL_READ_ONLY 0x88B8
612 #define GL_WRITE_ONLY 0x88B9
613 #define GL_READ_WRITE 0x88BA
614 #define GL_BUFFER_ACCESS 0x88BB
615 #define GL_BUFFER_MAPPED 0x88BC
616 #define GL_BUFFER_MAP_POINTER 0x88BD
617 #define GL_STREAM_DRAW 0x88E0
618 #define GL_STREAM_READ 0x88E1
619 #define GL_STREAM_COPY 0x88E2
620 #define GL_STATIC_DRAW 0x88E4
621 #define GL_STATIC_READ 0x88E5
622 #define GL_STATIC_COPY 0x88E6
623 #define GL_DYNAMIC_DRAW 0x88E8
624 #define GL_DYNAMIC_READ 0x88E9
625 #define GL_DYNAMIC_COPY 0x88EA
626 #define GL_SAMPLES_PASSED 0x8914
627 #define GL_SRC1_ALPHA 0x8589
647 #ifdef GL_GLEXT_PROTOTYPES
670 #ifndef GL_VERSION_2_0
671 #define GL_VERSION_2_0 1
676 #define GL_BLEND_EQUATION_RGB 0x8009
677 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
678 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
679 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
680 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
681 #define GL_CURRENT_VERTEX_ATTRIB 0x8626
682 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
683 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
684 #define GL_STENCIL_BACK_FUNC 0x8800
685 #define GL_STENCIL_BACK_FAIL 0x8801
686 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
687 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
688 #define GL_MAX_DRAW_BUFFERS 0x8824
689 #define GL_DRAW_BUFFER0 0x8825
690 #define GL_DRAW_BUFFER1 0x8826
691 #define GL_DRAW_BUFFER2 0x8827
692 #define GL_DRAW_BUFFER3 0x8828
693 #define GL_DRAW_BUFFER4 0x8829
694 #define GL_DRAW_BUFFER5 0x882A
695 #define GL_DRAW_BUFFER6 0x882B
696 #define GL_DRAW_BUFFER7 0x882C
697 #define GL_DRAW_BUFFER8 0x882D
698 #define GL_DRAW_BUFFER9 0x882E
699 #define GL_DRAW_BUFFER10 0x882F
700 #define GL_DRAW_BUFFER11 0x8830
701 #define GL_DRAW_BUFFER12 0x8831
702 #define GL_DRAW_BUFFER13 0x8832
703 #define GL_DRAW_BUFFER14 0x8833
704 #define GL_DRAW_BUFFER15 0x8834
705 #define GL_BLEND_EQUATION_ALPHA 0x883D
706 #define GL_MAX_VERTEX_ATTRIBS 0x8869
707 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
708 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
709 #define GL_FRAGMENT_SHADER 0x8B30
710 #define GL_VERTEX_SHADER 0x8B31
711 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
712 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
713 #define GL_MAX_VARYING_FLOATS 0x8B4B
714 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
715 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
716 #define GL_SHADER_TYPE 0x8B4F
717 #define GL_FLOAT_VEC2 0x8B50
718 #define GL_FLOAT_VEC3 0x8B51
719 #define GL_FLOAT_VEC4 0x8B52
720 #define GL_INT_VEC2 0x8B53
721 #define GL_INT_VEC3 0x8B54
722 #define GL_INT_VEC4 0x8B55
723 #define GL_BOOL 0x8B56
724 #define GL_BOOL_VEC2 0x8B57
725 #define GL_BOOL_VEC3 0x8B58
726 #define GL_BOOL_VEC4 0x8B59
727 #define GL_FLOAT_MAT2 0x8B5A
728 #define GL_FLOAT_MAT3 0x8B5B
729 #define GL_FLOAT_MAT4 0x8B5C
730 #define GL_SAMPLER_1D 0x8B5D
731 #define GL_SAMPLER_2D 0x8B5E
732 #define GL_SAMPLER_3D 0x8B5F
733 #define GL_SAMPLER_CUBE 0x8B60
734 #define GL_SAMPLER_1D_SHADOW 0x8B61
735 #define GL_SAMPLER_2D_SHADOW 0x8B62
736 #define GL_DELETE_STATUS 0x8B80
737 #define GL_COMPILE_STATUS 0x8B81
738 #define GL_LINK_STATUS 0x8B82
739 #define GL_VALIDATE_STATUS 0x8B83
740 #define GL_INFO_LOG_LENGTH 0x8B84
741 #define GL_ATTACHED_SHADERS 0x8B85
742 #define GL_ACTIVE_UNIFORMS 0x8B86
743 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
744 #define GL_SHADER_SOURCE_LENGTH 0x8B88
745 #define GL_ACTIVE_ATTRIBUTES 0x8B89
746 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
747 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
748 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
749 #define GL_CURRENT_PROGRAM 0x8B8D
750 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
751 #define GL_LOWER_LEFT 0x8CA1
752 #define GL_UPPER_LEFT 0x8CA2
753 #define GL_STENCIL_BACK_REF 0x8CA3
754 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
755 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
849 #ifdef GL_GLEXT_PROTOTYPES
946 #ifndef GL_VERSION_2_1
947 #define GL_VERSION_2_1 1
948 #define GL_PIXEL_PACK_BUFFER 0x88EB
949 #define GL_PIXEL_UNPACK_BUFFER 0x88EC
950 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
951 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
952 #define GL_FLOAT_MAT2x3 0x8B65
953 #define GL_FLOAT_MAT2x4 0x8B66
954 #define GL_FLOAT_MAT3x2 0x8B67
955 #define GL_FLOAT_MAT3x4 0x8B68
956 #define GL_FLOAT_MAT4x2 0x8B69
957 #define GL_FLOAT_MAT4x3 0x8B6A
958 #define GL_SRGB 0x8C40
959 #define GL_SRGB8 0x8C41
960 #define GL_SRGB_ALPHA 0x8C42
961 #define GL_SRGB8_ALPHA8 0x8C43
962 #define GL_COMPRESSED_SRGB 0x8C48
963 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
970 #ifdef GL_GLEXT_PROTOTYPES
980 #ifndef GL_VERSION_3_0
981 #define GL_VERSION_3_0 1
983 #define GL_COMPARE_REF_TO_TEXTURE 0x884E
984 #define GL_CLIP_DISTANCE0 0x3000
985 #define GL_CLIP_DISTANCE1 0x3001
986 #define GL_CLIP_DISTANCE2 0x3002
987 #define GL_CLIP_DISTANCE3 0x3003
988 #define GL_CLIP_DISTANCE4 0x3004
989 #define GL_CLIP_DISTANCE5 0x3005
990 #define GL_CLIP_DISTANCE6 0x3006
991 #define GL_CLIP_DISTANCE7 0x3007
992 #define GL_MAX_CLIP_DISTANCES 0x0D32
993 #define GL_MAJOR_VERSION 0x821B
994 #define GL_MINOR_VERSION 0x821C
995 #define GL_NUM_EXTENSIONS 0x821D
996 #define GL_CONTEXT_FLAGS 0x821E
997 #define GL_COMPRESSED_RED 0x8225
998 #define GL_COMPRESSED_RG 0x8226
999 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
1000 #define GL_RGBA32F 0x8814
1001 #define GL_RGB32F 0x8815
1002 #define GL_RGBA16F 0x881A
1003 #define GL_RGB16F 0x881B
1004 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
1005 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
1006 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
1007 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
1008 #define GL_CLAMP_READ_COLOR 0x891C
1009 #define GL_FIXED_ONLY 0x891D
1010 #define GL_MAX_VARYING_COMPONENTS 0x8B4B
1011 #define GL_TEXTURE_1D_ARRAY 0x8C18
1012 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
1013 #define GL_TEXTURE_2D_ARRAY 0x8C1A
1014 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
1015 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
1016 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
1017 #define GL_R11F_G11F_B10F 0x8C3A
1018 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
1019 #define GL_RGB9_E5 0x8C3D
1020 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
1021 #define GL_TEXTURE_SHARED_SIZE 0x8C3F
1022 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
1023 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
1024 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
1025 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
1026 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
1027 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
1028 #define GL_PRIMITIVES_GENERATED 0x8C87
1029 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
1030 #define GL_RASTERIZER_DISCARD 0x8C89
1031 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
1032 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
1033 #define GL_INTERLEAVED_ATTRIBS 0x8C8C
1034 #define GL_SEPARATE_ATTRIBS 0x8C8D
1035 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
1036 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
1037 #define GL_RGBA32UI 0x8D70
1038 #define GL_RGB32UI 0x8D71
1039 #define GL_RGBA16UI 0x8D76
1040 #define GL_RGB16UI 0x8D77
1041 #define GL_RGBA8UI 0x8D7C
1042 #define GL_RGB8UI 0x8D7D
1043 #define GL_RGBA32I 0x8D82
1044 #define GL_RGB32I 0x8D83
1045 #define GL_RGBA16I 0x8D88
1046 #define GL_RGB16I 0x8D89
1047 #define GL_RGBA8I 0x8D8E
1048 #define GL_RGB8I 0x8D8F
1049 #define GL_RED_INTEGER 0x8D94
1050 #define GL_GREEN_INTEGER 0x8D95
1051 #define GL_BLUE_INTEGER 0x8D96
1052 #define GL_RGB_INTEGER 0x8D98
1053 #define GL_RGBA_INTEGER 0x8D99
1054 #define GL_BGR_INTEGER 0x8D9A
1055 #define GL_BGRA_INTEGER 0x8D9B
1056 #define GL_SAMPLER_1D_ARRAY 0x8DC0
1057 #define GL_SAMPLER_2D_ARRAY 0x8DC1
1058 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
1059 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
1060 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
1061 #define GL_UNSIGNED_INT_VEC2 0x8DC6
1062 #define GL_UNSIGNED_INT_VEC3 0x8DC7
1063 #define GL_UNSIGNED_INT_VEC4 0x8DC8
1064 #define GL_INT_SAMPLER_1D 0x8DC9
1065 #define GL_INT_SAMPLER_2D 0x8DCA
1066 #define GL_INT_SAMPLER_3D 0x8DCB
1067 #define GL_INT_SAMPLER_CUBE 0x8DCC
1068 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
1069 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
1070 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
1071 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
1072 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
1073 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
1074 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
1075 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
1076 #define GL_QUERY_WAIT 0x8E13
1077 #define GL_QUERY_NO_WAIT 0x8E14
1078 #define GL_QUERY_BY_REGION_WAIT 0x8E15
1079 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
1080 #define GL_BUFFER_ACCESS_FLAGS 0x911F
1081 #define GL_BUFFER_MAP_LENGTH 0x9120
1082 #define GL_BUFFER_MAP_OFFSET 0x9121
1083 #define GL_DEPTH_COMPONENT32F 0x8CAC
1084 #define GL_DEPTH32F_STENCIL8 0x8CAD
1085 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
1086 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
1087 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
1088 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
1089 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
1090 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
1091 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
1092 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
1093 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
1094 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
1095 #define GL_FRAMEBUFFER_DEFAULT 0x8218
1096 #define GL_FRAMEBUFFER_UNDEFINED 0x8219
1097 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
1098 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
1099 #define GL_DEPTH_STENCIL 0x84F9
1100 #define GL_UNSIGNED_INT_24_8 0x84FA
1101 #define GL_DEPTH24_STENCIL8 0x88F0
1102 #define GL_TEXTURE_STENCIL_SIZE 0x88F1
1103 #define GL_TEXTURE_RED_TYPE 0x8C10
1104 #define GL_TEXTURE_GREEN_TYPE 0x8C11
1105 #define GL_TEXTURE_BLUE_TYPE 0x8C12
1106 #define GL_TEXTURE_ALPHA_TYPE 0x8C13
1107 #define GL_TEXTURE_DEPTH_TYPE 0x8C16
1108 #define GL_UNSIGNED_NORMALIZED 0x8C17
1109 #define GL_FRAMEBUFFER_BINDING 0x8CA6
1110 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
1111 #define GL_RENDERBUFFER_BINDING 0x8CA7
1112 #define GL_READ_FRAMEBUFFER 0x8CA8
1113 #define GL_DRAW_FRAMEBUFFER 0x8CA9
1114 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
1115 #define GL_RENDERBUFFER_SAMPLES 0x8CAB
1116 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
1117 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
1118 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
1119 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
1120 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
1121 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
1122 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
1123 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
1124 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
1125 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
1126 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
1127 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
1128 #define GL_COLOR_ATTACHMENT0 0x8CE0
1129 #define GL_COLOR_ATTACHMENT1 0x8CE1
1130 #define GL_COLOR_ATTACHMENT2 0x8CE2
1131 #define GL_COLOR_ATTACHMENT3 0x8CE3
1132 #define GL_COLOR_ATTACHMENT4 0x8CE4
1133 #define GL_COLOR_ATTACHMENT5 0x8CE5
1134 #define GL_COLOR_ATTACHMENT6 0x8CE6
1135 #define GL_COLOR_ATTACHMENT7 0x8CE7
1136 #define GL_COLOR_ATTACHMENT8 0x8CE8
1137 #define GL_COLOR_ATTACHMENT9 0x8CE9
1138 #define GL_COLOR_ATTACHMENT10 0x8CEA
1139 #define GL_COLOR_ATTACHMENT11 0x8CEB
1140 #define GL_COLOR_ATTACHMENT12 0x8CEC
1141 #define GL_COLOR_ATTACHMENT13 0x8CED
1142 #define GL_COLOR_ATTACHMENT14 0x8CEE
1143 #define GL_COLOR_ATTACHMENT15 0x8CEF
1144 #define GL_COLOR_ATTACHMENT16 0x8CF0
1145 #define GL_COLOR_ATTACHMENT17 0x8CF1
1146 #define GL_COLOR_ATTACHMENT18 0x8CF2
1147 #define GL_COLOR_ATTACHMENT19 0x8CF3
1148 #define GL_COLOR_ATTACHMENT20 0x8CF4
1149 #define GL_COLOR_ATTACHMENT21 0x8CF5
1150 #define GL_COLOR_ATTACHMENT22 0x8CF6
1151 #define GL_COLOR_ATTACHMENT23 0x8CF7
1152 #define GL_COLOR_ATTACHMENT24 0x8CF8
1153 #define GL_COLOR_ATTACHMENT25 0x8CF9
1154 #define GL_COLOR_ATTACHMENT26 0x8CFA
1155 #define GL_COLOR_ATTACHMENT27 0x8CFB
1156 #define GL_COLOR_ATTACHMENT28 0x8CFC
1157 #define GL_COLOR_ATTACHMENT29 0x8CFD
1158 #define GL_COLOR_ATTACHMENT30 0x8CFE
1159 #define GL_COLOR_ATTACHMENT31 0x8CFF
1160 #define GL_DEPTH_ATTACHMENT 0x8D00
1161 #define GL_STENCIL_ATTACHMENT 0x8D20
1162 #define GL_FRAMEBUFFER 0x8D40
1163 #define GL_RENDERBUFFER 0x8D41
1164 #define GL_RENDERBUFFER_WIDTH 0x8D42
1165 #define GL_RENDERBUFFER_HEIGHT 0x8D43
1166 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
1167 #define GL_STENCIL_INDEX1 0x8D46
1168 #define GL_STENCIL_INDEX4 0x8D47
1169 #define GL_STENCIL_INDEX8 0x8D48
1170 #define GL_STENCIL_INDEX16 0x8D49
1171 #define GL_RENDERBUFFER_RED_SIZE 0x8D50
1172 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
1173 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
1174 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
1175 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
1176 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
1177 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
1178 #define GL_MAX_SAMPLES 0x8D57
1179 #define GL_FRAMEBUFFER_SRGB 0x8DB9
1180 #define GL_HALF_FLOAT 0x140B
1181 #define GL_MAP_READ_BIT 0x0001
1182 #define GL_MAP_WRITE_BIT 0x0002
1183 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
1184 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
1185 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
1186 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
1187 #define GL_COMPRESSED_RED_RGTC1 0x8DBB
1188 #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
1189 #define GL_COMPRESSED_RG_RGTC2 0x8DBD
1190 #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
1191 #define GL_RG 0x8227
1192 #define GL_RG_INTEGER 0x8228
1193 #define GL_R8 0x8229
1194 #define GL_R16 0x822A
1195 #define GL_RG8 0x822B
1196 #define GL_RG16 0x822C
1197 #define GL_R16F 0x822D
1198 #define GL_R32F 0x822E
1199 #define GL_RG16F 0x822F
1200 #define GL_RG32F 0x8230
1201 #define GL_R8I 0x8231
1202 #define GL_R8UI 0x8232
1203 #define GL_R16I 0x8233
1204 #define GL_R16UI 0x8234
1205 #define GL_R32I 0x8235
1206 #define GL_R32UI 0x8236
1207 #define GL_RG8I 0x8237
1208 #define GL_RG8UI 0x8238
1209 #define GL_RG16I 0x8239
1210 #define GL_RG16UI 0x823A
1211 #define GL_RG32I 0x823B
1212 #define GL_RG32UI 0x823C
1213 #define GL_VERTEX_ARRAY_BINDING 0x85B5
1298 #ifdef GL_GLEXT_PROTOTYPES
1386 #ifndef GL_VERSION_3_1
1387 #define GL_VERSION_3_1 1
1388 #define GL_SAMPLER_2D_RECT 0x8B63
1389 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
1390 #define GL_SAMPLER_BUFFER 0x8DC2
1391 #define GL_INT_SAMPLER_2D_RECT 0x8DCD
1392 #define GL_INT_SAMPLER_BUFFER 0x8DD0
1393 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
1394 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
1395 #define GL_TEXTURE_BUFFER 0x8C2A
1396 #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
1397 #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
1398 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
1399 #define GL_TEXTURE_RECTANGLE 0x84F5
1400 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
1401 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
1402 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
1403 #define GL_R8_SNORM 0x8F94
1404 #define GL_RG8_SNORM 0x8F95
1405 #define GL_RGB8_SNORM 0x8F96
1406 #define GL_RGBA8_SNORM 0x8F97
1407 #define GL_R16_SNORM 0x8F98
1408 #define GL_RG16_SNORM 0x8F99
1409 #define GL_RGB16_SNORM 0x8F9A
1410 #define GL_RGBA16_SNORM 0x8F9B
1411 #define GL_SIGNED_NORMALIZED 0x8F9C
1412 #define GL_PRIMITIVE_RESTART 0x8F9D
1413 #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
1414 #define GL_COPY_READ_BUFFER 0x8F36
1415 #define GL_COPY_WRITE_BUFFER 0x8F37
1416 #define GL_UNIFORM_BUFFER 0x8A11
1417 #define GL_UNIFORM_BUFFER_BINDING 0x8A28
1418 #define GL_UNIFORM_BUFFER_START 0x8A29
1419 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
1420 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
1421 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
1422 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
1423 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
1424 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
1425 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
1426 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
1427 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
1428 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
1429 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
1430 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
1431 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
1432 #define GL_UNIFORM_TYPE 0x8A37
1433 #define GL_UNIFORM_SIZE 0x8A38
1434 #define GL_UNIFORM_NAME_LENGTH 0x8A39
1435 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
1436 #define GL_UNIFORM_OFFSET 0x8A3B
1437 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
1438 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
1439 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
1440 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
1441 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
1442 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
1443 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
1444 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
1445 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
1446 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
1447 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
1448 #define GL_INVALID_INDEX 0xFFFFFFFFu
1461 #ifdef GL_GLEXT_PROTOTYPES
1477 #ifndef GL_VERSION_3_2
1478 #define GL_VERSION_3_2 1
1482 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
1483 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
1484 #define GL_LINES_ADJACENCY 0x000A
1485 #define GL_LINE_STRIP_ADJACENCY 0x000B
1486 #define GL_TRIANGLES_ADJACENCY 0x000C
1487 #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
1488 #define GL_PROGRAM_POINT_SIZE 0x8642
1489 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
1490 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
1491 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
1492 #define GL_GEOMETRY_SHADER 0x8DD9
1493 #define GL_GEOMETRY_VERTICES_OUT 0x8916
1494 #define GL_GEOMETRY_INPUT_TYPE 0x8917
1495 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
1496 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
1497 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
1498 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
1499 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
1500 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
1501 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
1502 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
1503 #define GL_CONTEXT_PROFILE_MASK 0x9126
1504 #define GL_DEPTH_CLAMP 0x864F
1505 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
1506 #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
1507 #define GL_LAST_VERTEX_CONVENTION 0x8E4E
1508 #define GL_PROVOKING_VERTEX 0x8E4F
1509 #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
1510 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
1511 #define GL_OBJECT_TYPE 0x9112
1512 #define GL_SYNC_CONDITION 0x9113
1513 #define GL_SYNC_STATUS 0x9114
1514 #define GL_SYNC_FLAGS 0x9115
1515 #define GL_SYNC_FENCE 0x9116
1516 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
1517 #define GL_UNSIGNALED 0x9118
1518 #define GL_SIGNALED 0x9119
1519 #define GL_ALREADY_SIGNALED 0x911A
1520 #define GL_TIMEOUT_EXPIRED 0x911B
1521 #define GL_CONDITION_SATISFIED 0x911C
1522 #define GL_WAIT_FAILED 0x911D
1523 #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
1524 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
1525 #define GL_SAMPLE_POSITION 0x8E50
1526 #define GL_SAMPLE_MASK 0x8E51
1527 #define GL_SAMPLE_MASK_VALUE 0x8E52
1528 #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
1529 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
1530 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
1531 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
1532 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
1533 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
1534 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
1535 #define GL_TEXTURE_SAMPLES 0x9106
1536 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
1537 #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
1538 #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
1539 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
1540 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
1541 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
1542 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
1543 #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
1544 #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
1545 #define GL_MAX_INTEGER_SAMPLES 0x9110
1565 #ifdef GL_GLEXT_PROTOTYPES
1588 #ifndef GL_VERSION_3_3
1589 #define GL_VERSION_3_3 1
1590 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
1591 #define GL_SRC1_COLOR 0x88F9
1592 #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
1593 #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
1594 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
1595 #define GL_ANY_SAMPLES_PASSED 0x8C2F
1596 #define GL_SAMPLER_BINDING 0x8919
1597 #define GL_RGB10_A2UI 0x906F
1598 #define GL_TEXTURE_SWIZZLE_R 0x8E42
1599 #define GL_TEXTURE_SWIZZLE_G 0x8E43
1600 #define GL_TEXTURE_SWIZZLE_B 0x8E44
1601 #define GL_TEXTURE_SWIZZLE_A 0x8E45
1602 #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
1603 #define GL_TIME_ELAPSED 0x88BF
1604 #define GL_TIMESTAMP 0x8E28
1605 #define GL_INT_2_10_10_10_REV 0x8D9F
1634 #ifdef GL_GLEXT_PROTOTYPES
1666 #ifndef GL_VERSION_4_0
1667 #define GL_VERSION_4_0 1
1668 #define GL_SAMPLE_SHADING 0x8C36
1669 #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
1670 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
1671 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
1672 #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
1673 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
1674 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
1675 #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
1676 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
1677 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
1678 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
1679 #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
1680 #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
1681 #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
1682 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
1683 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
1684 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
1685 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
1686 #define GL_MAX_VERTEX_STREAMS 0x8E71
1687 #define GL_DOUBLE_VEC2 0x8FFC
1688 #define GL_DOUBLE_VEC3 0x8FFD
1689 #define GL_DOUBLE_VEC4 0x8FFE
1690 #define GL_DOUBLE_MAT2 0x8F46
1691 #define GL_DOUBLE_MAT3 0x8F47
1692 #define GL_DOUBLE_MAT4 0x8F48
1693 #define GL_DOUBLE_MAT2x3 0x8F49
1694 #define GL_DOUBLE_MAT2x4 0x8F4A
1695 #define GL_DOUBLE_MAT3x2 0x8F4B
1696 #define GL_DOUBLE_MAT3x4 0x8F4C
1697 #define GL_DOUBLE_MAT4x2 0x8F4D
1698 #define GL_DOUBLE_MAT4x3 0x8F4E
1699 #define GL_ACTIVE_SUBROUTINES 0x8DE5
1700 #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
1701 #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
1702 #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
1703 #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
1704 #define GL_MAX_SUBROUTINES 0x8DE7
1705 #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
1706 #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
1707 #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
1708 #define GL_PATCHES 0x000E
1709 #define GL_PATCH_VERTICES 0x8E72
1710 #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
1711 #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
1712 #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
1713 #define GL_TESS_GEN_MODE 0x8E76
1714 #define GL_TESS_GEN_SPACING 0x8E77
1715 #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
1716 #define GL_TESS_GEN_POINT_MODE 0x8E79
1717 #define GL_ISOLINES 0x8E7A
1718 #define GL_FRACTIONAL_ODD 0x8E7B
1719 #define GL_FRACTIONAL_EVEN 0x8E7C
1720 #define GL_MAX_PATCH_VERTICES 0x8E7D
1721 #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
1722 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
1723 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
1724 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
1725 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
1726 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
1727 #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
1728 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
1729 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
1730 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
1731 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
1732 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
1733 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
1734 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
1735 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
1736 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
1737 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
1738 #define GL_TESS_EVALUATION_SHADER 0x8E87
1739 #define GL_TESS_CONTROL_SHADER 0x8E88
1740 #define GL_TRANSFORM_FEEDBACK 0x8E22
1741 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
1742 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
1743 #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
1744 #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
1791 #ifdef GL_GLEXT_PROTOTYPES
1841 #ifndef GL_VERSION_4_1
1842 #define GL_VERSION_4_1 1
1843 #define GL_FIXED 0x140C
1844 #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
1845 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
1846 #define GL_LOW_FLOAT 0x8DF0
1847 #define GL_MEDIUM_FLOAT 0x8DF1
1848 #define GL_HIGH_FLOAT 0x8DF2
1849 #define GL_LOW_INT 0x8DF3
1850 #define GL_MEDIUM_INT 0x8DF4
1851 #define GL_HIGH_INT 0x8DF5
1852 #define GL_SHADER_COMPILER 0x8DFA
1853 #define GL_SHADER_BINARY_FORMATS 0x8DF8
1854 #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
1855 #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
1856 #define GL_MAX_VARYING_VECTORS 0x8DFC
1857 #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
1858 #define GL_RGB565 0x8D62
1859 #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
1860 #define GL_PROGRAM_BINARY_LENGTH 0x8741
1861 #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
1862 #define GL_PROGRAM_BINARY_FORMATS 0x87FF
1863 #define GL_VERTEX_SHADER_BIT 0x00000001
1864 #define GL_FRAGMENT_SHADER_BIT 0x00000002
1865 #define GL_GEOMETRY_SHADER_BIT 0x00000004
1866 #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
1867 #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
1868 #define GL_ALL_SHADER_BITS 0xFFFFFFFF
1869 #define GL_PROGRAM_SEPARABLE 0x8258
1870 #define GL_ACTIVE_PROGRAM 0x8259
1871 #define GL_PROGRAM_PIPELINE_BINDING 0x825A
1872 #define GL_MAX_VIEWPORTS 0x825B
1873 #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
1874 #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
1875 #define GL_LAYER_PROVOKING_VERTEX 0x825E
1876 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
1877 #define GL_UNDEFINED_VERTEX 0x8260
1966 #ifdef GL_GLEXT_PROTOTYPES
2058 #ifndef GL_VERSION_4_2
2059 #define GL_VERSION_4_2 1
2060 #define GL_COPY_READ_BUFFER_BINDING 0x8F36
2061 #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
2062 #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
2063 #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
2064 #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
2065 #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
2066 #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
2067 #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A
2068 #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B
2069 #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C
2070 #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D
2071 #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E
2072 #define GL_NUM_SAMPLE_COUNTS 0x9380
2073 #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC
2074 #define GL_ATOMIC_COUNTER_BUFFER 0x92C0
2075 #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1
2076 #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
2077 #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
2078 #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
2079 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
2080 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
2081 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
2082 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
2083 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
2084 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
2085 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
2086 #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
2087 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
2088 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
2089 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
2090 #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
2091 #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
2092 #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2
2093 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
2094 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
2095 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5
2096 #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6
2097 #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7
2098 #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
2099 #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
2100 #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9
2101 #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
2102 #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB
2103 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
2104 #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
2105 #define GL_UNIFORM_BARRIER_BIT 0x00000004
2106 #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
2107 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
2108 #define GL_COMMAND_BARRIER_BIT 0x00000040
2109 #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
2110 #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
2111 #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
2112 #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
2113 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
2114 #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
2115 #define GL_ALL_BARRIER_BITS 0xFFFFFFFF
2116 #define GL_MAX_IMAGE_UNITS 0x8F38
2117 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
2118 #define GL_IMAGE_BINDING_NAME 0x8F3A
2119 #define GL_IMAGE_BINDING_LEVEL 0x8F3B
2120 #define GL_IMAGE_BINDING_LAYERED 0x8F3C
2121 #define GL_IMAGE_BINDING_LAYER 0x8F3D
2122 #define GL_IMAGE_BINDING_ACCESS 0x8F3E
2123 #define GL_IMAGE_1D 0x904C
2124 #define GL_IMAGE_2D 0x904D
2125 #define GL_IMAGE_3D 0x904E
2126 #define GL_IMAGE_2D_RECT 0x904F
2127 #define GL_IMAGE_CUBE 0x9050
2128 #define GL_IMAGE_BUFFER 0x9051
2129 #define GL_IMAGE_1D_ARRAY 0x9052
2130 #define GL_IMAGE_2D_ARRAY 0x9053
2131 #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054
2132 #define GL_IMAGE_2D_MULTISAMPLE 0x9055
2133 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
2134 #define GL_INT_IMAGE_1D 0x9057
2135 #define GL_INT_IMAGE_2D 0x9058
2136 #define GL_INT_IMAGE_3D 0x9059
2137 #define GL_INT_IMAGE_2D_RECT 0x905A
2138 #define GL_INT_IMAGE_CUBE 0x905B
2139 #define GL_INT_IMAGE_BUFFER 0x905C
2140 #define GL_INT_IMAGE_1D_ARRAY 0x905D
2141 #define GL_INT_IMAGE_2D_ARRAY 0x905E
2142 #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
2143 #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
2144 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
2145 #define GL_UNSIGNED_INT_IMAGE_1D 0x9062
2146 #define GL_UNSIGNED_INT_IMAGE_2D 0x9063
2147 #define GL_UNSIGNED_INT_IMAGE_3D 0x9064
2148 #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
2149 #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
2150 #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
2151 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
2152 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
2153 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
2154 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
2155 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
2156 #define GL_MAX_IMAGE_SAMPLES 0x906D
2157 #define GL_IMAGE_BINDING_FORMAT 0x906E
2158 #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
2159 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
2160 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
2161 #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
2162 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
2163 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
2164 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
2165 #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
2166 #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
2167 #define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
2168 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
2169 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
2170 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
2171 #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
2184 #ifdef GL_GLEXT_PROTOTYPES
2200 #ifndef GL_VERSION_4_3
2201 #define GL_VERSION_4_3 1
2203 #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
2204 #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E
2205 #define GL_COMPRESSED_RGB8_ETC2 0x9274
2206 #define GL_COMPRESSED_SRGB8_ETC2 0x9275
2207 #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
2208 #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
2209 #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278
2210 #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
2211 #define GL_COMPRESSED_R11_EAC 0x9270
2212 #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271
2213 #define GL_COMPRESSED_RG11_EAC 0x9272
2214 #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273
2215 #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
2216 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
2217 #define GL_MAX_ELEMENT_INDEX 0x8D6B
2218 #define GL_COMPUTE_SHADER 0x91B9
2219 #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB
2220 #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
2221 #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD
2222 #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
2223 #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
2224 #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
2225 #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265
2226 #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
2227 #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
2228 #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE
2229 #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF
2230 #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267
2231 #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
2232 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
2233 #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
2234 #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
2235 #define GL_COMPUTE_SHADER_BIT 0x00000020
2236 #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
2237 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
2238 #define GL_DEBUG_CALLBACK_FUNCTION 0x8244
2239 #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
2240 #define GL_DEBUG_SOURCE_API 0x8246
2241 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
2242 #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
2243 #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
2244 #define GL_DEBUG_SOURCE_APPLICATION 0x824A
2245 #define GL_DEBUG_SOURCE_OTHER 0x824B
2246 #define GL_DEBUG_TYPE_ERROR 0x824C
2247 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
2248 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
2249 #define GL_DEBUG_TYPE_PORTABILITY 0x824F
2250 #define GL_DEBUG_TYPE_PERFORMANCE 0x8250
2251 #define GL_DEBUG_TYPE_OTHER 0x8251
2252 #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
2253 #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
2254 #define GL_DEBUG_LOGGED_MESSAGES 0x9145
2255 #define GL_DEBUG_SEVERITY_HIGH 0x9146
2256 #define GL_DEBUG_SEVERITY_MEDIUM 0x9147
2257 #define GL_DEBUG_SEVERITY_LOW 0x9148
2258 #define GL_DEBUG_TYPE_MARKER 0x8268
2259 #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
2260 #define GL_DEBUG_TYPE_POP_GROUP 0x826A
2261 #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
2262 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
2263 #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
2264 #define GL_BUFFER 0x82E0
2265 #define GL_SHADER 0x82E1
2266 #define GL_PROGRAM 0x82E2
2267 #define GL_QUERY 0x82E3
2268 #define GL_PROGRAM_PIPELINE 0x82E4
2269 #define GL_SAMPLER 0x82E6
2270 #define GL_MAX_LABEL_LENGTH 0x82E8
2271 #define GL_DEBUG_OUTPUT 0x92E0
2272 #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
2273 #define GL_MAX_UNIFORM_LOCATIONS 0x826E
2274 #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
2275 #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311
2276 #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312
2277 #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
2278 #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
2279 #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315
2280 #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316
2281 #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317
2282 #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318
2283 #define GL_INTERNALFORMAT_SUPPORTED 0x826F
2284 #define GL_INTERNALFORMAT_PREFERRED 0x8270
2285 #define GL_INTERNALFORMAT_RED_SIZE 0x8271
2286 #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272
2287 #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273
2288 #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274
2289 #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275
2290 #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276
2291 #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277
2292 #define GL_INTERNALFORMAT_RED_TYPE 0x8278
2293 #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279
2294 #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A
2295 #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B
2296 #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C
2297 #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D
2298 #define GL_MAX_WIDTH 0x827E
2299 #define GL_MAX_HEIGHT 0x827F
2300 #define GL_MAX_DEPTH 0x8280
2301 #define GL_MAX_LAYERS 0x8281
2302 #define GL_MAX_COMBINED_DIMENSIONS 0x8282
2303 #define GL_COLOR_COMPONENTS 0x8283
2304 #define GL_DEPTH_COMPONENTS 0x8284
2305 #define GL_STENCIL_COMPONENTS 0x8285
2306 #define GL_COLOR_RENDERABLE 0x8286
2307 #define GL_DEPTH_RENDERABLE 0x8287
2308 #define GL_STENCIL_RENDERABLE 0x8288
2309 #define GL_FRAMEBUFFER_RENDERABLE 0x8289
2310 #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
2311 #define GL_FRAMEBUFFER_BLEND 0x828B
2312 #define GL_READ_PIXELS 0x828C
2313 #define GL_READ_PIXELS_FORMAT 0x828D
2314 #define GL_READ_PIXELS_TYPE 0x828E
2315 #define GL_TEXTURE_IMAGE_FORMAT 0x828F
2316 #define GL_TEXTURE_IMAGE_TYPE 0x8290
2317 #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291
2318 #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292
2319 #define GL_MIPMAP 0x8293
2320 #define GL_MANUAL_GENERATE_MIPMAP 0x8294
2321 #define GL_AUTO_GENERATE_MIPMAP 0x8295
2322 #define GL_COLOR_ENCODING 0x8296
2323 #define GL_SRGB_READ 0x8297
2324 #define GL_SRGB_WRITE 0x8298
2325 #define GL_FILTER 0x829A
2326 #define GL_VERTEX_TEXTURE 0x829B
2327 #define GL_TESS_CONTROL_TEXTURE 0x829C
2328 #define GL_TESS_EVALUATION_TEXTURE 0x829D
2329 #define GL_GEOMETRY_TEXTURE 0x829E
2330 #define GL_FRAGMENT_TEXTURE 0x829F
2331 #define GL_COMPUTE_TEXTURE 0x82A0
2332 #define GL_TEXTURE_SHADOW 0x82A1
2333 #define GL_TEXTURE_GATHER 0x82A2
2334 #define GL_TEXTURE_GATHER_SHADOW 0x82A3
2335 #define GL_SHADER_IMAGE_LOAD 0x82A4
2336 #define GL_SHADER_IMAGE_STORE 0x82A5
2337 #define GL_SHADER_IMAGE_ATOMIC 0x82A6
2338 #define GL_IMAGE_TEXEL_SIZE 0x82A7
2339 #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8
2340 #define GL_IMAGE_PIXEL_FORMAT 0x82A9
2341 #define GL_IMAGE_PIXEL_TYPE 0x82AA
2342 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
2343 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
2344 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
2345 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
2346 #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
2347 #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
2348 #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3
2349 #define GL_CLEAR_BUFFER 0x82B4
2350 #define GL_TEXTURE_VIEW 0x82B5
2351 #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6
2352 #define GL_FULL_SUPPORT 0x82B7
2353 #define GL_CAVEAT_SUPPORT 0x82B8
2354 #define GL_IMAGE_CLASS_4_X_32 0x82B9
2355 #define GL_IMAGE_CLASS_2_X_32 0x82BA
2356 #define GL_IMAGE_CLASS_1_X_32 0x82BB
2357 #define GL_IMAGE_CLASS_4_X_16 0x82BC
2358 #define GL_IMAGE_CLASS_2_X_16 0x82BD
2359 #define GL_IMAGE_CLASS_1_X_16 0x82BE
2360 #define GL_IMAGE_CLASS_4_X_8 0x82BF
2361 #define GL_IMAGE_CLASS_2_X_8 0x82C0
2362 #define GL_IMAGE_CLASS_1_X_8 0x82C1
2363 #define GL_IMAGE_CLASS_11_11_10 0x82C2
2364 #define GL_IMAGE_CLASS_10_10_10_2 0x82C3
2365 #define GL_VIEW_CLASS_128_BITS 0x82C4
2366 #define GL_VIEW_CLASS_96_BITS 0x82C5
2367 #define GL_VIEW_CLASS_64_BITS 0x82C6
2368 #define GL_VIEW_CLASS_48_BITS 0x82C7
2369 #define GL_VIEW_CLASS_32_BITS 0x82C8
2370 #define GL_VIEW_CLASS_24_BITS 0x82C9
2371 #define GL_VIEW_CLASS_16_BITS 0x82CA
2372 #define GL_VIEW_CLASS_8_BITS 0x82CB
2373 #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
2374 #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD
2375 #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE
2376 #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF
2377 #define GL_VIEW_CLASS_RGTC1_RED 0x82D0
2378 #define GL_VIEW_CLASS_RGTC2_RG 0x82D1
2379 #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
2380 #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
2381 #define GL_UNIFORM 0x92E1
2382 #define GL_UNIFORM_BLOCK 0x92E2
2383 #define GL_PROGRAM_INPUT 0x92E3
2384 #define GL_PROGRAM_OUTPUT 0x92E4
2385 #define GL_BUFFER_VARIABLE 0x92E5
2386 #define GL_SHADER_STORAGE_BLOCK 0x92E6
2387 #define GL_VERTEX_SUBROUTINE 0x92E8
2388 #define GL_TESS_CONTROL_SUBROUTINE 0x92E9
2389 #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA
2390 #define GL_GEOMETRY_SUBROUTINE 0x92EB
2391 #define GL_FRAGMENT_SUBROUTINE 0x92EC
2392 #define GL_COMPUTE_SUBROUTINE 0x92ED
2393 #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE
2394 #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
2395 #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
2396 #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1
2397 #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2
2398 #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3
2399 #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4
2400 #define GL_ACTIVE_RESOURCES 0x92F5
2401 #define GL_MAX_NAME_LENGTH 0x92F6
2402 #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7
2403 #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
2404 #define GL_NAME_LENGTH 0x92F9
2405 #define GL_TYPE 0x92FA
2406 #define GL_ARRAY_SIZE 0x92FB
2407 #define GL_OFFSET 0x92FC
2408 #define GL_BLOCK_INDEX 0x92FD
2409 #define GL_ARRAY_STRIDE 0x92FE
2410 #define GL_MATRIX_STRIDE 0x92FF
2411 #define GL_IS_ROW_MAJOR 0x9300
2412 #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301
2413 #define GL_BUFFER_BINDING 0x9302
2414 #define GL_BUFFER_DATA_SIZE 0x9303
2415 #define GL_NUM_ACTIVE_VARIABLES 0x9304
2416 #define GL_ACTIVE_VARIABLES 0x9305
2417 #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
2418 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
2419 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
2420 #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
2421 #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
2422 #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
2423 #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C
2424 #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D
2425 #define GL_LOCATION 0x930E
2426 #define GL_LOCATION_INDEX 0x930F
2427 #define GL_IS_PER_PATCH 0x92E7
2428 #define GL_SHADER_STORAGE_BUFFER 0x90D2
2429 #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3
2430 #define GL_SHADER_STORAGE_BUFFER_START 0x90D4
2431 #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5
2432 #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
2433 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
2434 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
2435 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
2436 #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
2437 #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
2438 #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
2439 #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
2440 #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE
2441 #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
2442 #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000
2443 #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
2444 #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA
2445 #define GL_TEXTURE_BUFFER_OFFSET 0x919D
2446 #define GL_TEXTURE_BUFFER_SIZE 0x919E
2447 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
2448 #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB
2449 #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC
2450 #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD
2451 #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE
2452 #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
2453 #define GL_VERTEX_ATTRIB_BINDING 0x82D4
2454 #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5
2455 #define GL_VERTEX_BINDING_DIVISOR 0x82D6
2456 #define GL_VERTEX_BINDING_OFFSET 0x82D7
2457 #define GL_VERTEX_BINDING_STRIDE 0x82D8
2458 #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
2459 #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA
2460 #define GL_VERTEX_BINDING_BUFFER 0x8F4F
2465 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);
2504 #ifdef GL_GLEXT_PROTOTYPES
2509 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);
2551 #ifndef GL_VERSION_4_4
2552 #define GL_VERSION_4_4 1
2553 #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5
2554 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
2555 #define GL_TEXTURE_BUFFER_BINDING 0x8C2A
2556 #define GL_MAP_PERSISTENT_BIT 0x0040
2557 #define GL_MAP_COHERENT_BIT 0x0080
2558 #define GL_DYNAMIC_STORAGE_BIT 0x0100
2559 #define GL_CLIENT_STORAGE_BIT 0x0200
2560 #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
2561 #define GL_BUFFER_IMMUTABLE_STORAGE 0x821F
2562 #define GL_BUFFER_STORAGE_FLAGS 0x8220
2563 #define GL_CLEAR_TEXTURE 0x9365
2564 #define GL_LOCATION_COMPONENT 0x934A
2565 #define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
2566 #define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
2567 #define GL_QUERY_BUFFER 0x9192
2568 #define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000
2569 #define GL_QUERY_BUFFER_BINDING 0x9193
2570 #define GL_QUERY_RESULT_NO_WAIT 0x9194
2571 #define GL_MIRROR_CLAMP_TO_EDGE 0x8743
2574 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);
2581 #ifdef GL_GLEXT_PROTOTYPES
2584 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);
2594 #ifndef GL_VERSION_4_5
2595 #define GL_VERSION_4_5 1
2596 #define GL_CONTEXT_LOST 0x0507
2597 #define GL_NEGATIVE_ONE_TO_ONE 0x935E
2598 #define GL_ZERO_TO_ONE 0x935F
2599 #define GL_CLIP_ORIGIN 0x935C
2600 #define GL_CLIP_DEPTH_MODE 0x935D
2601 #define GL_QUERY_WAIT_INVERTED 0x8E17
2602 #define GL_QUERY_NO_WAIT_INVERTED 0x8E18
2603 #define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19
2604 #define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A
2605 #define GL_MAX_CULL_DISTANCES 0x82F9
2606 #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA
2607 #define GL_TEXTURE_TARGET 0x1006
2608 #define GL_QUERY_TARGET 0x82EA
2609 #define GL_GUILTY_CONTEXT_RESET 0x8253
2610 #define GL_INNOCENT_CONTEXT_RESET 0x8254
2611 #define GL_UNKNOWN_CONTEXT_RESET 0x8255
2612 #define GL_RESET_NOTIFICATION_STRATEGY 0x8256
2613 #define GL_LOSE_CONTEXT_ON_RESET 0x8252
2614 #define GL_NO_RESET_NOTIFICATION 0x8261
2615 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
2616 #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
2617 #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
2654 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);
2672 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);
2675 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);
2717 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);
2728 #ifdef GL_GLEXT_PROTOTYPES
2765 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);
2783 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);
2786 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);
2828 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);
2842 #ifndef GL_VERSION_4_6
2843 #define GL_VERSION_4_6 1
2844 #define GL_SHADER_BINARY_FORMAT_SPIR_V 0x9551
2845 #define GL_SPIR_V_BINARY 0x9552
2846 #define GL_PARAMETER_BUFFER 0x80EE
2847 #define GL_PARAMETER_BUFFER_BINDING 0x80EF
2848 #define GL_CONTEXT_FLAG_NO_ERROR_BIT 0x00000008
2849 #define GL_VERTICES_SUBMITTED 0x82EE
2850 #define GL_PRIMITIVES_SUBMITTED 0x82EF
2851 #define GL_VERTEX_SHADER_INVOCATIONS 0x82F0
2852 #define GL_TESS_CONTROL_SHADER_PATCHES 0x82F1
2853 #define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2
2854 #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3
2855 #define GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4
2856 #define GL_COMPUTE_SHADER_INVOCATIONS 0x82F5
2857 #define GL_CLIPPING_INPUT_PRIMITIVES 0x82F6
2858 #define GL_CLIPPING_OUTPUT_PRIMITIVES 0x82F7
2859 #define GL_POLYGON_OFFSET_CLAMP 0x8E1B
2860 #define GL_SPIR_V_EXTENSIONS 0x9553
2861 #define GL_NUM_SPIR_V_EXTENSIONS 0x9554
2862 #define GL_TEXTURE_MAX_ANISOTROPY 0x84FE
2863 #define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF
2864 #define GL_TRANSFORM_FEEDBACK_OVERFLOW 0x82EC
2865 #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED
2870 #ifdef GL_GLEXT_PROTOTYPES
2878 #ifndef GL_ARB_ES2_compatibility
2879 #define GL_ARB_ES2_compatibility 1
2882 #ifndef GL_ARB_ES3_1_compatibility
2883 #define GL_ARB_ES3_1_compatibility 1
2886 #ifndef GL_ARB_ES3_2_compatibility
2887 #define GL_ARB_ES3_2_compatibility 1
2888 #define GL_PRIMITIVE_BOUNDING_BOX_ARB 0x92BE
2889 #define GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB 0x9381
2890 #define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB 0x9382
2892 #ifdef GL_GLEXT_PROTOTYPES
2897 #ifndef GL_ARB_ES3_compatibility
2898 #define GL_ARB_ES3_compatibility 1
2901 #ifndef GL_ARB_arrays_of_arrays
2902 #define GL_ARB_arrays_of_arrays 1
2905 #ifndef GL_ARB_base_instance
2906 #define GL_ARB_base_instance 1
2909 #ifndef GL_ARB_bindless_texture
2910 #define GL_ARB_bindless_texture 1
2912 #define GL_UNSIGNED_INT64_ARB 0x140F
2929 #ifdef GL_GLEXT_PROTOTYPES
2949 #ifndef GL_ARB_blend_func_extended
2950 #define GL_ARB_blend_func_extended 1
2953 #ifndef GL_ARB_buffer_storage
2954 #define GL_ARB_buffer_storage 1
2957 #ifndef GL_ARB_cl_event
2958 #define GL_ARB_cl_event 1
2961 #define GL_SYNC_CL_EVENT_ARB 0x8240
2962 #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
2964 #ifdef GL_GLEXT_PROTOTYPES
2969 #ifndef GL_ARB_clear_buffer_object
2970 #define GL_ARB_clear_buffer_object 1
2973 #ifndef GL_ARB_clear_texture
2974 #define GL_ARB_clear_texture 1
2977 #ifndef GL_ARB_clip_control
2978 #define GL_ARB_clip_control 1
2981 #ifndef GL_ARB_compressed_texture_pixel_storage
2982 #define GL_ARB_compressed_texture_pixel_storage 1
2985 #ifndef GL_ARB_compute_shader
2986 #define GL_ARB_compute_shader 1
2989 #ifndef GL_ARB_compute_variable_group_size
2990 #define GL_ARB_compute_variable_group_size 1
2991 #define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
2992 #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
2993 #define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
2994 #define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
2996 #ifdef GL_GLEXT_PROTOTYPES
3001 #ifndef GL_ARB_conditional_render_inverted
3002 #define GL_ARB_conditional_render_inverted 1
3005 #ifndef GL_ARB_conservative_depth
3006 #define GL_ARB_conservative_depth 1
3009 #ifndef GL_ARB_copy_buffer
3010 #define GL_ARB_copy_buffer 1
3013 #ifndef GL_ARB_copy_image
3014 #define GL_ARB_copy_image 1
3017 #ifndef GL_ARB_cull_distance
3018 #define GL_ARB_cull_distance 1
3021 #ifndef GL_ARB_debug_output
3022 #define GL_ARB_debug_output 1
3024 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
3025 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
3026 #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
3027 #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
3028 #define GL_DEBUG_SOURCE_API_ARB 0x8246
3029 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
3030 #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
3031 #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
3032 #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
3033 #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
3034 #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
3035 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
3036 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
3037 #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
3038 #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
3039 #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
3040 #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
3041 #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
3042 #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
3043 #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
3044 #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
3045 #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
3050 #ifdef GL_GLEXT_PROTOTYPES
3058 #ifndef GL_ARB_depth_buffer_float
3059 #define GL_ARB_depth_buffer_float 1
3062 #ifndef GL_ARB_depth_clamp
3063 #define GL_ARB_depth_clamp 1
3066 #ifndef GL_ARB_derivative_control
3067 #define GL_ARB_derivative_control 1
3070 #ifndef GL_ARB_direct_state_access
3071 #define GL_ARB_direct_state_access 1
3074 #ifndef GL_ARB_draw_buffers_blend
3075 #define GL_ARB_draw_buffers_blend 1
3080 #ifdef GL_GLEXT_PROTOTYPES
3088 #ifndef GL_ARB_draw_elements_base_vertex
3089 #define GL_ARB_draw_elements_base_vertex 1
3092 #ifndef GL_ARB_draw_indirect
3093 #define GL_ARB_draw_indirect 1
3096 #ifndef GL_ARB_draw_instanced
3097 #define GL_ARB_draw_instanced 1
3100 #ifdef GL_GLEXT_PROTOTYPES
3106 #ifndef GL_ARB_enhanced_layouts
3107 #define GL_ARB_enhanced_layouts 1
3110 #ifndef GL_ARB_explicit_attrib_location
3111 #define GL_ARB_explicit_attrib_location 1
3114 #ifndef GL_ARB_explicit_uniform_location
3115 #define GL_ARB_explicit_uniform_location 1
3118 #ifndef GL_ARB_fragment_coord_conventions
3119 #define GL_ARB_fragment_coord_conventions 1
3122 #ifndef GL_ARB_fragment_layer_viewport
3123 #define GL_ARB_fragment_layer_viewport 1
3126 #ifndef GL_ARB_fragment_shader_interlock
3127 #define GL_ARB_fragment_shader_interlock 1
3130 #ifndef GL_ARB_framebuffer_no_attachments
3131 #define GL_ARB_framebuffer_no_attachments 1
3134 #ifndef GL_ARB_framebuffer_object
3135 #define GL_ARB_framebuffer_object 1
3138 #ifndef GL_ARB_framebuffer_sRGB
3139 #define GL_ARB_framebuffer_sRGB 1
3142 #ifndef GL_ARB_geometry_shader4
3143 #define GL_ARB_geometry_shader4 1
3144 #define GL_LINES_ADJACENCY_ARB 0x000A
3145 #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
3146 #define GL_TRIANGLES_ADJACENCY_ARB 0x000C
3147 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
3148 #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
3149 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
3150 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
3151 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
3152 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
3153 #define GL_GEOMETRY_SHADER_ARB 0x8DD9
3154 #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
3155 #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
3156 #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
3157 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
3158 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
3159 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
3160 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
3161 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
3166 #ifdef GL_GLEXT_PROTOTYPES
3174 #ifndef GL_ARB_get_program_binary
3175 #define GL_ARB_get_program_binary 1
3178 #ifndef GL_ARB_get_texture_sub_image
3179 #define GL_ARB_get_texture_sub_image 1
3182 #ifndef GL_ARB_gl_spirv
3183 #define GL_ARB_gl_spirv 1
3184 #define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551
3185 #define GL_SPIR_V_BINARY_ARB 0x9552
3187 #ifdef GL_GLEXT_PROTOTYPES
3192 #ifndef GL_ARB_gpu_shader5
3193 #define GL_ARB_gpu_shader5 1
3196 #ifndef GL_ARB_gpu_shader_fp64
3197 #define GL_ARB_gpu_shader_fp64 1
3200 #ifndef GL_ARB_gpu_shader_int64
3201 #define GL_ARB_gpu_shader_int64 1
3202 #define GL_INT64_ARB 0x140E
3203 #define GL_INT64_VEC2_ARB 0x8FE9
3204 #define GL_INT64_VEC3_ARB 0x8FEA
3205 #define GL_INT64_VEC4_ARB 0x8FEB
3206 #define GL_UNSIGNED_INT64_VEC2_ARB 0x8FF5
3207 #define GL_UNSIGNED_INT64_VEC3_ARB 0x8FF6
3208 #define GL_UNSIGNED_INT64_VEC4_ARB 0x8FF7
3245 #ifdef GL_GLEXT_PROTOTYPES
3285 #ifndef GL_ARB_half_float_vertex
3286 #define GL_ARB_half_float_vertex 1
3289 #ifndef GL_ARB_imaging
3290 #define GL_ARB_imaging 1
3293 #ifndef GL_ARB_indirect_parameters
3294 #define GL_ARB_indirect_parameters 1
3295 #define GL_PARAMETER_BUFFER_ARB 0x80EE
3296 #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF
3299 #ifdef GL_GLEXT_PROTOTYPES
3305 #ifndef GL_ARB_instanced_arrays
3306 #define GL_ARB_instanced_arrays 1
3307 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
3309 #ifdef GL_GLEXT_PROTOTYPES
3314 #ifndef GL_ARB_internalformat_query
3315 #define GL_ARB_internalformat_query 1
3318 #ifndef GL_ARB_internalformat_query2
3319 #define GL_ARB_internalformat_query2 1
3320 #define GL_SRGB_DECODE_ARB 0x8299
3321 #define GL_VIEW_CLASS_EAC_R11 0x9383
3322 #define GL_VIEW_CLASS_EAC_RG11 0x9384
3323 #define GL_VIEW_CLASS_ETC2_RGB 0x9385
3324 #define GL_VIEW_CLASS_ETC2_RGBA 0x9386
3325 #define GL_VIEW_CLASS_ETC2_EAC_RGBA 0x9387
3326 #define GL_VIEW_CLASS_ASTC_4x4_RGBA 0x9388
3327 #define GL_VIEW_CLASS_ASTC_5x4_RGBA 0x9389
3328 #define GL_VIEW_CLASS_ASTC_5x5_RGBA 0x938A
3329 #define GL_VIEW_CLASS_ASTC_6x5_RGBA 0x938B
3330 #define GL_VIEW_CLASS_ASTC_6x6_RGBA 0x938C
3331 #define GL_VIEW_CLASS_ASTC_8x5_RGBA 0x938D
3332 #define GL_VIEW_CLASS_ASTC_8x6_RGBA 0x938E
3333 #define GL_VIEW_CLASS_ASTC_8x8_RGBA 0x938F
3334 #define GL_VIEW_CLASS_ASTC_10x5_RGBA 0x9390
3335 #define GL_VIEW_CLASS_ASTC_10x6_RGBA 0x9391
3336 #define GL_VIEW_CLASS_ASTC_10x8_RGBA 0x9392
3337 #define GL_VIEW_CLASS_ASTC_10x10_RGBA 0x9393
3338 #define GL_VIEW_CLASS_ASTC_12x10_RGBA 0x9394
3339 #define GL_VIEW_CLASS_ASTC_12x12_RGBA 0x9395
3342 #ifndef GL_ARB_invalidate_subdata
3343 #define GL_ARB_invalidate_subdata 1
3346 #ifndef GL_ARB_map_buffer_alignment
3347 #define GL_ARB_map_buffer_alignment 1
3350 #ifndef GL_ARB_map_buffer_range
3351 #define GL_ARB_map_buffer_range 1
3354 #ifndef GL_ARB_multi_bind
3355 #define GL_ARB_multi_bind 1
3358 #ifndef GL_ARB_multi_draw_indirect
3359 #define GL_ARB_multi_draw_indirect 1
3362 #ifndef GL_ARB_occlusion_query2
3363 #define GL_ARB_occlusion_query2 1
3366 #ifndef GL_ARB_parallel_shader_compile
3367 #define GL_ARB_parallel_shader_compile 1
3368 #define GL_MAX_SHADER_COMPILER_THREADS_ARB 0x91B0
3369 #define GL_COMPLETION_STATUS_ARB 0x91B1
3371 #ifdef GL_GLEXT_PROTOTYPES
3376 #ifndef GL_ARB_pipeline_statistics_query
3377 #define GL_ARB_pipeline_statistics_query 1
3378 #define GL_VERTICES_SUBMITTED_ARB 0x82EE
3379 #define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF
3380 #define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0
3381 #define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1
3382 #define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2
3383 #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3
3384 #define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4
3385 #define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5
3386 #define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6
3387 #define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7
3390 #ifndef GL_ARB_pixel_buffer_object
3391 #define GL_ARB_pixel_buffer_object 1
3392 #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
3393 #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
3394 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
3395 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
3398 #ifndef GL_ARB_polygon_offset_clamp
3399 #define GL_ARB_polygon_offset_clamp 1
3402 #ifndef GL_ARB_post_depth_coverage
3403 #define GL_ARB_post_depth_coverage 1
3406 #ifndef GL_ARB_program_interface_query
3407 #define GL_ARB_program_interface_query 1
3410 #ifndef GL_ARB_provoking_vertex
3411 #define GL_ARB_provoking_vertex 1
3414 #ifndef GL_ARB_query_buffer_object
3415 #define GL_ARB_query_buffer_object 1
3418 #ifndef GL_ARB_robust_buffer_access_behavior
3419 #define GL_ARB_robust_buffer_access_behavior 1
3422 #ifndef GL_ARB_robustness
3423 #define GL_ARB_robustness 1
3424 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
3425 #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
3426 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
3427 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
3428 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
3429 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
3430 #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
3439 #ifdef GL_GLEXT_PROTOTYPES
3451 #ifndef GL_ARB_robustness_isolation
3452 #define GL_ARB_robustness_isolation 1
3455 #ifndef GL_ARB_sample_locations
3456 #define GL_ARB_sample_locations 1
3457 #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB 0x933D
3458 #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB 0x933E
3459 #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB 0x933F
3460 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340
3461 #define GL_SAMPLE_LOCATION_ARB 0x8E50
3462 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB 0x9341
3463 #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB 0x9342
3464 #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB 0x9343
3468 #ifdef GL_GLEXT_PROTOTYPES
3475 #ifndef GL_ARB_sample_shading
3476 #define GL_ARB_sample_shading 1
3477 #define GL_SAMPLE_SHADING_ARB 0x8C36
3478 #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
3480 #ifdef GL_GLEXT_PROTOTYPES
3485 #ifndef GL_ARB_sampler_objects
3486 #define GL_ARB_sampler_objects 1
3489 #ifndef GL_ARB_seamless_cube_map
3490 #define GL_ARB_seamless_cube_map 1
3493 #ifndef GL_ARB_seamless_cubemap_per_texture
3494 #define GL_ARB_seamless_cubemap_per_texture 1
3497 #ifndef GL_ARB_separate_shader_objects
3498 #define GL_ARB_separate_shader_objects 1
3501 #ifndef GL_ARB_shader_atomic_counter_ops
3502 #define GL_ARB_shader_atomic_counter_ops 1
3505 #ifndef GL_ARB_shader_atomic_counters
3506 #define GL_ARB_shader_atomic_counters 1
3509 #ifndef GL_ARB_shader_ballot
3510 #define GL_ARB_shader_ballot 1
3513 #ifndef GL_ARB_shader_bit_encoding
3514 #define GL_ARB_shader_bit_encoding 1
3517 #ifndef GL_ARB_shader_clock
3518 #define GL_ARB_shader_clock 1
3521 #ifndef GL_ARB_shader_draw_parameters
3522 #define GL_ARB_shader_draw_parameters 1
3525 #ifndef GL_ARB_shader_group_vote
3526 #define GL_ARB_shader_group_vote 1
3529 #ifndef GL_ARB_shader_image_load_store
3530 #define GL_ARB_shader_image_load_store 1
3533 #ifndef GL_ARB_shader_image_size
3534 #define GL_ARB_shader_image_size 1
3537 #ifndef GL_ARB_shader_precision
3538 #define GL_ARB_shader_precision 1
3541 #ifndef GL_ARB_shader_stencil_export
3542 #define GL_ARB_shader_stencil_export 1
3545 #ifndef GL_ARB_shader_storage_buffer_object
3546 #define GL_ARB_shader_storage_buffer_object 1
3549 #ifndef GL_ARB_shader_subroutine
3550 #define GL_ARB_shader_subroutine 1
3553 #ifndef GL_ARB_shader_texture_image_samples
3554 #define GL_ARB_shader_texture_image_samples 1
3557 #ifndef GL_ARB_shader_viewport_layer_array
3558 #define GL_ARB_shader_viewport_layer_array 1
3561 #ifndef GL_ARB_shading_language_420pack
3562 #define GL_ARB_shading_language_420pack 1
3565 #ifndef GL_ARB_shading_language_include
3566 #define GL_ARB_shading_language_include 1
3567 #define GL_SHADER_INCLUDE_ARB 0x8DAE
3568 #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
3569 #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
3576 #ifdef GL_GLEXT_PROTOTYPES
3586 #ifndef GL_ARB_shading_language_packing
3587 #define GL_ARB_shading_language_packing 1
3590 #ifndef GL_ARB_sparse_buffer
3591 #define GL_ARB_sparse_buffer 1
3592 #define GL_SPARSE_STORAGE_BIT_ARB 0x0400
3593 #define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8
3597 #ifdef GL_GLEXT_PROTOTYPES
3604 #ifndef GL_ARB_sparse_texture
3605 #define GL_ARB_sparse_texture 1
3606 #define GL_TEXTURE_SPARSE_ARB 0x91A6
3607 #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7
3608 #define GL_NUM_SPARSE_LEVELS_ARB 0x91AA
3609 #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
3610 #define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195
3611 #define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196
3612 #define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197
3613 #define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198
3614 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
3615 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
3616 #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
3618 #ifdef GL_GLEXT_PROTOTYPES
3623 #ifndef GL_ARB_sparse_texture2
3624 #define GL_ARB_sparse_texture2 1
3627 #ifndef GL_ARB_sparse_texture_clamp
3628 #define GL_ARB_sparse_texture_clamp 1
3631 #ifndef GL_ARB_spirv_extensions
3632 #define GL_ARB_spirv_extensions 1
3635 #ifndef GL_ARB_stencil_texturing
3636 #define GL_ARB_stencil_texturing 1
3640 #define GL_ARB_sync 1
3643 #ifndef GL_ARB_tessellation_shader
3644 #define GL_ARB_tessellation_shader 1
3647 #ifndef GL_ARB_texture_barrier
3648 #define GL_ARB_texture_barrier 1
3651 #ifndef GL_ARB_texture_border_clamp
3652 #define GL_ARB_texture_border_clamp 1
3653 #define GL_CLAMP_TO_BORDER_ARB 0x812D
3656 #ifndef GL_ARB_texture_buffer_object
3657 #define GL_ARB_texture_buffer_object 1
3658 #define GL_TEXTURE_BUFFER_ARB 0x8C2A
3659 #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
3660 #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
3661 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
3662 #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
3664 #ifdef GL_GLEXT_PROTOTYPES
3669 #ifndef GL_ARB_texture_buffer_object_rgb32
3670 #define GL_ARB_texture_buffer_object_rgb32 1
3673 #ifndef GL_ARB_texture_buffer_range
3674 #define GL_ARB_texture_buffer_range 1
3677 #ifndef GL_ARB_texture_compression_bptc
3678 #define GL_ARB_texture_compression_bptc 1
3679 #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
3680 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
3681 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
3682 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
3685 #ifndef GL_ARB_texture_compression_rgtc
3686 #define GL_ARB_texture_compression_rgtc 1
3689 #ifndef GL_ARB_texture_cube_map_array
3690 #define GL_ARB_texture_cube_map_array 1
3691 #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
3692 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
3693 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
3694 #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
3695 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
3696 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
3697 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
3700 #ifndef GL_ARB_texture_filter_anisotropic
3701 #define GL_ARB_texture_filter_anisotropic 1
3704 #ifndef GL_ARB_texture_filter_minmax
3705 #define GL_ARB_texture_filter_minmax 1
3706 #define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366
3707 #define GL_WEIGHTED_AVERAGE_ARB 0x9367
3710 #ifndef GL_ARB_texture_gather
3711 #define GL_ARB_texture_gather 1
3712 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
3713 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
3714 #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
3717 #ifndef GL_ARB_texture_mirror_clamp_to_edge
3718 #define GL_ARB_texture_mirror_clamp_to_edge 1
3721 #ifndef GL_ARB_texture_mirrored_repeat
3722 #define GL_ARB_texture_mirrored_repeat 1
3723 #define GL_MIRRORED_REPEAT_ARB 0x8370
3726 #ifndef GL_ARB_texture_multisample
3727 #define GL_ARB_texture_multisample 1
3730 #ifndef GL_ARB_texture_non_power_of_two
3731 #define GL_ARB_texture_non_power_of_two 1
3734 #ifndef GL_ARB_texture_query_levels
3735 #define GL_ARB_texture_query_levels 1
3738 #ifndef GL_ARB_texture_query_lod
3739 #define GL_ARB_texture_query_lod 1
3742 #ifndef GL_ARB_texture_rg
3743 #define GL_ARB_texture_rg 1
3746 #ifndef GL_ARB_texture_rgb10_a2ui
3747 #define GL_ARB_texture_rgb10_a2ui 1
3750 #ifndef GL_ARB_texture_stencil8
3751 #define GL_ARB_texture_stencil8 1
3754 #ifndef GL_ARB_texture_storage
3755 #define GL_ARB_texture_storage 1
3758 #ifndef GL_ARB_texture_storage_multisample
3759 #define GL_ARB_texture_storage_multisample 1
3762 #ifndef GL_ARB_texture_swizzle
3763 #define GL_ARB_texture_swizzle 1
3766 #ifndef GL_ARB_texture_view
3767 #define GL_ARB_texture_view 1
3770 #ifndef GL_ARB_timer_query
3771 #define GL_ARB_timer_query 1
3774 #ifndef GL_ARB_transform_feedback2
3775 #define GL_ARB_transform_feedback2 1
3778 #ifndef GL_ARB_transform_feedback3
3779 #define GL_ARB_transform_feedback3 1
3782 #ifndef GL_ARB_transform_feedback_instanced
3783 #define GL_ARB_transform_feedback_instanced 1
3786 #ifndef GL_ARB_transform_feedback_overflow_query
3787 #define GL_ARB_transform_feedback_overflow_query 1
3788 #define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC
3789 #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED
3792 #ifndef GL_ARB_uniform_buffer_object
3793 #define GL_ARB_uniform_buffer_object 1
3796 #ifndef GL_ARB_vertex_array_bgra
3797 #define GL_ARB_vertex_array_bgra 1
3800 #ifndef GL_ARB_vertex_array_object
3801 #define GL_ARB_vertex_array_object 1
3804 #ifndef GL_ARB_vertex_attrib_64bit
3805 #define GL_ARB_vertex_attrib_64bit 1
3808 #ifndef GL_ARB_vertex_attrib_binding
3809 #define GL_ARB_vertex_attrib_binding 1
3812 #ifndef GL_ARB_vertex_type_10f_11f_11f_rev
3813 #define GL_ARB_vertex_type_10f_11f_11f_rev 1
3816 #ifndef GL_ARB_vertex_type_2_10_10_10_rev
3817 #define GL_ARB_vertex_type_2_10_10_10_rev 1
3820 #ifndef GL_ARB_viewport_array
3821 #define GL_ARB_viewport_array 1
3824 #ifdef GL_GLEXT_PROTOTYPES
3830 #ifndef GL_KHR_blend_equation_advanced
3831 #define GL_KHR_blend_equation_advanced 1
3832 #define GL_MULTIPLY_KHR 0x9294
3833 #define GL_SCREEN_KHR 0x9295
3834 #define GL_OVERLAY_KHR 0x9296
3835 #define GL_DARKEN_KHR 0x9297
3836 #define GL_LIGHTEN_KHR 0x9298
3837 #define GL_COLORDODGE_KHR 0x9299
3838 #define GL_COLORBURN_KHR 0x929A
3839 #define GL_HARDLIGHT_KHR 0x929B
3840 #define GL_SOFTLIGHT_KHR 0x929C
3841 #define GL_DIFFERENCE_KHR 0x929E
3842 #define GL_EXCLUSION_KHR 0x92A0
3843 #define GL_HSL_HUE_KHR 0x92AD
3844 #define GL_HSL_SATURATION_KHR 0x92AE
3845 #define GL_HSL_COLOR_KHR 0x92AF
3846 #define GL_HSL_LUMINOSITY_KHR 0x92B0
3848 #ifdef GL_GLEXT_PROTOTYPES
3853 #ifndef GL_KHR_blend_equation_advanced_coherent
3854 #define GL_KHR_blend_equation_advanced_coherent 1
3855 #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
3858 #ifndef GL_KHR_context_flush_control
3859 #define GL_KHR_context_flush_control 1
3862 #ifndef GL_KHR_debug
3863 #define GL_KHR_debug 1
3866 #ifndef GL_KHR_no_error
3867 #define GL_KHR_no_error 1
3868 #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
3871 #ifndef GL_KHR_parallel_shader_compile
3872 #define GL_KHR_parallel_shader_compile 1
3873 #define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0
3874 #define GL_COMPLETION_STATUS_KHR 0x91B1
3876 #ifdef GL_GLEXT_PROTOTYPES
3881 #ifndef GL_KHR_robust_buffer_access_behavior
3882 #define GL_KHR_robust_buffer_access_behavior 1
3885 #ifndef GL_KHR_robustness
3886 #define GL_KHR_robustness 1
3887 #define GL_CONTEXT_ROBUST_ACCESS 0x90F3
3890 #ifndef GL_KHR_shader_subgroup
3891 #define GL_KHR_shader_subgroup 1
3892 #define GL_SUBGROUP_SIZE_KHR 0x9532
3893 #define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533
3894 #define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534
3895 #define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535
3896 #define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001
3897 #define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002
3898 #define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004
3899 #define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008
3900 #define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010
3901 #define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020
3902 #define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040
3903 #define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080
3906 #ifndef GL_KHR_texture_compression_astc_hdr
3907 #define GL_KHR_texture_compression_astc_hdr 1
3908 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
3909 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
3910 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
3911 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
3912 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
3913 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
3914 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
3915 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
3916 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
3917 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
3918 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
3919 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
3920 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
3921 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
3922 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
3923 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
3924 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
3925 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
3926 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
3927 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
3928 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
3929 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
3930 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
3931 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
3932 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
3933 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
3934 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
3935 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
3938 #ifndef GL_KHR_texture_compression_astc_ldr
3939 #define GL_KHR_texture_compression_astc_ldr 1
3942 #ifndef GL_KHR_texture_compression_astc_sliced_3d
3943 #define GL_KHR_texture_compression_astc_sliced_3d 1
3946 #ifndef GL_AMD_framebuffer_multisample_advanced
3947 #define GL_AMD_framebuffer_multisample_advanced 1
3948 #define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2
3949 #define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3
3950 #define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4
3951 #define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5
3952 #define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6
3953 #define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7
3956 #ifdef GL_GLEXT_PROTOTYPES
3962 #ifndef GL_AMD_performance_monitor
3963 #define GL_AMD_performance_monitor 1
3964 #define GL_COUNTER_TYPE_AMD 0x8BC0
3965 #define GL_COUNTER_RANGE_AMD 0x8BC1
3966 #define GL_UNSIGNED_INT64_AMD 0x8BC2
3967 #define GL_PERCENTAGE_AMD 0x8BC3
3968 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
3969 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
3970 #define GL_PERFMON_RESULT_AMD 0x8BC6
3982 #ifdef GL_GLEXT_PROTOTYPES
3997 #ifndef GL_APPLE_rgb_422
3998 #define GL_APPLE_rgb_422 1
3999 #define GL_RGB_422_APPLE 0x8A1F
4000 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
4001 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
4002 #define GL_RGB_RAW_422_APPLE 0x8A51
4005 #ifndef GL_EXT_EGL_image_storage
4006 #define GL_EXT_EGL_image_storage 1
4010 #ifdef GL_GLEXT_PROTOTYPES
4016 #ifndef GL_EXT_EGL_sync
4017 #define GL_EXT_EGL_sync 1
4020 #ifndef GL_EXT_debug_label
4021 #define GL_EXT_debug_label 1
4022 #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
4023 #define GL_PROGRAM_OBJECT_EXT 0x8B40
4024 #define GL_SHADER_OBJECT_EXT 0x8B48
4025 #define GL_BUFFER_OBJECT_EXT 0x9151
4026 #define GL_QUERY_OBJECT_EXT 0x9153
4027 #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
4030 #ifdef GL_GLEXT_PROTOTYPES
4036 #ifndef GL_EXT_debug_marker
4037 #define GL_EXT_debug_marker 1
4041 #ifdef GL_GLEXT_PROTOTYPES
4048 #ifndef GL_EXT_direct_state_access
4049 #define GL_EXT_direct_state_access 1
4050 #define GL_PROGRAM_MATRIX_EXT 0x8E2D
4051 #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
4052 #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
4087 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);
4088 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);
4124 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);
4125 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);
4140 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);
4147 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);
4308 #ifdef GL_GLEXT_PROTOTYPES
4343 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);
4344 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);
4380 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);
4381 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);
4396 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);
4403 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);
4567 #ifndef GL_EXT_draw_instanced
4568 #define GL_EXT_draw_instanced 1
4571 #ifdef GL_GLEXT_PROTOTYPES
4577 #ifndef GL_EXT_multiview_tessellation_geometry_shader
4578 #define GL_EXT_multiview_tessellation_geometry_shader 1
4581 #ifndef GL_EXT_multiview_texture_multisample
4582 #define GL_EXT_multiview_texture_multisample 1
4585 #ifndef GL_EXT_multiview_timer_query
4586 #define GL_EXT_multiview_timer_query 1
4589 #ifndef GL_EXT_polygon_offset_clamp
4590 #define GL_EXT_polygon_offset_clamp 1
4591 #define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
4593 #ifdef GL_GLEXT_PROTOTYPES
4598 #ifndef GL_EXT_post_depth_coverage
4599 #define GL_EXT_post_depth_coverage 1
4602 #ifndef GL_EXT_raster_multisample
4603 #define GL_EXT_raster_multisample 1
4604 #define GL_RASTER_MULTISAMPLE_EXT 0x9327
4605 #define GL_RASTER_SAMPLES_EXT 0x9328
4606 #define GL_MAX_RASTER_SAMPLES_EXT 0x9329
4607 #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
4608 #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
4609 #define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
4611 #ifdef GL_GLEXT_PROTOTYPES
4616 #ifndef GL_EXT_separate_shader_objects
4617 #define GL_EXT_separate_shader_objects 1
4618 #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
4622 #ifdef GL_GLEXT_PROTOTYPES
4629 #ifndef GL_EXT_shader_framebuffer_fetch
4630 #define GL_EXT_shader_framebuffer_fetch 1
4631 #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
4634 #ifndef GL_EXT_shader_framebuffer_fetch_non_coherent
4635 #define GL_EXT_shader_framebuffer_fetch_non_coherent 1
4637 #ifdef GL_GLEXT_PROTOTYPES
4642 #ifndef GL_EXT_shader_integer_mix
4643 #define GL_EXT_shader_integer_mix 1
4646 #ifndef GL_EXT_texture_compression_s3tc
4647 #define GL_EXT_texture_compression_s3tc 1
4648 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
4649 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
4650 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
4651 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
4654 #ifndef GL_EXT_texture_filter_minmax
4655 #define GL_EXT_texture_filter_minmax 1
4656 #define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366
4657 #define GL_WEIGHTED_AVERAGE_EXT 0x9367
4660 #ifndef GL_EXT_texture_sRGB_R8
4661 #define GL_EXT_texture_sRGB_R8 1
4662 #define GL_SR8_EXT 0x8FBD
4665 #ifndef GL_EXT_texture_sRGB_RG8
4666 #define GL_EXT_texture_sRGB_RG8 1
4667 #define GL_SRG8_EXT 0x8FBE
4670 #ifndef GL_EXT_texture_sRGB_decode
4671 #define GL_EXT_texture_sRGB_decode 1
4672 #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
4673 #define GL_DECODE_EXT 0x8A49
4674 #define GL_SKIP_DECODE_EXT 0x8A4A
4677 #ifndef GL_EXT_texture_shadow_lod
4678 #define GL_EXT_texture_shadow_lod 1
4681 #ifndef GL_EXT_window_rectangles
4682 #define GL_EXT_window_rectangles 1
4683 #define GL_INCLUSIVE_EXT 0x8F10
4684 #define GL_EXCLUSIVE_EXT 0x8F11
4685 #define GL_WINDOW_RECTANGLE_EXT 0x8F12
4686 #define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13
4687 #define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14
4688 #define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15
4690 #ifdef GL_GLEXT_PROTOTYPES
4695 #ifndef GL_INTEL_blackhole_render
4696 #define GL_INTEL_blackhole_render 1
4697 #define GL_BLACKHOLE_RENDER_INTEL 0x83FC
4700 #ifndef GL_INTEL_conservative_rasterization
4701 #define GL_INTEL_conservative_rasterization 1
4702 #define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE
4705 #ifndef GL_INTEL_framebuffer_CMAA
4706 #define GL_INTEL_framebuffer_CMAA 1
4708 #ifdef GL_GLEXT_PROTOTYPES
4709 GLAPI void APIENTRY glApplyFramebufferAttachmentCMAAINTEL (
void);
4713 #ifndef GL_INTEL_performance_query
4714 #define GL_INTEL_performance_query 1
4715 #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
4716 #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
4717 #define GL_PERFQUERY_WAIT_INTEL 0x83FB
4718 #define GL_PERFQUERY_FLUSH_INTEL 0x83FA
4719 #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
4720 #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
4721 #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
4722 #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
4723 #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
4724 #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
4725 #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
4726 #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
4727 #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
4728 #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
4729 #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
4730 #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
4731 #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
4732 #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
4733 #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
4734 #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
4741 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);
4745 #ifdef GL_GLEXT_PROTOTYPES
4752 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);
4759 #ifndef GL_MESA_framebuffer_flip_x
4760 #define GL_MESA_framebuffer_flip_x 1
4761 #define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC
4764 #ifndef GL_MESA_framebuffer_flip_y
4765 #define GL_MESA_framebuffer_flip_y 1
4766 #define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
4769 #ifdef GL_GLEXT_PROTOTYPES
4775 #ifndef GL_MESA_framebuffer_swap_xy
4776 #define GL_MESA_framebuffer_swap_xy 1
4777 #define GL_FRAMEBUFFER_SWAP_XY_MESA 0x8BBD
4780 #ifndef GL_NV_bindless_multi_draw_indirect
4781 #define GL_NV_bindless_multi_draw_indirect 1
4784 #ifdef GL_GLEXT_PROTOTYPES
4790 #ifndef GL_NV_bindless_multi_draw_indirect_count
4791 #define GL_NV_bindless_multi_draw_indirect_count 1
4794 #ifdef GL_GLEXT_PROTOTYPES
4800 #ifndef GL_NV_bindless_texture
4801 #define GL_NV_bindless_texture 1
4815 #ifdef GL_GLEXT_PROTOTYPES
4832 #ifndef GL_NV_blend_equation_advanced
4833 #define GL_NV_blend_equation_advanced 1
4834 #define GL_BLEND_OVERLAP_NV 0x9281
4835 #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
4836 #define GL_BLUE_NV 0x1905
4837 #define GL_COLORBURN_NV 0x929A
4838 #define GL_COLORDODGE_NV 0x9299
4839 #define GL_CONJOINT_NV 0x9284
4840 #define GL_CONTRAST_NV 0x92A1
4841 #define GL_DARKEN_NV 0x9297
4842 #define GL_DIFFERENCE_NV 0x929E
4843 #define GL_DISJOINT_NV 0x9283
4844 #define GL_DST_ATOP_NV 0x928F
4845 #define GL_DST_IN_NV 0x928B
4846 #define GL_DST_NV 0x9287
4847 #define GL_DST_OUT_NV 0x928D
4848 #define GL_DST_OVER_NV 0x9289
4849 #define GL_EXCLUSION_NV 0x92A0
4850 #define GL_GREEN_NV 0x1904
4851 #define GL_HARDLIGHT_NV 0x929B
4852 #define GL_HARDMIX_NV 0x92A9
4853 #define GL_HSL_COLOR_NV 0x92AF
4854 #define GL_HSL_HUE_NV 0x92AD
4855 #define GL_HSL_LUMINOSITY_NV 0x92B0
4856 #define GL_HSL_SATURATION_NV 0x92AE
4857 #define GL_INVERT_OVG_NV 0x92B4
4858 #define GL_INVERT_RGB_NV 0x92A3
4859 #define GL_LIGHTEN_NV 0x9298
4860 #define GL_LINEARBURN_NV 0x92A5
4861 #define GL_LINEARDODGE_NV 0x92A4
4862 #define GL_LINEARLIGHT_NV 0x92A7
4863 #define GL_MINUS_CLAMPED_NV 0x92B3
4864 #define GL_MINUS_NV 0x929F
4865 #define GL_MULTIPLY_NV 0x9294
4866 #define GL_OVERLAY_NV 0x9296
4867 #define GL_PINLIGHT_NV 0x92A8
4868 #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
4869 #define GL_PLUS_CLAMPED_NV 0x92B1
4870 #define GL_PLUS_DARKER_NV 0x9292
4871 #define GL_PLUS_NV 0x9291
4872 #define GL_RED_NV 0x1903
4873 #define GL_SCREEN_NV 0x9295
4874 #define GL_SOFTLIGHT_NV 0x929C
4875 #define GL_SRC_ATOP_NV 0x928E
4876 #define GL_SRC_IN_NV 0x928A
4877 #define GL_SRC_NV 0x9286
4878 #define GL_SRC_OUT_NV 0x928C
4879 #define GL_SRC_OVER_NV 0x9288
4880 #define GL_UNCORRELATED_NV 0x9282
4881 #define GL_VIVIDLIGHT_NV 0x92A6
4882 #define GL_XOR_NV 0x1506
4885 #ifdef GL_GLEXT_PROTOTYPES
4891 #ifndef GL_NV_blend_equation_advanced_coherent
4892 #define GL_NV_blend_equation_advanced_coherent 1
4893 #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
4896 #ifndef GL_NV_blend_minmax_factor
4897 #define GL_NV_blend_minmax_factor 1
4898 #define GL_FACTOR_MIN_AMD 0x901C
4899 #define GL_FACTOR_MAX_AMD 0x901D
4902 #ifndef GL_NV_clip_space_w_scaling
4903 #define GL_NV_clip_space_w_scaling 1
4904 #define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C
4905 #define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D
4906 #define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E
4908 #ifdef GL_GLEXT_PROTOTYPES
4913 #ifndef GL_NV_command_list
4914 #define GL_NV_command_list 1
4915 #define GL_TERMINATE_SEQUENCE_COMMAND_NV 0x0000
4916 #define GL_NOP_COMMAND_NV 0x0001
4917 #define GL_DRAW_ELEMENTS_COMMAND_NV 0x0002
4918 #define GL_DRAW_ARRAYS_COMMAND_NV 0x0003
4919 #define GL_DRAW_ELEMENTS_STRIP_COMMAND_NV 0x0004
4920 #define GL_DRAW_ARRAYS_STRIP_COMMAND_NV 0x0005
4921 #define GL_DRAW_ELEMENTS_INSTANCED_COMMAND_NV 0x0006
4922 #define GL_DRAW_ARRAYS_INSTANCED_COMMAND_NV 0x0007
4923 #define GL_ELEMENT_ADDRESS_COMMAND_NV 0x0008
4924 #define GL_ATTRIBUTE_ADDRESS_COMMAND_NV 0x0009
4925 #define GL_UNIFORM_ADDRESS_COMMAND_NV 0x000A
4926 #define GL_BLEND_COLOR_COMMAND_NV 0x000B
4927 #define GL_STENCIL_REF_COMMAND_NV 0x000C
4928 #define GL_LINE_WIDTH_COMMAND_NV 0x000D
4929 #define GL_POLYGON_OFFSET_COMMAND_NV 0x000E
4930 #define GL_ALPHA_REF_COMMAND_NV 0x000F
4931 #define GL_VIEWPORT_COMMAND_NV 0x0010
4932 #define GL_SCISSOR_COMMAND_NV 0x0011
4933 #define GL_FRONT_FACE_COMMAND_NV 0x0012
4951 #ifdef GL_GLEXT_PROTOTYPES
4972 #ifndef GL_NV_compute_shader_derivatives
4973 #define GL_NV_compute_shader_derivatives 1
4976 #ifndef GL_NV_conditional_render
4977 #define GL_NV_conditional_render 1
4978 #define GL_QUERY_WAIT_NV 0x8E13
4979 #define GL_QUERY_NO_WAIT_NV 0x8E14
4980 #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
4981 #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
4984 #ifdef GL_GLEXT_PROTOTYPES
4990 #ifndef GL_NV_conservative_raster
4991 #define GL_NV_conservative_raster 1
4992 #define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
4993 #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
4994 #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
4995 #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
4997 #ifdef GL_GLEXT_PROTOTYPES
5002 #ifndef GL_NV_conservative_raster_dilate
5003 #define GL_NV_conservative_raster_dilate 1
5004 #define GL_CONSERVATIVE_RASTER_DILATE_NV 0x9379
5005 #define GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV 0x937A
5006 #define GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV 0x937B
5008 #ifdef GL_GLEXT_PROTOTYPES
5013 #ifndef GL_NV_conservative_raster_pre_snap
5014 #define GL_NV_conservative_raster_pre_snap 1
5015 #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550
5018 #ifndef GL_NV_conservative_raster_pre_snap_triangles
5019 #define GL_NV_conservative_raster_pre_snap_triangles 1
5020 #define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D
5021 #define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E
5022 #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F
5024 #ifdef GL_GLEXT_PROTOTYPES
5029 #ifndef GL_NV_conservative_raster_underestimation
5030 #define GL_NV_conservative_raster_underestimation 1
5033 #ifndef GL_NV_depth_buffer_float
5034 #define GL_NV_depth_buffer_float 1
5035 #define GL_DEPTH_COMPONENT32F_NV 0x8DAB
5036 #define GL_DEPTH32F_STENCIL8_NV 0x8DAC
5037 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
5038 #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF
5042 #ifdef GL_GLEXT_PROTOTYPES
5049 #ifndef GL_NV_draw_vulkan_image
5050 #define GL_NV_draw_vulkan_image 1
5052 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);
5057 #ifdef GL_GLEXT_PROTOTYPES
5058 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);
5066 #ifndef GL_NV_fill_rectangle
5067 #define GL_NV_fill_rectangle 1
5068 #define GL_FILL_RECTANGLE_NV 0x933C
5071 #ifndef GL_NV_fragment_coverage_to_color
5072 #define GL_NV_fragment_coverage_to_color 1
5073 #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
5074 #define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
5076 #ifdef GL_GLEXT_PROTOTYPES
5081 #ifndef GL_NV_fragment_shader_barycentric
5082 #define GL_NV_fragment_shader_barycentric 1
5085 #ifndef GL_NV_fragment_shader_interlock
5086 #define GL_NV_fragment_shader_interlock 1
5089 #ifndef GL_NV_framebuffer_mixed_samples
5090 #define GL_NV_framebuffer_mixed_samples 1
5091 #define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
5092 #define GL_COLOR_SAMPLES_NV 0x8E20
5093 #define GL_DEPTH_SAMPLES_NV 0x932D
5094 #define GL_STENCIL_SAMPLES_NV 0x932E
5095 #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
5096 #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
5097 #define GL_COVERAGE_MODULATION_NV 0x9332
5098 #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
5102 #ifdef GL_GLEXT_PROTOTYPES
5109 #ifndef GL_NV_framebuffer_multisample_coverage
5110 #define GL_NV_framebuffer_multisample_coverage 1
5111 #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
5112 #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
5113 #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
5114 #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
5116 #ifdef GL_GLEXT_PROTOTYPES
5121 #ifndef GL_NV_geometry_shader_passthrough
5122 #define GL_NV_geometry_shader_passthrough 1
5125 #ifndef GL_NV_gpu_shader5
5126 #define GL_NV_gpu_shader5 1
5128 #define GL_INT64_NV 0x140E
5129 #define GL_UNSIGNED_INT64_NV 0x140F
5130 #define GL_INT8_NV 0x8FE0
5131 #define GL_INT8_VEC2_NV 0x8FE1
5132 #define GL_INT8_VEC3_NV 0x8FE2
5133 #define GL_INT8_VEC4_NV 0x8FE3
5134 #define GL_INT16_NV 0x8FE4
5135 #define GL_INT16_VEC2_NV 0x8FE5
5136 #define GL_INT16_VEC3_NV 0x8FE6
5137 #define GL_INT16_VEC4_NV 0x8FE7
5138 #define GL_INT64_VEC2_NV 0x8FE9
5139 #define GL_INT64_VEC3_NV 0x8FEA
5140 #define GL_INT64_VEC4_NV 0x8FEB
5141 #define GL_UNSIGNED_INT8_NV 0x8FEC
5142 #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
5143 #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
5144 #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
5145 #define GL_UNSIGNED_INT16_NV 0x8FF0
5146 #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
5147 #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
5148 #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
5149 #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
5150 #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
5151 #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
5152 #define GL_FLOAT16_NV 0x8FF8
5153 #define GL_FLOAT16_VEC2_NV 0x8FF9
5154 #define GL_FLOAT16_VEC3_NV 0x8FFA
5155 #define GL_FLOAT16_VEC4_NV 0x8FFB
5189 #ifdef GL_GLEXT_PROTOTYPES
5226 #ifndef GL_NV_internalformat_sample_query
5227 #define GL_NV_internalformat_sample_query 1
5228 #define GL_MULTISAMPLES_NV 0x9371
5229 #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
5230 #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
5231 #define GL_CONFORMANT_NV 0x9374
5233 #ifdef GL_GLEXT_PROTOTYPES
5238 #ifndef GL_NV_memory_attachment
5239 #define GL_NV_memory_attachment 1
5240 #define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4
5241 #define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5
5242 #define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6
5243 #define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7
5244 #define GL_MEMORY_ATTACHABLE_NV 0x95A8
5245 #define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9
5246 #define GL_DETACHED_TEXTURES_NV 0x95AA
5247 #define GL_DETACHED_BUFFERS_NV 0x95AB
5248 #define GL_MAX_DETACHED_TEXTURES_NV 0x95AC
5249 #define GL_MAX_DETACHED_BUFFERS_NV 0x95AD
5256 #ifdef GL_GLEXT_PROTOTYPES
5266 #ifndef GL_NV_memory_object_sparse
5267 #define GL_NV_memory_object_sparse 1
5269 typedef void (
APIENTRYP PFNGLTEXPAGECOMMITMENTMEMNVPROC) (
GLenum target,
GLint layer,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLuint memory,
GLuint64 offset,
GLboolean commit);
5271 typedef void (
APIENTRYP PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) (
GLuint texture,
GLint layer,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLuint memory,
GLuint64 offset,
GLboolean commit);
5272 #ifdef GL_GLEXT_PROTOTYPES
5274 GLAPI void APIENTRY glTexPageCommitmentMemNV (
GLenum target,
GLint layer,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLuint memory,
GLuint64 offset,
GLboolean commit);
5276 GLAPI void APIENTRY glTexturePageCommitmentMemNV (
GLuint texture,
GLint layer,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLuint memory,
GLuint64 offset,
GLboolean commit);
5280 #ifndef GL_NV_mesh_shader
5281 #define GL_NV_mesh_shader 1
5282 #define GL_MESH_SHADER_NV 0x9559
5283 #define GL_TASK_SHADER_NV 0x955A
5284 #define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60
5285 #define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61
5286 #define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62
5287 #define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63
5288 #define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64
5289 #define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65
5290 #define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66
5291 #define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67
5292 #define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68
5293 #define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69
5294 #define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A
5295 #define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B
5296 #define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C
5297 #define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D
5298 #define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E
5299 #define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F
5300 #define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2
5301 #define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3
5302 #define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536
5303 #define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537
5304 #define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538
5305 #define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539
5306 #define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A
5307 #define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D
5308 #define GL_MAX_MESH_VIEWS_NV 0x9557
5309 #define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF
5310 #define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543
5311 #define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B
5312 #define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C
5313 #define GL_MESH_WORK_GROUP_SIZE_NV 0x953E
5314 #define GL_TASK_WORK_GROUP_SIZE_NV 0x953F
5315 #define GL_MESH_VERTICES_OUT_NV 0x9579
5316 #define GL_MESH_PRIMITIVES_OUT_NV 0x957A
5317 #define GL_MESH_OUTPUT_TYPE_NV 0x957B
5318 #define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C
5319 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D
5320 #define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0
5321 #define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1
5322 #define GL_MESH_SHADER_BIT_NV 0x00000040
5323 #define GL_TASK_SHADER_BIT_NV 0x00000080
5324 #define GL_MESH_SUBROUTINE_NV 0x957C
5325 #define GL_TASK_SUBROUTINE_NV 0x957D
5326 #define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E
5327 #define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F
5328 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E
5329 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F
5334 #ifdef GL_GLEXT_PROTOTYPES
5342 #ifndef GL_NV_path_rendering
5343 #define GL_NV_path_rendering 1
5344 #define GL_PATH_FORMAT_SVG_NV 0x9070
5345 #define GL_PATH_FORMAT_PS_NV 0x9071
5346 #define GL_STANDARD_FONT_NAME_NV 0x9072
5347 #define GL_SYSTEM_FONT_NAME_NV 0x9073
5348 #define GL_FILE_NAME_NV 0x9074
5349 #define GL_PATH_STROKE_WIDTH_NV 0x9075
5350 #define GL_PATH_END_CAPS_NV 0x9076
5351 #define GL_PATH_INITIAL_END_CAP_NV 0x9077
5352 #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
5353 #define GL_PATH_JOIN_STYLE_NV 0x9079
5354 #define GL_PATH_MITER_LIMIT_NV 0x907A
5355 #define GL_PATH_DASH_CAPS_NV 0x907B
5356 #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
5357 #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
5358 #define GL_PATH_DASH_OFFSET_NV 0x907E
5359 #define GL_PATH_CLIENT_LENGTH_NV 0x907F
5360 #define GL_PATH_FILL_MODE_NV 0x9080
5361 #define GL_PATH_FILL_MASK_NV 0x9081
5362 #define GL_PATH_FILL_COVER_MODE_NV 0x9082
5363 #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
5364 #define GL_PATH_STROKE_MASK_NV 0x9084
5365 #define GL_COUNT_UP_NV 0x9088
5366 #define GL_COUNT_DOWN_NV 0x9089
5367 #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
5368 #define GL_CONVEX_HULL_NV 0x908B
5369 #define GL_BOUNDING_BOX_NV 0x908D
5370 #define GL_TRANSLATE_X_NV 0x908E
5371 #define GL_TRANSLATE_Y_NV 0x908F
5372 #define GL_TRANSLATE_2D_NV 0x9090
5373 #define GL_TRANSLATE_3D_NV 0x9091
5374 #define GL_AFFINE_2D_NV 0x9092
5375 #define GL_AFFINE_3D_NV 0x9094
5376 #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
5377 #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
5378 #define GL_UTF8_NV 0x909A
5379 #define GL_UTF16_NV 0x909B
5380 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
5381 #define GL_PATH_COMMAND_COUNT_NV 0x909D
5382 #define GL_PATH_COORD_COUNT_NV 0x909E
5383 #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
5384 #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
5385 #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
5386 #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
5387 #define GL_SQUARE_NV 0x90A3
5388 #define GL_ROUND_NV 0x90A4
5389 #define GL_TRIANGULAR_NV 0x90A5
5390 #define GL_BEVEL_NV 0x90A6
5391 #define GL_MITER_REVERT_NV 0x90A7
5392 #define GL_MITER_TRUNCATE_NV 0x90A8
5393 #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
5394 #define GL_USE_MISSING_GLYPH_NV 0x90AA
5395 #define GL_PATH_ERROR_POSITION_NV 0x90AB
5396 #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
5397 #define GL_ADJACENT_PAIRS_NV 0x90AE
5398 #define GL_FIRST_TO_REST_NV 0x90AF
5399 #define GL_PATH_GEN_MODE_NV 0x90B0
5400 #define GL_PATH_GEN_COEFF_NV 0x90B1
5401 #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
5402 #define GL_PATH_STENCIL_FUNC_NV 0x90B7
5403 #define GL_PATH_STENCIL_REF_NV 0x90B8
5404 #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
5405 #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
5406 #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
5407 #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
5408 #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
5409 #define GL_MOVE_TO_RESETS_NV 0x90B5
5410 #define GL_MOVE_TO_CONTINUES_NV 0x90B6
5411 #define GL_CLOSE_PATH_NV 0x00
5412 #define GL_MOVE_TO_NV 0x02
5413 #define GL_RELATIVE_MOVE_TO_NV 0x03
5414 #define GL_LINE_TO_NV 0x04
5415 #define GL_RELATIVE_LINE_TO_NV 0x05
5416 #define GL_HORIZONTAL_LINE_TO_NV 0x06
5417 #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
5418 #define GL_VERTICAL_LINE_TO_NV 0x08
5419 #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
5420 #define GL_QUADRATIC_CURVE_TO_NV 0x0A
5421 #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
5422 #define GL_CUBIC_CURVE_TO_NV 0x0C
5423 #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
5424 #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
5425 #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
5426 #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
5427 #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
5428 #define GL_SMALL_CCW_ARC_TO_NV 0x12
5429 #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
5430 #define GL_SMALL_CW_ARC_TO_NV 0x14
5431 #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
5432 #define GL_LARGE_CCW_ARC_TO_NV 0x16
5433 #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
5434 #define GL_LARGE_CW_ARC_TO_NV 0x18
5435 #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
5436 #define GL_RESTART_PATH_NV 0xF0
5437 #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
5438 #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
5439 #define GL_RECT_NV 0xF6
5440 #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
5441 #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
5442 #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
5443 #define GL_ARC_TO_NV 0xFE
5444 #define GL_RELATIVE_ARC_TO_NV 0xFF
5445 #define GL_BOLD_BIT_NV 0x01
5446 #define GL_ITALIC_BIT_NV 0x02
5447 #define GL_GLYPH_WIDTH_BIT_NV 0x01
5448 #define GL_GLYPH_HEIGHT_BIT_NV 0x02
5449 #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
5450 #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
5451 #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
5452 #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
5453 #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
5454 #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
5455 #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
5456 #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
5457 #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
5458 #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
5459 #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
5460 #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
5461 #define GL_FONT_ASCENDER_BIT_NV 0x00200000
5462 #define GL_FONT_DESCENDER_BIT_NV 0x00400000
5463 #define GL_FONT_HEIGHT_BIT_NV 0x00800000
5464 #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
5465 #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
5466 #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
5467 #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
5468 #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
5469 #define GL_ROUNDED_RECT_NV 0xE8
5470 #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
5471 #define GL_ROUNDED_RECT2_NV 0xEA
5472 #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
5473 #define GL_ROUNDED_RECT4_NV 0xEC
5474 #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
5475 #define GL_ROUNDED_RECT8_NV 0xEE
5476 #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
5477 #define GL_RELATIVE_RECT_NV 0xF7
5478 #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
5479 #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
5480 #define GL_FONT_UNAVAILABLE_NV 0x936A
5481 #define GL_FONT_UNINTELLIGIBLE_NV 0x936B
5482 #define GL_CONIC_CURVE_TO_NV 0x1A
5483 #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
5484 #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
5485 #define GL_STANDARD_FONT_FORMAT_NV 0x936C
5486 #define GL_PATH_PROJECTION_NV 0x1701
5487 #define GL_PATH_MODELVIEW_NV 0x1700
5488 #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
5489 #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
5490 #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
5491 #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
5492 #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
5493 #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
5494 #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
5495 #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
5496 #define GL_FRAGMENT_INPUT_NV 0x936D
5554 #ifdef GL_GLEXT_PROTOTYPES
5615 #ifndef GL_NV_path_rendering_shared_edge
5616 #define GL_NV_path_rendering_shared_edge 1
5617 #define GL_SHARED_EDGE_NV 0xC0
5620 #ifndef GL_NV_primitive_shading_rate
5621 #define GL_NV_primitive_shading_rate 1
5622 #define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1
5623 #define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2
5626 #ifndef GL_NV_representative_fragment_test
5627 #define GL_NV_representative_fragment_test 1
5628 #define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F
5631 #ifndef GL_NV_sample_locations
5632 #define GL_NV_sample_locations 1
5633 #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D
5634 #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E
5635 #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F
5636 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340
5637 #define GL_SAMPLE_LOCATION_NV 0x8E50
5638 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341
5639 #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342
5640 #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343
5644 #ifdef GL_GLEXT_PROTOTYPES
5651 #ifndef GL_NV_sample_mask_override_coverage
5652 #define GL_NV_sample_mask_override_coverage 1
5655 #ifndef GL_NV_scissor_exclusive
5656 #define GL_NV_scissor_exclusive 1
5657 #define GL_SCISSOR_TEST_EXCLUSIVE_NV 0x9555
5658 #define GL_SCISSOR_BOX_EXCLUSIVE_NV 0x9556
5661 #ifdef GL_GLEXT_PROTOTYPES
5667 #ifndef GL_NV_shader_atomic_counters
5668 #define GL_NV_shader_atomic_counters 1
5671 #ifndef GL_NV_shader_atomic_float
5672 #define GL_NV_shader_atomic_float 1
5675 #ifndef GL_NV_shader_atomic_float64
5676 #define GL_NV_shader_atomic_float64 1
5679 #ifndef GL_NV_shader_atomic_fp16_vector
5680 #define GL_NV_shader_atomic_fp16_vector 1
5683 #ifndef GL_NV_shader_atomic_int64
5684 #define GL_NV_shader_atomic_int64 1
5687 #ifndef GL_NV_shader_buffer_load
5688 #define GL_NV_shader_buffer_load 1
5689 #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
5690 #define GL_GPU_ADDRESS_NV 0x8F34
5691 #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35
5706 #ifdef GL_GLEXT_PROTOTYPES
5724 #ifndef GL_NV_shader_buffer_store
5725 #define GL_NV_shader_buffer_store 1
5726 #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
5729 #ifndef GL_NV_shader_subgroup_partitioned
5730 #define GL_NV_shader_subgroup_partitioned 1
5731 #define GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV 0x00000100
5734 #ifndef GL_NV_shader_texture_footprint
5735 #define GL_NV_shader_texture_footprint 1
5738 #ifndef GL_NV_shader_thread_group
5739 #define GL_NV_shader_thread_group 1
5740 #define GL_WARP_SIZE_NV 0x9339
5741 #define GL_WARPS_PER_SM_NV 0x933A
5742 #define GL_SM_COUNT_NV 0x933B
5745 #ifndef GL_NV_shader_thread_shuffle
5746 #define GL_NV_shader_thread_shuffle 1
5749 #ifndef GL_NV_shading_rate_image
5750 #define GL_NV_shading_rate_image 1
5751 #define GL_SHADING_RATE_IMAGE_NV 0x9563
5752 #define GL_SHADING_RATE_NO_INVOCATIONS_NV 0x9564
5753 #define GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV 0x9565
5754 #define GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV 0x9566
5755 #define GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV 0x9567
5756 #define GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV 0x9568
5757 #define GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV 0x9569
5758 #define GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV 0x956A
5759 #define GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV 0x956B
5760 #define GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV 0x956C
5761 #define GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV 0x956D
5762 #define GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV 0x956E
5763 #define GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV 0x956F
5764 #define GL_SHADING_RATE_IMAGE_BINDING_NV 0x955B
5765 #define GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV 0x955C
5766 #define GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV 0x955D
5767 #define GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV 0x955E
5768 #define GL_MAX_COARSE_FRAGMENT_SAMPLES_NV 0x955F
5769 #define GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV 0x95AE
5770 #define GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV 0x95AF
5771 #define GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV 0x95B0
5779 #ifdef GL_GLEXT_PROTOTYPES
5790 #ifndef GL_NV_stereo_view_rendering
5791 #define GL_NV_stereo_view_rendering 1
5794 #ifndef GL_NV_texture_barrier
5795 #define GL_NV_texture_barrier 1
5797 #ifdef GL_GLEXT_PROTOTYPES
5802 #ifndef GL_NV_texture_rectangle_compressed
5803 #define GL_NV_texture_rectangle_compressed 1
5806 #ifndef GL_NV_uniform_buffer_unified_memory
5807 #define GL_NV_uniform_buffer_unified_memory 1
5808 #define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E
5809 #define GL_UNIFORM_BUFFER_ADDRESS_NV 0x936F
5810 #define GL_UNIFORM_BUFFER_LENGTH_NV 0x9370
5813 #ifndef GL_NV_vertex_attrib_integer_64bit
5814 #define GL_NV_vertex_attrib_integer_64bit 1
5834 #ifdef GL_GLEXT_PROTOTYPES
5857 #ifndef GL_NV_vertex_buffer_unified_memory
5858 #define GL_NV_vertex_buffer_unified_memory 1
5859 #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
5860 #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F
5861 #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
5862 #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21
5863 #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22
5864 #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23
5865 #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24
5866 #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
5867 #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26
5868 #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
5869 #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28
5870 #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29
5871 #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A
5872 #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B
5873 #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C
5874 #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D
5875 #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E
5876 #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F
5877 #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30
5878 #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
5879 #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32
5880 #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33
5881 #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
5882 #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
5883 #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
5896 #ifdef GL_GLEXT_PROTOTYPES
5912 #ifndef GL_NV_viewport_array2
5913 #define GL_NV_viewport_array2 1
5916 #ifndef GL_NV_viewport_swizzle
5917 #define GL_NV_viewport_swizzle 1
5918 #define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350
5919 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351
5920 #define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352
5921 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353
5922 #define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354
5923 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355
5924 #define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356
5925 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357
5926 #define GL_VIEWPORT_SWIZZLE_X_NV 0x9358
5927 #define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359
5928 #define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A
5929 #define GL_VIEWPORT_SWIZZLE_W_NV 0x935B
5931 #ifdef GL_GLEXT_PROTOTYPES
5936 #ifndef GL_OVR_multiview
5937 #define GL_OVR_multiview 1
5938 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630
5939 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632
5940 #define GL_MAX_VIEWS_OVR 0x9631
5941 #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633
5943 #ifdef GL_GLEXT_PROTOTYPES
5948 #ifndef GL_OVR_multiview2
5949 #define GL_OVR_multiview2 1