Initial file set. Not even sure if it works.
[cl-glfw.git] / src / enumext.spec
blobc27cca1cd1a1517fbd94adb70a8f9a08bc6fc4bd
1 # List of GL enumerants for glext.h header
3 # This is NOT the master GL enumerant registry (enum.spec).
5 # Unlike enum.spec, enumext.spec is
6 # (1) In order by extension number
7 # (2) Includes only extensions and 1.2/1.3 core enumerants, since
8 # it's assumed all <gl.h> today support at least OpenGL 1.1
9 # (3) Has no 'Extensions' section, since enums are always
10 # conditionally protected against multiple definition
11 # by glextenum.pl.
12 # (4) Is processed by glextenum.pl, which has evolved
13 # from enum.pl - should merge back into one script.
15 # glext.h version number - this should be automatically updated,
16 # when changing either enum or template spec files.
18 passthru:
19 passthru: /* Header file version number, required by OpenGL ABI for Linux */
20 passthru: /* glext.h last updated 2007/02/12 */
21 passthru: /* Current version at http://www.opengl.org/registry/ */
22 passthru: #define GL_GLEXT_VERSION 39
24 ###############################################################################
26 # OpenGL 1.2 enums
28 ###############################################################################
30 VERSION_1_2 enum:
31 UNSIGNED_BYTE_3_3_2 = 0x8032 # Equivalent to EXT_packed_pixels
32 UNSIGNED_SHORT_4_4_4_4 = 0x8033
33 UNSIGNED_SHORT_5_5_5_1 = 0x8034
34 UNSIGNED_INT_8_8_8_8 = 0x8035
35 UNSIGNED_INT_10_10_10_2 = 0x8036
36 RESCALE_NORMAL = 0x803A # 1 I # Equivalent to EXT_rescale_normal
37 TEXTURE_BINDING_3D = 0x806A # 1 I
38 PACK_SKIP_IMAGES = 0x806B # 1 I
39 PACK_IMAGE_HEIGHT = 0x806C # 1 F
40 UNPACK_SKIP_IMAGES = 0x806D # 1 I
41 UNPACK_IMAGE_HEIGHT = 0x806E # 1 F
42 TEXTURE_3D = 0x806F # 1 I
43 PROXY_TEXTURE_3D = 0x8070
44 TEXTURE_DEPTH = 0x8071
45 TEXTURE_WRAP_R = 0x8072
46 MAX_3D_TEXTURE_SIZE = 0x8073 # 1 I
47 UNSIGNED_BYTE_2_3_3_REV = 0x8362 # New for OpenGL 1.2
48 UNSIGNED_SHORT_5_6_5 = 0x8363
49 UNSIGNED_SHORT_5_6_5_REV = 0x8364
50 UNSIGNED_SHORT_4_4_4_4_REV = 0x8365
51 UNSIGNED_SHORT_1_5_5_5_REV = 0x8366
52 UNSIGNED_INT_8_8_8_8_REV = 0x8367
53 UNSIGNED_INT_2_10_10_10_REV = 0x8368
54 BGR = 0x80E0
55 BGRA = 0x80E1
56 MAX_ELEMENTS_VERTICES = 0x80E8
57 MAX_ELEMENTS_INDICES = 0x80E9
58 CLAMP_TO_EDGE = 0x812F # Equivalent to SGIS_texture_edge_clamp
59 TEXTURE_MIN_LOD = 0x813A # Equivalent to SGIS_texture_lod
60 TEXTURE_MAX_LOD = 0x813B
61 TEXTURE_BASE_LEVEL = 0x813C
62 TEXTURE_MAX_LEVEL = 0x813D
63 LIGHT_MODEL_COLOR_CONTROL = 0x81F8 # 1 I
64 SINGLE_COLOR = 0x81F9
65 SEPARATE_SPECULAR_COLOR = 0x81FA
66 SMOOTH_POINT_SIZE_RANGE = 0x0B12 # 2 F
67 SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13 # 1 F
68 SMOOTH_LINE_WIDTH_RANGE = 0x0B22 # 2 F
69 SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23 # 1 F
70 ALIASED_POINT_SIZE_RANGE = 0x846D # 2 F
71 ALIASED_LINE_WIDTH_RANGE = 0x846E # 2 F
73 ARB_imaging enum:
74 CONSTANT_COLOR = 0x8001 # Equivalent to EXT_blend_color
75 ONE_MINUS_CONSTANT_COLOR = 0x8002
76 CONSTANT_ALPHA = 0x8003
77 ONE_MINUS_CONSTANT_ALPHA = 0x8004
78 BLEND_COLOR = 0x8005 # 4 F
79 FUNC_ADD = 0x8006 # Equivalent to EXT_blend_minmax
80 MIN = 0x8007
81 MAX = 0x8008
82 BLEND_EQUATION = 0x8009 # 1 I
83 FUNC_SUBTRACT = 0x800A # Equivalent to EXT_blend_subtract
84 FUNC_REVERSE_SUBTRACT = 0x800B
85 CONVOLUTION_1D = 0x8010 # 1 I # Equivalent to EXT_convolution
86 CONVOLUTION_2D = 0x8011 # 1 I
87 SEPARABLE_2D = 0x8012 # 1 I
88 CONVOLUTION_BORDER_MODE = 0x8013
89 CONVOLUTION_FILTER_SCALE = 0x8014
90 CONVOLUTION_FILTER_BIAS = 0x8015
91 REDUCE = 0x8016
92 CONVOLUTION_FORMAT = 0x8017
93 CONVOLUTION_WIDTH = 0x8018
94 CONVOLUTION_HEIGHT = 0x8019
95 MAX_CONVOLUTION_WIDTH = 0x801A
96 MAX_CONVOLUTION_HEIGHT = 0x801B
97 POST_CONVOLUTION_RED_SCALE = 0x801C # 1 F
98 POST_CONVOLUTION_GREEN_SCALE = 0x801D # 1 F
99 POST_CONVOLUTION_BLUE_SCALE = 0x801E # 1 F
100 POST_CONVOLUTION_ALPHA_SCALE = 0x801F # 1 F
101 POST_CONVOLUTION_RED_BIAS = 0x8020 # 1 F
102 POST_CONVOLUTION_GREEN_BIAS = 0x8021 # 1 F
103 POST_CONVOLUTION_BLUE_BIAS = 0x8022 # 1 F
104 POST_CONVOLUTION_ALPHA_BIAS = 0x8023 # 1 F
105 HISTOGRAM = 0x8024 # 1 I # Equivalent to EXT_histogram
106 PROXY_HISTOGRAM = 0x8025
107 HISTOGRAM_WIDTH = 0x8026
108 HISTOGRAM_FORMAT = 0x8027
109 HISTOGRAM_RED_SIZE = 0x8028
110 HISTOGRAM_GREEN_SIZE = 0x8029
111 HISTOGRAM_BLUE_SIZE = 0x802A
112 HISTOGRAM_ALPHA_SIZE = 0x802B
113 HISTOGRAM_LUMINANCE_SIZE = 0x802C
114 HISTOGRAM_SINK = 0x802D
115 MINMAX = 0x802E # 1 I
116 MINMAX_FORMAT = 0x802F
117 MINMAX_SINK = 0x8030
118 TABLE_TOO_LARGE = 0x8031
119 COLOR_MATRIX = 0x80B1 # 16 F # Equivalent to SGI_color_matrix
120 COLOR_MATRIX_STACK_DEPTH = 0x80B2 # 1 I
121 MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3 # 1 I
122 POST_COLOR_MATRIX_RED_SCALE = 0x80B4 # 1 F
123 POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5 # 1 F
124 POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6 # 1 F
125 POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7 # 1 F
126 POST_COLOR_MATRIX_RED_BIAS = 0x80B8 # 1 F
127 POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9 # 1 F
128 POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA # 1 F
129 POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB # 1 F
130 COLOR_TABLE = 0x80D0 # 1 I # Equivalent to SGI_color_table
131 POST_CONVOLUTION_COLOR_TABLE = 0x80D1 # 1 I
132 POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2 # 1 I
133 PROXY_COLOR_TABLE = 0x80D3
134 PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4
135 PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5
136 COLOR_TABLE_SCALE = 0x80D6
137 COLOR_TABLE_BIAS = 0x80D7
138 COLOR_TABLE_FORMAT = 0x80D8
139 COLOR_TABLE_WIDTH = 0x80D9
140 COLOR_TABLE_RED_SIZE = 0x80DA
141 COLOR_TABLE_GREEN_SIZE = 0x80DB
142 COLOR_TABLE_BLUE_SIZE = 0x80DC
143 COLOR_TABLE_ALPHA_SIZE = 0x80DD
144 COLOR_TABLE_LUMINANCE_SIZE = 0x80DE
145 COLOR_TABLE_INTENSITY_SIZE = 0x80DF
146 CONSTANT_BORDER = 0x8151
147 REPLICATE_BORDER = 0x8153
148 CONVOLUTION_BORDER_COLOR = 0x8154
151 ###############################################################################
153 # OpenGL 1.3 enums
155 ###############################################################################
157 VERSION_1_3 enum:
158 TEXTURE0 = 0x84C0 # Promoted from ARB_multitexture
159 TEXTURE1 = 0x84C1
160 TEXTURE2 = 0x84C2
161 TEXTURE3 = 0x84C3
162 TEXTURE4 = 0x84C4
163 TEXTURE5 = 0x84C5
164 TEXTURE6 = 0x84C6
165 TEXTURE7 = 0x84C7
166 TEXTURE8 = 0x84C8
167 TEXTURE9 = 0x84C9
168 TEXTURE10 = 0x84CA
169 TEXTURE11 = 0x84CB
170 TEXTURE12 = 0x84CC
171 TEXTURE13 = 0x84CD
172 TEXTURE14 = 0x84CE
173 TEXTURE15 = 0x84CF
174 TEXTURE16 = 0x84D0
175 TEXTURE17 = 0x84D1
176 TEXTURE18 = 0x84D2
177 TEXTURE19 = 0x84D3
178 TEXTURE20 = 0x84D4
179 TEXTURE21 = 0x84D5
180 TEXTURE22 = 0x84D6
181 TEXTURE23 = 0x84D7
182 TEXTURE24 = 0x84D8
183 TEXTURE25 = 0x84D9
184 TEXTURE26 = 0x84DA
185 TEXTURE27 = 0x84DB
186 TEXTURE28 = 0x84DC
187 TEXTURE29 = 0x84DD
188 TEXTURE30 = 0x84DE
189 TEXTURE31 = 0x84DF
190 ACTIVE_TEXTURE = 0x84E0 # 1 I
191 CLIENT_ACTIVE_TEXTURE = 0x84E1 # 1 I
192 MAX_TEXTURE_UNITS = 0x84E2 # 1 I
193 TRANSPOSE_MODELVIEW_MATRIX = 0x84E3 # 16 F # Promoted from ARB_transpose_matrix
194 TRANSPOSE_PROJECTION_MATRIX = 0x84E4 # 16 F
195 TRANSPOSE_TEXTURE_MATRIX = 0x84E5 # 16 F
196 TRANSPOSE_COLOR_MATRIX = 0x84E6 # 16 F
197 MULTISAMPLE = 0x809D # Promoted from ARB_multisample
198 SAMPLE_ALPHA_TO_COVERAGE = 0x809E
199 SAMPLE_ALPHA_TO_ONE = 0x809F
200 SAMPLE_COVERAGE = 0x80A0
201 SAMPLE_BUFFERS = 0x80A8
202 SAMPLES = 0x80A9
203 SAMPLE_COVERAGE_VALUE = 0x80AA
204 SAMPLE_COVERAGE_INVERT = 0x80AB
205 MULTISAMPLE_BIT = 0x20000000
206 NORMAL_MAP = 0x8511 # Promoted from ARB_texture_cube_map
207 REFLECTION_MAP = 0x8512
208 TEXTURE_CUBE_MAP = 0x8513
209 TEXTURE_BINDING_CUBE_MAP = 0x8514
210 TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515
211 TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516
212 TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517
213 TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518
214 TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519
215 TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A
216 PROXY_TEXTURE_CUBE_MAP = 0x851B
217 MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C
218 COMPRESSED_ALPHA = 0x84E9 # Promoted from ARB_texture_compression
219 COMPRESSED_LUMINANCE = 0x84EA
220 COMPRESSED_LUMINANCE_ALPHA = 0x84EB
221 COMPRESSED_INTENSITY = 0x84EC
222 COMPRESSED_RGB = 0x84ED
223 COMPRESSED_RGBA = 0x84EE
224 TEXTURE_COMPRESSION_HINT = 0x84EF
225 TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0
226 TEXTURE_COMPRESSED = 0x86A1
227 NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2
228 COMPRESSED_TEXTURE_FORMATS = 0x86A3
229 CLAMP_TO_BORDER = 0x812D # Promoted from ARB_texture_border_clamp
230 COMBINE = 0x8570 # Promoted from ARB_texture_env_combine
231 COMBINE_RGB = 0x8571
232 COMBINE_ALPHA = 0x8572
233 SOURCE0_RGB = 0x8580
234 SOURCE1_RGB = 0x8581
235 SOURCE2_RGB = 0x8582
236 SOURCE0_ALPHA = 0x8588
237 SOURCE1_ALPHA = 0x8589
238 SOURCE2_ALPHA = 0x858A
239 OPERAND0_RGB = 0x8590
240 OPERAND1_RGB = 0x8591
241 OPERAND2_RGB = 0x8592
242 OPERAND0_ALPHA = 0x8598
243 OPERAND1_ALPHA = 0x8599
244 OPERAND2_ALPHA = 0x859A
245 RGB_SCALE = 0x8573
246 ADD_SIGNED = 0x8574
247 INTERPOLATE = 0x8575
248 SUBTRACT = 0x84E7
249 CONSTANT = 0x8576
250 PRIMARY_COLOR = 0x8577
251 PREVIOUS = 0x8578
252 DOT3_RGB = 0x86AE # Promoted from ARB_texture_env_dot3
253 DOT3_RGBA = 0x86AF
256 ###############################################################################
258 # OpenGL 1.4 enums
260 ###############################################################################
262 VERSION_1_4 enum:
263 BLEND_DST_RGB = 0x80C8
264 BLEND_SRC_RGB = 0x80C9
265 BLEND_DST_ALPHA = 0x80CA
266 BLEND_SRC_ALPHA = 0x80CB
267 POINT_SIZE_MIN = 0x8126 # 1 F
268 POINT_SIZE_MAX = 0x8127 # 1 F
269 POINT_FADE_THRESHOLD_SIZE = 0x8128 # 1 F
270 POINT_DISTANCE_ATTENUATION = 0x8129 # 3 F
271 GENERATE_MIPMAP = 0x8191
272 GENERATE_MIPMAP_HINT = 0x8192 # 1 I
273 DEPTH_COMPONENT16 = 0x81A5
274 DEPTH_COMPONENT24 = 0x81A6
275 DEPTH_COMPONENT32 = 0x81A7
276 MIRRORED_REPEAT = 0x8370
277 FOG_COORDINATE_SOURCE = 0x8450 # 1 I
278 FOG_COORDINATE = 0x8451
279 FRAGMENT_DEPTH = 0x8452
280 CURRENT_FOG_COORDINATE = 0x8453 # 1 F
281 FOG_COORDINATE_ARRAY_TYPE = 0x8454 # 1 I
282 FOG_COORDINATE_ARRAY_STRIDE = 0x8455 # 1 I
283 FOG_COORDINATE_ARRAY_POINTER = 0x8456
284 FOG_COORDINATE_ARRAY = 0x8457 # 1 I
285 COLOR_SUM = 0x8458 # 1 I
286 CURRENT_SECONDARY_COLOR = 0x8459 # 3 F
287 SECONDARY_COLOR_ARRAY_SIZE = 0x845A # 1 I
288 SECONDARY_COLOR_ARRAY_TYPE = 0x845B # 1 I
289 SECONDARY_COLOR_ARRAY_STRIDE = 0x845C # 1 I
290 SECONDARY_COLOR_ARRAY_POINTER = 0x845D
291 SECONDARY_COLOR_ARRAY = 0x845E # 1 I
292 MAX_TEXTURE_LOD_BIAS = 0x84FD
293 TEXTURE_FILTER_CONTROL = 0x8500
294 TEXTURE_LOD_BIAS = 0x8501
295 INCR_WRAP = 0x8507
296 DECR_WRAP = 0x8508
297 TEXTURE_DEPTH_SIZE = 0x884A
298 DEPTH_TEXTURE_MODE = 0x884B
299 TEXTURE_COMPARE_MODE = 0x884C
300 TEXTURE_COMPARE_FUNC = 0x884D
301 COMPARE_R_TO_TEXTURE = 0x884E
304 ###############################################################################
306 # OpenGL 1.5 enums
308 ###############################################################################
310 VERSION_1_5 enum:
311 BUFFER_SIZE = 0x8764 # ARB_vertex_buffer_object
312 BUFFER_USAGE = 0x8765 # ARB_vertex_buffer_object
313 QUERY_COUNTER_BITS = 0x8864 # ARB_occlusion_query
314 CURRENT_QUERY = 0x8865 # ARB_occlusion_query
315 QUERY_RESULT = 0x8866 # ARB_occlusion_query
316 QUERY_RESULT_AVAILABLE = 0x8867 # ARB_occlusion_query
317 ARRAY_BUFFER = 0x8892 # ARB_vertex_buffer_object
318 ELEMENT_ARRAY_BUFFER = 0x8893 # ARB_vertex_buffer_object
319 ARRAY_BUFFER_BINDING = 0x8894 # ARB_vertex_buffer_object
320 ELEMENT_ARRAY_BUFFER_BINDING = 0x8895 # ARB_vertex_buffer_object
321 VERTEX_ARRAY_BUFFER_BINDING = 0x8896 # ARB_vertex_buffer_object
322 NORMAL_ARRAY_BUFFER_BINDING = 0x8897 # ARB_vertex_buffer_object
323 COLOR_ARRAY_BUFFER_BINDING = 0x8898 # ARB_vertex_buffer_object
324 INDEX_ARRAY_BUFFER_BINDING = 0x8899 # ARB_vertex_buffer_object
325 TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A # ARB_vertex_buffer_object
326 EDGE_FLAG_ARRAY_BUFFER_BINDING = 0x889B # ARB_vertex_buffer_object
327 SECONDARY_COLOR_ARRAY_BUFFER_BINDING = 0x889C # ARB_vertex_buffer_object
328 FOG_COORDINATE_ARRAY_BUFFER_BINDING = 0x889D # ARB_vertex_buffer_object
329 WEIGHT_ARRAY_BUFFER_BINDING = 0x889E # ARB_vertex_buffer_object
330 VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F # ARB_vertex_buffer_object
331 READ_ONLY = 0x88B8 # ARB_vertex_buffer_object
332 WRITE_ONLY = 0x88B9 # ARB_vertex_buffer_object
333 READ_WRITE = 0x88BA # ARB_vertex_buffer_object
334 BUFFER_ACCESS = 0x88BB # ARB_vertex_buffer_object
335 BUFFER_MAPPED = 0x88BC # ARB_vertex_buffer_object
336 BUFFER_MAP_POINTER = 0x88BD # ARB_vertex_buffer_object
337 STREAM_DRAW = 0x88E0 # ARB_vertex_buffer_object
338 STREAM_READ = 0x88E1 # ARB_vertex_buffer_object
339 STREAM_COPY = 0x88E2 # ARB_vertex_buffer_object
340 STATIC_DRAW = 0x88E4 # ARB_vertex_buffer_object
341 STATIC_READ = 0x88E5 # ARB_vertex_buffer_object
342 STATIC_COPY = 0x88E6 # ARB_vertex_buffer_object
343 DYNAMIC_DRAW = 0x88E8 # ARB_vertex_buffer_object
344 DYNAMIC_READ = 0x88E9 # ARB_vertex_buffer_object
345 DYNAMIC_COPY = 0x88EA # ARB_vertex_buffer_object
346 SAMPLES_PASSED = 0x8914 # ARB_occlusion_query
347 # New naming scheme
348 FOG_COORD_SRC = GL_FOG_COORDINATE_SOURCE
349 FOG_COORD = GL_FOG_COORDINATE
350 CURRENT_FOG_COORD = GL_CURRENT_FOG_COORDINATE
351 FOG_COORD_ARRAY_TYPE = GL_FOG_COORDINATE_ARRAY_TYPE
352 FOG_COORD_ARRAY_STRIDE = GL_FOG_COORDINATE_ARRAY_STRIDE
353 FOG_COORD_ARRAY_POINTER = GL_FOG_COORDINATE_ARRAY_POINTER
354 FOG_COORD_ARRAY = GL_FOG_COORDINATE_ARRAY
355 FOG_COORD_ARRAY_BUFFER_BINDING = GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
356 SRC0_RGB = GL_SOURCE0_RGB
357 SRC1_RGB = GL_SOURCE1_RGB
358 SRC2_RGB = GL_SOURCE2_RGB
359 SRC0_ALPHA = GL_SOURCE0_ALPHA
360 SRC1_ALPHA = GL_SOURCE1_ALPHA
361 SRC2_ALPHA = GL_SOURCE2_ALPHA
364 ###############################################################################
366 # OpenGL 2.0 enums
368 ###############################################################################
370 VERSION_2_0 enum:
371 BLEND_EQUATION_RGB = GL_BLEND_EQUATION # EXT_blend_equation_separate
372 VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622 # ARB_vertex_shader
373 VERTEX_ATTRIB_ARRAY_SIZE = 0x8623 # ARB_vertex_shader
374 VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624 # ARB_vertex_shader
375 VERTEX_ATTRIB_ARRAY_TYPE = 0x8625 # ARB_vertex_shader
376 CURRENT_VERTEX_ATTRIB = 0x8626 # ARB_vertex_shader
377 VERTEX_PROGRAM_POINT_SIZE = 0x8642 # ARB_vertex_shader
378 VERTEX_PROGRAM_TWO_SIDE = 0x8643 # ARB_vertex_shader
379 VERTEX_ATTRIB_ARRAY_POINTER = 0x8645 # ARB_vertex_shader
380 STENCIL_BACK_FUNC = 0x8800 # ARB_stencil_two_side
381 STENCIL_BACK_FAIL = 0x8801 # ARB_stencil_two_side
382 STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802 # ARB_stencil_two_side
383 STENCIL_BACK_PASS_DEPTH_PASS = 0x8803 # ARB_stencil_two_side
384 MAX_DRAW_BUFFERS = 0x8824 # ARB_draw_buffers
385 DRAW_BUFFER0 = 0x8825 # ARB_draw_buffers
386 DRAW_BUFFER1 = 0x8826 # ARB_draw_buffers
387 DRAW_BUFFER2 = 0x8827 # ARB_draw_buffers
388 DRAW_BUFFER3 = 0x8828 # ARB_draw_buffers
389 DRAW_BUFFER4 = 0x8829 # ARB_draw_buffers
390 DRAW_BUFFER5 = 0x882A # ARB_draw_buffers
391 DRAW_BUFFER6 = 0x882B # ARB_draw_buffers
392 DRAW_BUFFER7 = 0x882C # ARB_draw_buffers
393 DRAW_BUFFER8 = 0x882D # ARB_draw_buffers
394 DRAW_BUFFER9 = 0x882E # ARB_draw_buffers
395 DRAW_BUFFER10 = 0x882F # ARB_draw_buffers
396 DRAW_BUFFER11 = 0x8830 # ARB_draw_buffers
397 DRAW_BUFFER12 = 0x8831 # ARB_draw_buffers
398 DRAW_BUFFER13 = 0x8832 # ARB_draw_buffers
399 DRAW_BUFFER14 = 0x8833 # ARB_draw_buffers
400 DRAW_BUFFER15 = 0x8834 # ARB_draw_buffers
401 BLEND_EQUATION_ALPHA = 0x883D # EXT_blend_equation_separate
402 POINT_SPRITE = 0x8861 # ARB_point_sprite
403 COORD_REPLACE = 0x8862 # ARB_point_sprite
404 MAX_VERTEX_ATTRIBS = 0x8869 # ARB_vertex_shader
405 VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A # ARB_vertex_shader
406 MAX_TEXTURE_COORDS = 0x8871 # ARB_vertex_shader, ARB_fragment_shader
407 MAX_TEXTURE_IMAGE_UNITS = 0x8872 # ARB_vertex_shader, ARB_fragment_shader
408 FRAGMENT_SHADER = 0x8B30 # ARB_fragment_shader
409 VERTEX_SHADER = 0x8B31 # ARB_vertex_shader
410 MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49 # ARB_fragment_shader
411 MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A # ARB_vertex_shader
412 MAX_VARYING_FLOATS = 0x8B4B # ARB_vertex_shader
413 MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C # ARB_vertex_shader
414 MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D # ARB_vertex_shader
415 SHADER_TYPE = 0x8B4F # ARB_shader_objects
416 FLOAT_VEC2 = 0x8B50 # ARB_shader_objects
417 FLOAT_VEC3 = 0x8B51 # ARB_shader_objects
418 FLOAT_VEC4 = 0x8B52 # ARB_shader_objects
419 INT_VEC2 = 0x8B53 # ARB_shader_objects
420 INT_VEC3 = 0x8B54 # ARB_shader_objects
421 INT_VEC4 = 0x8B55 # ARB_shader_objects
422 BOOL = 0x8B56 # ARB_shader_objects
423 BOOL_VEC2 = 0x8B57 # ARB_shader_objects
424 BOOL_VEC3 = 0x8B58 # ARB_shader_objects
425 BOOL_VEC4 = 0x8B59 # ARB_shader_objects
426 FLOAT_MAT2 = 0x8B5A # ARB_shader_objects
427 FLOAT_MAT3 = 0x8B5B # ARB_shader_objects
428 FLOAT_MAT4 = 0x8B5C # ARB_shader_objects
429 SAMPLER_1D = 0x8B5D # ARB_shader_objects
430 SAMPLER_2D = 0x8B5E # ARB_shader_objects
431 SAMPLER_3D = 0x8B5F # ARB_shader_objects
432 SAMPLER_CUBE = 0x8B60 # ARB_shader_objects
433 SAMPLER_1D_SHADOW = 0x8B61 # ARB_shader_objects
434 SAMPLER_2D_SHADOW = 0x8B62 # ARB_shader_objects
435 DELETE_STATUS = 0x8B80 # ARB_shader_objects
436 COMPILE_STATUS = 0x8B81 # ARB_shader_objects
437 LINK_STATUS = 0x8B82 # ARB_shader_objects
438 VALIDATE_STATUS = 0x8B83 # ARB_shader_objects
439 INFO_LOG_LENGTH = 0x8B84 # ARB_shader_objects
440 ATTACHED_SHADERS = 0x8B85 # ARB_shader_objects
441 ACTIVE_UNIFORMS = 0x8B86 # ARB_shader_objects
442 ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87 # ARB_shader_objects
443 SHADER_SOURCE_LENGTH = 0x8B88 # ARB_shader_objects
444 ACTIVE_ATTRIBUTES = 0x8B89 # ARB_vertex_shader
445 ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A # ARB_vertex_shader
446 FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B # ARB_fragment_shader
447 SHADING_LANGUAGE_VERSION = 0x8B8C # ARB_shading_language_100
448 CURRENT_PROGRAM = 0x8B8D # ARB_shader_objects (added for 2.0)
449 POINT_SPRITE_COORD_ORIGIN = 0x8CA0 # ARB_point_sprite (added for 2.0)
450 LOWER_LEFT = 0x8CA1 # ARB_point_sprite (added for 2.0)
451 UPPER_LEFT = 0x8CA2 # ARB_point_sprite (added for 2.0)
452 STENCIL_BACK_REF = 0x8CA3 # ARB_stencil_two_side
453 STENCIL_BACK_VALUE_MASK = 0x8CA4 # ARB_stencil_two_side
454 STENCIL_BACK_WRITEMASK = 0x8CA5 # ARB_stencil_two_side
456 ###############################################################################
458 # OpenGL 2.1 enums
460 ###############################################################################
462 VERSION_2_1 enum:
463 CURRENT_RASTER_SECONDARY_COLOR = 0x845F # New for 2.1
464 PIXEL_PACK_BUFFER = 0x88EB # ARB_pixel_buffer_object
465 PIXEL_UNPACK_BUFFER = 0x88EC # ARB_pixel_buffer_object
466 PIXEL_PACK_BUFFER_BINDING = 0x88ED # ARB_pixel_buffer_object
467 PIXEL_UNPACK_BUFFER_BINDING = 0x88EF # ARB_pixel_buffer_object
468 FLOAT_MAT2x3 = 0x8B65 # New for 2.1
469 FLOAT_MAT2x4 = 0x8B66 # New for 2.1
470 FLOAT_MAT3x2 = 0x8B67 # New for 2.1
471 FLOAT_MAT3x4 = 0x8B68 # New for 2.1
472 FLOAT_MAT4x2 = 0x8B69 # New for 2.1
473 FLOAT_MAT4x3 = 0x8B6A # New for 2.1
474 SRGB = 0x8C40 # EXT_texture_sRGB
475 SRGB8 = 0x8C41 # EXT_texture_sRGB
476 SRGB_ALPHA = 0x8C42 # EXT_texture_sRGB
477 SRGB8_ALPHA8 = 0x8C43 # EXT_texture_sRGB
478 SLUMINANCE_ALPHA = 0x8C44 # EXT_texture_sRGB
479 SLUMINANCE8_ALPHA8 = 0x8C45 # EXT_texture_sRGB
480 SLUMINANCE = 0x8C46 # EXT_texture_sRGB
481 SLUMINANCE8 = 0x8C47 # EXT_texture_sRGB
482 COMPRESSED_SRGB = 0x8C48 # EXT_texture_sRGB
483 COMPRESSED_SRGB_ALPHA = 0x8C49 # EXT_texture_sRGB
484 COMPRESSED_SLUMINANCE = 0x8C4A # EXT_texture_sRGB
485 COMPRESSED_SLUMINANCE_ALPHA = 0x8C4B # EXT_texture_sRGB
488 ###############################################################################
490 # ARB extensions, in ARB extension order
492 ###############################################################################
494 ###############################################################################
496 # ARB Extension #1
497 ARB_multitexture enum:
498 TEXTURE0_ARB = 0x84C0
499 TEXTURE1_ARB = 0x84C1
500 TEXTURE2_ARB = 0x84C2
501 TEXTURE3_ARB = 0x84C3
502 TEXTURE4_ARB = 0x84C4
503 TEXTURE5_ARB = 0x84C5
504 TEXTURE6_ARB = 0x84C6
505 TEXTURE7_ARB = 0x84C7
506 TEXTURE8_ARB = 0x84C8
507 TEXTURE9_ARB = 0x84C9
508 TEXTURE10_ARB = 0x84CA
509 TEXTURE11_ARB = 0x84CB
510 TEXTURE12_ARB = 0x84CC
511 TEXTURE13_ARB = 0x84CD
512 TEXTURE14_ARB = 0x84CE
513 TEXTURE15_ARB = 0x84CF
514 TEXTURE16_ARB = 0x84D0
515 TEXTURE17_ARB = 0x84D1
516 TEXTURE18_ARB = 0x84D2
517 TEXTURE19_ARB = 0x84D3
518 TEXTURE20_ARB = 0x84D4
519 TEXTURE21_ARB = 0x84D5
520 TEXTURE22_ARB = 0x84D6
521 TEXTURE23_ARB = 0x84D7
522 TEXTURE24_ARB = 0x84D8
523 TEXTURE25_ARB = 0x84D9
524 TEXTURE26_ARB = 0x84DA
525 TEXTURE27_ARB = 0x84DB
526 TEXTURE28_ARB = 0x84DC
527 TEXTURE29_ARB = 0x84DD
528 TEXTURE30_ARB = 0x84DE
529 TEXTURE31_ARB = 0x84DF
530 ACTIVE_TEXTURE_ARB = 0x84E0 # 1 I
531 CLIENT_ACTIVE_TEXTURE_ARB = 0x84E1 # 1 I
532 MAX_TEXTURE_UNITS_ARB = 0x84E2 # 1 I
534 ###############################################################################
536 # No new tokens
537 # ARB Extension #2 - GLX_ARB_get_proc_address
539 ###############################################################################
541 # ARB Extension #3
542 ARB_transpose_matrix enum:
543 TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3 # 16 F
544 TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4 # 16 F
545 TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5 # 16 F
546 TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6 # 16 F
548 ###############################################################################
550 # No new tokens
551 # ARB Extension #4 - WGL_ARB_buffer_region
553 ###############################################################################
555 # ARB Extension #5
556 ARB_multisample enum:
557 MULTISAMPLE_ARB = 0x809D
558 SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809E
559 SAMPLE_ALPHA_TO_ONE_ARB = 0x809F
560 SAMPLE_COVERAGE_ARB = 0x80A0
561 SAMPLE_BUFFERS_ARB = 0x80A8
562 SAMPLES_ARB = 0x80A9
563 SAMPLE_COVERAGE_VALUE_ARB = 0x80AA
564 SAMPLE_COVERAGE_INVERT_ARB = 0x80AB
565 MULTISAMPLE_BIT_ARB = 0x20000000
567 ###############################################################################
569 # No new tokens
570 # ARB Extension #6
571 ARB_texture_env_add enum:
573 ###############################################################################
575 # ARB Extension #7
576 ARB_texture_cube_map enum:
577 NORMAL_MAP_ARB = 0x8511
578 REFLECTION_MAP_ARB = 0x8512
579 TEXTURE_CUBE_MAP_ARB = 0x8513
580 TEXTURE_BINDING_CUBE_MAP_ARB = 0x8514
581 TEXTURE_CUBE_MAP_POSITIVE_X_ARB = 0x8515
582 TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = 0x8516
583 TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = 0x8517
584 TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = 0x8518
585 TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = 0x8519
586 TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = 0x851A
587 PROXY_TEXTURE_CUBE_MAP_ARB = 0x851B
588 MAX_CUBE_MAP_TEXTURE_SIZE_ARB = 0x851C
590 ###############################################################################
592 # No new tokens
593 # ARB Extension #8 - WGL_ARB_extensions_string
594 # ARB Extension #9 - WGL_ARB_pixel_format
595 # ARB Extension #10 - WGL_ARB_make_current_read
596 # ARB Extension #11 - WGL_ARB_pbuffer
598 ###############################################################################
600 # ARB Extension #12
601 ARB_texture_compression enum:
602 COMPRESSED_ALPHA_ARB = 0x84E9
603 COMPRESSED_LUMINANCE_ARB = 0x84EA
604 COMPRESSED_LUMINANCE_ALPHA_ARB = 0x84EB
605 COMPRESSED_INTENSITY_ARB = 0x84EC
606 COMPRESSED_RGB_ARB = 0x84ED
607 COMPRESSED_RGBA_ARB = 0x84EE
608 TEXTURE_COMPRESSION_HINT_ARB = 0x84EF
609 TEXTURE_COMPRESSED_IMAGE_SIZE_ARB = 0x86A0
610 TEXTURE_COMPRESSED_ARB = 0x86A1
611 NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2
612 COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3
614 ###############################################################################
616 # ARB Extension #13
617 # Promoted from #36 SGIS_texture_border_clamp
618 ARB_texture_border_clamp enum:
619 CLAMP_TO_BORDER_ARB = 0x812D
621 ###############################################################################
623 # ARB Extension #14 - promoted from #54 EXT_point_parameters
624 # Promoted from #54 {SGIS,EXT}_point_parameters
625 ARB_point_parameters enum:
626 POINT_SIZE_MIN_ARB = 0x8126 # 1 F
627 POINT_SIZE_MAX_ARB = 0x8127 # 1 F
628 POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128 # 1 F
629 POINT_DISTANCE_ATTENUATION_ARB = 0x8129 # 3 F
631 ###############################################################################
633 # ARB Extension #15
634 ARB_vertex_blend enum:
635 MAX_VERTEX_UNITS_ARB = 0x86A4
636 ACTIVE_VERTEX_UNITS_ARB = 0x86A5
637 WEIGHT_SUM_UNITY_ARB = 0x86A6
638 VERTEX_BLEND_ARB = 0x86A7
639 CURRENT_WEIGHT_ARB = 0x86A8
640 WEIGHT_ARRAY_TYPE_ARB = 0x86A9
641 WEIGHT_ARRAY_STRIDE_ARB = 0x86AA
642 WEIGHT_ARRAY_SIZE_ARB = 0x86AB
643 WEIGHT_ARRAY_POINTER_ARB = 0x86AC
644 WEIGHT_ARRAY_ARB = 0x86AD
645 MODELVIEW0_ARB = 0x1700
646 MODELVIEW1_ARB = 0x850A
647 MODELVIEW2_ARB = 0x8722
648 MODELVIEW3_ARB = 0x8723
649 MODELVIEW4_ARB = 0x8724
650 MODELVIEW5_ARB = 0x8725
651 MODELVIEW6_ARB = 0x8726
652 MODELVIEW7_ARB = 0x8727
653 MODELVIEW8_ARB = 0x8728
654 MODELVIEW9_ARB = 0x8729
655 MODELVIEW10_ARB = 0x872A
656 MODELVIEW11_ARB = 0x872B
657 MODELVIEW12_ARB = 0x872C
658 MODELVIEW13_ARB = 0x872D
659 MODELVIEW14_ARB = 0x872E
660 MODELVIEW15_ARB = 0x872F
661 MODELVIEW16_ARB = 0x8730
662 MODELVIEW17_ARB = 0x8731
663 MODELVIEW18_ARB = 0x8732
664 MODELVIEW19_ARB = 0x8733
665 MODELVIEW20_ARB = 0x8734
666 MODELVIEW21_ARB = 0x8735
667 MODELVIEW22_ARB = 0x8736
668 MODELVIEW23_ARB = 0x8737
669 MODELVIEW24_ARB = 0x8738
670 MODELVIEW25_ARB = 0x8739
671 MODELVIEW26_ARB = 0x873A
672 MODELVIEW27_ARB = 0x873B
673 MODELVIEW28_ARB = 0x873C
674 MODELVIEW29_ARB = 0x873D
675 MODELVIEW30_ARB = 0x873E
676 MODELVIEW31_ARB = 0x873F
678 ###############################################################################
680 # ARB Extension #16
681 ARB_matrix_palette enum:
682 MATRIX_PALETTE_ARB = 0x8840
683 MAX_MATRIX_PALETTE_STACK_DEPTH_ARB = 0x8841
684 MAX_PALETTE_MATRICES_ARB = 0x8842
685 CURRENT_PALETTE_MATRIX_ARB = 0x8843
686 MATRIX_INDEX_ARRAY_ARB = 0x8844
687 CURRENT_MATRIX_INDEX_ARB = 0x8845
688 MATRIX_INDEX_ARRAY_SIZE_ARB = 0x8846
689 MATRIX_INDEX_ARRAY_TYPE_ARB = 0x8847
690 MATRIX_INDEX_ARRAY_STRIDE_ARB = 0x8848
691 MATRIX_INDEX_ARRAY_POINTER_ARB = 0x8849
693 ###############################################################################
695 # ARB Extension #17
696 # Shares enum values with EXT_texture_env_combine
697 ARB_texture_env_combine enum:
698 COMBINE_ARB = 0x8570
699 COMBINE_RGB_ARB = 0x8571
700 COMBINE_ALPHA_ARB = 0x8572
701 SOURCE0_RGB_ARB = 0x8580
702 SOURCE1_RGB_ARB = 0x8581
703 SOURCE2_RGB_ARB = 0x8582
704 SOURCE0_ALPHA_ARB = 0x8588
705 SOURCE1_ALPHA_ARB = 0x8589
706 SOURCE2_ALPHA_ARB = 0x858A
707 OPERAND0_RGB_ARB = 0x8590
708 OPERAND1_RGB_ARB = 0x8591
709 OPERAND2_RGB_ARB = 0x8592
710 OPERAND0_ALPHA_ARB = 0x8598
711 OPERAND1_ALPHA_ARB = 0x8599
712 OPERAND2_ALPHA_ARB = 0x859A
713 RGB_SCALE_ARB = 0x8573
714 ADD_SIGNED_ARB = 0x8574
715 INTERPOLATE_ARB = 0x8575
716 SUBTRACT_ARB = 0x84E7
717 CONSTANT_ARB = 0x8576
718 PRIMARY_COLOR_ARB = 0x8577
719 PREVIOUS_ARB = 0x8578
721 ###############################################################################
723 # No new tokens
724 # ARB Extension #18
725 ARB_texture_env_crossbar enum:
727 ###############################################################################
729 # ARB Extension #19
730 # Promoted from #220 EXT_texture_env_dot3; enum values changed
731 ARB_texture_env_dot3 enum:
732 DOT3_RGB_ARB = 0x86AE
733 DOT3_RGBA_ARB = 0x86AF
735 ###############################################################################
737 # No new tokens
738 # ARB Extension #20 - WGL_ARB_render_texture
740 ###############################################################################
742 # ARB Extension #21
743 ARB_texture_mirrored_repeat enum:
744 MIRRORED_REPEAT_ARB = 0x8370
746 ###############################################################################
748 # ARB Extension #22
749 ARB_depth_texture enum:
750 DEPTH_COMPONENT16_ARB = 0x81A5
751 DEPTH_COMPONENT24_ARB = 0x81A6
752 DEPTH_COMPONENT32_ARB = 0x81A7
753 TEXTURE_DEPTH_SIZE_ARB = 0x884A
754 DEPTH_TEXTURE_MODE_ARB = 0x884B
756 ###############################################################################
758 # ARB Extension #23
759 ARB_shadow enum:
760 TEXTURE_COMPARE_MODE_ARB = 0x884C
761 TEXTURE_COMPARE_FUNC_ARB = 0x884D
762 COMPARE_R_TO_TEXTURE_ARB = 0x884E
764 ###############################################################################
766 # ARB Extension #24
767 ARB_shadow_ambient enum:
768 TEXTURE_COMPARE_FAIL_VALUE_ARB = 0x80BF
770 ###############################################################################
772 # No new tokens
773 # ARB Extension #25
774 ARB_window_pos enum:
776 ###############################################################################
778 # ARB Extension #26
779 # ARB_vertex_program enums are shared by ARB_fragment_program are so marked.
780 # Unfortunately, PROGRAM_BINDING_ARB does accidentally reuse 0x8677 -
781 # this was a spec editing typo that's now uncorrectable.
782 ARB_vertex_program enum:
783 COLOR_SUM_ARB = 0x8458
784 VERTEX_PROGRAM_ARB = 0x8620
785 VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622
786 VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623
787 VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624
788 VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625
789 CURRENT_VERTEX_ATTRIB_ARB = 0x8626
790 PROGRAM_LENGTH_ARB = 0x8627 # shared
791 PROGRAM_STRING_ARB = 0x8628 # shared
792 MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862E # shared
793 MAX_PROGRAM_MATRICES_ARB = 0x862F # shared
794 CURRENT_MATRIX_STACK_DEPTH_ARB = 0x8640 # shared
795 CURRENT_MATRIX_ARB = 0x8641 # shared
796 VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642
797 VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643
798 VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645
799 PROGRAM_ERROR_POSITION_ARB = 0x864B # shared
800 PROGRAM_BINDING_ARB = 0x8677 # shared
801 MAX_VERTEX_ATTRIBS_ARB = 0x8869
802 VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A
803 PROGRAM_ERROR_STRING_ARB = 0x8874 # shared
804 PROGRAM_FORMAT_ASCII_ARB = 0x8875 # shared
805 PROGRAM_FORMAT_ARB = 0x8876 # shared
806 PROGRAM_INSTRUCTIONS_ARB = 0x88A0 # shared
807 MAX_PROGRAM_INSTRUCTIONS_ARB = 0x88A1 # shared
808 PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A2 # shared
809 MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A3 # shared
810 PROGRAM_TEMPORARIES_ARB = 0x88A4 # shared
811 MAX_PROGRAM_TEMPORARIES_ARB = 0x88A5 # shared
812 PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A6 # shared
813 MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A7 # shared
814 PROGRAM_PARAMETERS_ARB = 0x88A8 # shared
815 MAX_PROGRAM_PARAMETERS_ARB = 0x88A9 # shared
816 PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AA # shared
817 MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AB # shared
818 PROGRAM_ATTRIBS_ARB = 0x88AC # shared
819 MAX_PROGRAM_ATTRIBS_ARB = 0x88AD # shared
820 PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AE # shared
821 MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AF # shared
822 PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0 # shared
823 MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1 # shared
824 PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2 # shared
825 MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3 # shared
826 MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 0x88B4 # shared
827 MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5 # shared
828 PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6 # shared
829 TRANSPOSE_CURRENT_MATRIX_ARB = 0x88B7 # shared
830 MATRIX0_ARB = 0x88C0 # shared
831 MATRIX1_ARB = 0x88C1 # shared
832 MATRIX2_ARB = 0x88C2 # shared
833 MATRIX3_ARB = 0x88C3 # shared
834 MATRIX4_ARB = 0x88C4 # shared
835 MATRIX5_ARB = 0x88C5 # shared
836 MATRIX6_ARB = 0x88C6 # shared
837 MATRIX7_ARB = 0x88C7 # shared
838 MATRIX8_ARB = 0x88C8 # shared
839 MATRIX9_ARB = 0x88C9 # shared
840 MATRIX10_ARB = 0x88CA # shared
841 MATRIX11_ARB = 0x88CB # shared
842 MATRIX12_ARB = 0x88CC # shared
843 MATRIX13_ARB = 0x88CD # shared
844 MATRIX14_ARB = 0x88CE # shared
845 MATRIX15_ARB = 0x88CF # shared
846 MATRIX16_ARB = 0x88D0 # shared
847 MATRIX17_ARB = 0x88D1 # shared
848 MATRIX18_ARB = 0x88D2 # shared
849 MATRIX19_ARB = 0x88D3 # shared
850 MATRIX20_ARB = 0x88D4 # shared
851 MATRIX21_ARB = 0x88D5 # shared
852 MATRIX22_ARB = 0x88D6 # shared
853 MATRIX23_ARB = 0x88D7 # shared
854 MATRIX24_ARB = 0x88D8 # shared
855 MATRIX25_ARB = 0x88D9 # shared
856 MATRIX26_ARB = 0x88DA # shared
857 MATRIX27_ARB = 0x88DB # shared
858 MATRIX28_ARB = 0x88DC # shared
859 MATRIX29_ARB = 0x88DD # shared
860 MATRIX30_ARB = 0x88DE # shared
861 MATRIX31_ARB = 0x88DF # shared
863 ###############################################################################
865 # ARB Extension #27
866 # Some ARB_fragment_program enums are shared with ARB_vertex_program,
867 # and are only included in that #define block, for now.
868 ARB_fragment_program enum:
869 # PROGRAM_LENGTH_ARB = 0x8627 # shared
870 # PROGRAM_STRING_ARB = 0x8628 # shared
871 # MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862E # shared
872 # MAX_PROGRAM_MATRICES_ARB = 0x862F # shared
873 # CURRENT_MATRIX_STACK_DEPTH_ARB = 0x8640 # shared
874 # CURRENT_MATRIX_ARB = 0x8641 # shared
875 # PROGRAM_ERROR_POSITION_ARB = 0x864B # shared
876 # PROGRAM_BINDING_ARB = 0x8677 # shared
877 FRAGMENT_PROGRAM_ARB = 0x8804
878 PROGRAM_ALU_INSTRUCTIONS_ARB = 0x8805
879 PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806
880 PROGRAM_TEX_INDIRECTIONS_ARB = 0x8807
881 PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x8808
882 PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x8809
883 PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x880A
884 MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x880B
885 MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x880C
886 MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 0x880D
887 MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x880E
888 MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x880F
889 MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x8810
890 MAX_TEXTURE_COORDS_ARB = 0x8871
891 MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872
892 # PROGRAM_ERROR_STRING_ARB = 0x8874 # shared
893 # PROGRAM_FORMAT_ASCII_ARB = 0x8875 # shared
894 # PROGRAM_FORMAT_ARB = 0x8876 # shared
895 # PROGRAM_INSTRUCTIONS_ARB = 0x88A0 # shared
896 # MAX_PROGRAM_INSTRUCTIONS_ARB = 0x88A1 # shared
897 # PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A2 # shared
898 # MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A3 # shared
899 # PROGRAM_TEMPORARIES_ARB = 0x88A4 # shared
900 # MAX_PROGRAM_TEMPORARIES_ARB = 0x88A5 # shared
901 # PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A6 # shared
902 # MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A7 # shared
903 # PROGRAM_PARAMETERS_ARB = 0x88A8 # shared
904 # MAX_PROGRAM_PARAMETERS_ARB = 0x88A9 # shared
905 # PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AA # shared
906 # MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AB # shared
907 # PROGRAM_ATTRIBS_ARB = 0x88AC # shared
908 # MAX_PROGRAM_ATTRIBS_ARB = 0x88AD # shared
909 # PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AE # shared
910 # MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AF # shared
911 # PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0 # shared
912 # MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1 # shared
913 # PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2 # shared
914 # MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3 # shared
915 # MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 0x88B4 # shared
916 # MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5 # shared
917 # PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6 # shared
918 # TRANSPOSE_CURRENT_MATRIX_ARB = 0x88B7 # shared
919 # MATRIX0_ARB = 0x88C0 # shared
920 # MATRIX1_ARB = 0x88C1 # shared
921 # MATRIX2_ARB = 0x88C2 # shared
922 # MATRIX3_ARB = 0x88C3 # shared
923 # MATRIX4_ARB = 0x88C4 # shared
924 # MATRIX5_ARB = 0x88C5 # shared
925 # MATRIX6_ARB = 0x88C6 # shared
926 # MATRIX7_ARB = 0x88C7 # shared
927 # MATRIX8_ARB = 0x88C8 # shared
928 # MATRIX9_ARB = 0x88C9 # shared
929 # MATRIX10_ARB = 0x88CA # shared
930 # MATRIX11_ARB = 0x88CB # shared
931 # MATRIX12_ARB = 0x88CC # shared
932 # MATRIX13_ARB = 0x88CD # shared
933 # MATRIX14_ARB = 0x88CE # shared
934 # MATRIX15_ARB = 0x88CF # shared
935 # MATRIX16_ARB = 0x88D0 # shared
936 # MATRIX17_ARB = 0x88D1 # shared
937 # MATRIX18_ARB = 0x88D2 # shared
938 # MATRIX19_ARB = 0x88D3 # shared
939 # MATRIX20_ARB = 0x88D4 # shared
940 # MATRIX21_ARB = 0x88D5 # shared
941 # MATRIX22_ARB = 0x88D6 # shared
942 # MATRIX23_ARB = 0x88D7 # shared
943 # MATRIX24_ARB = 0x88D8 # shared
944 # MATRIX25_ARB = 0x88D9 # shared
945 # MATRIX26_ARB = 0x88DA # shared
946 # MATRIX27_ARB = 0x88DB # shared
947 # MATRIX28_ARB = 0x88DC # shared
948 # MATRIX29_ARB = 0x88DD # shared
949 # MATRIX30_ARB = 0x88DE # shared
950 # MATRIX31_ARB = 0x88DF # shared
953 ###############################################################################
955 # ARB Extension #28
956 ARB_vertex_buffer_object enum:
957 BUFFER_SIZE_ARB = 0x8764
958 BUFFER_USAGE_ARB = 0x8765
959 ARRAY_BUFFER_ARB = 0x8892
960 ELEMENT_ARRAY_BUFFER_ARB = 0x8893
961 ARRAY_BUFFER_BINDING_ARB = 0x8894
962 ELEMENT_ARRAY_BUFFER_BINDING_ARB = 0x8895
963 VERTEX_ARRAY_BUFFER_BINDING_ARB = 0x8896
964 NORMAL_ARRAY_BUFFER_BINDING_ARB = 0x8897
965 COLOR_ARRAY_BUFFER_BINDING_ARB = 0x8898
966 INDEX_ARRAY_BUFFER_BINDING_ARB = 0x8899
967 TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB = 0x889A
968 EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB = 0x889B
969 SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB = 0x889C
970 FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB = 0x889D
971 WEIGHT_ARRAY_BUFFER_BINDING_ARB = 0x889E
972 VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = 0x889F
973 READ_ONLY_ARB = 0x88B8
974 WRITE_ONLY_ARB = 0x88B9
975 READ_WRITE_ARB = 0x88BA
976 BUFFER_ACCESS_ARB = 0x88BB
977 BUFFER_MAPPED_ARB = 0x88BC
978 BUFFER_MAP_POINTER_ARB = 0x88BD
979 STREAM_DRAW_ARB = 0x88E0
980 STREAM_READ_ARB = 0x88E1
981 STREAM_COPY_ARB = 0x88E2
982 STATIC_DRAW_ARB = 0x88E4
983 STATIC_READ_ARB = 0x88E5
984 STATIC_COPY_ARB = 0x88E6
985 DYNAMIC_DRAW_ARB = 0x88E8
986 DYNAMIC_READ_ARB = 0x88E9
987 DYNAMIC_COPY_ARB = 0x88EA
989 ###############################################################################
991 # ARB Extension #29
992 ARB_occlusion_query enum:
993 QUERY_COUNTER_BITS_ARB = 0x8864
994 CURRENT_QUERY_ARB = 0x8865
995 QUERY_RESULT_ARB = 0x8866
996 QUERY_RESULT_AVAILABLE_ARB = 0x8867
997 SAMPLES_PASSED_ARB = 0x8914
999 ###############################################################################
1001 # ARB Extension #30
1002 ARB_shader_objects enum:
1003 PROGRAM_OBJECT_ARB = 0x8B40
1004 SHADER_OBJECT_ARB = 0x8B48
1005 OBJECT_TYPE_ARB = 0x8B4E
1006 OBJECT_SUBTYPE_ARB = 0x8B4F
1007 FLOAT_VEC2_ARB = 0x8B50
1008 FLOAT_VEC3_ARB = 0x8B51
1009 FLOAT_VEC4_ARB = 0x8B52
1010 INT_VEC2_ARB = 0x8B53
1011 INT_VEC3_ARB = 0x8B54
1012 INT_VEC4_ARB = 0x8B55
1013 BOOL_ARB = 0x8B56
1014 BOOL_VEC2_ARB = 0x8B57
1015 BOOL_VEC3_ARB = 0x8B58
1016 BOOL_VEC4_ARB = 0x8B59
1017 FLOAT_MAT2_ARB = 0x8B5A
1018 FLOAT_MAT3_ARB = 0x8B5B
1019 FLOAT_MAT4_ARB = 0x8B5C
1020 SAMPLER_1D_ARB = 0x8B5D
1021 SAMPLER_2D_ARB = 0x8B5E
1022 SAMPLER_3D_ARB = 0x8B5F
1023 SAMPLER_CUBE_ARB = 0x8B60
1024 SAMPLER_1D_SHADOW_ARB = 0x8B61
1025 SAMPLER_2D_SHADOW_ARB = 0x8B62
1026 SAMPLER_2D_RECT_ARB = 0x8B63
1027 SAMPLER_2D_RECT_SHADOW_ARB = 0x8B64
1028 OBJECT_DELETE_STATUS_ARB = 0x8B80
1029 OBJECT_COMPILE_STATUS_ARB = 0x8B81
1030 OBJECT_LINK_STATUS_ARB = 0x8B82
1031 OBJECT_VALIDATE_STATUS_ARB = 0x8B83
1032 OBJECT_INFO_LOG_LENGTH_ARB = 0x8B84
1033 OBJECT_ATTACHED_OBJECTS_ARB = 0x8B85
1034 OBJECT_ACTIVE_UNIFORMS_ARB = 0x8B86
1035 OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8B87
1036 OBJECT_SHADER_SOURCE_LENGTH_ARB = 0x8B88
1038 ###############################################################################
1040 # ARB Extension #31
1041 # Additional enums are reused from ARB_vertex/fragment_program and ARB_shader_objects
1042 ARB_vertex_shader enum:
1043 VERTEX_SHADER_ARB = 0x8B31
1044 MAX_VERTEX_UNIFORM_COMPONENTS_ARB = 0x8B4A
1045 MAX_VARYING_FLOATS_ARB = 0x8B4B
1046 MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8B4C
1047 MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB = 0x8B4D
1048 OBJECT_ACTIVE_ATTRIBUTES_ARB = 0x8B89
1049 OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = 0x8B8A
1051 ###############################################################################
1053 # ARB Extension #32
1054 # Additional enums are reused from ARB_fragment_program and ARB_shader_objects
1055 ARB_fragment_shader enum:
1056 FRAGMENT_SHADER_ARB = 0x8B30
1057 MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = 0x8B49
1058 FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B
1060 ###############################################################################
1062 # ARB Extension #33
1063 ARB_shading_language_100 enum:
1064 SHADING_LANGUAGE_VERSION_ARB = 0x8B8C
1066 ###############################################################################
1068 # ARB Extension #34
1069 # No new tokens
1070 ARB_texture_non_power_of_two enum:
1072 ###############################################################################
1074 # ARB Extension #35
1075 ARB_point_sprite enum:
1076 POINT_SPRITE_ARB = 0x8861
1077 COORD_REPLACE_ARB = 0x8862
1079 ###############################################################################
1081 # ARB Extension #36
1082 # No new tokens
1083 ARB_fragment_program_shadow enum:
1085 ###############################################################################
1087 # ARB Extension #37
1088 ARB_draw_buffers enum:
1089 MAX_DRAW_BUFFERS_ARB = 0x8824
1090 DRAW_BUFFER0_ARB = 0x8825
1091 DRAW_BUFFER1_ARB = 0x8826
1092 DRAW_BUFFER2_ARB = 0x8827
1093 DRAW_BUFFER3_ARB = 0x8828
1094 DRAW_BUFFER4_ARB = 0x8829
1095 DRAW_BUFFER5_ARB = 0x882A
1096 DRAW_BUFFER6_ARB = 0x882B
1097 DRAW_BUFFER7_ARB = 0x882C
1098 DRAW_BUFFER8_ARB = 0x882D
1099 DRAW_BUFFER9_ARB = 0x882E
1100 DRAW_BUFFER10_ARB = 0x882F
1101 DRAW_BUFFER11_ARB = 0x8830
1102 DRAW_BUFFER12_ARB = 0x8831
1103 DRAW_BUFFER13_ARB = 0x8832
1104 DRAW_BUFFER14_ARB = 0x8833
1105 DRAW_BUFFER15_ARB = 0x8834
1107 ###############################################################################
1109 # ARB Extension #38
1110 ARB_texture_rectangle enum:
1111 TEXTURE_RECTANGLE_ARB = 0x84F5
1112 TEXTURE_BINDING_RECTANGLE_ARB = 0x84F6
1113 PROXY_TEXTURE_RECTANGLE_ARB = 0x84F7
1114 MAX_RECTANGLE_TEXTURE_SIZE_ARB = 0x84F8
1116 ###############################################################################
1118 # ARB Extension #39
1119 ARB_color_buffer_float enum:
1120 RGBA_FLOAT_MODE_ARB = 0x8820
1121 CLAMP_VERTEX_COLOR_ARB = 0x891A
1122 CLAMP_FRAGMENT_COLOR_ARB = 0x891B
1123 CLAMP_READ_COLOR_ARB = 0x891C
1124 FIXED_ONLY_ARB = 0x891D
1126 ###############################################################################
1128 # ARB Extension #40
1129 ARB_half_float_pixel enum:
1130 HALF_FLOAT_ARB = 0x140B
1132 ###############################################################################
1134 # ARB Extension #41
1135 ARB_texture_float enum:
1136 TEXTURE_RED_TYPE_ARB = 0x8C10
1137 TEXTURE_GREEN_TYPE_ARB = 0x8C11
1138 TEXTURE_BLUE_TYPE_ARB = 0x8C12
1139 TEXTURE_ALPHA_TYPE_ARB = 0x8C13
1140 TEXTURE_LUMINANCE_TYPE_ARB = 0x8C14
1141 TEXTURE_INTENSITY_TYPE_ARB = 0x8C15
1142 TEXTURE_DEPTH_TYPE_ARB = 0x8C16
1143 UNSIGNED_NORMALIZED_ARB = 0x8C17
1144 RGBA32F_ARB = 0x8814
1145 RGB32F_ARB = 0x8815
1146 ALPHA32F_ARB = 0x8816
1147 INTENSITY32F_ARB = 0x8817
1148 LUMINANCE32F_ARB = 0x8818
1149 LUMINANCE_ALPHA32F_ARB = 0x8819
1150 RGBA16F_ARB = 0x881A
1151 RGB16F_ARB = 0x881B
1152 ALPHA16F_ARB = 0x881C
1153 INTENSITY16F_ARB = 0x881D
1154 LUMINANCE16F_ARB = 0x881E
1155 LUMINANCE_ALPHA16F_ARB = 0x881F
1157 ###############################################################################
1159 # ARB Extension #42
1160 ARB_pixel_buffer_object enum:
1161 PIXEL_PACK_BUFFER_ARB = 0x88EB
1162 PIXEL_UNPACK_BUFFER_ARB = 0x88EC
1163 PIXEL_PACK_BUFFER_BINDING_ARB = 0x88ED
1164 PIXEL_UNPACK_BUFFER_BINDING_ARB = 0x88EF
1167 ###############################################################################
1169 # non-ARB extensions follow, in registry order
1171 ###############################################################################
1173 ###############################################################################
1175 # Extension #1
1176 EXT_abgr enum:
1177 ABGR_EXT = 0x8000
1179 ###############################################################################
1181 # Extension #2
1182 EXT_blend_color enum:
1183 CONSTANT_COLOR_EXT = 0x8001
1184 ONE_MINUS_CONSTANT_COLOR_EXT = 0x8002
1185 CONSTANT_ALPHA_EXT = 0x8003
1186 ONE_MINUS_CONSTANT_ALPHA_EXT = 0x8004
1187 BLEND_COLOR_EXT = 0x8005 # 4 F
1189 ###############################################################################
1191 # Extension #3
1192 EXT_polygon_offset enum:
1193 POLYGON_OFFSET_EXT = 0x8037
1194 POLYGON_OFFSET_FACTOR_EXT = 0x8038
1195 POLYGON_OFFSET_BIAS_EXT = 0x8039 # 1 F
1197 ###############################################################################
1199 # Extension #4
1200 EXT_texture enum:
1201 ALPHA4_EXT = 0x803B
1202 ALPHA8_EXT = 0x803C
1203 ALPHA12_EXT = 0x803D
1204 ALPHA16_EXT = 0x803E
1205 LUMINANCE4_EXT = 0x803F
1206 LUMINANCE8_EXT = 0x8040
1207 LUMINANCE12_EXT = 0x8041
1208 LUMINANCE16_EXT = 0x8042
1209 LUMINANCE4_ALPHA4_EXT = 0x8043
1210 LUMINANCE6_ALPHA2_EXT = 0x8044
1211 LUMINANCE8_ALPHA8_EXT = 0x8045
1212 LUMINANCE12_ALPHA4_EXT = 0x8046
1213 LUMINANCE12_ALPHA12_EXT = 0x8047
1214 LUMINANCE16_ALPHA16_EXT = 0x8048
1215 INTENSITY_EXT = 0x8049
1216 INTENSITY4_EXT = 0x804A
1217 INTENSITY8_EXT = 0x804B
1218 INTENSITY12_EXT = 0x804C
1219 INTENSITY16_EXT = 0x804D
1220 RGB2_EXT = 0x804E
1221 RGB4_EXT = 0x804F
1222 RGB5_EXT = 0x8050
1223 RGB8_EXT = 0x8051
1224 RGB10_EXT = 0x8052
1225 RGB12_EXT = 0x8053
1226 RGB16_EXT = 0x8054
1227 RGBA2_EXT = 0x8055
1228 RGBA4_EXT = 0x8056
1229 RGB5_A1_EXT = 0x8057
1230 RGBA8_EXT = 0x8058
1231 RGB10_A2_EXT = 0x8059
1232 RGBA12_EXT = 0x805A
1233 RGBA16_EXT = 0x805B
1234 TEXTURE_RED_SIZE_EXT = 0x805C
1235 TEXTURE_GREEN_SIZE_EXT = 0x805D
1236 TEXTURE_BLUE_SIZE_EXT = 0x805E
1237 TEXTURE_ALPHA_SIZE_EXT = 0x805F
1238 TEXTURE_LUMINANCE_SIZE_EXT = 0x8060
1239 TEXTURE_INTENSITY_SIZE_EXT = 0x8061
1240 REPLACE_EXT = 0x8062
1241 PROXY_TEXTURE_1D_EXT = 0x8063
1242 PROXY_TEXTURE_2D_EXT = 0x8064
1243 TEXTURE_TOO_LARGE_EXT = 0x8065
1245 ###############################################################################
1247 # Extension #5 - skipped
1249 ###############################################################################
1251 # Extension #6
1252 EXT_texture3D enum:
1253 PACK_SKIP_IMAGES_EXT = 0x806B # 1 I
1254 PACK_IMAGE_HEIGHT_EXT = 0x806C # 1 F
1255 UNPACK_SKIP_IMAGES_EXT = 0x806D # 1 I
1256 UNPACK_IMAGE_HEIGHT_EXT = 0x806E # 1 F
1257 TEXTURE_3D_EXT = 0x806F # 1 I
1258 PROXY_TEXTURE_3D_EXT = 0x8070
1259 TEXTURE_DEPTH_EXT = 0x8071
1260 TEXTURE_WRAP_R_EXT = 0x8072
1261 MAX_3D_TEXTURE_SIZE_EXT = 0x8073 # 1 I
1263 ###############################################################################
1265 # Extension #7
1266 SGIS_texture_filter4 enum:
1267 FILTER4_SGIS = 0x8146
1268 TEXTURE_FILTER4_SIZE_SGIS = 0x8147
1270 ###############################################################################
1272 # Extension #8 - skipped
1274 ###############################################################################
1276 # No new tokens
1277 # Extension #9
1278 EXT_subtexture enum:
1280 ###############################################################################
1282 # No new tokens
1283 # Extension #10
1284 EXT_copy_texture enum:
1286 ###############################################################################
1288 # Extension #11
1289 EXT_histogram enum:
1290 HISTOGRAM_EXT = 0x8024 # 1 I
1291 PROXY_HISTOGRAM_EXT = 0x8025
1292 HISTOGRAM_WIDTH_EXT = 0x8026
1293 HISTOGRAM_FORMAT_EXT = 0x8027
1294 HISTOGRAM_RED_SIZE_EXT = 0x8028
1295 HISTOGRAM_GREEN_SIZE_EXT = 0x8029
1296 HISTOGRAM_BLUE_SIZE_EXT = 0x802A
1297 HISTOGRAM_ALPHA_SIZE_EXT = 0x802B
1298 HISTOGRAM_LUMINANCE_SIZE_EXT = 0x802C
1299 HISTOGRAM_SINK_EXT = 0x802D
1300 MINMAX_EXT = 0x802E # 1 I
1301 MINMAX_FORMAT_EXT = 0x802F
1302 MINMAX_SINK_EXT = 0x8030
1303 TABLE_TOO_LARGE_EXT = 0x8031
1305 ###############################################################################
1307 # Extension #12
1308 EXT_convolution enum:
1309 CONVOLUTION_1D_EXT = 0x8010 # 1 I
1310 CONVOLUTION_2D_EXT = 0x8011 # 1 I
1311 SEPARABLE_2D_EXT = 0x8012 # 1 I
1312 CONVOLUTION_BORDER_MODE_EXT = 0x8013
1313 CONVOLUTION_FILTER_SCALE_EXT = 0x8014
1314 CONVOLUTION_FILTER_BIAS_EXT = 0x8015
1315 REDUCE_EXT = 0x8016
1316 CONVOLUTION_FORMAT_EXT = 0x8017
1317 CONVOLUTION_WIDTH_EXT = 0x8018
1318 CONVOLUTION_HEIGHT_EXT = 0x8019
1319 MAX_CONVOLUTION_WIDTH_EXT = 0x801A
1320 MAX_CONVOLUTION_HEIGHT_EXT = 0x801B
1321 POST_CONVOLUTION_RED_SCALE_EXT = 0x801C # 1 F
1322 POST_CONVOLUTION_GREEN_SCALE_EXT = 0x801D # 1 F
1323 POST_CONVOLUTION_BLUE_SCALE_EXT = 0x801E # 1 F
1324 POST_CONVOLUTION_ALPHA_SCALE_EXT = 0x801F # 1 F
1325 POST_CONVOLUTION_RED_BIAS_EXT = 0x8020 # 1 F
1326 POST_CONVOLUTION_GREEN_BIAS_EXT = 0x8021 # 1 F
1327 POST_CONVOLUTION_BLUE_BIAS_EXT = 0x8022 # 1 F
1328 POST_CONVOLUTION_ALPHA_BIAS_EXT = 0x8023 # 1 F
1330 ###############################################################################
1332 # Extension #13
1333 SGI_color_matrix enum:
1334 COLOR_MATRIX_SGI = 0x80B1 # 16 F
1335 COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B2 # 1 I
1336 MAX_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B3 # 1 I
1337 POST_COLOR_MATRIX_RED_SCALE_SGI = 0x80B4 # 1 F
1338 POST_COLOR_MATRIX_GREEN_SCALE_SGI = 0x80B5 # 1 F
1339 POST_COLOR_MATRIX_BLUE_SCALE_SGI = 0x80B6 # 1 F
1340 POST_COLOR_MATRIX_ALPHA_SCALE_SGI = 0x80B7 # 1 F
1341 POST_COLOR_MATRIX_RED_BIAS_SGI = 0x80B8 # 1 F
1342 POST_COLOR_MATRIX_GREEN_BIAS_SGI = 0x80B9 # 1 F
1343 POST_COLOR_MATRIX_BLUE_BIAS_SGI = 0x80BA # 1 F
1344 POST_COLOR_MATRIX_ALPHA_BIAS_SGI = 0x80BB # 1 F
1346 ###############################################################################
1348 # Extension #14
1349 SGI_color_table enum:
1350 COLOR_TABLE_SGI = 0x80D0 # 1 I
1351 POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1 # 1 I
1352 POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2 # 1 I
1353 PROXY_COLOR_TABLE_SGI = 0x80D3
1354 PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D4
1355 PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D5
1356 COLOR_TABLE_SCALE_SGI = 0x80D6
1357 COLOR_TABLE_BIAS_SGI = 0x80D7
1358 COLOR_TABLE_FORMAT_SGI = 0x80D8
1359 COLOR_TABLE_WIDTH_SGI = 0x80D9
1360 COLOR_TABLE_RED_SIZE_SGI = 0x80DA
1361 COLOR_TABLE_GREEN_SIZE_SGI = 0x80DB
1362 COLOR_TABLE_BLUE_SIZE_SGI = 0x80DC
1363 COLOR_TABLE_ALPHA_SIZE_SGI = 0x80DD
1364 COLOR_TABLE_LUMINANCE_SIZE_SGI = 0x80DE
1365 COLOR_TABLE_INTENSITY_SIZE_SGI = 0x80DF
1367 ###############################################################################
1369 # Extension #15
1370 SGIS_pixel_texture enum:
1371 PIXEL_TEXTURE_SGIS = 0x8353 # 1 I
1372 PIXEL_FRAGMENT_RGB_SOURCE_SGIS = 0x8354 # 1 I
1373 PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS = 0x8355 # 1 I
1374 PIXEL_GROUP_COLOR_SGIS = 0x8356 # 1 I
1376 ###############################################################################
1378 # Extension #15a
1379 SGIX_pixel_texture enum:
1380 PIXEL_TEX_GEN_SGIX = 0x8139 # 1 I
1381 PIXEL_TEX_GEN_MODE_SGIX = 0x832B # 1 I
1383 ###############################################################################
1385 # Extension #16
1386 SGIS_texture4D enum:
1387 PACK_SKIP_VOLUMES_SGIS = 0x8130 # 1 I
1388 PACK_IMAGE_DEPTH_SGIS = 0x8131 # 1 I
1389 UNPACK_SKIP_VOLUMES_SGIS = 0x8132 # 1 I
1390 UNPACK_IMAGE_DEPTH_SGIS = 0x8133 # 1 I
1391 TEXTURE_4D_SGIS = 0x8134 # 1 I
1392 PROXY_TEXTURE_4D_SGIS = 0x8135
1393 TEXTURE_4DSIZE_SGIS = 0x8136
1394 TEXTURE_WRAP_Q_SGIS = 0x8137
1395 MAX_4D_TEXTURE_SIZE_SGIS = 0x8138 # 1 I
1396 TEXTURE_4D_BINDING_SGIS = 0x814F # 1 I
1398 ###############################################################################
1400 # Extension #17
1401 SGI_texture_color_table enum:
1402 TEXTURE_COLOR_TABLE_SGI = 0x80BC # 1 I
1403 PROXY_TEXTURE_COLOR_TABLE_SGI = 0x80BD
1405 ###############################################################################
1407 # Extension #18
1408 EXT_cmyka enum:
1409 CMYK_EXT = 0x800C
1410 CMYKA_EXT = 0x800D
1411 PACK_CMYK_HINT_EXT = 0x800E # 1 I
1412 UNPACK_CMYK_HINT_EXT = 0x800F # 1 I
1414 ###############################################################################
1416 # Extension #19 - skipped
1418 ###############################################################################
1420 # Extension #20
1421 EXT_texture_object enum:
1422 TEXTURE_PRIORITY_EXT = 0x8066
1423 TEXTURE_RESIDENT_EXT = 0x8067
1424 TEXTURE_1D_BINDING_EXT = 0x8068
1425 TEXTURE_2D_BINDING_EXT = 0x8069
1426 TEXTURE_3D_BINDING_EXT = 0x806A # 1 I
1428 ###############################################################################
1430 # Extension #21
1431 SGIS_detail_texture enum:
1432 DETAIL_TEXTURE_2D_SGIS = 0x8095
1433 DETAIL_TEXTURE_2D_BINDING_SGIS = 0x8096 # 1 I
1434 LINEAR_DETAIL_SGIS = 0x8097
1435 LINEAR_DETAIL_ALPHA_SGIS = 0x8098
1436 LINEAR_DETAIL_COLOR_SGIS = 0x8099
1437 DETAIL_TEXTURE_LEVEL_SGIS = 0x809A
1438 DETAIL_TEXTURE_MODE_SGIS = 0x809B
1439 DETAIL_TEXTURE_FUNC_POINTS_SGIS = 0x809C
1441 ###############################################################################
1443 # Extension #22
1444 SGIS_sharpen_texture enum:
1445 LINEAR_SHARPEN_SGIS = 0x80AD
1446 LINEAR_SHARPEN_ALPHA_SGIS = 0x80AE
1447 LINEAR_SHARPEN_COLOR_SGIS = 0x80AF
1448 SHARPEN_TEXTURE_FUNC_POINTS_SGIS = 0x80B0
1450 ###############################################################################
1452 # Extension #23
1453 EXT_packed_pixels enum:
1454 UNSIGNED_BYTE_3_3_2_EXT = 0x8032
1455 UNSIGNED_SHORT_4_4_4_4_EXT = 0x8033
1456 UNSIGNED_SHORT_5_5_5_1_EXT = 0x8034
1457 UNSIGNED_INT_8_8_8_8_EXT = 0x8035
1458 UNSIGNED_INT_10_10_10_2_EXT = 0x8036
1460 ###############################################################################
1462 # Extension #24
1463 SGIS_texture_lod enum:
1464 TEXTURE_MIN_LOD_SGIS = 0x813A
1465 TEXTURE_MAX_LOD_SGIS = 0x813B
1466 TEXTURE_BASE_LEVEL_SGIS = 0x813C
1467 TEXTURE_MAX_LEVEL_SGIS = 0x813D
1469 ###############################################################################
1471 # Extension #25
1472 SGIS_multisample enum:
1473 MULTISAMPLE_SGIS = 0x809D # 1 I
1474 SAMPLE_ALPHA_TO_MASK_SGIS = 0x809E # 1 I
1475 SAMPLE_ALPHA_TO_ONE_SGIS = 0x809F # 1 I
1476 SAMPLE_MASK_SGIS = 0x80A0 # 1 I
1477 1PASS_SGIS = 0x80A1
1478 2PASS_0_SGIS = 0x80A2
1479 2PASS_1_SGIS = 0x80A3
1480 4PASS_0_SGIS = 0x80A4
1481 4PASS_1_SGIS = 0x80A5
1482 4PASS_2_SGIS = 0x80A6
1483 4PASS_3_SGIS = 0x80A7
1484 SAMPLE_BUFFERS_SGIS = 0x80A8 # 1 I
1485 SAMPLES_SGIS = 0x80A9 # 1 I
1486 SAMPLE_MASK_VALUE_SGIS = 0x80AA # 1 F
1487 SAMPLE_MASK_INVERT_SGIS = 0x80AB # 1 I
1488 SAMPLE_PATTERN_SGIS = 0x80AC # 1 I
1490 ###############################################################################
1492 # Extension #26 - no specification?
1493 # SGIS_premultiply_blend enum:
1495 ##############################################################################
1497 # Extension #27
1498 # Diamond ships an otherwise identical IBM_rescale_normal extension;
1499 # Dan Brokenshire says this is deprecated and should not be advertised.
1500 EXT_rescale_normal enum:
1501 RESCALE_NORMAL_EXT = 0x803A # 1 I
1503 ###############################################################################
1505 # Extension #28 - GLX_EXT_visual_info
1507 ###############################################################################
1509 # Extension #29 - skipped
1511 ###############################################################################
1513 # Extension #30
1514 EXT_vertex_array enum:
1515 VERTEX_ARRAY_EXT = 0x8074
1516 NORMAL_ARRAY_EXT = 0x8075
1517 COLOR_ARRAY_EXT = 0x8076
1518 INDEX_ARRAY_EXT = 0x8077
1519 TEXTURE_COORD_ARRAY_EXT = 0x8078
1520 EDGE_FLAG_ARRAY_EXT = 0x8079
1521 VERTEX_ARRAY_SIZE_EXT = 0x807A
1522 VERTEX_ARRAY_TYPE_EXT = 0x807B
1523 VERTEX_ARRAY_STRIDE_EXT = 0x807C
1524 VERTEX_ARRAY_COUNT_EXT = 0x807D # 1 I
1525 NORMAL_ARRAY_TYPE_EXT = 0x807E
1526 NORMAL_ARRAY_STRIDE_EXT = 0x807F
1527 NORMAL_ARRAY_COUNT_EXT = 0x8080 # 1 I
1528 COLOR_ARRAY_SIZE_EXT = 0x8081
1529 COLOR_ARRAY_TYPE_EXT = 0x8082
1530 COLOR_ARRAY_STRIDE_EXT = 0x8083
1531 COLOR_ARRAY_COUNT_EXT = 0x8084 # 1 I
1532 INDEX_ARRAY_TYPE_EXT = 0x8085
1533 INDEX_ARRAY_STRIDE_EXT = 0x8086
1534 INDEX_ARRAY_COUNT_EXT = 0x8087 # 1 I
1535 TEXTURE_COORD_ARRAY_SIZE_EXT = 0x8088
1536 TEXTURE_COORD_ARRAY_TYPE_EXT = 0x8089
1537 TEXTURE_COORD_ARRAY_STRIDE_EXT = 0x808A
1538 TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B # 1 I
1539 EDGE_FLAG_ARRAY_STRIDE_EXT = 0x808C
1540 EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D # 1 I
1541 VERTEX_ARRAY_POINTER_EXT = 0x808E
1542 NORMAL_ARRAY_POINTER_EXT = 0x808F
1543 COLOR_ARRAY_POINTER_EXT = 0x8090
1544 INDEX_ARRAY_POINTER_EXT = 0x8091
1545 TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092
1546 EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093
1548 ###############################################################################
1550 # Extension #31
1551 EXT_misc_attribute enum:
1552 # MISC_BIT = 0x????
1554 ###############################################################################
1556 # Extension #32
1557 SGIS_generate_mipmap enum:
1558 GENERATE_MIPMAP_SGIS = 0x8191
1559 GENERATE_MIPMAP_HINT_SGIS = 0x8192 # 1 I
1561 ###############################################################################
1563 # Extension #33
1564 SGIX_clipmap enum:
1565 LINEAR_CLIPMAP_LINEAR_SGIX = 0x8170
1566 TEXTURE_CLIPMAP_CENTER_SGIX = 0x8171
1567 TEXTURE_CLIPMAP_FRAME_SGIX = 0x8172
1568 TEXTURE_CLIPMAP_OFFSET_SGIX = 0x8173
1569 TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8174
1570 TEXTURE_CLIPMAP_LOD_OFFSET_SGIX = 0x8175
1571 TEXTURE_CLIPMAP_DEPTH_SGIX = 0x8176
1572 MAX_CLIPMAP_DEPTH_SGIX = 0x8177 # 1 I
1573 MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8178 # 1 I
1574 NEAREST_CLIPMAP_NEAREST_SGIX = 0x844D
1575 NEAREST_CLIPMAP_LINEAR_SGIX = 0x844E
1576 LINEAR_CLIPMAP_NEAREST_SGIX = 0x844F
1578 ###############################################################################
1580 # Extension #34
1581 SGIX_shadow enum:
1582 TEXTURE_COMPARE_SGIX = 0x819A
1583 TEXTURE_COMPARE_OPERATOR_SGIX = 0x819B
1584 TEXTURE_LEQUAL_R_SGIX = 0x819C
1585 TEXTURE_GEQUAL_R_SGIX = 0x819D
1587 ###############################################################################
1589 # Extension #35
1590 SGIS_texture_edge_clamp enum:
1591 CLAMP_TO_EDGE_SGIS = 0x812F
1593 ###############################################################################
1595 # Extension #36
1596 # Promoted to ARB_texture_border_clamp
1597 SGIS_texture_border_clamp enum:
1598 CLAMP_TO_BORDER_SGIS = 0x812D
1600 ###############################################################################
1602 # Extension #37
1603 EXT_blend_minmax enum:
1604 FUNC_ADD_EXT = 0x8006
1605 MIN_EXT = 0x8007
1606 MAX_EXT = 0x8008
1607 BLEND_EQUATION_EXT = 0x8009 # 1 I
1609 ###############################################################################
1611 # Extension #38
1612 EXT_blend_subtract enum:
1613 FUNC_SUBTRACT_EXT = 0x800A
1614 FUNC_REVERSE_SUBTRACT_EXT = 0x800B
1616 ###############################################################################
1618 # No new tokens
1619 # Extension #39
1620 EXT_blend_logic_op enum:
1622 ###############################################################################
1624 # Extension #40 - GLX_SGI_swap_control
1625 # Extension #41 - GLX_SGI_video_sync
1626 # Extension #42 - GLX_SGI_make_current_read
1627 # Extension #43 - GLX_SGIX_video_source
1628 # Extension #44 - GLX_EXT_visual_rating
1630 ###############################################################################
1632 # Extension #45
1633 SGIX_interlace enum:
1634 INTERLACE_SGIX = 0x8094 # 1 I
1636 ###############################################################################
1638 # Extension #46
1639 SGIX_pixel_tiles enum:
1640 PIXEL_TILE_BEST_ALIGNMENT_SGIX = 0x813E # 1 I
1641 PIXEL_TILE_CACHE_INCREMENT_SGIX = 0x813F # 1 I
1642 PIXEL_TILE_WIDTH_SGIX = 0x8140 # 1 I
1643 PIXEL_TILE_HEIGHT_SGIX = 0x8141 # 1 I
1644 PIXEL_TILE_GRID_WIDTH_SGIX = 0x8142 # 1 I
1645 PIXEL_TILE_GRID_HEIGHT_SGIX = 0x8143 # 1 I
1646 PIXEL_TILE_GRID_DEPTH_SGIX = 0x8144 # 1 I
1647 PIXEL_TILE_CACHE_SIZE_SGIX = 0x8145 # 1 I
1649 ###############################################################################
1651 # Extension #47 - GLX_EXT_import_context
1653 ###############################################################################
1655 # Extension #48 - skipped
1657 ###############################################################################
1659 # Extension #49 - GLX_SGIX_fbconfig
1660 # Extension #50 - GLX_SGIX_pbuffer
1662 ###############################################################################
1664 # Extension #51
1665 SGIS_texture_select enum:
1666 DUAL_ALPHA4_SGIS = 0x8110
1667 DUAL_ALPHA8_SGIS = 0x8111
1668 DUAL_ALPHA12_SGIS = 0x8112
1669 DUAL_ALPHA16_SGIS = 0x8113
1670 DUAL_LUMINANCE4_SGIS = 0x8114
1671 DUAL_LUMINANCE8_SGIS = 0x8115
1672 DUAL_LUMINANCE12_SGIS = 0x8116
1673 DUAL_LUMINANCE16_SGIS = 0x8117
1674 DUAL_INTENSITY4_SGIS = 0x8118
1675 DUAL_INTENSITY8_SGIS = 0x8119
1676 DUAL_INTENSITY12_SGIS = 0x811A
1677 DUAL_INTENSITY16_SGIS = 0x811B
1678 DUAL_LUMINANCE_ALPHA4_SGIS = 0x811C
1679 DUAL_LUMINANCE_ALPHA8_SGIS = 0x811D
1680 QUAD_ALPHA4_SGIS = 0x811E
1681 QUAD_ALPHA8_SGIS = 0x811F
1682 QUAD_LUMINANCE4_SGIS = 0x8120
1683 QUAD_LUMINANCE8_SGIS = 0x8121
1684 QUAD_INTENSITY4_SGIS = 0x8122
1685 QUAD_INTENSITY8_SGIS = 0x8123
1686 DUAL_TEXTURE_SELECT_SGIS = 0x8124
1687 QUAD_TEXTURE_SELECT_SGIS = 0x8125
1689 ###############################################################################
1691 # Extension #52
1692 SGIX_sprite enum:
1693 SPRITE_SGIX = 0x8148 # 1 I
1694 SPRITE_MODE_SGIX = 0x8149 # 1 I
1695 SPRITE_AXIS_SGIX = 0x814A # 3 F
1696 SPRITE_TRANSLATION_SGIX = 0x814B # 3 F
1697 SPRITE_AXIAL_SGIX = 0x814C
1698 SPRITE_OBJECT_ALIGNED_SGIX = 0x814D
1699 SPRITE_EYE_ALIGNED_SGIX = 0x814E
1701 ###############################################################################
1703 # Extension #53
1704 SGIX_texture_multi_buffer enum:
1705 TEXTURE_MULTI_BUFFER_HINT_SGIX = 0x812E
1707 ###############################################################################
1709 # Extension #54
1710 # EXT form promoted from SGIS form; both are included
1711 EXT_point_parameters enum:
1712 POINT_SIZE_MIN_EXT = 0x8126 # 1 F
1713 POINT_SIZE_MAX_EXT = 0x8127 # 1 F
1714 POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128 # 1 F
1715 DISTANCE_ATTENUATION_EXT = 0x8129 # 3 F
1717 SGIS_point_parameters enum:
1718 POINT_SIZE_MIN_SGIS = 0x8126 # 1 F
1719 POINT_SIZE_MAX_SGIS = 0x8127 # 1 F
1720 POINT_FADE_THRESHOLD_SIZE_SGIS = 0x8128 # 1 F
1721 DISTANCE_ATTENUATION_SGIS = 0x8129 # 3 F
1723 ###############################################################################
1725 # Extension #55
1726 SGIX_instruments enum:
1727 INSTRUMENT_BUFFER_POINTER_SGIX = 0x8180
1728 INSTRUMENT_MEASUREMENTS_SGIX = 0x8181 # 1 I
1730 ###############################################################################
1732 # Extension #56
1733 SGIX_texture_scale_bias enum:
1734 POST_TEXTURE_FILTER_BIAS_SGIX = 0x8179
1735 POST_TEXTURE_FILTER_SCALE_SGIX = 0x817A
1736 POST_TEXTURE_FILTER_BIAS_RANGE_SGIX = 0x817B # 2 F
1737 POST_TEXTURE_FILTER_SCALE_RANGE_SGIX = 0x817C # 2 F
1739 ###############################################################################
1741 # Extension #57
1742 SGIX_framezoom enum:
1743 FRAMEZOOM_SGIX = 0x818B # 1 I
1744 FRAMEZOOM_FACTOR_SGIX = 0x818C # 1 I
1745 MAX_FRAMEZOOM_FACTOR_SGIX = 0x818D # 1 I
1747 ###############################################################################
1749 # No new tokens
1750 # Extension #58
1751 SGIX_tag_sample_buffer enum:
1753 ###############################################################################
1755 # Extension #59
1756 FfdMaskSGIX enum:
1757 TEXTURE_DEFORMATION_BIT_SGIX = 0x00000001
1758 GEOMETRY_DEFORMATION_BIT_SGIX = 0x00000002
1759 SGIX_polynomial_ffd enum:
1760 GEOMETRY_DEFORMATION_SGIX = 0x8194
1761 TEXTURE_DEFORMATION_SGIX = 0x8195
1762 DEFORMATIONS_MASK_SGIX = 0x8196 # 1 I
1763 MAX_DEFORMATION_ORDER_SGIX = 0x8197
1765 ###############################################################################
1767 # Extension #60
1768 SGIX_reference_plane enum:
1769 REFERENCE_PLANE_SGIX = 0x817D # 1 I
1770 REFERENCE_PLANE_EQUATION_SGIX = 0x817E # 4 F
1772 ###############################################################################
1774 # No new tokens
1775 # Extension #61
1776 SGIX_flush_raster enum:
1778 ###############################################################################
1780 # Extension #62 - GLX_SGIX_cushion
1782 ###############################################################################
1784 # Extension #63
1785 SGIX_depth_texture enum:
1786 DEPTH_COMPONENT16_SGIX = 0x81A5
1787 DEPTH_COMPONENT24_SGIX = 0x81A6
1788 DEPTH_COMPONENT32_SGIX = 0x81A7
1790 ###############################################################################
1792 # Extension #64
1793 SGIS_fog_function enum:
1794 FOG_FUNC_SGIS = 0x812A
1795 FOG_FUNC_POINTS_SGIS = 0x812B # 1 I
1796 MAX_FOG_FUNC_POINTS_SGIS = 0x812C # 1 I
1798 ###############################################################################
1800 # Extension #65
1801 SGIX_fog_offset enum:
1802 FOG_OFFSET_SGIX = 0x8198 # 1 I
1803 FOG_OFFSET_VALUE_SGIX = 0x8199 # 4 F
1805 ###############################################################################
1807 # Extension #66
1808 HP_image_transform enum:
1809 IMAGE_SCALE_X_HP = 0x8155
1810 IMAGE_SCALE_Y_HP = 0x8156
1811 IMAGE_TRANSLATE_X_HP = 0x8157
1812 IMAGE_TRANSLATE_Y_HP = 0x8158
1813 IMAGE_ROTATE_ANGLE_HP = 0x8159
1814 IMAGE_ROTATE_ORIGIN_X_HP = 0x815A
1815 IMAGE_ROTATE_ORIGIN_Y_HP = 0x815B
1816 IMAGE_MAG_FILTER_HP = 0x815C
1817 IMAGE_MIN_FILTER_HP = 0x815D
1818 IMAGE_CUBIC_WEIGHT_HP = 0x815E
1819 CUBIC_HP = 0x815F
1820 AVERAGE_HP = 0x8160
1821 IMAGE_TRANSFORM_2D_HP = 0x8161
1822 POST_IMAGE_TRANSFORM_COLOR_TABLE_HP = 0x8162
1823 PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP = 0x8163
1825 ###############################################################################
1827 # Extension #67
1828 HP_convolution_border_modes enum:
1829 IGNORE_BORDER_HP = 0x8150
1830 CONSTANT_BORDER_HP = 0x8151
1831 REPLICATE_BORDER_HP = 0x8153
1832 CONVOLUTION_BORDER_COLOR_HP = 0x8154
1834 ###############################################################################
1836 #@ Unknown tokens
1837 # Extension #68
1838 INGR_palette_buffer enum:
1840 ###############################################################################
1842 # Extension #69
1843 SGIX_texture_add_env enum:
1844 TEXTURE_ENV_BIAS_SGIX = 0x80BE
1846 ###############################################################################
1848 # Extension #70 - skipped
1849 # Extension #71 - skipped
1850 # Extension #72 - skipped
1851 # Extension #73 - skipped
1853 ###############################################################################
1855 # No new tokens
1856 # Extension #74
1857 EXT_color_subtable enum:
1859 ###############################################################################
1861 # Extension #75 - GLU_EXT_object_space_tess
1863 ###############################################################################
1865 # Extension #76
1866 PGI_vertex_hints enum:
1867 VERTEX_DATA_HINT_PGI = 0x1A22A
1868 VERTEX_CONSISTENT_HINT_PGI = 0x1A22B
1869 MATERIAL_SIDE_HINT_PGI = 0x1A22C
1870 MAX_VERTEX_HINT_PGI = 0x1A22D
1871 COLOR3_BIT_PGI = 0x00010000
1872 COLOR4_BIT_PGI = 0x00020000
1873 EDGEFLAG_BIT_PGI = 0x00040000
1874 INDEX_BIT_PGI = 0x00080000
1875 MAT_AMBIENT_BIT_PGI = 0x00100000
1876 MAT_AMBIENT_AND_DIFFUSE_BIT_PGI = 0x00200000
1877 MAT_DIFFUSE_BIT_PGI = 0x00400000
1878 MAT_EMISSION_BIT_PGI = 0x00800000
1879 MAT_COLOR_INDEXES_BIT_PGI = 0x01000000
1880 MAT_SHININESS_BIT_PGI = 0x02000000
1881 MAT_SPECULAR_BIT_PGI = 0x04000000
1882 NORMAL_BIT_PGI = 0x08000000
1883 TEXCOORD1_BIT_PGI = 0x10000000
1884 TEXCOORD2_BIT_PGI = 0x20000000
1885 TEXCOORD3_BIT_PGI = 0x40000000
1886 TEXCOORD4_BIT_PGI = 0x80000000
1887 VERTEX23_BIT_PGI = 0x00000004
1888 VERTEX4_BIT_PGI = 0x00000008
1890 ###############################################################################
1892 # Extension #77
1893 PGI_misc_hints enum:
1894 PREFER_DOUBLEBUFFER_HINT_PGI = 0x1A1F8
1895 CONSERVE_MEMORY_HINT_PGI = 0x1A1FD
1896 RECLAIM_MEMORY_HINT_PGI = 0x1A1FE
1897 NATIVE_GRAPHICS_HANDLE_PGI = 0x1A202
1898 NATIVE_GRAPHICS_BEGIN_HINT_PGI = 0x1A203
1899 NATIVE_GRAPHICS_END_HINT_PGI = 0x1A204
1900 ALWAYS_FAST_HINT_PGI = 0x1A20C
1901 ALWAYS_SOFT_HINT_PGI = 0x1A20D
1902 ALLOW_DRAW_OBJ_HINT_PGI = 0x1A20E
1903 ALLOW_DRAW_WIN_HINT_PGI = 0x1A20F
1904 ALLOW_DRAW_FRG_HINT_PGI = 0x1A210
1905 ALLOW_DRAW_MEM_HINT_PGI = 0x1A211
1906 STRICT_DEPTHFUNC_HINT_PGI = 0x1A216
1907 STRICT_LIGHTING_HINT_PGI = 0x1A217
1908 STRICT_SCISSOR_HINT_PGI = 0x1A218
1909 FULL_STIPPLE_HINT_PGI = 0x1A219
1910 CLIP_NEAR_HINT_PGI = 0x1A220
1911 CLIP_FAR_HINT_PGI = 0x1A221
1912 WIDE_LINE_HINT_PGI = 0x1A222
1913 BACK_NORMALS_HINT_PGI = 0x1A223
1915 ###############################################################################
1917 # Extension #78
1918 EXT_paletted_texture enum:
1919 COLOR_INDEX1_EXT = 0x80E2
1920 COLOR_INDEX2_EXT = 0x80E3
1921 COLOR_INDEX4_EXT = 0x80E4
1922 COLOR_INDEX8_EXT = 0x80E5
1923 COLOR_INDEX12_EXT = 0x80E6
1924 COLOR_INDEX16_EXT = 0x80E7
1925 TEXTURE_INDEX_SIZE_EXT = 0x80ED
1927 ###############################################################################
1929 # Extension #79
1930 EXT_clip_volume_hint enum:
1931 CLIP_VOLUME_CLIPPING_HINT_EXT = 0x80F0
1933 ###############################################################################
1935 # Extension #80
1936 SGIX_list_priority enum:
1937 LIST_PRIORITY_SGIX = 0x8182
1939 ###############################################################################
1941 # Extension #81
1942 SGIX_ir_instrument1 enum:
1943 IR_INSTRUMENT1_SGIX = 0x817F # 1 I
1945 ###############################################################################
1947 # Extension #82
1948 SGIX_calligraphic_fragment enum:
1949 CALLIGRAPHIC_FRAGMENT_SGIX = 0x8183 # 1 I
1951 ###############################################################################
1953 # Extension #83 - GLX_SGIX_video_resize
1955 ###############################################################################
1957 # Extension #84
1958 SGIX_texture_lod_bias enum:
1959 TEXTURE_LOD_BIAS_S_SGIX = 0x818E
1960 TEXTURE_LOD_BIAS_T_SGIX = 0x818F
1961 TEXTURE_LOD_BIAS_R_SGIX = 0x8190
1963 ###############################################################################
1965 # Extension #85 - skipped
1967 ###############################################################################
1969 # Extension #86 - GLX_SGIX_dmbuffer
1971 ###############################################################################
1973 # Extension #87 - skipped
1974 # Extension #88 - skipped
1975 # Extension #89 - skipped
1977 ###############################################################################
1979 # Extension #90
1980 SGIX_shadow_ambient enum:
1981 SHADOW_AMBIENT_SGIX = 0x80BF
1983 ###############################################################################
1985 # Extension #91 - GLX_SGIX_swap_group
1986 # Extension #92 - GLX_SGIX_swap_barrier
1988 ###############################################################################
1990 # No new tokens
1991 # Extension #93
1992 EXT_index_texture enum:
1994 ###############################################################################
1996 # Extension #94
1997 # Promoted from SGI?
1998 EXT_index_material enum:
1999 INDEX_MATERIAL_EXT = 0x81B8
2000 INDEX_MATERIAL_PARAMETER_EXT = 0x81B9
2001 INDEX_MATERIAL_FACE_EXT = 0x81BA
2003 ###############################################################################
2005 # Extension #95
2006 # Promoted from SGI?
2007 EXT_index_func enum:
2008 INDEX_TEST_EXT = 0x81B5
2009 INDEX_TEST_FUNC_EXT = 0x81B6
2010 INDEX_TEST_REF_EXT = 0x81B7
2012 ###############################################################################
2014 # Extension #96
2015 # Promoted from SGI?
2016 EXT_index_array_formats enum:
2017 IUI_V2F_EXT = 0x81AD
2018 IUI_V3F_EXT = 0x81AE
2019 IUI_N3F_V2F_EXT = 0x81AF
2020 IUI_N3F_V3F_EXT = 0x81B0
2021 T2F_IUI_V2F_EXT = 0x81B1
2022 T2F_IUI_V3F_EXT = 0x81B2
2023 T2F_IUI_N3F_V2F_EXT = 0x81B3
2024 T2F_IUI_N3F_V3F_EXT = 0x81B4
2026 ###############################################################################
2028 # Extension #97
2029 # Promoted from SGI?
2030 EXT_compiled_vertex_array enum:
2031 ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8
2032 ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9
2034 ###############################################################################
2036 # Extension #98
2037 # Promoted from SGI?
2038 EXT_cull_vertex enum:
2039 CULL_VERTEX_EXT = 0x81AA
2040 CULL_VERTEX_EYE_POSITION_EXT = 0x81AB
2041 CULL_VERTEX_OBJECT_POSITION_EXT = 0x81AC
2043 ###############################################################################
2045 # Extension #99 - skipped
2047 ###############################################################################
2049 # Extension #100 - GLU_EXT_nurbs_tessellator
2051 ###############################################################################
2053 # Extension #101
2054 SGIX_ycrcb enum:
2055 YCRCB_422_SGIX = 0x81BB
2056 YCRCB_444_SGIX = 0x81BC
2058 ###############################################################################
2060 # Extension #102
2061 SGIX_fragment_lighting enum:
2062 FRAGMENT_LIGHTING_SGIX = 0x8400 # 1 I
2063 FRAGMENT_COLOR_MATERIAL_SGIX = 0x8401 # 1 I
2064 FRAGMENT_COLOR_MATERIAL_FACE_SGIX = 0x8402 # 1 I
2065 FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX = 0x8403 # 1 I
2066 MAX_FRAGMENT_LIGHTS_SGIX = 0x8404 # 1 I
2067 MAX_ACTIVE_LIGHTS_SGIX = 0x8405 # 1 I
2068 CURRENT_RASTER_NORMAL_SGIX = 0x8406 # 1 I
2069 LIGHT_ENV_MODE_SGIX = 0x8407 # 1 I
2070 FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX = 0x8408 # 1 I
2071 FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX = 0x8409 # 1 I
2072 FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX = 0x840A # 4 F
2073 FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX = 0x840B # 1 I
2074 FRAGMENT_LIGHT0_SGIX = 0x840C # 1 I
2075 FRAGMENT_LIGHT1_SGIX = 0x840D
2076 FRAGMENT_LIGHT2_SGIX = 0x840E
2077 FRAGMENT_LIGHT3_SGIX = 0x840F
2078 FRAGMENT_LIGHT4_SGIX = 0x8410
2079 FRAGMENT_LIGHT5_SGIX = 0x8411
2080 FRAGMENT_LIGHT6_SGIX = 0x8412
2081 FRAGMENT_LIGHT7_SGIX = 0x8413
2083 # SGIX_fragment_lighting_future_use: 0x8414-0x842B
2085 ###############################################################################
2087 # Extension #103 - skipped
2088 # Extension #104 - skipped
2089 # Extension #105 - skipped
2090 # Extension #106 - skipped
2091 # Extension #107 - skipped
2092 # Extension #108 - skipped
2093 # Extension #109 - skipped
2095 ###############################################################################
2097 # Extension #110
2098 IBM_rasterpos_clip enum:
2099 RASTER_POSITION_UNCLIPPED_IBM = 0x19262
2101 ###############################################################################
2103 # Extension #111
2104 HP_texture_lighting enum:
2105 TEXTURE_LIGHTING_MODE_HP = 0x8167
2106 TEXTURE_POST_SPECULAR_HP = 0x8168
2107 TEXTURE_PRE_SPECULAR_HP = 0x8169
2109 ###############################################################################
2111 # Extension #112
2112 EXT_draw_range_elements enum:
2113 MAX_ELEMENTS_VERTICES_EXT = 0x80E8
2114 MAX_ELEMENTS_INDICES_EXT = 0x80E9
2116 ###############################################################################
2118 # Extension #113
2119 WIN_phong_shading enum:
2120 PHONG_WIN = 0x80EA
2121 PHONG_HINT_WIN = 0x80EB
2123 ###############################################################################
2125 # Extension #114
2126 WIN_specular_fog enum:
2127 FOG_SPECULAR_TEXTURE_WIN = 0x80EC
2129 ###############################################################################
2131 # Extension #115 - skipped
2132 # Extension #116 - skipped
2134 ###############################################################################
2136 # Extension #117
2137 EXT_light_texture enum:
2138 FRAGMENT_MATERIAL_EXT = 0x8349
2139 FRAGMENT_NORMAL_EXT = 0x834A
2140 FRAGMENT_COLOR_EXT = 0x834C
2141 ATTENUATION_EXT = 0x834D
2142 SHADOW_ATTENUATION_EXT = 0x834E
2143 TEXTURE_APPLICATION_MODE_EXT = 0x834F # 1 I
2144 TEXTURE_LIGHT_EXT = 0x8350 # 1 I
2145 TEXTURE_MATERIAL_FACE_EXT = 0x8351 # 1 I
2146 TEXTURE_MATERIAL_PARAMETER_EXT = 0x8352 # 1 I
2147 use EXT_fog_coord FRAGMENT_DEPTH_EXT
2149 ###############################################################################
2151 # Extension #118 - skipped
2153 ###############################################################################
2155 # Extension #119
2156 SGIX_blend_alpha_minmax enum:
2157 ALPHA_MIN_SGIX = 0x8320
2158 ALPHA_MAX_SGIX = 0x8321
2160 ###############################################################################
2162 # Extension #120 - skipped
2163 # Extension #121 - skipped
2164 # Extension #122 - skipped
2165 # Extension #123 - skipped
2166 # Extension #124 - skipped
2167 # Extension #125 - skipped
2169 ###############################################################################
2171 # Extension #126
2172 SGIX_impact_pixel_texture enum:
2173 PIXEL_TEX_GEN_Q_CEILING_SGIX = 0x8184
2174 PIXEL_TEX_GEN_Q_ROUND_SGIX = 0x8185
2175 PIXEL_TEX_GEN_Q_FLOOR_SGIX = 0x8186
2176 PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX = 0x8187
2177 PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX = 0x8188
2178 PIXEL_TEX_GEN_ALPHA_LS_SGIX = 0x8189
2179 PIXEL_TEX_GEN_ALPHA_MS_SGIX = 0x818A
2181 ###############################################################################
2183 # Extension #127 - skipped
2184 # Extension #128 - skipped
2186 ###############################################################################
2188 # Extension #129
2189 EXT_bgra enum:
2190 BGR_EXT = 0x80E0
2191 BGRA_EXT = 0x80E1
2193 ###############################################################################
2195 # Extension #130 - skipped
2196 # Extension #131 - skipped
2198 ###############################################################################
2200 # Extension #132
2201 SGIX_async enum:
2202 ASYNC_MARKER_SGIX = 0x8329
2204 ###############################################################################
2206 # Extension #133
2207 SGIX_async_pixel enum:
2208 ASYNC_TEX_IMAGE_SGIX = 0x835C
2209 ASYNC_DRAW_PIXELS_SGIX = 0x835D
2210 ASYNC_READ_PIXELS_SGIX = 0x835E
2211 MAX_ASYNC_TEX_IMAGE_SGIX = 0x835F
2212 MAX_ASYNC_DRAW_PIXELS_SGIX = 0x8360
2213 MAX_ASYNC_READ_PIXELS_SGIX = 0x8361
2215 ###############################################################################
2217 # Extension #134
2218 SGIX_async_histogram enum:
2219 ASYNC_HISTOGRAM_SGIX = 0x832C
2220 MAX_ASYNC_HISTOGRAM_SGIX = 0x832D
2222 ###############################################################################
2224 # Intel has not implemented this; enums never assigned
2225 # Extension #135
2226 INTEL_texture_scissor enum:
2227 # TEXTURE_SCISSOR_INTEL = 0x????
2228 # TEXTURE_SCISSOR_INTEL = 0x????
2229 # TEXTURE_SCISSOR_FUNC_INTEL = 0x????
2230 # TEXTURE_SCISSOR_S_INTEL = 0x????
2231 # TEXTURE_SCISSOR_T_INTEL = 0x????
2232 # TEXTURE_SCISSOR_R_INTEL = 0x????
2234 ###############################################################################
2236 # Extension #136
2237 INTEL_parallel_arrays enum:
2238 PARALLEL_ARRAYS_INTEL = 0x83F4
2239 VERTEX_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F5
2240 NORMAL_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F6
2241 COLOR_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F7
2242 TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F8
2244 ###############################################################################
2246 # Extension #137
2247 HP_occlusion_test enum:
2248 OCCLUSION_TEST_HP = 0x8165
2249 OCCLUSION_TEST_RESULT_HP = 0x8166
2251 ###############################################################################
2253 # Extension #138
2254 EXT_pixel_transform enum:
2255 PIXEL_TRANSFORM_2D_EXT = 0x8330
2256 PIXEL_MAG_FILTER_EXT = 0x8331
2257 PIXEL_MIN_FILTER_EXT = 0x8332
2258 PIXEL_CUBIC_WEIGHT_EXT = 0x8333
2259 CUBIC_EXT = 0x8334
2260 AVERAGE_EXT = 0x8335
2261 PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = 0x8336
2262 MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = 0x8337
2263 PIXEL_TRANSFORM_2D_MATRIX_EXT = 0x8338
2265 ###############################################################################
2267 # Unknown enum values
2268 # Extension #139
2269 EXT_pixel_transform_color_table enum:
2271 # PIXEL_TRANSFORM_COLOR_TABLE_EXT
2272 # PROXY_PIXEL_TRANSFORM_COLOR_TABLE_EXT
2274 ###############################################################################
2276 # Extension #140 - skipped
2278 ###############################################################################
2280 # Extension #141
2281 EXT_shared_texture_palette enum:
2282 SHARED_TEXTURE_PALETTE_EXT = 0x81FB
2284 ###############################################################################
2286 # Extension #142 - GLX_SGIS_blended_overlay
2288 ###############################################################################
2290 # Extension #143 - SGIS_shared_multisample
2291 # MULTISAMPLE_SUB_RECT_POSITION_SGIS = <TBD>
2292 # MULTISAMPLE_SUB_RECT_DIMS_SGIS = <TBD>
2294 ###############################################################################
2296 # Extension #144
2297 EXT_separate_specular_color enum:
2298 LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8
2299 SINGLE_COLOR_EXT = 0x81F9
2300 SEPARATE_SPECULAR_COLOR_EXT = 0x81FA
2302 ###############################################################################
2304 # Extension #145
2305 EXT_secondary_color enum:
2306 COLOR_SUM_EXT = 0x8458 # 1 I
2307 CURRENT_SECONDARY_COLOR_EXT = 0x8459 # 3 F
2308 SECONDARY_COLOR_ARRAY_SIZE_EXT = 0x845A # 1 I
2309 SECONDARY_COLOR_ARRAY_TYPE_EXT = 0x845B # 1 I
2310 SECONDARY_COLOR_ARRAY_STRIDE_EXT = 0x845C # 1 I
2311 SECONDARY_COLOR_ARRAY_POINTER_EXT = 0x845D
2312 SECONDARY_COLOR_ARRAY_EXT = 0x845E # 1 I
2314 ###############################################################################
2316 # Dead extension - EXT_texture_env_combine was finished instead
2317 # Extension #146
2318 #EXT_texture_env enum:
2320 ###############################################################################
2322 # Extension #147
2323 EXT_texture_perturb_normal enum:
2324 PERTURB_EXT = 0x85AE
2325 TEXTURE_NORMAL_EXT = 0x85AF
2327 ###############################################################################
2329 # No new tokens
2330 # Extension #148
2331 # Diamond ships an otherwise identical IBM_multi_draw_arrays extension;
2332 # Dan Brokenshire says this is deprecated and should not be advertised.
2333 EXT_multi_draw_arrays enum:
2335 ###############################################################################
2337 # Extension #149
2338 EXT_fog_coord enum:
2339 FOG_COORDINATE_SOURCE_EXT = 0x8450 # 1 I
2340 FOG_COORDINATE_EXT = 0x8451
2341 FRAGMENT_DEPTH_EXT = 0x8452
2342 CURRENT_FOG_COORDINATE_EXT = 0x8453 # 1 F
2343 FOG_COORDINATE_ARRAY_TYPE_EXT = 0x8454 # 1 I
2344 FOG_COORDINATE_ARRAY_STRIDE_EXT = 0x8455 # 1 I
2345 FOG_COORDINATE_ARRAY_POINTER_EXT = 0x8456
2346 FOG_COORDINATE_ARRAY_EXT = 0x8457 # 1 I
2348 ###############################################################################
2350 # Extension #150 - skipped
2351 # Extension #151 - skipped
2352 # Extension #152 - skipped
2353 # Extension #153 - skipped
2354 # Extension #154 - skipped
2356 ###############################################################################
2358 # Extension #155
2359 REND_screen_coordinates enum:
2360 SCREEN_COORDINATES_REND = 0x8490
2361 INVERTED_SCREEN_W_REND = 0x8491
2363 ###############################################################################
2365 # Extension #156
2366 EXT_coordinate_frame enum:
2367 TANGENT_ARRAY_EXT = 0x8439
2368 BINORMAL_ARRAY_EXT = 0x843A
2369 CURRENT_TANGENT_EXT = 0x843B
2370 CURRENT_BINORMAL_EXT = 0x843C
2371 TANGENT_ARRAY_TYPE_EXT = 0x843E
2372 TANGENT_ARRAY_STRIDE_EXT = 0x843F
2373 BINORMAL_ARRAY_TYPE_EXT = 0x8440
2374 BINORMAL_ARRAY_STRIDE_EXT = 0x8441
2375 TANGENT_ARRAY_POINTER_EXT = 0x8442
2376 BINORMAL_ARRAY_POINTER_EXT = 0x8443
2377 MAP1_TANGENT_EXT = 0x8444
2378 MAP2_TANGENT_EXT = 0x8445
2379 MAP1_BINORMAL_EXT = 0x8446
2380 MAP2_BINORMAL_EXT = 0x8447
2382 ###############################################################################
2384 # Extension #157 - skipped
2386 ###############################################################################
2388 # Extension #158
2389 EXT_texture_env_combine enum:
2390 COMBINE_EXT = 0x8570
2391 COMBINE_RGB_EXT = 0x8571
2392 COMBINE_ALPHA_EXT = 0x8572
2393 RGB_SCALE_EXT = 0x8573
2394 ADD_SIGNED_EXT = 0x8574
2395 INTERPOLATE_EXT = 0x8575
2396 CONSTANT_EXT = 0x8576
2397 PRIMARY_COLOR_EXT = 0x8577
2398 PREVIOUS_EXT = 0x8578
2399 SOURCE0_RGB_EXT = 0x8580
2400 SOURCE1_RGB_EXT = 0x8581
2401 SOURCE2_RGB_EXT = 0x8582
2402 SOURCE0_ALPHA_EXT = 0x8588
2403 SOURCE1_ALPHA_EXT = 0x8589
2404 SOURCE2_ALPHA_EXT = 0x858A
2405 OPERAND0_RGB_EXT = 0x8590
2406 OPERAND1_RGB_EXT = 0x8591
2407 OPERAND2_RGB_EXT = 0x8592
2408 OPERAND0_ALPHA_EXT = 0x8598
2409 OPERAND1_ALPHA_EXT = 0x8599
2410 OPERAND2_ALPHA_EXT = 0x859A
2412 ###############################################################################
2414 # Extension #159
2415 APPLE_specular_vector enum:
2416 LIGHT_MODEL_SPECULAR_VECTOR_APPLE = 0x85B0
2418 ###############################################################################
2420 # Extension #160
2421 APPLE_transform_hint enum:
2422 TRANSFORM_HINT_APPLE = 0x85B1
2424 ###############################################################################
2426 # Extension #161
2427 SGIX_fog_scale enum:
2428 FOG_SCALE_SGIX = 0x81FC
2429 FOG_SCALE_VALUE_SGIX = 0x81FD
2431 ###############################################################################
2433 # Extension #162 - skipped
2435 ###############################################################################
2437 # Extension #163
2438 SUNX_constant_data enum:
2439 UNPACK_CONSTANT_DATA_SUNX = 0x81D5
2440 TEXTURE_CONSTANT_DATA_SUNX = 0x81D6
2442 ###############################################################################
2444 # Extension #164
2445 SUN_global_alpha enum:
2446 GLOBAL_ALPHA_SUN = 0x81D9
2447 GLOBAL_ALPHA_FACTOR_SUN = 0x81DA
2449 ###############################################################################
2451 # Extension #165
2452 SUN_triangle_list enum:
2453 RESTART_SUN = 0x0001
2454 REPLACE_MIDDLE_SUN = 0x0002
2455 REPLACE_OLDEST_SUN = 0x0003
2456 TRIANGLE_LIST_SUN = 0x81D7
2457 REPLACEMENT_CODE_SUN = 0x81D8
2458 REPLACEMENT_CODE_ARRAY_SUN = 0x85C0
2459 REPLACEMENT_CODE_ARRAY_TYPE_SUN = 0x85C1
2460 REPLACEMENT_CODE_ARRAY_STRIDE_SUN = 0x85C2
2461 REPLACEMENT_CODE_ARRAY_POINTER_SUN = 0x85C3
2462 R1UI_V3F_SUN = 0x85C4
2463 R1UI_C4UB_V3F_SUN = 0x85C5
2464 R1UI_C3F_V3F_SUN = 0x85C6
2465 R1UI_N3F_V3F_SUN = 0x85C7
2466 R1UI_C4F_N3F_V3F_SUN = 0x85C8
2467 R1UI_T2F_V3F_SUN = 0x85C9
2468 R1UI_T2F_N3F_V3F_SUN = 0x85CA
2469 R1UI_T2F_C4F_N3F_V3F_SUN = 0x85CB
2471 ###############################################################################
2473 # No new tokens
2474 # Extension #166
2475 SUN_vertex enum:
2477 ###############################################################################
2479 # Extension #167 - WGL_EXT_display_color_table
2480 # Extension #168 - WGL_EXT_extensions_string
2481 # Extension #169 - WGL_EXT_make_current_read
2482 # Extension #170 - WGL_EXT_pixel_format
2483 # Extension #171 - WGL_EXT_pbuffer
2484 # Extension #172 - WGL_EXT_swap_control
2486 ###############################################################################
2488 # Extension #173
2489 EXT_blend_func_separate enum:
2490 BLEND_DST_RGB_EXT = 0x80C8
2491 BLEND_SRC_RGB_EXT = 0x80C9
2492 BLEND_DST_ALPHA_EXT = 0x80CA
2493 BLEND_SRC_ALPHA_EXT = 0x80CB
2495 ###############################################################################
2497 # Extension #174
2498 INGR_color_clamp enum:
2499 RED_MIN_CLAMP_INGR = 0x8560
2500 GREEN_MIN_CLAMP_INGR = 0x8561
2501 BLUE_MIN_CLAMP_INGR = 0x8562
2502 ALPHA_MIN_CLAMP_INGR = 0x8563
2503 RED_MAX_CLAMP_INGR = 0x8564
2504 GREEN_MAX_CLAMP_INGR = 0x8565
2505 BLUE_MAX_CLAMP_INGR = 0x8566
2506 ALPHA_MAX_CLAMP_INGR = 0x8567
2508 ###############################################################################
2510 # Extension #175
2511 INGR_interlace_read enum:
2512 INTERLACE_READ_INGR = 0x8568
2514 ###############################################################################
2516 # Extension #176
2517 EXT_stencil_wrap enum:
2518 INCR_WRAP_EXT = 0x8507
2519 DECR_WRAP_EXT = 0x8508
2521 ###############################################################################
2523 # Extension #177 - skipped
2525 ###############################################################################
2527 # Extension #178
2528 EXT_422_pixels enum:
2529 422_EXT = 0x80CC
2530 422_REV_EXT = 0x80CD
2531 422_AVERAGE_EXT = 0x80CE
2532 422_REV_AVERAGE_EXT = 0x80CF
2534 ###############################################################################
2536 # Extension #179
2537 NV_texgen_reflection enum:
2538 NORMAL_MAP_NV = 0x8511
2539 REFLECTION_MAP_NV = 0x8512
2541 ###############################################################################
2543 # Extension #180 - skipped
2544 # Extension #181 - skipped
2546 ###############################################################################
2548 # Is this shipping? No extension number assigned.
2549 # Extension #?
2550 EXT_texture_cube_map enum:
2551 NORMAL_MAP_EXT = 0x8511
2552 REFLECTION_MAP_EXT = 0x8512
2553 TEXTURE_CUBE_MAP_EXT = 0x8513
2554 TEXTURE_BINDING_CUBE_MAP_EXT = 0x8514
2555 TEXTURE_CUBE_MAP_POSITIVE_X_EXT = 0x8515
2556 TEXTURE_CUBE_MAP_NEGATIVE_X_EXT = 0x8516
2557 TEXTURE_CUBE_MAP_POSITIVE_Y_EXT = 0x8517
2558 TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT = 0x8518
2559 TEXTURE_CUBE_MAP_POSITIVE_Z_EXT = 0x8519
2560 TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT = 0x851A
2561 PROXY_TEXTURE_CUBE_MAP_EXT = 0x851B
2562 MAX_CUBE_MAP_TEXTURE_SIZE_EXT = 0x851C
2564 ###############################################################################
2566 # Extension #182
2567 SUN_convolution_border_modes enum:
2568 WRAP_BORDER_SUN = 0x81D4
2570 ###############################################################################
2572 # Extension #183 - GLX_SUN_transparent_index
2574 ###############################################################################
2576 # Extension #184 - skipped
2578 ###############################################################################
2580 # No new tokens
2581 # Extension #185
2582 EXT_texture_env_add enum:
2584 ###############################################################################
2586 # Extension #186
2587 EXT_texture_lod_bias enum:
2588 MAX_TEXTURE_LOD_BIAS_EXT = 0x84FD
2589 TEXTURE_FILTER_CONTROL_EXT = 0x8500
2590 TEXTURE_LOD_BIAS_EXT = 0x8501
2592 ###############################################################################
2594 # Extension #187
2595 EXT_texture_filter_anisotropic enum:
2596 TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE
2597 MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF
2599 ###############################################################################
2601 # Extension #188
2602 EXT_vertex_weighting enum:
2603 MODELVIEW0_STACK_DEPTH_EXT = GL_MODELVIEW_STACK_DEPTH
2604 MODELVIEW1_STACK_DEPTH_EXT = 0x8502
2605 MODELVIEW0_MATRIX_EXT = GL_MODELVIEW_MATRIX
2606 MODELVIEW1_MATRIX_EXT = 0x8506
2607 VERTEX_WEIGHTING_EXT = 0x8509
2608 MODELVIEW0_EXT = GL_MODELVIEW
2609 MODELVIEW1_EXT = 0x850A
2610 CURRENT_VERTEX_WEIGHT_EXT = 0x850B
2611 VERTEX_WEIGHT_ARRAY_EXT = 0x850C
2612 VERTEX_WEIGHT_ARRAY_SIZE_EXT = 0x850D
2613 VERTEX_WEIGHT_ARRAY_TYPE_EXT = 0x850E
2614 VERTEX_WEIGHT_ARRAY_STRIDE_EXT = 0x850F
2615 VERTEX_WEIGHT_ARRAY_POINTER_EXT = 0x8510
2617 ###############################################################################
2619 # Extension #189
2620 NV_light_max_exponent enum:
2621 MAX_SHININESS_NV = 0x8504
2622 MAX_SPOT_EXPONENT_NV = 0x8505
2624 ###############################################################################
2626 # Extension #190
2627 NV_vertex_array_range enum:
2628 VERTEX_ARRAY_RANGE_NV = 0x851D
2629 VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E
2630 VERTEX_ARRAY_RANGE_VALID_NV = 0x851F
2631 MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = 0x8520
2632 VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521
2634 ###############################################################################
2636 # Extension #191
2637 NV_register_combiners enum:
2638 REGISTER_COMBINERS_NV = 0x8522
2639 VARIABLE_A_NV = 0x8523
2640 VARIABLE_B_NV = 0x8524
2641 VARIABLE_C_NV = 0x8525
2642 VARIABLE_D_NV = 0x8526
2643 VARIABLE_E_NV = 0x8527
2644 VARIABLE_F_NV = 0x8528
2645 VARIABLE_G_NV = 0x8529
2646 CONSTANT_COLOR0_NV = 0x852A
2647 CONSTANT_COLOR1_NV = 0x852B
2648 PRIMARY_COLOR_NV = 0x852C
2649 SECONDARY_COLOR_NV = 0x852D
2650 SPARE0_NV = 0x852E
2651 SPARE1_NV = 0x852F
2652 DISCARD_NV = 0x8530
2653 E_TIMES_F_NV = 0x8531
2654 SPARE0_PLUS_SECONDARY_COLOR_NV = 0x8532
2655 UNSIGNED_IDENTITY_NV = 0x8536
2656 UNSIGNED_INVERT_NV = 0x8537
2657 EXPAND_NORMAL_NV = 0x8538
2658 EXPAND_NEGATE_NV = 0x8539
2659 HALF_BIAS_NORMAL_NV = 0x853A
2660 HALF_BIAS_NEGATE_NV = 0x853B
2661 SIGNED_IDENTITY_NV = 0x853C
2662 SIGNED_NEGATE_NV = 0x853D
2663 SCALE_BY_TWO_NV = 0x853E
2664 SCALE_BY_FOUR_NV = 0x853F
2665 SCALE_BY_ONE_HALF_NV = 0x8540
2666 BIAS_BY_NEGATIVE_ONE_HALF_NV = 0x8541
2667 COMBINER_INPUT_NV = 0x8542
2668 COMBINER_MAPPING_NV = 0x8543
2669 COMBINER_COMPONENT_USAGE_NV = 0x8544
2670 COMBINER_AB_DOT_PRODUCT_NV = 0x8545
2671 COMBINER_CD_DOT_PRODUCT_NV = 0x8546
2672 COMBINER_MUX_SUM_NV = 0x8547
2673 COMBINER_SCALE_NV = 0x8548
2674 COMBINER_BIAS_NV = 0x8549
2675 COMBINER_AB_OUTPUT_NV = 0x854A
2676 COMBINER_CD_OUTPUT_NV = 0x854B
2677 COMBINER_SUM_OUTPUT_NV = 0x854C
2678 MAX_GENERAL_COMBINERS_NV = 0x854D
2679 NUM_GENERAL_COMBINERS_NV = 0x854E
2680 COLOR_SUM_CLAMP_NV = 0x854F
2681 COMBINER0_NV = 0x8550
2682 COMBINER1_NV = 0x8551
2683 COMBINER2_NV = 0x8552
2684 COMBINER3_NV = 0x8553
2685 COMBINER4_NV = 0x8554
2686 COMBINER5_NV = 0x8555
2687 COMBINER6_NV = 0x8556
2688 COMBINER7_NV = 0x8557
2689 use ARB_multitexture TEXTURE0_ARB
2690 use ARB_multitexture TEXTURE1_ARB
2691 use BlendingFactorDest ZERO
2692 use DrawBufferMode NONE
2693 use GetPName FOG
2695 ###############################################################################
2697 # Extension #192
2698 NV_fog_distance enum:
2699 FOG_DISTANCE_MODE_NV = 0x855A
2700 EYE_RADIAL_NV = 0x855B
2701 EYE_PLANE_ABSOLUTE_NV = 0x855C
2702 use TextureGenParameter EYE_PLANE
2704 ###############################################################################
2706 # Extension #193
2707 NV_texgen_emboss enum:
2708 EMBOSS_LIGHT_NV = 0x855D
2709 EMBOSS_CONSTANT_NV = 0x855E
2710 EMBOSS_MAP_NV = 0x855F
2712 ###############################################################################
2714 # No new tokens
2715 # Extension #194
2716 NV_blend_square enum:
2718 ###############################################################################
2720 # Extension #195
2721 NV_texture_env_combine4 enum:
2722 COMBINE4_NV = 0x8503
2723 SOURCE3_RGB_NV = 0x8583
2724 SOURCE3_ALPHA_NV = 0x858B
2725 OPERAND3_RGB_NV = 0x8593
2726 OPERAND3_ALPHA_NV = 0x859B
2728 ###############################################################################
2730 # No new tokens
2731 # Extension #196
2732 MESA_resize_buffers enum:
2734 ###############################################################################
2736 # No new tokens
2737 # Extension #197
2738 MESA_window_pos enum:
2740 ###############################################################################
2742 # Extension #198
2743 EXT_texture_compression_s3tc enum:
2744 COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0
2745 COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1
2746 COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2
2747 COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3
2749 ###############################################################################
2751 # Extension #199
2752 IBM_cull_vertex enum:
2753 CULL_VERTEX_IBM = 103050
2755 ###############################################################################
2757 # No new tokens
2758 # Extension #200
2759 IBM_multimode_draw_arrays enum:
2761 ###############################################################################
2763 # Extension #201
2764 IBM_vertex_array_lists enum:
2765 VERTEX_ARRAY_LIST_IBM = 103070
2766 NORMAL_ARRAY_LIST_IBM = 103071
2767 COLOR_ARRAY_LIST_IBM = 103072
2768 INDEX_ARRAY_LIST_IBM = 103073
2769 TEXTURE_COORD_ARRAY_LIST_IBM = 103074
2770 EDGE_FLAG_ARRAY_LIST_IBM = 103075
2771 FOG_COORDINATE_ARRAY_LIST_IBM = 103076
2772 SECONDARY_COLOR_ARRAY_LIST_IBM = 103077
2773 VERTEX_ARRAY_LIST_STRIDE_IBM = 103080
2774 NORMAL_ARRAY_LIST_STRIDE_IBM = 103081
2775 COLOR_ARRAY_LIST_STRIDE_IBM = 103082
2776 INDEX_ARRAY_LIST_STRIDE_IBM = 103083
2777 TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM = 103084
2778 EDGE_FLAG_ARRAY_LIST_STRIDE_IBM = 103085
2779 FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM = 103086
2780 SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM = 103087
2782 ###############################################################################
2784 # Extension #202
2785 SGIX_subsample enum:
2786 PACK_SUBSAMPLE_RATE_SGIX = 0x85A0
2787 UNPACK_SUBSAMPLE_RATE_SGIX = 0x85A1
2788 PIXEL_SUBSAMPLE_4444_SGIX = 0x85A2
2789 PIXEL_SUBSAMPLE_2424_SGIX = 0x85A3
2790 PIXEL_SUBSAMPLE_4242_SGIX = 0x85A4
2792 ###############################################################################
2794 # Extension #203
2795 SGIX_ycrcb_subsample enum:
2796 PACK_SUBSAMPLE_RATE_SGIX = 0x85A0
2797 UNPACK_SUBSAMPLE_RATE_SGIX = 0x85A1
2798 PIXEL_SUBSAMPLE_4444_SGIX = 0x85A2
2799 PIXEL_SUBSAMPLE_2424_SGIX = 0x85A3
2800 PIXEL_SUBSAMPLE_4242_SGIX = 0x85A4
2802 ###############################################################################
2804 # Extension #204
2805 SGIX_ycrcba enum:
2806 YCRCB_SGIX = 0x8318
2807 YCRCBA_SGIX = 0x8319
2809 ###############################################################################
2811 # Extension #205
2812 SGI_depth_pass_instrument enum:
2813 DEPTH_PASS_INSTRUMENT_SGIX = 0x8310
2814 DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX = 0x8311
2815 DEPTH_PASS_INSTRUMENT_MAX_SGIX = 0x8312
2817 ###############################################################################
2819 # Extension #206
2820 3DFX_texture_compression_FXT1 enum:
2821 COMPRESSED_RGB_FXT1_3DFX = 0x86B0
2822 COMPRESSED_RGBA_FXT1_3DFX = 0x86B1
2824 ###############################################################################
2826 # Extension #207
2827 3DFX_multisample enum:
2828 MULTISAMPLE_3DFX = 0x86B2
2829 SAMPLE_BUFFERS_3DFX = 0x86B3
2830 SAMPLES_3DFX = 0x86B4
2831 MULTISAMPLE_BIT_3DFX = 0x20000000
2833 ###############################################################################
2835 # No new tokens
2836 # Extension #208
2837 3DFX_tbuffer enum:
2839 ###############################################################################
2841 # Extension #209
2842 EXT_multisample enum:
2843 MULTISAMPLE_EXT = 0x809D
2844 SAMPLE_ALPHA_TO_MASK_EXT = 0x809E
2845 SAMPLE_ALPHA_TO_ONE_EXT = 0x809F
2846 SAMPLE_MASK_EXT = 0x80A0
2847 1PASS_EXT = 0x80A1
2848 2PASS_0_EXT = 0x80A2
2849 2PASS_1_EXT = 0x80A3
2850 4PASS_0_EXT = 0x80A4
2851 4PASS_1_EXT = 0x80A5
2852 4PASS_2_EXT = 0x80A6
2853 4PASS_3_EXT = 0x80A7
2854 SAMPLE_BUFFERS_EXT = 0x80A8 # 1 I
2855 SAMPLES_EXT = 0x80A9 # 1 I
2856 SAMPLE_MASK_VALUE_EXT = 0x80AA # 1 F
2857 SAMPLE_MASK_INVERT_EXT = 0x80AB # 1 I
2858 SAMPLE_PATTERN_EXT = 0x80AC # 1 I
2859 MULTISAMPLE_BIT_EXT = 0x20000000
2861 ###############################################################################
2863 # Extension #210
2864 SGIX_vertex_preclip enum:
2865 VERTEX_PRECLIP_SGIX = 0x83EE
2866 VERTEX_PRECLIP_HINT_SGIX = 0x83EF
2868 ###############################################################################
2870 # Extension #211
2871 SGIX_convolution_accuracy enum:
2872 CONVOLUTION_HINT_SGIX = 0x8316 # 1 I
2874 ###############################################################################
2876 # Extension #212
2877 SGIX_resample enum:
2878 PACK_RESAMPLE_SGIX = 0x842C
2879 UNPACK_RESAMPLE_SGIX = 0x842D
2880 RESAMPLE_REPLICATE_SGIX = 0x842E
2881 RESAMPLE_ZERO_FILL_SGIX = 0x842F
2882 RESAMPLE_DECIMATE_SGIX = 0x8430
2884 ###############################################################################
2886 # Extension #213
2887 SGIS_point_line_texgen enum:
2888 EYE_DISTANCE_TO_POINT_SGIS = 0x81F0
2889 OBJECT_DISTANCE_TO_POINT_SGIS = 0x81F1
2890 EYE_DISTANCE_TO_LINE_SGIS = 0x81F2
2891 OBJECT_DISTANCE_TO_LINE_SGIS = 0x81F3
2892 EYE_POINT_SGIS = 0x81F4
2893 OBJECT_POINT_SGIS = 0x81F5
2894 EYE_LINE_SGIS = 0x81F6
2895 OBJECT_LINE_SGIS = 0x81F7
2897 ###############################################################################
2899 # Extension #214
2900 SGIS_texture_color_mask enum:
2901 TEXTURE_COLOR_WRITEMASK_SGIS = 0x81EF
2903 ###############################################################################
2905 # Extension #220
2906 # Promoted to ARB_texture_env_dot3, enum values changed
2907 EXT_texture_env_dot3 enum:
2908 DOT3_RGB_EXT = 0x8740
2909 DOT3_RGBA_EXT = 0x8741
2911 ###############################################################################
2913 # Extension #221
2914 ATI_texture_mirror_once enum:
2915 MIRROR_CLAMP_ATI = 0x8742
2916 MIRROR_CLAMP_TO_EDGE_ATI = 0x8743
2918 ###############################################################################
2920 # Extension #222
2921 NV_fence enum:
2922 ALL_COMPLETED_NV = 0x84F2
2923 FENCE_STATUS_NV = 0x84F3
2924 FENCE_CONDITION_NV = 0x84F4
2926 ###############################################################################
2928 # Extension #224
2929 IBM_texture_mirrored_repeat enum:
2930 MIRRORED_REPEAT_IBM = 0x8370
2932 ###############################################################################
2934 # Extension #225
2935 NV_evaluators enum:
2936 EVAL_2D_NV = 0x86C0
2937 EVAL_TRIANGULAR_2D_NV = 0x86C1
2938 MAP_TESSELLATION_NV = 0x86C2
2939 MAP_ATTRIB_U_ORDER_NV = 0x86C3
2940 MAP_ATTRIB_V_ORDER_NV = 0x86C4
2941 EVAL_FRACTIONAL_TESSELLATION_NV = 0x86C5
2942 EVAL_VERTEX_ATTRIB0_NV = 0x86C6
2943 EVAL_VERTEX_ATTRIB1_NV = 0x86C7
2944 EVAL_VERTEX_ATTRIB2_NV = 0x86C8
2945 EVAL_VERTEX_ATTRIB3_NV = 0x86C9
2946 EVAL_VERTEX_ATTRIB4_NV = 0x86CA
2947 EVAL_VERTEX_ATTRIB5_NV = 0x86CB
2948 EVAL_VERTEX_ATTRIB6_NV = 0x86CC
2949 EVAL_VERTEX_ATTRIB7_NV = 0x86CD
2950 EVAL_VERTEX_ATTRIB8_NV = 0x86CE
2951 EVAL_VERTEX_ATTRIB9_NV = 0x86CF
2952 EVAL_VERTEX_ATTRIB10_NV = 0x86D0
2953 EVAL_VERTEX_ATTRIB11_NV = 0x86D1
2954 EVAL_VERTEX_ATTRIB12_NV = 0x86D2
2955 EVAL_VERTEX_ATTRIB13_NV = 0x86D3
2956 EVAL_VERTEX_ATTRIB14_NV = 0x86D4
2957 EVAL_VERTEX_ATTRIB15_NV = 0x86D5
2958 MAX_MAP_TESSELLATION_NV = 0x86D6
2959 MAX_RATIONAL_EVAL_ORDER_NV = 0x86D7
2961 ###############################################################################
2963 # Extension #226
2964 NV_packed_depth_stencil enum:
2965 DEPTH_STENCIL_NV = 0x84F9
2966 UNSIGNED_INT_24_8_NV = 0x84FA
2968 ###############################################################################
2970 # Extension #227
2971 NV_register_combiners2 enum:
2972 PER_STAGE_CONSTANTS_NV = 0x8535
2974 ###############################################################################
2976 # No new tokens
2977 # Extension #228
2978 NV_texture_compression_vtc enum:
2980 ###############################################################################
2982 # Extension #229
2983 NV_texture_rectangle enum:
2984 TEXTURE_RECTANGLE_NV = 0x84F5
2985 TEXTURE_BINDING_RECTANGLE_NV = 0x84F6
2986 PROXY_TEXTURE_RECTANGLE_NV = 0x84F7
2987 MAX_RECTANGLE_TEXTURE_SIZE_NV = 0x84F8
2989 ###############################################################################
2991 # Extension #230
2992 NV_texture_shader enum:
2993 OFFSET_TEXTURE_RECTANGLE_NV = 0x864C
2994 OFFSET_TEXTURE_RECTANGLE_SCALE_NV = 0x864D
2995 DOT_PRODUCT_TEXTURE_RECTANGLE_NV = 0x864E
2996 RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV = 0x86D9
2997 UNSIGNED_INT_S8_S8_8_8_NV = 0x86DA
2998 UNSIGNED_INT_8_8_S8_S8_REV_NV = 0x86DB
2999 DSDT_MAG_INTENSITY_NV = 0x86DC
3000 SHADER_CONSISTENT_NV = 0x86DD
3001 TEXTURE_SHADER_NV = 0x86DE
3002 SHADER_OPERATION_NV = 0x86DF
3003 CULL_MODES_NV = 0x86E0
3004 OFFSET_TEXTURE_MATRIX_NV = 0x86E1
3005 OFFSET_TEXTURE_SCALE_NV = 0x86E2
3006 OFFSET_TEXTURE_BIAS_NV = 0x86E3
3007 OFFSET_TEXTURE_2D_MATRIX_NV = GL_OFFSET_TEXTURE_MATRIX_NV
3008 OFFSET_TEXTURE_2D_SCALE_NV = GL_OFFSET_TEXTURE_SCALE_NV
3009 OFFSET_TEXTURE_2D_BIAS_NV = GL_OFFSET_TEXTURE_BIAS_NV
3010 PREVIOUS_TEXTURE_INPUT_NV = 0x86E4
3011 CONST_EYE_NV = 0x86E5
3012 PASS_THROUGH_NV = 0x86E6
3013 CULL_FRAGMENT_NV = 0x86E7
3014 OFFSET_TEXTURE_2D_NV = 0x86E8
3015 DEPENDENT_AR_TEXTURE_2D_NV = 0x86E9
3016 DEPENDENT_GB_TEXTURE_2D_NV = 0x86EA
3017 DOT_PRODUCT_NV = 0x86EC
3018 DOT_PRODUCT_DEPTH_REPLACE_NV = 0x86ED
3019 DOT_PRODUCT_TEXTURE_2D_NV = 0x86EE
3020 DOT_PRODUCT_TEXTURE_CUBE_MAP_NV = 0x86F0
3021 DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV = 0x86F1
3022 DOT_PRODUCT_REFLECT_CUBE_MAP_NV = 0x86F2
3023 DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV = 0x86F3
3024 HILO_NV = 0x86F4
3025 DSDT_NV = 0x86F5
3026 DSDT_MAG_NV = 0x86F6
3027 DSDT_MAG_VIB_NV = 0x86F7
3028 HILO16_NV = 0x86F8
3029 SIGNED_HILO_NV = 0x86F9
3030 SIGNED_HILO16_NV = 0x86FA
3031 SIGNED_RGBA_NV = 0x86FB
3032 SIGNED_RGBA8_NV = 0x86FC
3033 SIGNED_RGB_NV = 0x86FE
3034 SIGNED_RGB8_NV = 0x86FF
3035 SIGNED_LUMINANCE_NV = 0x8701
3036 SIGNED_LUMINANCE8_NV = 0x8702
3037 SIGNED_LUMINANCE_ALPHA_NV = 0x8703
3038 SIGNED_LUMINANCE8_ALPHA8_NV = 0x8704
3039 SIGNED_ALPHA_NV = 0x8705
3040 SIGNED_ALPHA8_NV = 0x8706
3041 SIGNED_INTENSITY_NV = 0x8707
3042 SIGNED_INTENSITY8_NV = 0x8708
3043 DSDT8_NV = 0x8709
3044 DSDT8_MAG8_NV = 0x870A
3045 DSDT8_MAG8_INTENSITY8_NV = 0x870B
3046 SIGNED_RGB_UNSIGNED_ALPHA_NV = 0x870C
3047 SIGNED_RGB8_UNSIGNED_ALPHA8_NV = 0x870D
3048 HI_SCALE_NV = 0x870E
3049 LO_SCALE_NV = 0x870F
3050 DS_SCALE_NV = 0x8710
3051 DT_SCALE_NV = 0x8711
3052 MAGNITUDE_SCALE_NV = 0x8712
3053 VIBRANCE_SCALE_NV = 0x8713
3054 HI_BIAS_NV = 0x8714
3055 LO_BIAS_NV = 0x8715
3056 DS_BIAS_NV = 0x8716
3057 DT_BIAS_NV = 0x8717
3058 MAGNITUDE_BIAS_NV = 0x8718
3059 VIBRANCE_BIAS_NV = 0x8719
3060 TEXTURE_BORDER_VALUES_NV = 0x871A
3061 TEXTURE_HI_SIZE_NV = 0x871B
3062 TEXTURE_LO_SIZE_NV = 0x871C
3063 TEXTURE_DS_SIZE_NV = 0x871D
3064 TEXTURE_DT_SIZE_NV = 0x871E
3065 TEXTURE_MAG_SIZE_NV = 0x871F
3067 ###############################################################################
3069 # Extension #231
3070 NV_texture_shader2 enum:
3071 DOT_PRODUCT_TEXTURE_3D_NV = 0x86EF
3073 ###############################################################################
3075 # Extension #232
3076 NV_vertex_array_range2 enum:
3077 VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = 0x8533
3079 ###############################################################################
3081 # Extension #233
3082 NV_vertex_program enum:
3083 VERTEX_PROGRAM_NV = 0x8620
3084 VERTEX_STATE_PROGRAM_NV = 0x8621
3085 ATTRIB_ARRAY_SIZE_NV = 0x8623
3086 ATTRIB_ARRAY_STRIDE_NV = 0x8624
3087 ATTRIB_ARRAY_TYPE_NV = 0x8625
3088 CURRENT_ATTRIB_NV = 0x8626
3089 PROGRAM_LENGTH_NV = 0x8627
3090 PROGRAM_STRING_NV = 0x8628
3091 MODELVIEW_PROJECTION_NV = 0x8629
3092 IDENTITY_NV = 0x862A
3093 INVERSE_NV = 0x862B
3094 TRANSPOSE_NV = 0x862C
3095 INVERSE_TRANSPOSE_NV = 0x862D
3096 MAX_TRACK_MATRIX_STACK_DEPTH_NV = 0x862E
3097 MAX_TRACK_MATRICES_NV = 0x862F
3098 MATRIX0_NV = 0x8630
3099 MATRIX1_NV = 0x8631
3100 MATRIX2_NV = 0x8632
3101 MATRIX3_NV = 0x8633
3102 MATRIX4_NV = 0x8634
3103 MATRIX5_NV = 0x8635
3104 MATRIX6_NV = 0x8636
3105 MATRIX7_NV = 0x8637
3106 ##################
3108 # Reserved:
3110 # MATRIX8_NV = 0x8638
3111 # MATRIX9_NV = 0x8639
3112 # MATRIX10_NV = 0x863A
3113 # MATRIX11_NV = 0x863B
3114 # MATRIX12_NV = 0x863C
3115 # MATRIX13_NV = 0x863D
3116 # MATRIX14_NV = 0x863E
3117 # MATRIX15_NV = 0x863F
3119 ###################
3120 CURRENT_MATRIX_STACK_DEPTH_NV = 0x8640
3121 CURRENT_MATRIX_NV = 0x8641
3122 VERTEX_PROGRAM_POINT_SIZE_NV = 0x8642
3123 VERTEX_PROGRAM_TWO_SIDE_NV = 0x8643
3124 PROGRAM_PARAMETER_NV = 0x8644
3125 ATTRIB_ARRAY_POINTER_NV = 0x8645
3126 PROGRAM_TARGET_NV = 0x8646
3127 PROGRAM_RESIDENT_NV = 0x8647
3128 TRACK_MATRIX_NV = 0x8648
3129 TRACK_MATRIX_TRANSFORM_NV = 0x8649
3130 VERTEX_PROGRAM_BINDING_NV = 0x864A
3131 PROGRAM_ERROR_POSITION_NV = 0x864B
3132 VERTEX_ATTRIB_ARRAY0_NV = 0x8650
3133 VERTEX_ATTRIB_ARRAY1_NV = 0x8651
3134 VERTEX_ATTRIB_ARRAY2_NV = 0x8652
3135 VERTEX_ATTRIB_ARRAY3_NV = 0x8653
3136 VERTEX_ATTRIB_ARRAY4_NV = 0x8654
3137 VERTEX_ATTRIB_ARRAY5_NV = 0x8655
3138 VERTEX_ATTRIB_ARRAY6_NV = 0x8656
3139 VERTEX_ATTRIB_ARRAY7_NV = 0x8657
3140 VERTEX_ATTRIB_ARRAY8_NV = 0x8658
3141 VERTEX_ATTRIB_ARRAY9_NV = 0x8659
3142 VERTEX_ATTRIB_ARRAY10_NV = 0x865A
3143 VERTEX_ATTRIB_ARRAY11_NV = 0x865B
3144 VERTEX_ATTRIB_ARRAY12_NV = 0x865C
3145 VERTEX_ATTRIB_ARRAY13_NV = 0x865D
3146 VERTEX_ATTRIB_ARRAY14_NV = 0x865E
3147 VERTEX_ATTRIB_ARRAY15_NV = 0x865F
3148 MAP1_VERTEX_ATTRIB0_4_NV = 0x8660
3149 MAP1_VERTEX_ATTRIB1_4_NV = 0x8661
3150 MAP1_VERTEX_ATTRIB2_4_NV = 0x8662
3151 MAP1_VERTEX_ATTRIB3_4_NV = 0x8663
3152 MAP1_VERTEX_ATTRIB4_4_NV = 0x8664
3153 MAP1_VERTEX_ATTRIB5_4_NV = 0x8665
3154 MAP1_VERTEX_ATTRIB6_4_NV = 0x8666
3155 MAP1_VERTEX_ATTRIB7_4_NV = 0x8667
3156 MAP1_VERTEX_ATTRIB8_4_NV = 0x8668
3157 MAP1_VERTEX_ATTRIB9_4_NV = 0x8669
3158 MAP1_VERTEX_ATTRIB10_4_NV = 0x866A
3159 MAP1_VERTEX_ATTRIB11_4_NV = 0x866B
3160 MAP1_VERTEX_ATTRIB12_4_NV = 0x866C
3161 MAP1_VERTEX_ATTRIB13_4_NV = 0x866D
3162 MAP1_VERTEX_ATTRIB14_4_NV = 0x866E
3163 MAP1_VERTEX_ATTRIB15_4_NV = 0x866F
3164 MAP2_VERTEX_ATTRIB0_4_NV = 0x8670
3165 MAP2_VERTEX_ATTRIB1_4_NV = 0x8671
3166 MAP2_VERTEX_ATTRIB2_4_NV = 0x8672
3167 MAP2_VERTEX_ATTRIB3_4_NV = 0x8673
3168 MAP2_VERTEX_ATTRIB4_4_NV = 0x8674
3169 MAP2_VERTEX_ATTRIB5_4_NV = 0x8675
3170 MAP2_VERTEX_ATTRIB6_4_NV = 0x8676
3171 MAP2_VERTEX_ATTRIB7_4_NV = 0x8677
3172 MAP2_VERTEX_ATTRIB8_4_NV = 0x8678
3173 MAP2_VERTEX_ATTRIB9_4_NV = 0x8679
3174 MAP2_VERTEX_ATTRIB10_4_NV = 0x867A
3175 MAP2_VERTEX_ATTRIB11_4_NV = 0x867B
3176 MAP2_VERTEX_ATTRIB12_4_NV = 0x867C
3177 MAP2_VERTEX_ATTRIB13_4_NV = 0x867D
3178 MAP2_VERTEX_ATTRIB14_4_NV = 0x867E
3179 MAP2_VERTEX_ATTRIB15_4_NV = 0x867F
3181 ###############################################################################
3183 # Extension #235
3184 SGIX_texture_coordinate_clamp enum:
3185 TEXTURE_MAX_CLAMP_S_SGIX = 0x8369
3186 TEXTURE_MAX_CLAMP_T_SGIX = 0x836A
3187 TEXTURE_MAX_CLAMP_R_SGIX = 0x836B
3189 ###############################################################################
3191 # Extension #236
3192 SGIX_scalebias_hint enum:
3193 SCALEBIAS_HINT_SGIX = 0x8322
3195 ###############################################################################
3197 # Extension #237 - GLX_OML_swap_method
3198 # Extension #238 - GLX_OML_sync_control
3200 ###############################################################################
3202 # Extension #239
3203 OML_interlace enum:
3204 INTERLACE_OML = 0x8980
3205 INTERLACE_READ_OML = 0x8981
3207 ###############################################################################
3209 # Extension #240
3210 OML_subsample enum:
3211 FORMAT_SUBSAMPLE_24_24_OML = 0x8982
3212 FORMAT_SUBSAMPLE_244_244_OML = 0x8983
3214 ###############################################################################
3216 # Extension #241
3217 OML_resample enum:
3218 PACK_RESAMPLE_OML = 0x8984
3219 UNPACK_RESAMPLE_OML = 0x8985
3220 RESAMPLE_REPLICATE_OML = 0x8986
3221 RESAMPLE_ZERO_FILL_OML = 0x8987
3222 RESAMPLE_AVERAGE_OML = 0x8988
3223 RESAMPLE_DECIMATE_OML = 0x8989
3225 ###############################################################################
3227 # Extension #242 - WGL_OML_sync_control
3229 ###############################################################################
3231 # Extension #243
3232 NV_copy_depth_to_color enum:
3233 DEPTH_STENCIL_TO_RGBA_NV = 0x886E
3234 DEPTH_STENCIL_TO_BGRA_NV = 0x886F
3236 ###############################################################################
3238 # Extension #244
3239 ATI_envmap_bumpmap enum:
3240 BUMP_ROT_MATRIX_ATI = 0x8775
3241 BUMP_ROT_MATRIX_SIZE_ATI = 0x8776
3242 BUMP_NUM_TEX_UNITS_ATI = 0x8777
3243 BUMP_TEX_UNITS_ATI = 0x8778
3244 DUDV_ATI = 0x8779
3245 DU8DV8_ATI = 0x877A
3246 BUMP_ENVMAP_ATI = 0x877B
3247 BUMP_TARGET_ATI = 0x877C
3249 ###############################################################################
3251 # Extension #245
3252 ATI_fragment_shader enum:
3253 FRAGMENT_SHADER_ATI = 0x8920
3254 REG_0_ATI = 0x8921
3255 REG_1_ATI = 0x8922
3256 REG_2_ATI = 0x8923
3257 REG_3_ATI = 0x8924
3258 REG_4_ATI = 0x8925
3259 REG_5_ATI = 0x8926
3260 REG_6_ATI = 0x8927
3261 REG_7_ATI = 0x8928
3262 REG_8_ATI = 0x8929
3263 REG_9_ATI = 0x892A
3264 REG_10_ATI = 0x892B
3265 REG_11_ATI = 0x892C
3266 REG_12_ATI = 0x892D
3267 REG_13_ATI = 0x892E
3268 REG_14_ATI = 0x892F
3269 REG_15_ATI = 0x8930
3270 REG_16_ATI = 0x8931
3271 REG_17_ATI = 0x8932
3272 REG_18_ATI = 0x8933
3273 REG_19_ATI = 0x8934
3274 REG_20_ATI = 0x8935
3275 REG_21_ATI = 0x8936
3276 REG_22_ATI = 0x8937
3277 REG_23_ATI = 0x8938
3278 REG_24_ATI = 0x8939
3279 REG_25_ATI = 0x893A
3280 REG_26_ATI = 0x893B
3281 REG_27_ATI = 0x893C
3282 REG_28_ATI = 0x893D
3283 REG_29_ATI = 0x893E
3284 REG_30_ATI = 0x893F
3285 REG_31_ATI = 0x8940
3286 CON_0_ATI = 0x8941
3287 CON_1_ATI = 0x8942
3288 CON_2_ATI = 0x8943
3289 CON_3_ATI = 0x8944
3290 CON_4_ATI = 0x8945
3291 CON_5_ATI = 0x8946
3292 CON_6_ATI = 0x8947
3293 CON_7_ATI = 0x8948
3294 CON_8_ATI = 0x8949
3295 CON_9_ATI = 0x894A
3296 CON_10_ATI = 0x894B
3297 CON_11_ATI = 0x894C
3298 CON_12_ATI = 0x894D
3299 CON_13_ATI = 0x894E
3300 CON_14_ATI = 0x894F
3301 CON_15_ATI = 0x8950
3302 CON_16_ATI = 0x8951
3303 CON_17_ATI = 0x8952
3304 CON_18_ATI = 0x8953
3305 CON_19_ATI = 0x8954
3306 CON_20_ATI = 0x8955
3307 CON_21_ATI = 0x8956
3308 CON_22_ATI = 0x8957
3309 CON_23_ATI = 0x8958
3310 CON_24_ATI = 0x8959
3311 CON_25_ATI = 0x895A
3312 CON_26_ATI = 0x895B
3313 CON_27_ATI = 0x895C
3314 CON_28_ATI = 0x895D
3315 CON_29_ATI = 0x895E
3316 CON_30_ATI = 0x895F
3317 CON_31_ATI = 0x8960
3318 MOV_ATI = 0x8961
3319 ADD_ATI = 0x8963
3320 MUL_ATI = 0x8964
3321 SUB_ATI = 0x8965
3322 DOT3_ATI = 0x8966
3323 DOT4_ATI = 0x8967
3324 MAD_ATI = 0x8968
3325 LERP_ATI = 0x8969
3326 CND_ATI = 0x896A
3327 CND0_ATI = 0x896B
3328 DOT2_ADD_ATI = 0x896C
3329 SECONDARY_INTERPOLATOR_ATI = 0x896D
3330 NUM_FRAGMENT_REGISTERS_ATI = 0x896E
3331 NUM_FRAGMENT_CONSTANTS_ATI = 0x896F
3332 NUM_PASSES_ATI = 0x8970
3333 NUM_INSTRUCTIONS_PER_PASS_ATI = 0x8971
3334 NUM_INSTRUCTIONS_TOTAL_ATI = 0x8972
3335 NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI = 0x8973
3336 NUM_LOOPBACK_COMPONENTS_ATI = 0x8974
3337 COLOR_ALPHA_PAIRING_ATI = 0x8975
3338 SWIZZLE_STR_ATI = 0x8976
3339 SWIZZLE_STQ_ATI = 0x8977
3340 SWIZZLE_STR_DR_ATI = 0x8978
3341 SWIZZLE_STQ_DQ_ATI = 0x8979
3342 SWIZZLE_STRQ_ATI = 0x897A
3343 SWIZZLE_STRQ_DQ_ATI = 0x897B
3344 RED_BIT_ATI = 0x00000001
3345 GREEN_BIT_ATI = 0x00000002
3346 BLUE_BIT_ATI = 0x00000004
3347 2X_BIT_ATI = 0x00000001
3348 4X_BIT_ATI = 0x00000002
3349 8X_BIT_ATI = 0x00000004
3350 HALF_BIT_ATI = 0x00000008
3351 QUARTER_BIT_ATI = 0x00000010
3352 EIGHTH_BIT_ATI = 0x00000020
3353 SATURATE_BIT_ATI = 0x00000040
3354 2X_BIT_ATI = 0x00000001
3355 COMP_BIT_ATI = 0x00000002
3356 NEGATE_BIT_ATI = 0x00000004
3357 BIAS_BIT_ATI = 0x00000008
3359 ###############################################################################
3361 # Extension #246
3362 ATI_pn_triangles enum:
3363 PN_TRIANGLES_ATI = 0x87F0
3364 MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F1
3365 PN_TRIANGLES_POINT_MODE_ATI = 0x87F2
3366 PN_TRIANGLES_NORMAL_MODE_ATI = 0x87F3
3367 PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F4
3368 PN_TRIANGLES_POINT_MODE_LINEAR_ATI = 0x87F5
3369 PN_TRIANGLES_POINT_MODE_CUBIC_ATI = 0x87F6
3370 PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI = 0x87F7
3371 PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI = 0x87F8
3373 ###############################################################################
3375 # Extension #247
3376 ATI_vertex_array_object enum:
3377 STATIC_ATI = 0x8760
3378 DYNAMIC_ATI = 0x8761
3379 PRESERVE_ATI = 0x8762
3380 DISCARD_ATI = 0x8763
3381 OBJECT_BUFFER_SIZE_ATI = 0x8764
3382 OBJECT_BUFFER_USAGE_ATI = 0x8765
3383 ARRAY_OBJECT_BUFFER_ATI = 0x8766
3384 ARRAY_OBJECT_OFFSET_ATI = 0x8767
3386 ###############################################################################
3388 # Extension #248
3389 EXT_vertex_shader enum:
3390 VERTEX_SHADER_EXT = 0x8780
3391 VERTEX_SHADER_BINDING_EXT = 0x8781
3392 OP_INDEX_EXT = 0x8782
3393 OP_NEGATE_EXT = 0x8783
3394 OP_DOT3_EXT = 0x8784
3395 OP_DOT4_EXT = 0x8785
3396 OP_MUL_EXT = 0x8786
3397 OP_ADD_EXT = 0x8787
3398 OP_MADD_EXT = 0x8788
3399 OP_FRAC_EXT = 0x8789
3400 OP_MAX_EXT = 0x878A
3401 OP_MIN_EXT = 0x878B
3402 OP_SET_GE_EXT = 0x878C
3403 OP_SET_LT_EXT = 0x878D
3404 OP_CLAMP_EXT = 0x878E
3405 OP_FLOOR_EXT = 0x878F
3406 OP_ROUND_EXT = 0x8790
3407 OP_EXP_BASE_2_EXT = 0x8791
3408 OP_LOG_BASE_2_EXT = 0x8792
3409 OP_POWER_EXT = 0x8793
3410 OP_RECIP_EXT = 0x8794
3411 OP_RECIP_SQRT_EXT = 0x8795
3412 OP_SUB_EXT = 0x8796
3413 OP_CROSS_PRODUCT_EXT = 0x8797
3414 OP_MULTIPLY_MATRIX_EXT = 0x8798
3415 OP_MOV_EXT = 0x8799
3416 OUTPUT_VERTEX_EXT = 0x879A
3417 OUTPUT_COLOR0_EXT = 0x879B
3418 OUTPUT_COLOR1_EXT = 0x879C
3419 OUTPUT_TEXTURE_COORD0_EXT = 0x879D
3420 OUTPUT_TEXTURE_COORD1_EXT = 0x879E
3421 OUTPUT_TEXTURE_COORD2_EXT = 0x879F
3422 OUTPUT_TEXTURE_COORD3_EXT = 0x87A0
3423 OUTPUT_TEXTURE_COORD4_EXT = 0x87A1
3424 OUTPUT_TEXTURE_COORD5_EXT = 0x87A2
3425 OUTPUT_TEXTURE_COORD6_EXT = 0x87A3
3426 OUTPUT_TEXTURE_COORD7_EXT = 0x87A4
3427 OUTPUT_TEXTURE_COORD8_EXT = 0x87A5
3428 OUTPUT_TEXTURE_COORD9_EXT = 0x87A6
3429 OUTPUT_TEXTURE_COORD10_EXT = 0x87A7
3430 OUTPUT_TEXTURE_COORD11_EXT = 0x87A8
3431 OUTPUT_TEXTURE_COORD12_EXT = 0x87A9
3432 OUTPUT_TEXTURE_COORD13_EXT = 0x87AA
3433 OUTPUT_TEXTURE_COORD14_EXT = 0x87AB
3434 OUTPUT_TEXTURE_COORD15_EXT = 0x87AC
3435 OUTPUT_TEXTURE_COORD16_EXT = 0x87AD
3436 OUTPUT_TEXTURE_COORD17_EXT = 0x87AE
3437 OUTPUT_TEXTURE_COORD18_EXT = 0x87AF
3438 OUTPUT_TEXTURE_COORD19_EXT = 0x87B0
3439 OUTPUT_TEXTURE_COORD20_EXT = 0x87B1
3440 OUTPUT_TEXTURE_COORD21_EXT = 0x87B2
3441 OUTPUT_TEXTURE_COORD22_EXT = 0x87B3
3442 OUTPUT_TEXTURE_COORD23_EXT = 0x87B4
3443 OUTPUT_TEXTURE_COORD24_EXT = 0x87B5
3444 OUTPUT_TEXTURE_COORD25_EXT = 0x87B6
3445 OUTPUT_TEXTURE_COORD26_EXT = 0x87B7
3446 OUTPUT_TEXTURE_COORD27_EXT = 0x87B8
3447 OUTPUT_TEXTURE_COORD28_EXT = 0x87B9
3448 OUTPUT_TEXTURE_COORD29_EXT = 0x87BA
3449 OUTPUT_TEXTURE_COORD30_EXT = 0x87BB
3450 OUTPUT_TEXTURE_COORD31_EXT = 0x87BC
3451 OUTPUT_FOG_EXT = 0x87BD
3452 SCALAR_EXT = 0x87BE
3453 VECTOR_EXT = 0x87BF
3454 MATRIX_EXT = 0x87C0
3455 VARIANT_EXT = 0x87C1
3456 INVARIANT_EXT = 0x87C2
3457 LOCAL_CONSTANT_EXT = 0x87C3
3458 LOCAL_EXT = 0x87C4
3459 MAX_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87C5
3460 MAX_VERTEX_SHADER_VARIANTS_EXT = 0x87C6
3461 MAX_VERTEX_SHADER_INVARIANTS_EXT = 0x87C7
3462 MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87C8
3463 MAX_VERTEX_SHADER_LOCALS_EXT = 0x87C9
3464 MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87CA
3465 MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT = 0x87CB
3466 MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87CC
3467 MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT = 0x87CD
3468 MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT = 0x87CE
3469 VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87CF
3470 VERTEX_SHADER_VARIANTS_EXT = 0x87D0
3471 VERTEX_SHADER_INVARIANTS_EXT = 0x87D1
3472 VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87D2
3473 VERTEX_SHADER_LOCALS_EXT = 0x87D3
3474 VERTEX_SHADER_OPTIMIZED_EXT = 0x87D4
3475 X_EXT = 0x87D5
3476 Y_EXT = 0x87D6
3477 Z_EXT = 0x87D7
3478 W_EXT = 0x87D8
3479 NEGATIVE_X_EXT = 0x87D9
3480 NEGATIVE_Y_EXT = 0x87DA
3481 NEGATIVE_Z_EXT = 0x87DB
3482 NEGATIVE_W_EXT = 0x87DC
3483 ZERO_EXT = 0x87DD
3484 ONE_EXT = 0x87DE
3485 NEGATIVE_ONE_EXT = 0x87DF
3486 NORMALIZED_RANGE_EXT = 0x87E0
3487 FULL_RANGE_EXT = 0x87E1
3488 CURRENT_VERTEX_EXT = 0x87E2
3489 MVP_MATRIX_EXT = 0x87E3
3490 VARIANT_VALUE_EXT = 0x87E4
3491 VARIANT_DATATYPE_EXT = 0x87E5
3492 VARIANT_ARRAY_STRIDE_EXT = 0x87E6
3493 VARIANT_ARRAY_TYPE_EXT = 0x87E7
3494 VARIANT_ARRAY_EXT = 0x87E8
3495 VARIANT_ARRAY_POINTER_EXT = 0x87E9
3496 INVARIANT_VALUE_EXT = 0x87EA
3497 INVARIANT_DATATYPE_EXT = 0x87EB
3498 LOCAL_CONSTANT_VALUE_EXT = 0x87EC
3499 LOCAL_CONSTANT_DATATYPE_EXT = 0x87ED
3501 ###############################################################################
3503 # Extension #249
3504 ATI_vertex_streams enum:
3505 MAX_VERTEX_STREAMS_ATI = 0x876B
3506 VERTEX_STREAM0_ATI = 0x876C
3507 VERTEX_STREAM1_ATI = 0x876D
3508 VERTEX_STREAM2_ATI = 0x876E
3509 VERTEX_STREAM3_ATI = 0x876F
3510 VERTEX_STREAM4_ATI = 0x8770
3511 VERTEX_STREAM5_ATI = 0x8771
3512 VERTEX_STREAM6_ATI = 0x8772
3513 VERTEX_STREAM7_ATI = 0x8773
3514 VERTEX_SOURCE_ATI = 0x8774
3516 ###############################################################################
3518 # Extension #250 - WGL_I3D_digital_video_control
3519 # Extension #251 - WGL_I3D_gamma
3520 # Extension #252 - WGL_I3D_genlock
3521 # Extension #253 - WGL_I3D_image_buffer
3522 # Extension #254 - WGL_I3D_swap_frame_lock
3523 # Extension #255 - WGL_I3D_swap_frame_usage
3525 ###############################################################################
3527 # Extension #256
3528 ATI_element_array enum:
3529 ELEMENT_ARRAY_ATI = 0x8768
3530 ELEMENT_ARRAY_TYPE_ATI = 0x8769
3531 ELEMENT_ARRAY_POINTER_ATI = 0x876A
3533 ###############################################################################
3535 # Extension #257
3536 SUN_mesh_array enum:
3537 QUAD_MESH_SUN = 0x8614
3538 TRIANGLE_MESH_SUN = 0x8615
3540 ###############################################################################
3542 # Extension #258
3543 SUN_slice_accum enum:
3544 SLICE_ACCUM_SUN = 0x85CC
3546 ###############################################################################
3548 # Extension #259
3549 NV_multisample_filter_hint enum:
3550 MULTISAMPLE_FILTER_HINT_NV = 0x8534
3552 ###############################################################################
3554 # Extension #260
3555 NV_depth_clamp enum:
3556 DEPTH_CLAMP_NV = 0x864F
3558 ###############################################################################
3560 # Extension #261
3561 NV_occlusion_query enum:
3562 PIXEL_COUNTER_BITS_NV = 0x8864
3563 CURRENT_OCCLUSION_QUERY_ID_NV = 0x8865
3564 PIXEL_COUNT_NV = 0x8866
3565 PIXEL_COUNT_AVAILABLE_NV = 0x8867
3567 ###############################################################################
3569 # Extension #262
3570 NV_point_sprite enum:
3571 POINT_SPRITE_NV = 0x8861
3572 COORD_REPLACE_NV = 0x8862
3573 POINT_SPRITE_R_MODE_NV = 0x8863
3575 ###############################################################################
3577 # Extension #263 - WGL_NV_render_depth_texture
3578 # Extension #264 - WGL_NV_render_texture_rectangle
3580 ###############################################################################
3582 # Extension #265
3583 NV_texture_shader3 enum:
3584 OFFSET_PROJECTIVE_TEXTURE_2D_NV = 0x8850
3585 OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV = 0x8851
3586 OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8852
3587 OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV = 0x8853
3588 OFFSET_HILO_TEXTURE_2D_NV = 0x8854
3589 OFFSET_HILO_TEXTURE_RECTANGLE_NV = 0x8855
3590 OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV = 0x8856
3591 OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8857
3592 DEPENDENT_HILO_TEXTURE_2D_NV = 0x8858
3593 DEPENDENT_RGB_TEXTURE_3D_NV = 0x8859
3594 DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV = 0x885A
3595 DOT_PRODUCT_PASS_THROUGH_NV = 0x885B
3596 DOT_PRODUCT_TEXTURE_1D_NV = 0x885C
3597 DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV = 0x885D
3598 HILO8_NV = 0x885E
3599 SIGNED_HILO8_NV = 0x885F
3600 FORCE_BLUE_TO_ONE_NV = 0x8860
3602 ###############################################################################
3604 # No new tokens
3605 # Extension #266
3606 NV_vertex_program1_1 enum:
3608 ###############################################################################
3610 # No new tokens
3611 # Extension #267
3612 EXT_shadow_funcs enum:
3614 ###############################################################################
3616 # Extension #268
3617 EXT_stencil_two_side enum:
3618 STENCIL_TEST_TWO_SIDE_EXT = 0x8910
3619 ACTIVE_STENCIL_FACE_EXT = 0x8911
3621 ###############################################################################
3623 # Extension #269
3624 ATI_text_fragment_shader enum:
3625 TEXT_FRAGMENT_SHADER_ATI = 0x8200
3627 ###############################################################################
3629 # Extension #270
3630 APPLE_client_storage enum:
3631 UNPACK_CLIENT_STORAGE_APPLE = 0x85B2
3633 ###############################################################################
3635 # Extension #271
3636 # @@@ (extends ATI_element_array, I think???)
3637 APPLE_element_array enum:
3638 ELEMENT_ARRAY_APPLE = 0x8768
3639 ELEMENT_ARRAY_TYPE_APPLE = 0x8769
3640 ELEMENT_ARRAY_POINTER_APPLE = 0x876A
3642 ###############################################################################
3644 # Extension #272
3645 APPLE_fence enum:
3646 DRAW_PIXELS_APPLE = 0x8A0A
3647 FENCE_APPLE = 0x8A0B
3649 ###############################################################################
3651 # Extension #273
3652 APPLE_vertex_array_object enum:
3653 VERTEX_ARRAY_BINDING_APPLE = 0x85B5
3655 ###############################################################################
3657 # Extension #274
3658 # @@@ How does this interact with NV_vertex_array_range?
3659 APPLE_vertex_array_range enum:
3660 VERTEX_ARRAY_RANGE_APPLE = 0x851D
3661 VERTEX_ARRAY_RANGE_LENGTH_APPLE = 0x851E
3662 VERTEX_ARRAY_STORAGE_HINT_APPLE = 0x851F
3663 VERTEX_ARRAY_RANGE_POINTER_APPLE = 0x8521
3664 STORAGE_CACHED_APPLE = 0x85BE
3665 STORAGE_SHARED_APPLE = 0x85BF
3667 ###############################################################################
3669 # Extension #275
3670 APPLE_ycbcr_422 enum:
3671 YCBCR_422_APPLE = 0x85B9
3672 UNSIGNED_SHORT_8_8_APPLE = 0x85BA
3673 UNSIGNED_SHORT_8_8_REV_APPLE = 0x85BB
3675 ###############################################################################
3677 # Extension #276
3678 S3_s3tc enum:
3679 RGB_S3TC = 0x83A0
3680 RGB4_S3TC = 0x83A1
3681 RGBA_S3TC = 0x83A2
3682 RGBA4_S3TC = 0x83A3
3684 ###############################################################################
3686 # Extension #277
3687 ATI_draw_buffers enum:
3688 MAX_DRAW_BUFFERS_ATI = 0x8824
3689 DRAW_BUFFER0_ATI = 0x8825
3690 DRAW_BUFFER1_ATI = 0x8826
3691 DRAW_BUFFER2_ATI = 0x8827
3692 DRAW_BUFFER3_ATI = 0x8828
3693 DRAW_BUFFER4_ATI = 0x8829
3694 DRAW_BUFFER5_ATI = 0x882A
3695 DRAW_BUFFER6_ATI = 0x882B
3696 DRAW_BUFFER7_ATI = 0x882C
3697 DRAW_BUFFER8_ATI = 0x882D
3698 DRAW_BUFFER9_ATI = 0x882E
3699 DRAW_BUFFER10_ATI = 0x882F
3700 DRAW_BUFFER11_ATI = 0x8830
3701 DRAW_BUFFER12_ATI = 0x8831
3702 DRAW_BUFFER13_ATI = 0x8832
3703 DRAW_BUFFER14_ATI = 0x8833
3704 DRAW_BUFFER15_ATI = 0x8834
3706 ###############################################################################
3708 # Extension #278
3709 # This is really a WGL extension, but if defined there are
3710 # some associated GL enumerants.
3711 ATI_pixel_format_float enum:
3712 TYPE_RGBA_FLOAT_ATI = 0x8820
3713 COLOR_CLEAR_UNCLAMPED_VALUE_ATI = 0x8835
3715 ###############################################################################
3717 # Extension #279
3718 ATI_texture_env_combine3 enum:
3719 MODULATE_ADD_ATI = 0x8744
3720 MODULATE_SIGNED_ADD_ATI = 0x8745
3721 MODULATE_SUBTRACT_ATI = 0x8746
3723 ###############################################################################
3725 # Extension #280
3726 ATI_texture_float enum:
3727 RGBA_FLOAT32_ATI = 0x8814
3728 RGB_FLOAT32_ATI = 0x8815
3729 ALPHA_FLOAT32_ATI = 0x8816
3730 INTENSITY_FLOAT32_ATI = 0x8817
3731 LUMINANCE_FLOAT32_ATI = 0x8818
3732 LUMINANCE_ALPHA_FLOAT32_ATI = 0x8819
3733 RGBA_FLOAT16_ATI = 0x881A
3734 RGB_FLOAT16_ATI = 0x881B
3735 ALPHA_FLOAT16_ATI = 0x881C
3736 INTENSITY_FLOAT16_ATI = 0x881D
3737 LUMINANCE_FLOAT16_ATI = 0x881E
3738 LUMINANCE_ALPHA_FLOAT16_ATI = 0x881F
3740 ###############################################################################
3742 # Extension #281 (also WGL_NV_float_buffer)
3743 NV_float_buffer enum:
3744 FLOAT_R_NV = 0x8880
3745 FLOAT_RG_NV = 0x8881
3746 FLOAT_RGB_NV = 0x8882
3747 FLOAT_RGBA_NV = 0x8883
3748 FLOAT_R16_NV = 0x8884
3749 FLOAT_R32_NV = 0x8885
3750 FLOAT_RG16_NV = 0x8886
3751 FLOAT_RG32_NV = 0x8887
3752 FLOAT_RGB16_NV = 0x8888
3753 FLOAT_RGB32_NV = 0x8889
3754 FLOAT_RGBA16_NV = 0x888A
3755 FLOAT_RGBA32_NV = 0x888B
3756 TEXTURE_FLOAT_COMPONENTS_NV = 0x888C
3757 FLOAT_CLEAR_COLOR_VALUE_NV = 0x888D
3758 FLOAT_RGBA_MODE_NV = 0x888E
3760 ###############################################################################
3762 # Extension #282
3763 NV_fragment_program enum:
3764 MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV = 0x8868
3765 FRAGMENT_PROGRAM_NV = 0x8870
3766 MAX_TEXTURE_COORDS_NV = 0x8871
3767 MAX_TEXTURE_IMAGE_UNITS_NV = 0x8872
3768 FRAGMENT_PROGRAM_BINDING_NV = 0x8873
3769 PROGRAM_ERROR_STRING_NV = 0x8874
3771 ###############################################################################
3773 # Extension #283
3774 NV_half_float enum:
3775 HALF_FLOAT_NV = 0x140B
3777 ###############################################################################
3779 # Extension #284
3780 NV_pixel_data_range enum:
3781 WRITE_PIXEL_DATA_RANGE_NV = 0x8878
3782 READ_PIXEL_DATA_RANGE_NV = 0x8879
3783 WRITE_PIXEL_DATA_RANGE_LENGTH_NV = 0x887A
3784 READ_PIXEL_DATA_RANGE_LENGTH_NV = 0x887B
3785 WRITE_PIXEL_DATA_RANGE_POINTER_NV = 0x887C
3786 READ_PIXEL_DATA_RANGE_POINTER_NV = 0x887D
3788 ###############################################################################
3790 # Extension #285
3791 NV_primitive_restart enum:
3792 PRIMITIVE_RESTART_NV = 0x8558
3793 PRIMITIVE_RESTART_INDEX_NV = 0x8559
3795 ###############################################################################
3797 # Extension #286
3798 NV_texture_expand_normal enum:
3799 TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888F
3801 ###############################################################################
3803 # No new tokens
3804 # Extension #287
3805 NV_vertex_program2 enum:
3807 ###############################################################################
3809 # No new tokens
3810 # Extension #288
3811 ATI_map_object_buffer enum:
3813 ###############################################################################
3815 # Extension #289
3816 ATI_separate_stencil enum:
3817 STENCIL_BACK_FUNC_ATI = 0x8800
3818 STENCIL_BACK_FAIL_ATI = 0x8801
3819 STENCIL_BACK_PASS_DEPTH_FAIL_ATI = 0x8802
3820 STENCIL_BACK_PASS_DEPTH_PASS_ATI = 0x8803
3822 ###############################################################################
3824 # No new tokens
3825 # Extension #290
3826 ATI_vertex_attrib_array_object enum:
3828 ###############################################################################
3830 # No new tokens
3831 # Extension #291 - OpenGL ES only, not in glext.h
3832 # OES_byte_coordinates enum:
3834 ###############################################################################
3836 # Extension #292 - OpenGL ES only, not in glext.h
3837 # OES_fixed_point enum:
3838 # FIXED_OES = 0x140C
3840 ###############################################################################
3842 # No new tokens
3843 # Extension #293 - OpenGL ES only, not in glext.h
3844 # OES_single_precision enum:
3846 ###############################################################################
3848 # Extension #294 - OpenGL ES only, not in glext.h
3849 # OES_compressed_paletted_texture enum:
3850 # PALETTE4_RGB8_OES = 0x8B90
3851 # PALETTE4_RGBA8_OES = 0x8B91
3852 # PALETTE4_R5_G6_B5_OES = 0x8B92
3853 # PALETTE4_RGBA4_OES = 0x8B93
3854 # PALETTE4_RGB5_A1_OES = 0x8B94
3855 # PALETTE8_RGB8_OES = 0x8B95
3856 # PALETTE8_RGBA8_OES = 0x8B96
3857 # PALETTE8_R5_G6_B5_OES = 0x8B97
3858 # PALETTE8_RGBA4_OES = 0x8B98
3859 # PALETTE8_RGB5_A1_OES = 0x8B99
3861 ###############################################################################
3863 # Extension #295 - This is an OpenGL ES extension, but also implemented in Mesa
3864 OES_read_format enum:
3865 IMPLEMENTATION_COLOR_READ_TYPE_OES = 0x8B9A
3866 IMPLEMENTATION_COLOR_READ_FORMAT_OES = 0x8B9B
3868 ###############################################################################
3870 # No new tokens
3871 # Extension #296 - OpenGL ES only, not in glext.h
3872 # OES_query_matrix enum:
3874 ###############################################################################
3876 # Extension #297
3877 EXT_depth_bounds_test enum:
3878 DEPTH_BOUNDS_TEST_EXT = 0x8890
3879 DEPTH_BOUNDS_EXT = 0x8891
3881 ###############################################################################
3883 # Extension #298
3884 EXT_texture_mirror_clamp enum:
3885 MIRROR_CLAMP_EXT = 0x8742
3886 MIRROR_CLAMP_TO_EDGE_EXT = 0x8743
3887 MIRROR_CLAMP_TO_BORDER_EXT = 0x8912
3889 ###############################################################################
3891 # Extension #299
3892 EXT_blend_equation_separate enum:
3893 BLEND_EQUATION_RGB_EXT = GL_BLEND_EQUATION
3894 BLEND_EQUATION_ALPHA_EXT = 0x883D
3896 ###############################################################################
3898 # Extension #300
3899 MESA_pack_invert enum:
3900 PACK_INVERT_MESA = 0x8758
3902 ###############################################################################
3904 # Extension #301
3905 MESA_ycbcr_texture enum:
3906 UNSIGNED_SHORT_8_8_MESA = 0x85BA
3907 UNSIGNED_SHORT_8_8_REV_MESA = 0x85BB
3908 YCBCR_MESA = 0x8757
3910 ###############################################################################
3912 # Extension #302
3913 EXT_pixel_buffer_object enum:
3914 PIXEL_PACK_BUFFER_EXT = 0x88EB
3915 PIXEL_UNPACK_BUFFER_EXT = 0x88EC
3916 PIXEL_PACK_BUFFER_BINDING_EXT = 0x88ED
3917 PIXEL_UNPACK_BUFFER_BINDING_EXT = 0x88EF
3919 ###############################################################################
3921 # No new tokens
3922 # Extension #303
3923 NV_fragment_program_option enum:
3925 ###############################################################################
3927 # Extension #304
3928 NV_fragment_program2 enum:
3929 MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4
3930 MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5
3931 MAX_PROGRAM_IF_DEPTH_NV = 0x88F6
3932 MAX_PROGRAM_LOOP_DEPTH_NV = 0x88F7
3933 MAX_PROGRAM_LOOP_COUNT_NV = 0x88F8
3935 ###############################################################################
3937 # Extension #305
3938 NV_vertex_program2_option enum:
3939 use NV_fragment_program2 MAX_PROGRAM_EXEC_INSTRUCTIONS_NV
3940 use NV_fragment_program2 MAX_PROGRAM_CALL_DEPTH_NV
3942 ###############################################################################
3944 # Extension #306
3945 NV_vertex_program3 enum:
3946 use ARB_vertex_shader MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB
3948 ###############################################################################
3950 # Extension #307 - GLX_SGIX_hyperpipe
3951 # Extension #308 - GLX_MESA_agp_offset
3952 # Extension #309 - GL_EXT_texture_compression_dxt1 (OpenGL ES only, subset of _s3tc version)
3954 ###############################################################################
3956 # Extension #310
3957 EXT_framebuffer_object enum:
3958 INVALID_FRAMEBUFFER_OPERATION_EXT = 0x0506
3959 MAX_RENDERBUFFER_SIZE_EXT = 0x84E8
3960 FRAMEBUFFER_BINDING_EXT = 0x8CA6
3961 RENDERBUFFER_BINDING_EXT = 0x8CA7
3962 FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT = 0x8CD0
3963 FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT = 0x8CD1
3964 FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT = 0x8CD2
3965 FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT = 0x8CD3
3966 FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT = 0x8CD4
3967 FRAMEBUFFER_COMPLETE_EXT = 0x8CD5
3968 FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT = 0x8CD6
3969 FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT = 0x8CD7
3970 ## Removed 2005/09/26 in revision #117 of the extension:
3971 ## FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT = 0x8CD8
3972 FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT = 0x8CD9
3973 FRAMEBUFFER_INCOMPLETE_FORMATS_EXT = 0x8CDA
3974 FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT = 0x8CDB
3975 FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT = 0x8CDC
3976 FRAMEBUFFER_UNSUPPORTED_EXT = 0x8CDD
3977 ## Removed 2005/05/31 in revision #113 of the extension:
3978 ## FRAMEBUFFER_STATUS_ERROR_EXT = 0x8CDE
3979 MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF
3980 COLOR_ATTACHMENT0_EXT = 0x8CE0
3981 COLOR_ATTACHMENT1_EXT = 0x8CE1
3982 COLOR_ATTACHMENT2_EXT = 0x8CE2
3983 COLOR_ATTACHMENT3_EXT = 0x8CE3
3984 COLOR_ATTACHMENT4_EXT = 0x8CE4
3985 COLOR_ATTACHMENT5_EXT = 0x8CE5
3986 COLOR_ATTACHMENT6_EXT = 0x8CE6
3987 COLOR_ATTACHMENT7_EXT = 0x8CE7
3988 COLOR_ATTACHMENT8_EXT = 0x8CE8
3989 COLOR_ATTACHMENT9_EXT = 0x8CE9
3990 COLOR_ATTACHMENT10_EXT = 0x8CEA
3991 COLOR_ATTACHMENT11_EXT = 0x8CEB
3992 COLOR_ATTACHMENT12_EXT = 0x8CEC
3993 COLOR_ATTACHMENT13_EXT = 0x8CED
3994 COLOR_ATTACHMENT14_EXT = 0x8CEE
3995 COLOR_ATTACHMENT15_EXT = 0x8CEF
3996 DEPTH_ATTACHMENT_EXT = 0x8D00
3997 STENCIL_ATTACHMENT_EXT = 0x8D20
3998 FRAMEBUFFER_EXT = 0x8D40
3999 RENDERBUFFER_EXT = 0x8D41
4000 RENDERBUFFER_WIDTH_EXT = 0x8D42
4001 RENDERBUFFER_HEIGHT_EXT = 0x8D43
4002 RENDERBUFFER_INTERNAL_FORMAT_EXT = 0x8D44
4003 # removed STENCIL_INDEX_EXT = 0x8D45 in rev. #114 of the spec
4004 STENCIL_INDEX1_EXT = 0x8D46
4005 STENCIL_INDEX4_EXT = 0x8D47
4006 STENCIL_INDEX8_EXT = 0x8D48
4007 STENCIL_INDEX16_EXT = 0x8D49
4008 RENDERBUFFER_RED_SIZE_EXT = 0x8D50
4009 RENDERBUFFER_GREEN_SIZE_EXT = 0x8D51
4010 RENDERBUFFER_BLUE_SIZE_EXT = 0x8D52
4011 RENDERBUFFER_ALPHA_SIZE_EXT = 0x8D53
4012 RENDERBUFFER_DEPTH_SIZE_EXT = 0x8D54
4013 RENDERBUFFER_STENCIL_SIZE_EXT = 0x8D55
4015 ###############################################################################
4017 # No new tokens
4018 # Extension #311
4019 GREMEDY_string_marker enum:
4021 ###############################################################################
4023 # Extension #312
4024 EXT_packed_depth_stencil enum:
4025 DEPTH_STENCIL_EXT = 0x84F9
4026 UNSIGNED_INT_24_8_EXT = 0x84FA
4027 DEPTH24_STENCIL8_EXT = 0x88F0
4028 TEXTURE_STENCIL_SIZE_EXT = 0x88F1
4030 ###############################################################################
4032 # Extension #313 - WGL_3DL_stereo_control
4034 ###############################################################################
4036 # Extension #314
4037 EXT_stencil_clear_tag enum:
4038 STENCIL_TAG_BITS_EXT = 0x88F2
4039 STENCIL_CLEAR_TAG_VALUE_EXT = 0x88F3
4041 ###############################################################################
4043 # Extension #315
4044 EXT_texture_sRGB enum:
4045 SRGB_EXT = 0x8C40
4046 SRGB8_EXT = 0x8C41
4047 SRGB_ALPHA_EXT = 0x8C42
4048 SRGB8_ALPHA8_EXT = 0x8C43
4049 SLUMINANCE_ALPHA_EXT = 0x8C44
4050 SLUMINANCE8_ALPHA8_EXT = 0x8C45
4051 SLUMINANCE_EXT = 0x8C46
4052 SLUMINANCE8_EXT = 0x8C47
4053 COMPRESSED_SRGB_EXT = 0x8C48
4054 COMPRESSED_SRGB_ALPHA_EXT = 0x8C49
4055 COMPRESSED_SLUMINANCE_EXT = 0x8C4A
4056 COMPRESSED_SLUMINANCE_ALPHA_EXT = 0x8C4B
4057 COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C
4058 COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D
4059 COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E
4060 COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F
4062 ###############################################################################
4064 # Extension #316
4065 EXT_framebuffer_blit enum:
4066 READ_FRAMEBUFFER_EXT = 0x8CA8
4067 DRAW_FRAMEBUFFER_EXT = 0x8CA9
4068 READ_FRAMEBUFFER_BINDING_EXT = GL_FRAMEBUFFER_BINDING_EXT
4069 DRAW_FRAMEBUFFER_BINDING_EXT = 0x8CAA
4071 ###############################################################################
4073 # Extension #317
4074 EXT_framebuffer_multisample enum:
4075 RENDERBUFFER_SAMPLES_EXT = 0x8CAB
4076 FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT = 0x8D56
4077 MAX_SAMPLES_EXT = 0x8D57
4079 ###############################################################################
4081 # Extension #318
4082 MESAX_texture_stack enum:
4083 TEXTURE_1D_STACK_MESAX = 0x8759
4084 TEXTURE_2D_STACK_MESAX = 0x875A
4085 PROXY_TEXTURE_1D_STACK_MESAX = 0x875B
4086 PROXY_TEXTURE_2D_STACK_MESAX = 0x875C
4087 TEXTURE_1D_STACK_BINDING_MESAX = 0x875D
4088 TEXTURE_2D_STACK_BINDING_MESAX = 0x875E
4090 ###############################################################################
4092 # Extension #319
4093 EXT_timer_query enum:
4094 TIME_ELAPSED_EXT = 0x88BF
4096 ###############################################################################
4098 # No new tokens
4099 # Extension #320
4100 EXT_gpu_program_parameters enum:
4102 ###############################################################################
4104 # Extension #321
4105 APPLE_flush_buffer_range enum:
4106 BUFFER_SERIALIZED_MODIFY_APPLE = 0x8A12
4107 BUFFER_FLUSHING_UNMAP_APPLE = 0x8A13
4109 ###############################################################################
4111 # Extension #322
4112 NV_gpu_program4 enum:
4113 MIN_PROGRAM_TEXEL_OFFSET_NV = 0x8904
4114 MAX_PROGRAM_TEXEL_OFFSET_NV = 0x8905
4115 PROGRAM_ATTRIB_COMPONENTS_NV = 0x8906
4116 PROGRAM_RESULT_COMPONENTS_NV = 0x8907
4117 MAX_PROGRAM_ATTRIB_COMPONENTS_NV = 0x8908
4118 MAX_PROGRAM_RESULT_COMPONENTS_NV = 0x8909
4119 MAX_PROGRAM_GENERIC_ATTRIBS_NV = 0x8DA5
4120 MAX_PROGRAM_GENERIC_RESULTS_NV = 0x8DA6
4122 ###############################################################################
4124 # Extension #323
4125 NV_geometry_program4 enum:
4126 LINES_ADJACENCY_EXT = 0x000A
4127 LINE_STRIP_ADJACENCY_EXT = 0x000B
4128 TRIANGLES_ADJACENCY_EXT = 0x000C
4129 TRIANGLE_STRIP_ADJACENCY_EXT = 0x000D
4130 GEOMETRY_PROGRAM_NV = 0x8C26
4131 MAX_PROGRAM_OUTPUT_VERTICES_NV = 0x8C27
4132 MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV = 0x8C28
4133 GEOMETRY_VERTICES_OUT_EXT = 0x8DDA
4134 GEOMETRY_INPUT_TYPE_EXT = 0x8DDB
4135 GEOMETRY_OUTPUT_TYPE_EXT = 0x8DDC
4136 MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT = 0x8C29
4137 FRAMEBUFFER_ATTACHMENT_LAYERED_EXT = 0x8DA7
4138 FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT = 0x8DA8
4139 FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT = 0x8DA9
4140 FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT = 0x8CD4
4141 PROGRAM_POINT_SIZE_EXT = 0x8642
4143 ###############################################################################
4145 # Extension #324
4146 EXT_geometry_shader4 enum:
4147 GEOMETRY_SHADER_EXT = 0x8DD9
4148 use NV_geometry_program4 GEOMETRY_VERTICES_OUT_EXT
4149 use NV_geometry_program4 GEOMETRY_INPUT_TYPE_EXT
4150 use NV_geometry_program4 GEOMETRY_OUTPUT_TYPE_EXT
4151 use NV_geometry_program4 MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT
4152 MAX_GEOMETRY_VARYING_COMPONENTS_EXT = 0x8DDD
4153 MAX_VERTEX_VARYING_COMPONENTS_EXT = 0x8DDE
4154 MAX_VARYING_COMPONENTS_EXT = 0x8B4B
4155 MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT = 0x8DDF
4156 MAX_GEOMETRY_OUTPUT_VERTICES_EXT = 0x8DE0
4157 MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT = 0x8DE1
4158 use NV_geometry_program4 LINES_ADJACENCY_EXT
4159 use NV_geometry_program4 LINE_STRIP_ADJACENCY_EXT
4160 use NV_geometry_program4 TRIANGLES_ADJACENCY_EXT
4161 use NV_geometry_program4 TRIANGLE_STRIP_ADJACENCY_EXT
4162 use NV_geometry_program4 FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT
4163 use NV_geometry_program4 FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT
4164 use NV_geometry_program4 FRAMEBUFFER_ATTACHMENT_LAYERED_EXT
4165 use NV_geometry_program4 FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT
4166 use NV_geometry_program4 PROGRAM_POINT_SIZE_EXT
4168 ###############################################################################
4170 # Extension #325
4171 NV_vertex_program4 enum:
4172 VERTEX_ATTRIB_ARRAY_INTEGER_NV = 0x88FD
4174 ###############################################################################
4176 # Extension #326
4177 EXT_gpu_shader4 enum:
4178 SAMPLER_1D_ARRAY_EXT = 0x8DC0
4179 SAMPLER_2D_ARRAY_EXT = 0x8DC1
4180 SAMPLER_BUFFER_EXT = 0x8DC2
4181 SAMPLER_1D_ARRAY_SHADOW_EXT = 0x8DC3
4182 SAMPLER_2D_ARRAY_SHADOW_EXT = 0x8DC4
4183 SAMPLER_CUBE_SHADOW_EXT = 0x8DC5
4184 UNSIGNED_INT_VEC2_EXT = 0x8DC6
4185 UNSIGNED_INT_VEC3_EXT = 0x8DC7
4186 UNSIGNED_INT_VEC4_EXT = 0x8DC8
4187 INT_SAMPLER_1D_EXT = 0x8DC9
4188 INT_SAMPLER_2D_EXT = 0x8DCA
4189 INT_SAMPLER_3D_EXT = 0x8DCB
4190 INT_SAMPLER_CUBE_EXT = 0x8DCC
4191 INT_SAMPLER_2D_RECT_EXT = 0x8DCD
4192 INT_SAMPLER_1D_ARRAY_EXT = 0x8DCE
4193 INT_SAMPLER_2D_ARRAY_EXT = 0x8DCF
4194 INT_SAMPLER_BUFFER_EXT = 0x8DD0
4195 UNSIGNED_INT_SAMPLER_1D_EXT = 0x8DD1
4196 UNSIGNED_INT_SAMPLER_2D_EXT = 0x8DD2
4197 UNSIGNED_INT_SAMPLER_3D_EXT = 0x8DD3
4198 UNSIGNED_INT_SAMPLER_CUBE_EXT = 0x8DD4
4199 UNSIGNED_INT_SAMPLER_2D_RECT_EXT = 0x8DD5
4200 UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT = 0x8DD6
4201 UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT = 0x8DD7
4202 UNSIGNED_INT_SAMPLER_BUFFER_EXT = 0x8DD8
4204 ###############################################################################
4206 # No new tokens
4207 # Extension #327
4208 EXT_draw_instanced enum:
4210 ###############################################################################
4212 # Extension #328
4213 EXT_packed_float enum:
4214 R11F_G11F_B10F_EXT = 0x8C3A
4215 UNSIGNED_INT_10F_11F_11F_REV_EXT = 0x8C3B
4216 RGBA_SIGNED_COMPONENTS_EXT = 0x8C3C
4218 ###############################################################################
4220 # Extension #329
4221 EXT_texture_array enum:
4222 TEXTURE_1D_ARRAY_EXT = 0x8C18
4223 PROXY_TEXTURE_1D_ARRAY_EXT = 0x8C19
4224 TEXTURE_2D_ARRAY_EXT = 0x8C1A
4225 PROXY_TEXTURE_2D_ARRAY_EXT = 0x8C1B
4226 TEXTURE_BINDING_1D_ARRAY_EXT = 0x8C1C
4227 TEXTURE_BINDING_2D_ARRAY_EXT = 0x8C1D
4228 MAX_ARRAY_TEXTURE_LAYERS_EXT = 0x88FF
4229 COMPARE_REF_DEPTH_TO_TEXTURE_EXT = 0x884E
4230 use NV_geometry_program4 FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT
4232 ###############################################################################
4234 # Extension #330
4235 EXT_texture_buffer_object enum:
4236 TEXTURE_BUFFER_EXT = 0x8C2A
4237 MAX_TEXTURE_BUFFER_SIZE_EXT = 0x8C2B
4238 TEXTURE_BINDING_BUFFER_EXT = 0x8C2C
4239 TEXTURE_BUFFER_DATA_STORE_BINDING_EXT = 0x8C2D
4240 TEXTURE_BUFFER_FORMAT_EXT = 0x8C2E
4242 ###############################################################################
4244 # Extension #331
4245 EXT_texture_compression_latc enum:
4246 COMPRESSED_LUMINANCE_LATC1_EXT = 0x8C70
4247 COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT = 0x8C71
4248 COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C72
4249 COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C73
4251 ###############################################################################
4253 # Extension #332
4254 EXT_texture_compression_rgtc enum:
4255 COMPRESSED_RED_RGTC1_EXT = 0x8DBB
4256 COMPRESSED_SIGNED_RED_RGTC1_EXT = 0x8DBC
4257 COMPRESSED_RED_GREEN_RGTC2_EXT = 0x8DBD
4258 COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT = 0x8DBE
4260 ###############################################################################
4262 # Extension #333
4263 EXT_texture_shared_exponent enum:
4264 RGB9_E5_EXT = 0x8C3D
4265 UNSIGNED_INT_5_9_9_9_REV_EXT = 0x8C3E
4266 TEXTURE_SHARED_SIZE_EXT = 0x8C3F
4268 ###############################################################################
4270 # Extension #334
4271 NV_depth_buffer_float enum:
4272 DEPTH_COMPONENT32F_NV = 0x8DAB
4273 DEPTH32F_STENCIL8_NV = 0x8DAC
4274 FLOAT_32_UNSIGNED_INT_24_8_REV_NV = 0x8DAD
4275 DEPTH_BUFFER_FLOAT_MODE_NV = 0x8DAF
4277 ###############################################################################
4279 # No new tokens
4280 # Extension #335
4281 NV_fragment_program4 enum:
4283 ###############################################################################
4285 # Extension #336
4286 NV_framebuffer_multisample_coverage enum:
4287 RENDERBUFFER_COVERAGE_SAMPLES_NV = 0x8CAB
4288 RENDERBUFFER_COLOR_SAMPLES_NV = 0x8E10
4289 MAX_MULTISAMPLE_COVERAGE_MODES_NV = 0x8E11
4290 MULTISAMPLE_COVERAGE_MODES_NV = 0x8E12
4292 ###############################################################################
4294 # Extension #337
4295 # ??? Also WGL/GLX extensions ???
4296 EXT_framebuffer_sRGB enum:
4297 FRAMEBUFFER_SRGB_EXT = 0x8DB9
4298 FRAMEBUFFER_SRGB_CAPABLE_EXT = 0x8DBA
4300 ###############################################################################
4302 # No new tokens
4303 # Extension #338
4304 NV_geometry_shader4 enum:
4306 ###############################################################################
4308 # Extension #339
4309 NV_parameter_buffer_object enum:
4310 MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV = 0x8DA0
4311 MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV = 0x8DA1
4312 VERTEX_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA2
4313 GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA3
4314 FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA4
4316 ###############################################################################
4318 # No new tokens
4319 # Extension #340
4320 EXT_draw_buffers2 enum:
4322 ###############################################################################
4324 # Extension #341
4325 NV_transform_feedback enum:
4326 BACK_PRIMARY_COLOR_NV = 0x8C77
4327 BACK_SECONDARY_COLOR_NV = 0x8C78
4328 TEXTURE_COORD_NV = 0x8C79
4329 CLIP_DISTANCE_NV = 0x8C7A
4330 VERTEX_ID_NV = 0x8C7B
4331 PRIMITIVE_ID_NV = 0x8C7C
4332 GENERIC_ATTRIB_NV = 0x8C7D
4333 TRANSFORM_FEEDBACK_ATTRIBS_NV = 0x8C7E
4334 TRANSFORM_FEEDBACK_BUFFER_MODE_NV = 0x8C7F
4335 MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV = 0x8C80
4336 ACTIVE_VARYINGS_NV = 0x8C81
4337 ACTIVE_VARYING_MAX_LENGTH_NV = 0x8C82
4338 TRANSFORM_FEEDBACK_VARYINGS_NV = 0x8C83
4339 TRANSFORM_FEEDBACK_BUFFER_START_NV = 0x8C84
4340 TRANSFORM_FEEDBACK_BUFFER_SIZE_NV = 0x8C85
4341 TRANSFORM_FEEDBACK_RECORD_NV = 0x8C86
4342 PRIMITIVES_GENERATED_NV = 0x8C87
4343 TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV = 0x8C88
4344 RASTERIZER_DISCARD_NV = 0x8C89
4345 MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV = 0x8C8A
4346 MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV = 0x8C8B
4347 INTERLEAVED_ATTRIBS_NV = 0x8C8C
4348 SEPARATE_ATTRIBS_NV = 0x8C8D
4349 TRANSFORM_FEEDBACK_BUFFER_NV = 0x8C8E
4350 TRANSFORM_FEEDBACK_BUFFER_BINDING_NV = 0x8C8F
4352 ###############################################################################
4354 # Extension #342
4355 EXT_bindable_uniform enum:
4356 MAX_VERTEX_BINDABLE_UNIFORMS_EXT = 0x8DE2
4357 MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT = 0x8DE3
4358 MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT = 0x8DE4
4359 MAX_BINDABLE_UNIFORM_SIZE_EXT = 0x8DED
4360 UNIFORM_BUFFER_EXT = 0x8DEE
4361 UNIFORM_BUFFER_BINDING_EXT = 0x8DEF
4363 ###############################################################################
4365 # Extension #343
4366 EXT_texture_integer enum:
4367 RGBA32UI_EXT = 0x8D70
4368 RGB32UI_EXT = 0x8D71
4369 ALPHA32UI_EXT = 0x8D72
4370 INTENSITY32UI_EXT = 0x8D73
4371 LUMINANCE32UI_EXT = 0x8D74
4372 LUMINANCE_ALPHA32UI_EXT = 0x8D75
4373 RGBA16UI_EXT = 0x8D76
4374 RGB16UI_EXT = 0x8D77
4375 ALPHA16UI_EXT = 0x8D78
4376 INTENSITY16UI_EXT = 0x8D79
4377 LUMINANCE16UI_EXT = 0x8D7A
4378 LUMINANCE_ALPHA16UI_EXT = 0x8D7B
4379 RGBA8UI_EXT = 0x8D7C
4380 RGB8UI_EXT = 0x8D7D
4381 ALPHA8UI_EXT = 0x8D7E
4382 INTENSITY8UI_EXT = 0x8D7F
4383 LUMINANCE8UI_EXT = 0x8D80
4384 LUMINANCE_ALPHA8UI_EXT = 0x8D81
4385 RGBA32I_EXT = 0x8D82
4386 RGB32I_EXT = 0x8D83
4387 ALPHA32I_EXT = 0x8D84
4388 INTENSITY32I_EXT = 0x8D85
4389 LUMINANCE32I_EXT = 0x8D86
4390 LUMINANCE_ALPHA32I_EXT = 0x8D87
4391 RGBA16I_EXT = 0x8D88
4392 RGB16I_EXT = 0x8D89
4393 ALPHA16I_EXT = 0x8D8A
4394 INTENSITY16I_EXT = 0x8D8B
4395 LUMINANCE16I_EXT = 0x8D8C
4396 LUMINANCE_ALPHA16I_EXT = 0x8D8D
4397 RGBA8I_EXT = 0x8D8E
4398 RGB8I_EXT = 0x8D8F
4399 ALPHA8I_EXT = 0x8D90
4400 INTENSITY8I_EXT = 0x8D91
4401 LUMINANCE8I_EXT = 0x8D92
4402 LUMINANCE_ALPHA8I_EXT = 0x8D93
4403 RED_INTEGER_EXT = 0x8D94
4404 GREEN_INTEGER_EXT = 0x8D95
4405 BLUE_INTEGER_EXT = 0x8D96
4406 ALPHA_INTEGER_EXT = 0x8D97
4407 RGB_INTEGER_EXT = 0x8D98
4408 RGBA_INTEGER_EXT = 0x8D99
4409 BGR_INTEGER_EXT = 0x8D9A
4410 BGRA_INTEGER_EXT = 0x8D9B
4411 LUMINANCE_INTEGER_EXT = 0x8D9C
4412 LUMINANCE_ALPHA_INTEGER_EXT = 0x8D9D
4413 RGBA_INTEGER_MODE_EXT = 0x8D9E
4415 ###############################################################################
4417 # Extension #344 - GLX_EXT_texture_from_pixmap