Mercurial > sdl-ios-xcode
comparison include/SDL_opengl.h @ 3240:6c4736b446e8
Updated glext.h
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 05 Sep 2009 07:13:01 +0000 |
parents | 99210400e8b9 |
children | 08c5964f2a34 |
comparison
equal
deleted
inserted
replaced
3239:ab5aebd50add | 3240:6c4736b446e8 |
---|---|
46 #endif | 46 #endif |
47 | 47 |
48 /* This file is included because glext.h is not available on some systems. | 48 /* This file is included because glext.h is not available on some systems. |
49 If you don't want this version included, simply define "NO_SDL_GLEXT" | 49 If you don't want this version included, simply define "NO_SDL_GLEXT" |
50 The latest version is available from: | 50 The latest version is available from: |
51 http://oss.sgi.com/projects/ogl-sample/registry/ | 51 http://www.opengl.org/registry/ |
52 */ | 52 */ |
53 #if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY) | 53 #if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY) |
54 /* *INDENT-OFF* */ | 54 /* *INDENT-OFF* */ |
55 #ifndef __glext_h_ | 55 #ifndef __glext_h_ |
56 #define __glext_h_ | 56 #define __glext_h_ |
58 #ifdef __cplusplus | 58 #ifdef __cplusplus |
59 extern "C" { | 59 extern "C" { |
60 #endif | 60 #endif |
61 | 61 |
62 /* | 62 /* |
63 ** Copyright (c) 2007 The Khronos Group Inc. | 63 ** Copyright (c) 2007-2009 The Khronos Group Inc. |
64 ** | 64 ** |
65 ** Permission is hereby granted, free of charge, to any person obtaining a | 65 ** Permission is hereby granted, free of charge, to any person obtaining a |
66 ** copy of this software and/or associated documentation files (the | 66 ** copy of this software and/or associated documentation files (the |
67 ** "Materials"), to deal in the Materials without restriction, including | 67 ** "Materials"), to deal in the Materials without restriction, including |
68 ** without limitation the rights to use, copy, modify, merge, publish, | 68 ** without limitation the rights to use, copy, modify, merge, publish, |
80 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | 80 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
81 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | 81 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
82 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | 82 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. |
83 */ | 83 */ |
84 | 84 |
85 /* Header file version number, required by OpenGL ABI for Linux */ | |
86 /* glext.h last updated $Date$ */ | |
87 /* Current version at http://www.opengl.org/registry/ */ | |
88 #define GL_GLEXT_VERSION 54 | |
89 | |
90 /* Function declaration macros - to move into glplatform.h */ | |
91 | |
85 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) | 92 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) |
86 #define WIN32_LEAN_AND_MEAN 1 | 93 #define WIN32_LEAN_AND_MEAN 1 |
87 #include <windows.h> | 94 #include <windows.h> |
88 #endif | 95 #endif |
89 | 96 |
96 #ifndef GLAPI | 103 #ifndef GLAPI |
97 #define GLAPI extern | 104 #define GLAPI extern |
98 #endif | 105 #endif |
99 | 106 |
100 /*************************************************************/ | 107 /*************************************************************/ |
101 | |
102 /* Header file version number, required by OpenGL ABI for Linux */ | |
103 /* glext.h last updated 2008/11/14 */ | |
104 /* Current version at http://www.opengl.org/registry/ */ | |
105 #define GL_GLEXT_VERSION 44 | |
106 | 108 |
107 #ifndef GL_VERSION_1_2 | 109 #ifndef GL_VERSION_1_2 |
108 #define GL_UNSIGNED_BYTE_3_3_2 0x8032 | 110 #define GL_UNSIGNED_BYTE_3_3_2 0x8032 |
109 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 | 111 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 |
110 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 | 112 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 |
111 #define GL_UNSIGNED_INT_8_8_8_8 0x8035 | 113 #define GL_UNSIGNED_INT_8_8_8_8 0x8035 |
112 #define GL_UNSIGNED_INT_10_10_10_2 0x8036 | 114 #define GL_UNSIGNED_INT_10_10_10_2 0x8036 |
113 #define GL_RESCALE_NORMAL 0x803A | |
114 #define GL_TEXTURE_BINDING_3D 0x806A | 115 #define GL_TEXTURE_BINDING_3D 0x806A |
115 #define GL_PACK_SKIP_IMAGES 0x806B | 116 #define GL_PACK_SKIP_IMAGES 0x806B |
116 #define GL_PACK_IMAGE_HEIGHT 0x806C | 117 #define GL_PACK_IMAGE_HEIGHT 0x806C |
117 #define GL_UNPACK_SKIP_IMAGES 0x806D | 118 #define GL_UNPACK_SKIP_IMAGES 0x806D |
118 #define GL_UNPACK_IMAGE_HEIGHT 0x806E | 119 #define GL_UNPACK_IMAGE_HEIGHT 0x806E |
135 #define GL_CLAMP_TO_EDGE 0x812F | 136 #define GL_CLAMP_TO_EDGE 0x812F |
136 #define GL_TEXTURE_MIN_LOD 0x813A | 137 #define GL_TEXTURE_MIN_LOD 0x813A |
137 #define GL_TEXTURE_MAX_LOD 0x813B | 138 #define GL_TEXTURE_MAX_LOD 0x813B |
138 #define GL_TEXTURE_BASE_LEVEL 0x813C | 139 #define GL_TEXTURE_BASE_LEVEL 0x813C |
139 #define GL_TEXTURE_MAX_LEVEL 0x813D | 140 #define GL_TEXTURE_MAX_LEVEL 0x813D |
140 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 | |
141 #define GL_SINGLE_COLOR 0x81F9 | |
142 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA | |
143 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 | 141 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 |
144 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 | 142 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 |
145 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 | 143 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 |
146 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 | 144 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 |
145 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E | |
146 #endif | |
147 | |
148 #ifndef GL_VERSION_1_2_DEPRECATED | |
149 #define GL_RESCALE_NORMAL 0x803A | |
150 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 | |
151 #define GL_SINGLE_COLOR 0x81F9 | |
152 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA | |
147 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D | 153 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D |
148 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E | |
149 #endif | 154 #endif |
150 | 155 |
151 #ifndef GL_ARB_imaging | 156 #ifndef GL_ARB_imaging |
152 #define GL_CONSTANT_COLOR 0x8001 | 157 #define GL_CONSTANT_COLOR 0x8001 |
153 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 | 158 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 |
158 #define GL_MIN 0x8007 | 163 #define GL_MIN 0x8007 |
159 #define GL_MAX 0x8008 | 164 #define GL_MAX 0x8008 |
160 #define GL_BLEND_EQUATION 0x8009 | 165 #define GL_BLEND_EQUATION 0x8009 |
161 #define GL_FUNC_SUBTRACT 0x800A | 166 #define GL_FUNC_SUBTRACT 0x800A |
162 #define GL_FUNC_REVERSE_SUBTRACT 0x800B | 167 #define GL_FUNC_REVERSE_SUBTRACT 0x800B |
168 #endif | |
169 | |
170 #ifndef GL_ARB_imaging_DEPRECATED | |
163 #define GL_CONVOLUTION_1D 0x8010 | 171 #define GL_CONVOLUTION_1D 0x8010 |
164 #define GL_CONVOLUTION_2D 0x8011 | 172 #define GL_CONVOLUTION_2D 0x8011 |
165 #define GL_SEPARABLE_2D 0x8012 | 173 #define GL_SEPARABLE_2D 0x8012 |
166 #define GL_CONVOLUTION_BORDER_MODE 0x8013 | 174 #define GL_CONVOLUTION_BORDER_MODE 0x8013 |
167 #define GL_CONVOLUTION_FILTER_SCALE 0x8014 | 175 #define GL_CONVOLUTION_FILTER_SCALE 0x8014 |
258 #define GL_TEXTURE28 0x84DC | 266 #define GL_TEXTURE28 0x84DC |
259 #define GL_TEXTURE29 0x84DD | 267 #define GL_TEXTURE29 0x84DD |
260 #define GL_TEXTURE30 0x84DE | 268 #define GL_TEXTURE30 0x84DE |
261 #define GL_TEXTURE31 0x84DF | 269 #define GL_TEXTURE31 0x84DF |
262 #define GL_ACTIVE_TEXTURE 0x84E0 | 270 #define GL_ACTIVE_TEXTURE 0x84E0 |
263 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 | |
264 #define GL_MAX_TEXTURE_UNITS 0x84E2 | |
265 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 | |
266 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 | |
267 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 | |
268 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 | |
269 #define GL_MULTISAMPLE 0x809D | 271 #define GL_MULTISAMPLE 0x809D |
270 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E | 272 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E |
271 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F | 273 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F |
272 #define GL_SAMPLE_COVERAGE 0x80A0 | 274 #define GL_SAMPLE_COVERAGE 0x80A0 |
273 #define GL_SAMPLE_BUFFERS 0x80A8 | 275 #define GL_SAMPLE_BUFFERS 0x80A8 |
274 #define GL_SAMPLES 0x80A9 | 276 #define GL_SAMPLES 0x80A9 |
275 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA | 277 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA |
276 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB | 278 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB |
277 #define GL_MULTISAMPLE_BIT 0x20000000 | |
278 #define GL_NORMAL_MAP 0x8511 | |
279 #define GL_REFLECTION_MAP 0x8512 | |
280 #define GL_TEXTURE_CUBE_MAP 0x8513 | 279 #define GL_TEXTURE_CUBE_MAP 0x8513 |
281 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 | 280 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 |
282 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 | 281 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 |
283 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 | 282 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 |
284 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 | 283 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 |
285 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 | 284 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 |
286 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 | 285 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 |
287 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A | 286 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A |
288 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B | 287 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B |
289 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C | 288 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C |
290 #define GL_COMPRESSED_ALPHA 0x84E9 | |
291 #define GL_COMPRESSED_LUMINANCE 0x84EA | |
292 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB | |
293 #define GL_COMPRESSED_INTENSITY 0x84EC | |
294 #define GL_COMPRESSED_RGB 0x84ED | 289 #define GL_COMPRESSED_RGB 0x84ED |
295 #define GL_COMPRESSED_RGBA 0x84EE | 290 #define GL_COMPRESSED_RGBA 0x84EE |
296 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF | 291 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF |
297 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 | 292 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 |
298 #define GL_TEXTURE_COMPRESSED 0x86A1 | 293 #define GL_TEXTURE_COMPRESSED 0x86A1 |
299 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 | 294 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 |
300 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 | 295 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 |
301 #define GL_CLAMP_TO_BORDER 0x812D | 296 #define GL_CLAMP_TO_BORDER 0x812D |
297 #endif | |
298 | |
299 #ifndef GL_VERSION_1_3_DEPRECATED | |
300 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 | |
301 #define GL_MAX_TEXTURE_UNITS 0x84E2 | |
302 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 | |
303 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 | |
304 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 | |
305 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 | |
306 #define GL_MULTISAMPLE_BIT 0x20000000 | |
307 #define GL_NORMAL_MAP 0x8511 | |
308 #define GL_REFLECTION_MAP 0x8512 | |
309 #define GL_COMPRESSED_ALPHA 0x84E9 | |
310 #define GL_COMPRESSED_LUMINANCE 0x84EA | |
311 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB | |
312 #define GL_COMPRESSED_INTENSITY 0x84EC | |
302 #define GL_COMBINE 0x8570 | 313 #define GL_COMBINE 0x8570 |
303 #define GL_COMBINE_RGB 0x8571 | 314 #define GL_COMBINE_RGB 0x8571 |
304 #define GL_COMBINE_ALPHA 0x8572 | 315 #define GL_COMBINE_ALPHA 0x8572 |
305 #define GL_SOURCE0_RGB 0x8580 | 316 #define GL_SOURCE0_RGB 0x8580 |
306 #define GL_SOURCE1_RGB 0x8581 | 317 #define GL_SOURCE1_RGB 0x8581 |
328 #ifndef GL_VERSION_1_4 | 339 #ifndef GL_VERSION_1_4 |
329 #define GL_BLEND_DST_RGB 0x80C8 | 340 #define GL_BLEND_DST_RGB 0x80C8 |
330 #define GL_BLEND_SRC_RGB 0x80C9 | 341 #define GL_BLEND_SRC_RGB 0x80C9 |
331 #define GL_BLEND_DST_ALPHA 0x80CA | 342 #define GL_BLEND_DST_ALPHA 0x80CA |
332 #define GL_BLEND_SRC_ALPHA 0x80CB | 343 #define GL_BLEND_SRC_ALPHA 0x80CB |
333 #define GL_POINT_SIZE_MIN 0x8126 | |
334 #define GL_POINT_SIZE_MAX 0x8127 | |
335 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 | 344 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 |
336 #define GL_POINT_DISTANCE_ATTENUATION 0x8129 | |
337 #define GL_GENERATE_MIPMAP 0x8191 | |
338 #define GL_GENERATE_MIPMAP_HINT 0x8192 | |
339 #define GL_DEPTH_COMPONENT16 0x81A5 | 345 #define GL_DEPTH_COMPONENT16 0x81A5 |
340 #define GL_DEPTH_COMPONENT24 0x81A6 | 346 #define GL_DEPTH_COMPONENT24 0x81A6 |
341 #define GL_DEPTH_COMPONENT32 0x81A7 | 347 #define GL_DEPTH_COMPONENT32 0x81A7 |
342 #define GL_MIRRORED_REPEAT 0x8370 | 348 #define GL_MIRRORED_REPEAT 0x8370 |
349 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD | |
350 #define GL_TEXTURE_LOD_BIAS 0x8501 | |
351 #define GL_INCR_WRAP 0x8507 | |
352 #define GL_DECR_WRAP 0x8508 | |
353 #define GL_TEXTURE_DEPTH_SIZE 0x884A | |
354 #define GL_TEXTURE_COMPARE_MODE 0x884C | |
355 #define GL_TEXTURE_COMPARE_FUNC 0x884D | |
356 #endif | |
357 | |
358 #ifndef GL_VERSION_1_4_DEPRECATED | |
359 #define GL_POINT_SIZE_MIN 0x8126 | |
360 #define GL_POINT_SIZE_MAX 0x8127 | |
361 #define GL_POINT_DISTANCE_ATTENUATION 0x8129 | |
362 #define GL_GENERATE_MIPMAP 0x8191 | |
363 #define GL_GENERATE_MIPMAP_HINT 0x8192 | |
343 #define GL_FOG_COORDINATE_SOURCE 0x8450 | 364 #define GL_FOG_COORDINATE_SOURCE 0x8450 |
344 #define GL_FOG_COORDINATE 0x8451 | 365 #define GL_FOG_COORDINATE 0x8451 |
345 #define GL_FRAGMENT_DEPTH 0x8452 | 366 #define GL_FRAGMENT_DEPTH 0x8452 |
346 #define GL_CURRENT_FOG_COORDINATE 0x8453 | 367 #define GL_CURRENT_FOG_COORDINATE 0x8453 |
347 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 | 368 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 |
353 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A | 374 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A |
354 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B | 375 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B |
355 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C | 376 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C |
356 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D | 377 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D |
357 #define GL_SECONDARY_COLOR_ARRAY 0x845E | 378 #define GL_SECONDARY_COLOR_ARRAY 0x845E |
358 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD | |
359 #define GL_TEXTURE_FILTER_CONTROL 0x8500 | 379 #define GL_TEXTURE_FILTER_CONTROL 0x8500 |
360 #define GL_TEXTURE_LOD_BIAS 0x8501 | |
361 #define GL_INCR_WRAP 0x8507 | |
362 #define GL_DECR_WRAP 0x8508 | |
363 #define GL_TEXTURE_DEPTH_SIZE 0x884A | |
364 #define GL_DEPTH_TEXTURE_MODE 0x884B | 380 #define GL_DEPTH_TEXTURE_MODE 0x884B |
365 #define GL_TEXTURE_COMPARE_MODE 0x884C | |
366 #define GL_TEXTURE_COMPARE_FUNC 0x884D | |
367 #define GL_COMPARE_R_TO_TEXTURE 0x884E | 381 #define GL_COMPARE_R_TO_TEXTURE 0x884E |
368 #endif | 382 #endif |
369 | 383 |
370 #ifndef GL_VERSION_1_5 | 384 #ifndef GL_VERSION_1_5 |
371 #define GL_BUFFER_SIZE 0x8764 | 385 #define GL_BUFFER_SIZE 0x8764 |
376 #define GL_QUERY_RESULT_AVAILABLE 0x8867 | 390 #define GL_QUERY_RESULT_AVAILABLE 0x8867 |
377 #define GL_ARRAY_BUFFER 0x8892 | 391 #define GL_ARRAY_BUFFER 0x8892 |
378 #define GL_ELEMENT_ARRAY_BUFFER 0x8893 | 392 #define GL_ELEMENT_ARRAY_BUFFER 0x8893 |
379 #define GL_ARRAY_BUFFER_BINDING 0x8894 | 393 #define GL_ARRAY_BUFFER_BINDING 0x8894 |
380 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 | 394 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 |
381 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 | |
382 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 | |
383 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 | |
384 #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 | |
385 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A | |
386 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B | |
387 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C | |
388 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D | |
389 #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E | |
390 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F | 395 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F |
391 #define GL_READ_ONLY 0x88B8 | 396 #define GL_READ_ONLY 0x88B8 |
392 #define GL_WRITE_ONLY 0x88B9 | 397 #define GL_WRITE_ONLY 0x88B9 |
393 #define GL_READ_WRITE 0x88BA | 398 #define GL_READ_WRITE 0x88BA |
394 #define GL_BUFFER_ACCESS 0x88BB | 399 #define GL_BUFFER_ACCESS 0x88BB |
402 #define GL_STATIC_COPY 0x88E6 | 407 #define GL_STATIC_COPY 0x88E6 |
403 #define GL_DYNAMIC_DRAW 0x88E8 | 408 #define GL_DYNAMIC_DRAW 0x88E8 |
404 #define GL_DYNAMIC_READ 0x88E9 | 409 #define GL_DYNAMIC_READ 0x88E9 |
405 #define GL_DYNAMIC_COPY 0x88EA | 410 #define GL_DYNAMIC_COPY 0x88EA |
406 #define GL_SAMPLES_PASSED 0x8914 | 411 #define GL_SAMPLES_PASSED 0x8914 |
407 #define GL_FOG_COORD_SRC GL_FOG_COORDINATE_SOURCE | 412 #endif |
408 #define GL_FOG_COORD GL_FOG_COORDINATE | 413 |
409 #define GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE | 414 #ifndef GL_VERSION_1_5_DEPRECATED |
410 #define GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE | 415 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 |
411 #define GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE | 416 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 |
412 #define GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER | 417 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 |
413 #define GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY | 418 #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 |
414 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING | 419 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A |
415 #define GL_SRC0_RGB GL_SOURCE0_RGB | 420 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B |
416 #define GL_SRC1_RGB GL_SOURCE1_RGB | 421 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C |
417 #define GL_SRC2_RGB GL_SOURCE2_RGB | 422 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D |
418 #define GL_SRC0_ALPHA GL_SOURCE0_ALPHA | 423 #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E |
419 #define GL_SRC1_ALPHA GL_SOURCE1_ALPHA | 424 #define GL_FOG_COORD_SRC 0x8450 |
420 #define GL_SRC2_ALPHA GL_SOURCE2_ALPHA | 425 #define GL_FOG_COORD 0x8451 |
426 #define GL_CURRENT_FOG_COORD 0x8453 | |
427 #define GL_FOG_COORD_ARRAY_TYPE 0x8454 | |
428 #define GL_FOG_COORD_ARRAY_STRIDE 0x8455 | |
429 #define GL_FOG_COORD_ARRAY_POINTER 0x8456 | |
430 #define GL_FOG_COORD_ARRAY 0x8457 | |
431 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D | |
432 #define GL_SRC0_RGB 0x8580 | |
433 #define GL_SRC1_RGB 0x8581 | |
434 #define GL_SRC2_RGB 0x8582 | |
435 #define GL_SRC0_ALPHA 0x8588 | |
436 #define GL_SRC1_ALPHA 0x8589 | |
437 #define GL_SRC2_ALPHA 0x858A | |
421 #endif | 438 #endif |
422 | 439 |
423 #ifndef GL_VERSION_2_0 | 440 #ifndef GL_VERSION_2_0 |
424 #define GL_BLEND_EQUATION_RGB GL_BLEND_EQUATION | 441 #define GL_BLEND_EQUATION_RGB 0x8009 |
425 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 | 442 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 |
426 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 | 443 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 |
427 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 | 444 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 |
428 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 | 445 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 |
429 #define GL_CURRENT_VERTEX_ATTRIB 0x8626 | 446 #define GL_CURRENT_VERTEX_ATTRIB 0x8626 |
430 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 | 447 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 |
431 #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 | |
432 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 | 448 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 |
433 #define GL_STENCIL_BACK_FUNC 0x8800 | 449 #define GL_STENCIL_BACK_FUNC 0x8800 |
434 #define GL_STENCIL_BACK_FAIL 0x8801 | 450 #define GL_STENCIL_BACK_FAIL 0x8801 |
435 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 | 451 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 |
436 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 | 452 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 |
450 #define GL_DRAW_BUFFER12 0x8831 | 466 #define GL_DRAW_BUFFER12 0x8831 |
451 #define GL_DRAW_BUFFER13 0x8832 | 467 #define GL_DRAW_BUFFER13 0x8832 |
452 #define GL_DRAW_BUFFER14 0x8833 | 468 #define GL_DRAW_BUFFER14 0x8833 |
453 #define GL_DRAW_BUFFER15 0x8834 | 469 #define GL_DRAW_BUFFER15 0x8834 |
454 #define GL_BLEND_EQUATION_ALPHA 0x883D | 470 #define GL_BLEND_EQUATION_ALPHA 0x883D |
455 #define GL_POINT_SPRITE 0x8861 | |
456 #define GL_COORD_REPLACE 0x8862 | |
457 #define GL_MAX_VERTEX_ATTRIBS 0x8869 | 471 #define GL_MAX_VERTEX_ATTRIBS 0x8869 |
458 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A | 472 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A |
459 #define GL_MAX_TEXTURE_COORDS 0x8871 | |
460 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 | 473 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 |
461 #define GL_FRAGMENT_SHADER 0x8B30 | 474 #define GL_FRAGMENT_SHADER 0x8B30 |
462 #define GL_VERTEX_SHADER 0x8B31 | 475 #define GL_VERTEX_SHADER 0x8B31 |
463 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 | 476 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 |
464 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A | 477 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A |
505 #define GL_STENCIL_BACK_REF 0x8CA3 | 518 #define GL_STENCIL_BACK_REF 0x8CA3 |
506 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 | 519 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 |
507 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 | 520 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 |
508 #endif | 521 #endif |
509 | 522 |
523 #ifndef GL_VERSION_2_0_DEPRECATED | |
524 #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 | |
525 #define GL_POINT_SPRITE 0x8861 | |
526 #define GL_COORD_REPLACE 0x8862 | |
527 #define GL_MAX_TEXTURE_COORDS 0x8871 | |
528 #endif | |
529 | |
510 #ifndef GL_VERSION_2_1 | 530 #ifndef GL_VERSION_2_1 |
511 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F | |
512 #define GL_PIXEL_PACK_BUFFER 0x88EB | 531 #define GL_PIXEL_PACK_BUFFER 0x88EB |
513 #define GL_PIXEL_UNPACK_BUFFER 0x88EC | 532 #define GL_PIXEL_UNPACK_BUFFER 0x88EC |
514 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED | 533 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED |
515 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF | 534 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF |
516 #define GL_FLOAT_MAT2x3 0x8B65 | 535 #define GL_FLOAT_MAT2x3 0x8B65 |
521 #define GL_FLOAT_MAT4x3 0x8B6A | 540 #define GL_FLOAT_MAT4x3 0x8B6A |
522 #define GL_SRGB 0x8C40 | 541 #define GL_SRGB 0x8C40 |
523 #define GL_SRGB8 0x8C41 | 542 #define GL_SRGB8 0x8C41 |
524 #define GL_SRGB_ALPHA 0x8C42 | 543 #define GL_SRGB_ALPHA 0x8C42 |
525 #define GL_SRGB8_ALPHA8 0x8C43 | 544 #define GL_SRGB8_ALPHA8 0x8C43 |
545 #define GL_COMPRESSED_SRGB 0x8C48 | |
546 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49 | |
547 #endif | |
548 | |
549 #ifndef GL_VERSION_2_1_DEPRECATED | |
550 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F | |
526 #define GL_SLUMINANCE_ALPHA 0x8C44 | 551 #define GL_SLUMINANCE_ALPHA 0x8C44 |
527 #define GL_SLUMINANCE8_ALPHA8 0x8C45 | 552 #define GL_SLUMINANCE8_ALPHA8 0x8C45 |
528 #define GL_SLUMINANCE 0x8C46 | 553 #define GL_SLUMINANCE 0x8C46 |
529 #define GL_SLUMINANCE8 0x8C47 | 554 #define GL_SLUMINANCE8 0x8C47 |
530 #define GL_COMPRESSED_SRGB 0x8C48 | |
531 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49 | |
532 #define GL_COMPRESSED_SLUMINANCE 0x8C4A | 555 #define GL_COMPRESSED_SLUMINANCE 0x8C4A |
533 #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B | 556 #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B |
534 #endif | 557 #endif |
535 | 558 |
536 #ifndef GL_VERSION_3_0 | 559 #ifndef GL_VERSION_3_0 |
537 #define GL_COMPARE_REF_TO_TEXTURE GL_COMPARE_R_TO_TEXTURE_ARB | 560 #define GL_COMPARE_REF_TO_TEXTURE 0x884E |
538 #define GL_CLIP_DISTANCE0 GL_CLIP_PLANE0 | 561 #define GL_CLIP_DISTANCE0 0x3000 |
539 #define GL_CLIP_DISTANCE1 GL_CLIP_PLANE1 | 562 #define GL_CLIP_DISTANCE1 0x3001 |
540 #define GL_CLIP_DISTANCE2 GL_CLIP_PLANE2 | 563 #define GL_CLIP_DISTANCE2 0x3002 |
541 #define GL_CLIP_DISTANCE3 GL_CLIP_PLANE3 | 564 #define GL_CLIP_DISTANCE3 0x3003 |
542 #define GL_CLIP_DISTANCE4 GL_CLIP_PLANE4 | 565 #define GL_CLIP_DISTANCE4 0x3004 |
543 #define GL_CLIP_DISTANCE5 GL_CLIP_PLANE5 | 566 #define GL_CLIP_DISTANCE5 0x3005 |
544 #define GL_MAX_CLIP_DISTANCES GL_MAX_CLIP_PLANES | 567 #define GL_CLIP_DISTANCE6 0x3006 |
568 #define GL_CLIP_DISTANCE7 0x3007 | |
569 #define GL_MAX_CLIP_DISTANCES 0x0D32 | |
545 #define GL_MAJOR_VERSION 0x821B | 570 #define GL_MAJOR_VERSION 0x821B |
546 #define GL_MINOR_VERSION 0x821C | 571 #define GL_MINOR_VERSION 0x821C |
547 #define GL_NUM_EXTENSIONS 0x821D | 572 #define GL_NUM_EXTENSIONS 0x821D |
548 #define GL_CONTEXT_FLAGS 0x821E | 573 #define GL_CONTEXT_FLAGS 0x821E |
549 #define GL_DEPTH_BUFFER 0x8223 | 574 #define GL_DEPTH_BUFFER 0x8223 |
557 #define GL_RGB16F 0x881B | 582 #define GL_RGB16F 0x881B |
558 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD | 583 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD |
559 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF | 584 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF |
560 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 | 585 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 |
561 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 | 586 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 |
562 #define GL_CLAMP_VERTEX_COLOR 0x891A | |
563 #define GL_CLAMP_FRAGMENT_COLOR 0x891B | |
564 #define GL_CLAMP_READ_COLOR 0x891C | 587 #define GL_CLAMP_READ_COLOR 0x891C |
565 #define GL_FIXED_ONLY 0x891D | 588 #define GL_FIXED_ONLY 0x891D |
566 #define GL_MAX_VARYING_COMPONENTS GL_MAX_VARYING_FLOATS | 589 #define GL_MAX_VARYING_COMPONENTS 0x8B4B |
567 #define GL_TEXTURE_RED_TYPE 0x8C10 | |
568 #define GL_TEXTURE_GREEN_TYPE 0x8C11 | |
569 #define GL_TEXTURE_BLUE_TYPE 0x8C12 | |
570 #define GL_TEXTURE_ALPHA_TYPE 0x8C13 | |
571 #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14 | |
572 #define GL_TEXTURE_INTENSITY_TYPE 0x8C15 | |
573 #define GL_TEXTURE_DEPTH_TYPE 0x8C16 | |
574 #define GL_UNSIGNED_NORMALIZED 0x8C17 | |
575 #define GL_TEXTURE_1D_ARRAY 0x8C18 | 590 #define GL_TEXTURE_1D_ARRAY 0x8C18 |
576 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 | 591 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 |
577 #define GL_TEXTURE_2D_ARRAY 0x8C1A | 592 #define GL_TEXTURE_2D_ARRAY 0x8C1A |
578 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B | 593 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B |
579 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C | 594 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C |
611 #define GL_RGBA8I 0x8D8E | 626 #define GL_RGBA8I 0x8D8E |
612 #define GL_RGB8I 0x8D8F | 627 #define GL_RGB8I 0x8D8F |
613 #define GL_RED_INTEGER 0x8D94 | 628 #define GL_RED_INTEGER 0x8D94 |
614 #define GL_GREEN_INTEGER 0x8D95 | 629 #define GL_GREEN_INTEGER 0x8D95 |
615 #define GL_BLUE_INTEGER 0x8D96 | 630 #define GL_BLUE_INTEGER 0x8D96 |
616 #define GL_ALPHA_INTEGER 0x8D97 | |
617 #define GL_RGB_INTEGER 0x8D98 | 631 #define GL_RGB_INTEGER 0x8D98 |
618 #define GL_RGBA_INTEGER 0x8D99 | 632 #define GL_RGBA_INTEGER 0x8D99 |
619 #define GL_BGR_INTEGER 0x8D9A | 633 #define GL_BGR_INTEGER 0x8D9A |
620 #define GL_BGRA_INTEGER 0x8D9B | 634 #define GL_BGRA_INTEGER 0x8D9B |
621 #define GL_SAMPLER_1D_ARRAY 0x8DC0 | 635 #define GL_SAMPLER_1D_ARRAY 0x8DC0 |
640 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 | 654 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 |
641 #define GL_QUERY_WAIT 0x8E13 | 655 #define GL_QUERY_WAIT 0x8E13 |
642 #define GL_QUERY_NO_WAIT 0x8E14 | 656 #define GL_QUERY_NO_WAIT 0x8E14 |
643 #define GL_QUERY_BY_REGION_WAIT 0x8E15 | 657 #define GL_QUERY_BY_REGION_WAIT 0x8E15 |
644 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16 | 658 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16 |
659 #define GL_BUFFER_ACCESS_FLAGS 0x911F | |
660 #define GL_BUFFER_MAP_LENGTH 0x9120 | |
661 #define GL_BUFFER_MAP_OFFSET 0x9121 | |
645 /* Reuse tokens from ARB_depth_buffer_float */ | 662 /* Reuse tokens from ARB_depth_buffer_float */ |
646 /* reuse GL_DEPTH_COMPONENT32F */ | 663 /* reuse GL_DEPTH_COMPONENT32F */ |
647 /* reuse GL_DEPTH32F_STENCIL8 */ | 664 /* reuse GL_DEPTH32F_STENCIL8 */ |
648 /* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */ | 665 /* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */ |
649 /* Reuse tokens from ARB_framebuffer_object */ | 666 /* Reuse tokens from ARB_framebuffer_object */ |
667 /* reuse GL_TEXTURE_STENCIL_SIZE */ | 684 /* reuse GL_TEXTURE_STENCIL_SIZE */ |
668 /* reuse GL_TEXTURE_RED_TYPE */ | 685 /* reuse GL_TEXTURE_RED_TYPE */ |
669 /* reuse GL_TEXTURE_GREEN_TYPE */ | 686 /* reuse GL_TEXTURE_GREEN_TYPE */ |
670 /* reuse GL_TEXTURE_BLUE_TYPE */ | 687 /* reuse GL_TEXTURE_BLUE_TYPE */ |
671 /* reuse GL_TEXTURE_ALPHA_TYPE */ | 688 /* reuse GL_TEXTURE_ALPHA_TYPE */ |
672 /* reuse GL_TEXTURE_LUMINANCE_TYPE */ | |
673 /* reuse GL_TEXTURE_INTENSITY_TYPE */ | |
674 /* reuse GL_TEXTURE_DEPTH_TYPE */ | 689 /* reuse GL_TEXTURE_DEPTH_TYPE */ |
675 /* reuse GL_UNSIGNED_NORMALIZED */ | 690 /* reuse GL_UNSIGNED_NORMALIZED */ |
676 /* reuse GL_FRAMEBUFFER_BINDING */ | 691 /* reuse GL_FRAMEBUFFER_BINDING */ |
677 /* reuse GL_DRAW_FRAMEBUFFER_BINDING */ | 692 /* reuse GL_DRAW_FRAMEBUFFER_BINDING */ |
678 /* reuse GL_RENDERBUFFER_BINDING */ | 693 /* reuse GL_RENDERBUFFER_BINDING */ |
768 /* reuse GL_RG32UI */ | 783 /* reuse GL_RG32UI */ |
769 /* Reuse tokens from ARB_vertex_array_object */ | 784 /* Reuse tokens from ARB_vertex_array_object */ |
770 /* reuse GL_VERTEX_ARRAY_BINDING */ | 785 /* reuse GL_VERTEX_ARRAY_BINDING */ |
771 #endif | 786 #endif |
772 | 787 |
788 #ifndef GL_VERSION_3_0_DEPRECATED | |
789 #define GL_CLAMP_VERTEX_COLOR 0x891A | |
790 #define GL_CLAMP_FRAGMENT_COLOR 0x891B | |
791 #define GL_ALPHA_INTEGER 0x8D97 | |
792 /* Reuse tokens from ARB_framebuffer_object */ | |
793 /* reuse GL_TEXTURE_LUMINANCE_TYPE */ | |
794 /* reuse GL_TEXTURE_INTENSITY_TYPE */ | |
795 #endif | |
796 | |
797 #ifndef GL_VERSION_3_1 | |
798 #define GL_SAMPLER_2D_RECT 0x8B63 | |
799 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64 | |
800 #define GL_SAMPLER_BUFFER 0x8DC2 | |
801 #define GL_INT_SAMPLER_2D_RECT 0x8DCD | |
802 #define GL_INT_SAMPLER_BUFFER 0x8DD0 | |
803 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5 | |
804 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 | |
805 #define GL_TEXTURE_BUFFER 0x8C2A | |
806 #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B | |
807 #define GL_TEXTURE_BINDING_BUFFER 0x8C2C | |
808 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D | |
809 #define GL_TEXTURE_BUFFER_FORMAT 0x8C2E | |
810 #define GL_TEXTURE_RECTANGLE 0x84F5 | |
811 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6 | |
812 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7 | |
813 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8 | |
814 #define GL_RED_SNORM 0x8F90 | |
815 #define GL_RG_SNORM 0x8F91 | |
816 #define GL_RGB_SNORM 0x8F92 | |
817 #define GL_RGBA_SNORM 0x8F93 | |
818 #define GL_R8_SNORM 0x8F94 | |
819 #define GL_RG8_SNORM 0x8F95 | |
820 #define GL_RGB8_SNORM 0x8F96 | |
821 #define GL_RGBA8_SNORM 0x8F97 | |
822 #define GL_R16_SNORM 0x8F98 | |
823 #define GL_RG16_SNORM 0x8F99 | |
824 #define GL_RGB16_SNORM 0x8F9A | |
825 #define GL_RGBA16_SNORM 0x8F9B | |
826 #define GL_SIGNED_NORMALIZED 0x8F9C | |
827 #define GL_PRIMITIVE_RESTART 0x8F9D | |
828 #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E | |
829 /* Reuse tokens from ARB_copy_buffer */ | |
830 /* reuse GL_COPY_READ_BUFFER */ | |
831 /* reuse GL_COPY_WRITE_BUFFER */ | |
832 /* Would reuse tokens from ARB_draw_instanced, but it has none */ | |
833 /* Reuse tokens from ARB_uniform_buffer_object */ | |
834 /* reuse GL_UNIFORM_BUFFER */ | |
835 /* reuse GL_UNIFORM_BUFFER_BINDING */ | |
836 /* reuse GL_UNIFORM_BUFFER_START */ | |
837 /* reuse GL_UNIFORM_BUFFER_SIZE */ | |
838 /* reuse GL_MAX_VERTEX_UNIFORM_BLOCKS */ | |
839 /* reuse GL_MAX_FRAGMENT_UNIFORM_BLOCKS */ | |
840 /* reuse GL_MAX_COMBINED_UNIFORM_BLOCKS */ | |
841 /* reuse GL_MAX_UNIFORM_BUFFER_BINDINGS */ | |
842 /* reuse GL_MAX_UNIFORM_BLOCK_SIZE */ | |
843 /* reuse GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS */ | |
844 /* reuse GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS */ | |
845 /* reuse GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT */ | |
846 /* reuse GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH */ | |
847 /* reuse GL_ACTIVE_UNIFORM_BLOCKS */ | |
848 /* reuse GL_UNIFORM_TYPE */ | |
849 /* reuse GL_UNIFORM_SIZE */ | |
850 /* reuse GL_UNIFORM_NAME_LENGTH */ | |
851 /* reuse GL_UNIFORM_BLOCK_INDEX */ | |
852 /* reuse GL_UNIFORM_OFFSET */ | |
853 /* reuse GL_UNIFORM_ARRAY_STRIDE */ | |
854 /* reuse GL_UNIFORM_MATRIX_STRIDE */ | |
855 /* reuse GL_UNIFORM_IS_ROW_MAJOR */ | |
856 /* reuse GL_UNIFORM_BLOCK_BINDING */ | |
857 /* reuse GL_UNIFORM_BLOCK_DATA_SIZE */ | |
858 /* reuse GL_UNIFORM_BLOCK_NAME_LENGTH */ | |
859 /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS */ | |
860 /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES */ | |
861 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER */ | |
862 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER */ | |
863 /* reuse GL_INVALID_INDEX */ | |
864 #endif | |
865 | |
866 #ifndef GL_VERSION_3_2 | |
867 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 | |
868 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 | |
869 #define GL_LINES_ADJACENCY 0x000A | |
870 #define GL_LINE_STRIP_ADJACENCY 0x000B | |
871 #define GL_TRIANGLES_ADJACENCY 0x000C | |
872 #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D | |
873 #define GL_PROGRAM_POINT_SIZE 0x8642 | |
874 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 | |
875 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 | |
876 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 | |
877 #define GL_GEOMETRY_SHADER 0x8DD9 | |
878 #define GL_GEOMETRY_VERTICES_OUT 0x8916 | |
879 #define GL_GEOMETRY_INPUT_TYPE 0x8917 | |
880 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918 | |
881 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF | |
882 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 | |
883 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 | |
884 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 | |
885 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 | |
886 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 | |
887 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 | |
888 #define GL_CONTEXT_PROFILE_MASK 0x9126 | |
889 /* reuse GL_MAX_VARYING_COMPONENTS */ | |
890 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */ | |
891 /* Reuse tokens from ARB_depth_clamp */ | |
892 /* reuse GL_DEPTH_CLAMP */ | |
893 /* Would reuse tokens from ARB_draw_elements_base_vertex, but it has none */ | |
894 /* Would reuse tokens from ARB_fragment_coord_conventions, but it has none */ | |
895 /* Reuse tokens from ARB_provoking_vertex */ | |
896 /* reuse GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION */ | |
897 /* reuse GL_FIRST_VERTEX_CONVENTION */ | |
898 /* reuse GL_LAST_VERTEX_CONVENTION */ | |
899 /* reuse GL_PROVOKING_VERTEX */ | |
900 /* Reuse tokens from ARB_seamless_cube_map */ | |
901 /* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */ | |
902 /* Reuse tokens from ARB_sync */ | |
903 /* reuse GL_MAX_SERVER_WAIT_TIMEOUT */ | |
904 /* reuse GL_OBJECT_TYPE */ | |
905 /* reuse GL_SYNC_CONDITION */ | |
906 /* reuse GL_SYNC_STATUS */ | |
907 /* reuse GL_SYNC_FLAGS */ | |
908 /* reuse GL_SYNC_FENCE */ | |
909 /* reuse GL_SYNC_GPU_COMMANDS_COMPLETE */ | |
910 /* reuse GL_UNSIGNALED */ | |
911 /* reuse GL_SIGNALED */ | |
912 /* reuse GL_ALREADY_SIGNALED */ | |
913 /* reuse GL_TIMEOUT_EXPIRED */ | |
914 /* reuse GL_CONDITION_SATISFIED */ | |
915 /* reuse GL_WAIT_FAILED */ | |
916 /* reuse GL_TIMEOUT_IGNORED */ | |
917 /* reuse GL_SYNC_FLUSH_COMMANDS_BIT */ | |
918 /* reuse GL_TIMEOUT_IGNORED */ | |
919 /* Reuse tokens from ARB_texture_multisample */ | |
920 /* reuse GL_SAMPLE_POSITION */ | |
921 /* reuse GL_SAMPLE_MASK */ | |
922 /* reuse GL_SAMPLE_MASK_VALUE */ | |
923 /* reuse GL_MAX_SAMPLE_MASK_WORDS */ | |
924 /* reuse GL_TEXTURE_2D_MULTISAMPLE */ | |
925 /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE */ | |
926 /* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */ | |
927 /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY */ | |
928 /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE */ | |
929 /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY */ | |
930 /* reuse GL_TEXTURE_SAMPLES */ | |
931 /* reuse GL_TEXTURE_FIXED_SAMPLE_LOCATIONS */ | |
932 /* reuse GL_SAMPLER_2D_MULTISAMPLE */ | |
933 /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE */ | |
934 /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE */ | |
935 /* reuse GL_SAMPLER_2D_MULTISAMPLE_ARRAY */ | |
936 /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */ | |
937 /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */ | |
938 /* reuse GL_MAX_COLOR_TEXTURE_SAMPLES */ | |
939 /* reuse GL_MAX_DEPTH_TEXTURE_SAMPLES */ | |
940 /* reuse GL_MAX_INTEGER_SAMPLES */ | |
941 /* Don't need to reuse tokens from ARB_vertex_array_bgra since they're already in 1.2 core */ | |
942 #endif | |
943 | |
773 #ifndef GL_ARB_multitexture | 944 #ifndef GL_ARB_multitexture |
774 #define GL_TEXTURE0_ARB 0x84C0 | 945 #define GL_TEXTURE0_ARB 0x84C0 |
775 #define GL_TEXTURE1_ARB 0x84C1 | 946 #define GL_TEXTURE1_ARB 0x84C1 |
776 #define GL_TEXTURE2_ARB 0x84C2 | 947 #define GL_TEXTURE2_ARB 0x84C2 |
777 #define GL_TEXTURE3_ARB 0x84C3 | 948 #define GL_TEXTURE3_ARB 0x84C3 |
1285 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 | 1456 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 |
1286 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 | 1457 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 |
1287 #define GL_FRAMEBUFFER_DEFAULT 0x8218 | 1458 #define GL_FRAMEBUFFER_DEFAULT 0x8218 |
1288 #define GL_FRAMEBUFFER_UNDEFINED 0x8219 | 1459 #define GL_FRAMEBUFFER_UNDEFINED 0x8219 |
1289 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A | 1460 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A |
1290 #define GL_INDEX 0x8222 | |
1291 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 | 1461 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 |
1292 #define GL_DEPTH_STENCIL 0x84F9 | 1462 #define GL_DEPTH_STENCIL 0x84F9 |
1293 #define GL_UNSIGNED_INT_24_8 0x84FA | 1463 #define GL_UNSIGNED_INT_24_8 0x84FA |
1294 #define GL_DEPTH24_STENCIL8 0x88F0 | 1464 #define GL_DEPTH24_STENCIL8 0x88F0 |
1295 #define GL_TEXTURE_STENCIL_SIZE 0x88F1 | 1465 #define GL_TEXTURE_STENCIL_SIZE 0x88F1 |
1466 #define GL_TEXTURE_RED_TYPE 0x8C10 | |
1467 #define GL_TEXTURE_GREEN_TYPE 0x8C11 | |
1468 #define GL_TEXTURE_BLUE_TYPE 0x8C12 | |
1469 #define GL_TEXTURE_ALPHA_TYPE 0x8C13 | |
1470 #define GL_TEXTURE_DEPTH_TYPE 0x8C16 | |
1471 #define GL_UNSIGNED_NORMALIZED 0x8C17 | |
1296 #define GL_FRAMEBUFFER_BINDING 0x8CA6 | 1472 #define GL_FRAMEBUFFER_BINDING 0x8CA6 |
1297 #define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING | 1473 #define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING |
1298 #define GL_RENDERBUFFER_BINDING 0x8CA7 | 1474 #define GL_RENDERBUFFER_BINDING 0x8CA7 |
1299 #define GL_READ_FRAMEBUFFER 0x8CA8 | 1475 #define GL_READ_FRAMEBUFFER 0x8CA8 |
1300 #define GL_DRAW_FRAMEBUFFER 0x8CA9 | 1476 #define GL_DRAW_FRAMEBUFFER 0x8CA9 |
1347 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 | 1523 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 |
1348 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 | 1524 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 |
1349 #define GL_MAX_SAMPLES 0x8D57 | 1525 #define GL_MAX_SAMPLES 0x8D57 |
1350 #endif | 1526 #endif |
1351 | 1527 |
1528 #ifndef GL_ARB_framebuffer_object_DEPRECATED | |
1529 #define GL_INDEX 0x8222 | |
1530 #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14 | |
1531 #define GL_TEXTURE_INTENSITY_TYPE 0x8C15 | |
1532 #endif | |
1533 | |
1352 #ifndef GL_ARB_framebuffer_sRGB | 1534 #ifndef GL_ARB_framebuffer_sRGB |
1353 #define GL_FRAMEBUFFER_SRGB 0x8DB9 | 1535 #define GL_FRAMEBUFFER_SRGB 0x8DB9 |
1354 #endif | 1536 #endif |
1355 | 1537 |
1356 #ifndef GL_ARB_geometry_shader4 | 1538 #ifndef GL_ARB_geometry_shader4 |
1379 #ifndef GL_ARB_half_float_vertex | 1561 #ifndef GL_ARB_half_float_vertex |
1380 #define GL_HALF_FLOAT 0x140B | 1562 #define GL_HALF_FLOAT 0x140B |
1381 #endif | 1563 #endif |
1382 | 1564 |
1383 #ifndef GL_ARB_instanced_arrays | 1565 #ifndef GL_ARB_instanced_arrays |
1566 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE | |
1384 #endif | 1567 #endif |
1385 | 1568 |
1386 #ifndef GL_ARB_map_buffer_range | 1569 #ifndef GL_ARB_map_buffer_range |
1387 #define GL_MAP_READ_BIT 0x0001 | 1570 #define GL_MAP_READ_BIT 0x0001 |
1388 #define GL_MAP_WRITE_BIT 0x0002 | 1571 #define GL_MAP_WRITE_BIT 0x0002 |
1432 #define GL_RG32UI 0x823C | 1615 #define GL_RG32UI 0x823C |
1433 #endif | 1616 #endif |
1434 | 1617 |
1435 #ifndef GL_ARB_vertex_array_object | 1618 #ifndef GL_ARB_vertex_array_object |
1436 #define GL_VERTEX_ARRAY_BINDING 0x85B5 | 1619 #define GL_VERTEX_ARRAY_BINDING 0x85B5 |
1620 #endif | |
1621 | |
1622 #ifndef GL_ARB_uniform_buffer_object | |
1623 #define GL_UNIFORM_BUFFER 0x8A11 | |
1624 #define GL_UNIFORM_BUFFER_BINDING 0x8A28 | |
1625 #define GL_UNIFORM_BUFFER_START 0x8A29 | |
1626 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A | |
1627 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B | |
1628 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C | |
1629 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D | |
1630 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E | |
1631 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F | |
1632 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 | |
1633 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 | |
1634 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 | |
1635 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 | |
1636 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 | |
1637 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 | |
1638 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 | |
1639 #define GL_UNIFORM_TYPE 0x8A37 | |
1640 #define GL_UNIFORM_SIZE 0x8A38 | |
1641 #define GL_UNIFORM_NAME_LENGTH 0x8A39 | |
1642 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A | |
1643 #define GL_UNIFORM_OFFSET 0x8A3B | |
1644 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C | |
1645 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D | |
1646 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E | |
1647 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F | |
1648 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 | |
1649 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 | |
1650 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 | |
1651 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 | |
1652 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 | |
1653 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45 | |
1654 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 | |
1655 #define GL_INVALID_INDEX 0xFFFFFFFFu | |
1656 #endif | |
1657 | |
1658 #ifndef GL_ARB_compatibility | |
1659 /* ARB_compatibility just defines tokens from core 3.0 */ | |
1660 #endif | |
1661 | |
1662 #ifndef GL_ARB_copy_buffer | |
1663 #define GL_COPY_READ_BUFFER 0x8F36 | |
1664 #define GL_COPY_WRITE_BUFFER 0x8F37 | |
1665 #endif | |
1666 | |
1667 #ifndef GL_ARB_shader_texture_lod | |
1668 #endif | |
1669 | |
1670 #ifndef GL_ARB_depth_clamp | |
1671 #define GL_DEPTH_CLAMP 0x864F | |
1672 #endif | |
1673 | |
1674 #ifndef GL_ARB_draw_elements_base_vertex | |
1675 #endif | |
1676 | |
1677 #ifndef GL_ARB_fragment_coord_conventions | |
1678 #endif | |
1679 | |
1680 #ifndef GL_ARB_provoking_vertex | |
1681 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C | |
1682 #define GL_FIRST_VERTEX_CONVENTION 0x8E4D | |
1683 #define GL_LAST_VERTEX_CONVENTION 0x8E4E | |
1684 #define GL_PROVOKING_VERTEX 0x8E4F | |
1685 #endif | |
1686 | |
1687 #ifndef GL_ARB_seamless_cube_map | |
1688 #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F | |
1689 #endif | |
1690 | |
1691 #ifndef GL_ARB_sync | |
1692 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 | |
1693 #define GL_OBJECT_TYPE 0x9112 | |
1694 #define GL_SYNC_CONDITION 0x9113 | |
1695 #define GL_SYNC_STATUS 0x9114 | |
1696 #define GL_SYNC_FLAGS 0x9115 | |
1697 #define GL_SYNC_FENCE 0x9116 | |
1698 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 | |
1699 #define GL_UNSIGNALED 0x9118 | |
1700 #define GL_SIGNALED 0x9119 | |
1701 #define GL_ALREADY_SIGNALED 0x911A | |
1702 #define GL_TIMEOUT_EXPIRED 0x911B | |
1703 #define GL_CONDITION_SATISFIED 0x911C | |
1704 #define GL_WAIT_FAILED 0x911D | |
1705 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 | |
1706 #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull | |
1707 #endif | |
1708 | |
1709 #ifndef GL_ARB_texture_multisample | |
1710 #define GL_SAMPLE_POSITION 0x8E50 | |
1711 #define GL_SAMPLE_MASK 0x8E51 | |
1712 #define GL_SAMPLE_MASK_VALUE 0x8E52 | |
1713 #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 | |
1714 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100 | |
1715 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101 | |
1716 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 | |
1717 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103 | |
1718 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 | |
1719 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 | |
1720 #define GL_TEXTURE_SAMPLES 0x9106 | |
1721 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 | |
1722 #define GL_SAMPLER_2D_MULTISAMPLE 0x9108 | |
1723 #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 | |
1724 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A | |
1725 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B | |
1726 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C | |
1727 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D | |
1728 #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E | |
1729 #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F | |
1730 #define GL_MAX_INTEGER_SAMPLES 0x9110 | |
1731 #endif | |
1732 | |
1733 #ifndef GL_ARB_vertex_array_bgra | |
1734 /* reuse GL_BGRA */ | |
1735 #endif | |
1736 | |
1737 #ifndef GL_ARB_draw_buffers_blend | |
1738 #endif | |
1739 | |
1740 #ifndef GL_ARB_sample_shading | |
1741 #define GL_SAMPLE_SHADING 0x8C36 | |
1742 #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37 | |
1743 #endif | |
1744 | |
1745 #ifndef GL_ARB_texture_cube_map_array | |
1746 #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 | |
1747 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A | |
1748 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B | |
1749 #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C | |
1750 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D | |
1751 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E | |
1752 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F | |
1753 #endif | |
1754 | |
1755 #ifndef GL_ARB_texture_gather | |
1756 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E | |
1757 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F | |
1758 #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS 0x8F9F | |
1759 #endif | |
1760 | |
1761 #ifndef GL_ARB_texture_query_lod | |
1437 #endif | 1762 #endif |
1438 | 1763 |
1439 #ifndef GL_EXT_abgr | 1764 #ifndef GL_EXT_abgr |
1440 #define GL_ABGR_EXT 0x8000 | 1765 #define GL_ABGR_EXT 0x8000 |
1441 #endif | 1766 #endif |
3419 #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 | 3744 #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 |
3420 #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 | 3745 #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 |
3421 #endif | 3746 #endif |
3422 | 3747 |
3423 #ifndef GL_EXT_blend_equation_separate | 3748 #ifndef GL_EXT_blend_equation_separate |
3424 #define GL_BLEND_EQUATION_RGB_EXT GL_BLEND_EQUATION | 3749 #define GL_BLEND_EQUATION_RGB_EXT 0x8009 |
3425 #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D | 3750 #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D |
3426 #endif | 3751 #endif |
3427 | 3752 |
3428 #ifndef GL_MESA_pack_invert | 3753 #ifndef GL_MESA_pack_invert |
3429 #define GL_PACK_INVERT_MESA 0x8758 | 3754 #define GL_PACK_INVERT_MESA 0x8758 |
3900 #define GL_SAMPLE_POSITION_NV 0x8E50 | 4225 #define GL_SAMPLE_POSITION_NV 0x8E50 |
3901 #define GL_SAMPLE_MASK_NV 0x8E51 | 4226 #define GL_SAMPLE_MASK_NV 0x8E51 |
3902 #define GL_SAMPLE_MASK_VALUE_NV 0x8E52 | 4227 #define GL_SAMPLE_MASK_VALUE_NV 0x8E52 |
3903 #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53 | 4228 #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53 |
3904 #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54 | 4229 #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54 |
3905 #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59 | |
3906 #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55 | 4230 #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55 |
3907 #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56 | 4231 #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56 |
3908 #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57 | 4232 #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57 |
3909 #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58 | 4233 #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58 |
4234 #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59 | |
3910 #endif | 4235 #endif |
3911 | 4236 |
3912 #ifndef GL_NV_transform_feedback2 | 4237 #ifndef GL_NV_transform_feedback2 |
3913 #define GL_TRANSFORM_FEEDBACK_NV 0x8E22 | 4238 #define GL_TRANSFORM_FEEDBACK_NV 0x8E22 |
3914 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23 | 4239 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23 |
3915 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24 | 4240 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24 |
3916 #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25 | 4241 #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25 |
3917 #endif | 4242 #endif |
3918 | 4243 |
4244 #ifndef GL_ATI_meminfo | |
4245 #define GL_VBO_FREE_MEMORY_ATI 0x87FB | |
4246 #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC | |
4247 #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD | |
4248 #endif | |
4249 | |
4250 #ifndef GL_AMD_performance_monitor | |
4251 #define GL_COUNTER_TYPE_AMD 0x8BC0 | |
4252 #define GL_COUNTER_RANGE_AMD 0x8BC1 | |
4253 #define GL_UNSIGNED_INT64_AMD 0x8BC2 | |
4254 #define GL_PERCENTAGE_AMD 0x8BC3 | |
4255 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 | |
4256 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 | |
4257 #define GL_PERFMON_RESULT_AMD 0x8BC6 | |
4258 #endif | |
4259 | |
4260 #ifndef GL_AMD_texture_texture4 | |
4261 #endif | |
4262 | |
4263 #ifndef GL_AMD_vertex_shader_tesselator | |
4264 #define GL_SAMPLER_BUFFER_AMD 0x9001 | |
4265 #define GL_INT_SAMPLER_BUFFER_AMD 0x9002 | |
4266 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003 | |
4267 #define GL_TESSELLATION_MODE_AMD 0x9004 | |
4268 #define GL_TESSELLATION_FACTOR_AMD 0x9005 | |
4269 #define GL_DISCRETE_AMD 0x9006 | |
4270 #define GL_CONTINUOUS_AMD 0x9007 | |
4271 #endif | |
4272 | |
4273 #ifndef GL_EXT_provoking_vertex | |
4274 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C | |
4275 #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D | |
4276 #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E | |
4277 #define GL_PROVOKING_VERTEX_EXT 0x8E4F | |
4278 #endif | |
4279 | |
4280 #ifndef GL_EXT_texture_snorm | |
4281 #define GL_ALPHA_SNORM 0x9010 | |
4282 #define GL_LUMINANCE_SNORM 0x9011 | |
4283 #define GL_LUMINANCE_ALPHA_SNORM 0x9012 | |
4284 #define GL_INTENSITY_SNORM 0x9013 | |
4285 #define GL_ALPHA8_SNORM 0x9014 | |
4286 #define GL_LUMINANCE8_SNORM 0x9015 | |
4287 #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016 | |
4288 #define GL_INTENSITY8_SNORM 0x9017 | |
4289 #define GL_ALPHA16_SNORM 0x9018 | |
4290 #define GL_LUMINANCE16_SNORM 0x9019 | |
4291 #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A | |
4292 #define GL_INTENSITY16_SNORM 0x901B | |
4293 /* reuse GL_R_SNORM */ | |
4294 /* reuse GL_RG_SNORM */ | |
4295 /* reuse GL_RGB_SNORM */ | |
4296 /* reuse GL_RGBA_SNORM */ | |
4297 /* reuse GL_R8_SNORM */ | |
4298 /* reuse GL_RG8_SNORM */ | |
4299 /* reuse GL_RGB8_SNORM */ | |
4300 /* reuse GL_RGBA8_SNORM */ | |
4301 /* reuse GL_R16_SNORM */ | |
4302 /* reuse GL_RG16_SNORM */ | |
4303 /* reuse GL_RGB16_SNORM */ | |
4304 /* reuse GL_RGBA16_SNORM */ | |
4305 /* reuse GL_SIGNED_NORMALIZED */ | |
4306 #endif | |
4307 | |
4308 #ifndef GL_AMD_draw_buffers_blend | |
4309 #endif | |
4310 | |
4311 #ifndef GL_APPLE_texture_range | |
4312 #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7 | |
4313 #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8 | |
4314 #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC | |
4315 #define GL_STORAGE_PRIVATE_APPLE 0x85BD | |
4316 /* reuse GL_STORAGE_CACHED_APPLE */ | |
4317 /* reuse GL_STORAGE_SHARED_APPLE */ | |
4318 #endif | |
4319 | |
4320 #ifndef GL_APPLE_float_pixels | |
4321 #define GL_HALF_APPLE 0x140B | |
4322 #define GL_RGBA_FLOAT32_APPLE 0x8814 | |
4323 #define GL_RGB_FLOAT32_APPLE 0x8815 | |
4324 #define GL_ALPHA_FLOAT32_APPLE 0x8816 | |
4325 #define GL_INTENSITY_FLOAT32_APPLE 0x8817 | |
4326 #define GL_LUMINANCE_FLOAT32_APPLE 0x8818 | |
4327 #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819 | |
4328 #define GL_RGBA_FLOAT16_APPLE 0x881A | |
4329 #define GL_RGB_FLOAT16_APPLE 0x881B | |
4330 #define GL_ALPHA_FLOAT16_APPLE 0x881C | |
4331 #define GL_INTENSITY_FLOAT16_APPLE 0x881D | |
4332 #define GL_LUMINANCE_FLOAT16_APPLE 0x881E | |
4333 #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F | |
4334 #define GL_COLOR_FLOAT_APPLE 0x8A0F | |
4335 #endif | |
4336 | |
4337 #ifndef GL_APPLE_vertex_program_evaluators | |
4338 #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00 | |
4339 #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01 | |
4340 #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02 | |
4341 #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03 | |
4342 #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04 | |
4343 #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05 | |
4344 #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06 | |
4345 #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07 | |
4346 #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08 | |
4347 #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09 | |
4348 #endif | |
4349 | |
4350 #ifndef GL_APPLE_aux_depth_stencil | |
4351 #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14 | |
4352 #endif | |
4353 | |
4354 #ifndef GL_APPLE_object_purgeable | |
4355 #define GL_BUFFER_OBJECT_APPLE 0x85B3 | |
4356 #define GL_RELEASED_APPLE 0x8A19 | |
4357 #define GL_VOLATILE_APPLE 0x8A1A | |
4358 #define GL_RETAINED_APPLE 0x8A1B | |
4359 #define GL_UNDEFINED_APPLE 0x8A1C | |
4360 #define GL_PURGEABLE_APPLE 0x8A1D | |
4361 #endif | |
4362 | |
4363 #ifndef GL_APPLE_row_bytes | |
4364 #define GL_PACK_ROW_BYTES_APPLE 0x8A15 | |
4365 #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16 | |
4366 #endif | |
4367 | |
3919 | 4368 |
3920 /*************************************************************/ | 4369 /*************************************************************/ |
3921 | 4370 |
3922 #include <stddef.h> | 4371 #include <stddef.h> |
3923 #ifndef GL_VERSION_2_0 | 4372 #ifndef GL_VERSION_2_0 |
3924 /* GL type for program/shader text */ | 4373 /* GL type for program/shader text */ |
3925 typedef char GLchar; /* native character */ | 4374 typedef char GLchar; |
3926 #endif | 4375 #endif |
3927 | 4376 |
3928 #ifndef GL_VERSION_1_5 | 4377 #ifndef GL_VERSION_1_5 |
3929 /* GL types for handling large vertex buffer objects */ | 4378 /* GL types for handling large vertex buffer objects */ |
3930 typedef ptrdiff_t GLintptr; | 4379 typedef ptrdiff_t GLintptr; |
3936 typedef ptrdiff_t GLintptrARB; | 4385 typedef ptrdiff_t GLintptrARB; |
3937 typedef ptrdiff_t GLsizeiptrARB; | 4386 typedef ptrdiff_t GLsizeiptrARB; |
3938 #endif | 4387 #endif |
3939 | 4388 |
3940 #ifndef GL_ARB_shader_objects | 4389 #ifndef GL_ARB_shader_objects |
3941 /* GL types for handling shader object handles and program/shader text */ | 4390 /* GL types for program/shader text and shader object handles */ |
3942 typedef char GLcharARB; /* native character */ | 4391 typedef char GLcharARB; |
3943 typedef unsigned int GLhandleARB; /* shader object handle */ | 4392 typedef unsigned int GLhandleARB; |
3944 #endif | 4393 #endif |
3945 | 4394 |
3946 /* GL types for "half" precision (s10e5) float data in host memory */ | 4395 /* GL type for "half" precision (s10e5) float data in host memory */ |
3947 #ifndef GL_ARB_half_float_pixel | 4396 #ifndef GL_ARB_half_float_pixel |
3948 typedef unsigned short GLhalfARB; | 4397 typedef unsigned short GLhalfARB; |
3949 #endif | 4398 #endif |
3950 | 4399 |
3951 #ifndef GL_NV_half_float | 4400 #ifndef GL_NV_half_float |
3983 #elif defined(_WIN32) | 4432 #elif defined(_WIN32) |
3984 typedef __int32 int32_t; | 4433 typedef __int32 int32_t; |
3985 typedef __int64 int64_t; | 4434 typedef __int64 int64_t; |
3986 typedef unsigned __int64 uint64_t; | 4435 typedef unsigned __int64 uint64_t; |
3987 #else | 4436 #else |
3988 #include <inttypes.h> /* Fallback option */ | 4437 /* Fallback if nothing above works */ |
4438 #include <inttypes.h> | |
3989 #endif | 4439 #endif |
3990 #endif | 4440 #endif |
3991 | 4441 |
3992 #ifndef GL_EXT_timer_query | 4442 #ifndef GL_EXT_timer_query |
3993 typedef int64_t GLint64EXT; | 4443 typedef int64_t GLint64EXT; |
3994 typedef uint64_t GLuint64EXT; | 4444 typedef uint64_t GLuint64EXT; |
3995 #endif | 4445 #endif |
3996 | 4446 |
4447 #ifndef ARB_sync | |
4448 typedef int64_t GLint64; | |
4449 typedef uint64_t GLuint64; | |
4450 typedef struct __GLsync *GLsync; | |
4451 #endif | |
4452 | |
3997 #ifndef GL_VERSION_1_2 | 4453 #ifndef GL_VERSION_1_2 |
3998 #define GL_VERSION_1_2 1 | 4454 #define GL_VERSION_1_2 1 |
3999 #ifdef GL_GLEXT_PROTOTYPES | 4455 #ifdef GL_GLEXT_PROTOTYPES |
4000 GLAPI void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf); | 4456 GLAPI void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf); |
4001 GLAPI void APIENTRY glBlendEquation (GLenum); | 4457 GLAPI void APIENTRY glBlendEquation (GLenum); |
4002 GLAPI void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *); | 4458 GLAPI void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *); |
4459 GLAPI void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); | |
4460 GLAPI void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); | |
4461 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); | |
4462 #endif /* GL_GLEXT_PROTOTYPES */ | |
4463 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); | |
4464 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); | |
4465 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); | |
4466 typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); | |
4467 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); | |
4468 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | |
4469 #endif | |
4470 | |
4471 #ifndef GL_VERSION_1_2_DEPRECATED | |
4472 #define GL_VERSION_1_2_DEPRECATED 1 | |
4473 #ifdef GL_GLEXT_PROTOTYPES | |
4003 GLAPI void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); | 4474 GLAPI void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); |
4004 GLAPI void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *); | 4475 GLAPI void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *); |
4005 GLAPI void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *); | 4476 GLAPI void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *); |
4006 GLAPI void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei); | 4477 GLAPI void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei); |
4007 GLAPI void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *); | 4478 GLAPI void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *); |
4030 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *); | 4501 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *); |
4031 GLAPI void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean); | 4502 GLAPI void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean); |
4032 GLAPI void APIENTRY glMinmax (GLenum, GLenum, GLboolean); | 4503 GLAPI void APIENTRY glMinmax (GLenum, GLenum, GLboolean); |
4033 GLAPI void APIENTRY glResetHistogram (GLenum); | 4504 GLAPI void APIENTRY glResetHistogram (GLenum); |
4034 GLAPI void APIENTRY glResetMinmax (GLenum); | 4505 GLAPI void APIENTRY glResetMinmax (GLenum); |
4035 GLAPI void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); | 4506 #endif /* GL_GLEXT_PROTOTYPES */ |
4036 GLAPI void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); | |
4037 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); | |
4038 #endif /* GL_GLEXT_PROTOTYPES */ | |
4039 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); | |
4040 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); | |
4041 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); | |
4042 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); | 4507 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); |
4043 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); | 4508 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); |
4044 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); | 4509 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); |
4045 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); | 4510 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); |
4046 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); | 4511 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); |
4069 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); | 4534 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); |
4070 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); | 4535 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); |
4071 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink); | 4536 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink); |
4072 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target); | 4537 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target); |
4073 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target); | 4538 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target); |
4074 typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); | |
4075 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); | |
4076 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | |
4077 #endif | 4539 #endif |
4078 | 4540 |
4079 #ifndef GL_VERSION_1_3 | 4541 #ifndef GL_VERSION_1_3 |
4080 #define GL_VERSION_1_3 1 | 4542 #define GL_VERSION_1_3 1 |
4081 #ifdef GL_GLEXT_PROTOTYPES | 4543 #ifdef GL_GLEXT_PROTOTYPES |
4082 GLAPI void APIENTRY glActiveTexture (GLenum); | 4544 GLAPI void APIENTRY glActiveTexture (GLenum); |
4545 GLAPI void APIENTRY glSampleCoverage (GLclampf, GLboolean); | |
4546 GLAPI void APIENTRY glCompressedTexImage3D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); | |
4547 GLAPI void APIENTRY glCompressedTexImage2D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); | |
4548 GLAPI void APIENTRY glCompressedTexImage1D (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *); | |
4549 GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); | |
4550 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); | |
4551 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); | |
4552 GLAPI void APIENTRY glGetCompressedTexImage (GLenum, GLint, GLvoid *); | |
4553 #endif /* GL_GLEXT_PROTOTYPES */ | |
4554 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); | |
4555 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); | |
4556 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); | |
4557 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); | |
4558 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); | |
4559 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); | |
4560 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); | |
4561 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); | |
4562 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img); | |
4563 #endif | |
4564 | |
4565 #ifndef GL_VERSION_1_3_DEPRECATED | |
4566 #define GL_VERSION_1_3_DEPRECATED 1 | |
4567 #ifdef GL_GLEXT_PROTOTYPES | |
4083 GLAPI void APIENTRY glClientActiveTexture (GLenum); | 4568 GLAPI void APIENTRY glClientActiveTexture (GLenum); |
4084 GLAPI void APIENTRY glMultiTexCoord1d (GLenum, GLdouble); | 4569 GLAPI void APIENTRY glMultiTexCoord1d (GLenum, GLdouble); |
4085 GLAPI void APIENTRY glMultiTexCoord1dv (GLenum, const GLdouble *); | 4570 GLAPI void APIENTRY glMultiTexCoord1dv (GLenum, const GLdouble *); |
4086 GLAPI void APIENTRY glMultiTexCoord1f (GLenum, GLfloat); | 4571 GLAPI void APIENTRY glMultiTexCoord1f (GLenum, GLfloat); |
4087 GLAPI void APIENTRY glMultiTexCoord1fv (GLenum, const GLfloat *); | 4572 GLAPI void APIENTRY glMultiTexCoord1fv (GLenum, const GLfloat *); |
4115 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum, const GLshort *); | 4600 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum, const GLshort *); |
4116 GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *); | 4601 GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *); |
4117 GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *); | 4602 GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *); |
4118 GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *); | 4603 GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *); |
4119 GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *); | 4604 GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *); |
4120 GLAPI void APIENTRY glSampleCoverage (GLclampf, GLboolean); | 4605 #endif /* GL_GLEXT_PROTOTYPES */ |
4121 GLAPI void APIENTRY glCompressedTexImage3D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); | |
4122 GLAPI void APIENTRY glCompressedTexImage2D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); | |
4123 GLAPI void APIENTRY glCompressedTexImage1D (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *); | |
4124 GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); | |
4125 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); | |
4126 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); | |
4127 GLAPI void APIENTRY glGetCompressedTexImage (GLenum, GLint, GLvoid *); | |
4128 #endif /* GL_GLEXT_PROTOTYPES */ | |
4129 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); | |
4130 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); | 4606 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); |
4131 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); | 4607 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); |
4132 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v); | 4608 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v); |
4133 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s); | 4609 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s); |
4134 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v); | 4610 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v); |
4162 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v); | 4638 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v); |
4163 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m); | 4639 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m); |
4164 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m); | 4640 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m); |
4165 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m); | 4641 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m); |
4166 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m); | 4642 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m); |
4167 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); | |
4168 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); | |
4169 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); | |
4170 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); | |
4171 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); | |
4172 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); | |
4173 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); | |
4174 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img); | |
4175 #endif | 4643 #endif |
4176 | 4644 |
4177 #ifndef GL_VERSION_1_4 | 4645 #ifndef GL_VERSION_1_4 |
4178 #define GL_VERSION_1_4 1 | 4646 #define GL_VERSION_1_4 1 |
4179 #ifdef GL_GLEXT_PROTOTYPES | 4647 #ifdef GL_GLEXT_PROTOTYPES |
4180 GLAPI void APIENTRY glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum); | 4648 GLAPI void APIENTRY glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum); |
4181 GLAPI void APIENTRY glFogCoordf (GLfloat); | |
4182 GLAPI void APIENTRY glFogCoordfv (const GLfloat *); | |
4183 GLAPI void APIENTRY glFogCoordd (GLdouble); | |
4184 GLAPI void APIENTRY glFogCoorddv (const GLdouble *); | |
4185 GLAPI void APIENTRY glFogCoordPointer (GLenum, GLsizei, const GLvoid *); | |
4186 GLAPI void APIENTRY glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei); | 4649 GLAPI void APIENTRY glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei); |
4187 GLAPI void APIENTRY glMultiDrawElements (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei); | 4650 GLAPI void APIENTRY glMultiDrawElements (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei); |
4188 GLAPI void APIENTRY glPointParameterf (GLenum, GLfloat); | 4651 GLAPI void APIENTRY glPointParameterf (GLenum, GLfloat); |
4189 GLAPI void APIENTRY glPointParameterfv (GLenum, const GLfloat *); | 4652 GLAPI void APIENTRY glPointParameterfv (GLenum, const GLfloat *); |
4190 GLAPI void APIENTRY glPointParameteri (GLenum, GLint); | 4653 GLAPI void APIENTRY glPointParameteri (GLenum, GLint); |
4191 GLAPI void APIENTRY glPointParameteriv (GLenum, const GLint *); | 4654 GLAPI void APIENTRY glPointParameteriv (GLenum, const GLint *); |
4655 #endif /* GL_GLEXT_PROTOTYPES */ | |
4656 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); | |
4657 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); | |
4658 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); | |
4659 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); | |
4660 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); | |
4661 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); | |
4662 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params); | |
4663 #endif | |
4664 | |
4665 #ifndef GL_VERSION_1_4_DEPRECATED | |
4666 #define GL_VERSION_1_4_DEPRECATED 1 | |
4667 #ifdef GL_GLEXT_PROTOTYPES | |
4668 GLAPI void APIENTRY glFogCoordf (GLfloat); | |
4669 GLAPI void APIENTRY glFogCoordfv (const GLfloat *); | |
4670 GLAPI void APIENTRY glFogCoordd (GLdouble); | |
4671 GLAPI void APIENTRY glFogCoorddv (const GLdouble *); | |
4672 GLAPI void APIENTRY glFogCoordPointer (GLenum, GLsizei, const GLvoid *); | |
4192 GLAPI void APIENTRY glSecondaryColor3b (GLbyte, GLbyte, GLbyte); | 4673 GLAPI void APIENTRY glSecondaryColor3b (GLbyte, GLbyte, GLbyte); |
4193 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *); | 4674 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *); |
4194 GLAPI void APIENTRY glSecondaryColor3d (GLdouble, GLdouble, GLdouble); | 4675 GLAPI void APIENTRY glSecondaryColor3d (GLdouble, GLdouble, GLdouble); |
4195 GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *); | 4676 GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *); |
4196 GLAPI void APIENTRY glSecondaryColor3f (GLfloat, GLfloat, GLfloat); | 4677 GLAPI void APIENTRY glSecondaryColor3f (GLfloat, GLfloat, GLfloat); |
4221 GLAPI void APIENTRY glWindowPos3i (GLint, GLint, GLint); | 4702 GLAPI void APIENTRY glWindowPos3i (GLint, GLint, GLint); |
4222 GLAPI void APIENTRY glWindowPos3iv (const GLint *); | 4703 GLAPI void APIENTRY glWindowPos3iv (const GLint *); |
4223 GLAPI void APIENTRY glWindowPos3s (GLshort, GLshort, GLshort); | 4704 GLAPI void APIENTRY glWindowPos3s (GLshort, GLshort, GLshort); |
4224 GLAPI void APIENTRY glWindowPos3sv (const GLshort *); | 4705 GLAPI void APIENTRY glWindowPos3sv (const GLshort *); |
4225 #endif /* GL_GLEXT_PROTOTYPES */ | 4706 #endif /* GL_GLEXT_PROTOTYPES */ |
4226 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); | |
4227 typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord); | 4707 typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord); |
4228 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord); | 4708 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord); |
4229 typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord); | 4709 typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord); |
4230 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord); | 4710 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord); |
4231 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); | 4711 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); |
4232 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); | |
4233 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); | |
4234 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); | |
4235 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); | |
4236 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); | |
4237 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params); | |
4238 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue); | 4712 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue); |
4239 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v); | 4713 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v); |
4240 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue); | 4714 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue); |
4241 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v); | 4715 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v); |
4242 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue); | 4716 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue); |
4539 GLAPI GLboolean APIENTRY glIsEnabledi (GLenum, GLuint); | 5013 GLAPI GLboolean APIENTRY glIsEnabledi (GLenum, GLuint); |
4540 GLAPI void APIENTRY glBeginTransformFeedback (GLenum); | 5014 GLAPI void APIENTRY glBeginTransformFeedback (GLenum); |
4541 GLAPI void APIENTRY glEndTransformFeedback (void); | 5015 GLAPI void APIENTRY glEndTransformFeedback (void); |
4542 GLAPI void APIENTRY glBindBufferRange (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr); | 5016 GLAPI void APIENTRY glBindBufferRange (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr); |
4543 GLAPI void APIENTRY glBindBufferBase (GLenum, GLuint, GLuint); | 5017 GLAPI void APIENTRY glBindBufferBase (GLenum, GLuint, GLuint); |
4544 GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint, GLsizei, const GLint *, GLenum); | 5018 GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint, GLsizei, const GLchar* *, GLenum); |
4545 GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint, GLuint, GLint *); | 5019 GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *); |
4546 GLAPI void APIENTRY glClampColor (GLenum, GLenum); | 5020 GLAPI void APIENTRY glClampColor (GLenum, GLenum); |
4547 GLAPI void APIENTRY glBeginConditionalRender (GLuint, GLenum); | 5021 GLAPI void APIENTRY glBeginConditionalRender (GLuint, GLenum); |
4548 GLAPI void APIENTRY glEndConditionalRender (void); | 5022 GLAPI void APIENTRY glEndConditionalRender (void); |
5023 GLAPI void APIENTRY glVertexAttribIPointer (GLuint, GLint, GLenum, GLsizei, const GLvoid *); | |
5024 GLAPI void APIENTRY glGetVertexAttribIiv (GLuint, GLenum, GLint *); | |
5025 GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint, GLenum, GLuint *); | |
4549 GLAPI void APIENTRY glVertexAttribI1i (GLuint, GLint); | 5026 GLAPI void APIENTRY glVertexAttribI1i (GLuint, GLint); |
4550 GLAPI void APIENTRY glVertexAttribI2i (GLuint, GLint, GLint); | 5027 GLAPI void APIENTRY glVertexAttribI2i (GLuint, GLint, GLint); |
4551 GLAPI void APIENTRY glVertexAttribI3i (GLuint, GLint, GLint, GLint); | 5028 GLAPI void APIENTRY glVertexAttribI3i (GLuint, GLint, GLint, GLint); |
4552 GLAPI void APIENTRY glVertexAttribI4i (GLuint, GLint, GLint, GLint, GLint); | 5029 GLAPI void APIENTRY glVertexAttribI4i (GLuint, GLint, GLint, GLint, GLint); |
4553 GLAPI void APIENTRY glVertexAttribI1ui (GLuint, GLuint); | 5030 GLAPI void APIENTRY glVertexAttribI1ui (GLuint, GLuint); |
4564 GLAPI void APIENTRY glVertexAttribI4uiv (GLuint, const GLuint *); | 5041 GLAPI void APIENTRY glVertexAttribI4uiv (GLuint, const GLuint *); |
4565 GLAPI void APIENTRY glVertexAttribI4bv (GLuint, const GLbyte *); | 5042 GLAPI void APIENTRY glVertexAttribI4bv (GLuint, const GLbyte *); |
4566 GLAPI void APIENTRY glVertexAttribI4sv (GLuint, const GLshort *); | 5043 GLAPI void APIENTRY glVertexAttribI4sv (GLuint, const GLshort *); |
4567 GLAPI void APIENTRY glVertexAttribI4ubv (GLuint, const GLubyte *); | 5044 GLAPI void APIENTRY glVertexAttribI4ubv (GLuint, const GLubyte *); |
4568 GLAPI void APIENTRY glVertexAttribI4usv (GLuint, const GLushort *); | 5045 GLAPI void APIENTRY glVertexAttribI4usv (GLuint, const GLushort *); |
4569 GLAPI void APIENTRY glVertexAttribIPointer (GLuint, GLint, GLenum, GLsizei, const GLvoid *); | |
4570 GLAPI void APIENTRY glGetVertexAttribIiv (GLuint, GLenum, GLint *); | |
4571 GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint, GLenum, GLuint *); | |
4572 GLAPI void APIENTRY glGetUniformuiv (GLuint, GLint, GLuint *); | 5046 GLAPI void APIENTRY glGetUniformuiv (GLuint, GLint, GLuint *); |
4573 GLAPI void APIENTRY glBindFragDataLocation (GLuint, GLuint, const GLchar *); | 5047 GLAPI void APIENTRY glBindFragDataLocation (GLuint, GLuint, const GLchar *); |
4574 GLAPI GLint APIENTRY glGetFragDataLocation (GLuint, const GLchar *); | 5048 GLAPI GLint APIENTRY glGetFragDataLocation (GLuint, const GLchar *); |
4575 GLAPI void APIENTRY glUniform1ui (GLint, GLuint); | 5049 GLAPI void APIENTRY glUniform1ui (GLint, GLuint); |
4576 GLAPI void APIENTRY glUniform2ui (GLint, GLuint, GLuint); | 5050 GLAPI void APIENTRY glUniform2ui (GLint, GLuint, GLuint); |
4598 typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index); | 5072 typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index); |
4599 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode); | 5073 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode); |
4600 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); | 5074 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); |
4601 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); | 5075 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); |
4602 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); | 5076 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); |
4603 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); | 5077 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode); |
4604 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLint *location); | 5078 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); |
4605 typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp); | 5079 typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp); |
4606 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode); | 5080 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode); |
4607 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void); | 5081 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void); |
5082 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); | |
5083 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params); | |
5084 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params); | |
4608 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x); | 5085 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x); |
4609 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y); | 5086 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y); |
4610 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z); | 5087 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z); |
4611 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); | 5088 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); |
4612 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x); | 5089 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x); |
4623 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v); | 5100 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v); |
4624 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v); | 5101 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v); |
4625 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v); | 5102 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v); |
4626 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v); | 5103 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v); |
4627 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v); | 5104 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v); |
4628 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); | |
4629 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params); | |
4630 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params); | |
4631 typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params); | 5105 typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params); |
4632 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name); | 5106 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name); |
4633 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name); | 5107 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name); |
4634 typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0); | 5108 typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0); |
4635 typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1); | 5109 typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1); |
4646 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); | 5120 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); |
4647 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); | 5121 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); |
4648 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); | 5122 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); |
4649 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); | 5123 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); |
4650 typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); | 5124 typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); |
5125 #endif | |
5126 | |
5127 #ifndef GL_VERSION_3_1 | |
5128 #define GL_VERSION_3_1 1 | |
5129 /* OpenGL 3.1 also reuses entry points from these extensions: */ | |
5130 /* ARB_copy_buffer */ | |
5131 /* ARB_uniform_buffer_object */ | |
5132 #ifdef GL_GLEXT_PROTOTYPES | |
5133 GLAPI void APIENTRY glDrawArraysInstanced (GLenum, GLint, GLsizei, GLsizei); | |
5134 GLAPI void APIENTRY glDrawElementsInstanced (GLenum, GLsizei, GLenum, const GLvoid *, GLsizei); | |
5135 GLAPI void APIENTRY glTexBuffer (GLenum, GLenum, GLuint); | |
5136 GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint); | |
5137 #endif /* GL_GLEXT_PROTOTYPES */ | |
5138 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); | |
5139 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); | |
5140 typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer); | |
5141 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index); | |
5142 #endif | |
5143 | |
5144 #ifndef GL_VERSION_3_2 | |
5145 #define GL_VERSION_3_2 1 | |
5146 /* OpenGL 3.2 also reuses entry points from these extensions: */ | |
5147 /* ARB_draw_elements_base_vertex */ | |
5148 /* ARB_provoking_vertex */ | |
5149 /* ARB_sync */ | |
5150 /* ARB_texture_multisample */ | |
5151 #ifdef GL_GLEXT_PROTOTYPES | |
5152 GLAPI void APIENTRY glGetInteger64i_v (GLenum, GLuint, GLint64 *); | |
5153 GLAPI void APIENTRY glGetBufferParameteri64v (GLenum, GLenum, GLint64 *); | |
5154 GLAPI void APIENTRY glProgramParameteri (GLuint, GLenum, GLint); | |
5155 GLAPI void APIENTRY glFramebufferTexture (GLenum, GLenum, GLuint, GLint); | |
5156 GLAPI void APIENTRY glFramebufferTextureFace (GLenum, GLenum, GLuint, GLint, GLenum); | |
5157 #endif /* GL_GLEXT_PROTOTYPES */ | |
5158 typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); | |
5159 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); | |
5160 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value); | |
5161 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); | |
5162 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); | |
4651 #endif | 5163 #endif |
4652 | 5164 |
4653 #ifndef GL_ARB_multitexture | 5165 #ifndef GL_ARB_multitexture |
4654 #define GL_ARB_multitexture 1 | 5166 #define GL_ARB_multitexture 1 |
4655 #ifdef GL_GLEXT_PROTOTYPES | 5167 #ifdef GL_GLEXT_PROTOTYPES |
5312 #endif | 5824 #endif |
5313 | 5825 |
5314 #ifndef GL_ARB_instanced_arrays | 5826 #ifndef GL_ARB_instanced_arrays |
5315 #define GL_ARB_instanced_arrays 1 | 5827 #define GL_ARB_instanced_arrays 1 |
5316 #ifdef GL_GLEXT_PROTOTYPES | 5828 #ifdef GL_GLEXT_PROTOTYPES |
5317 GLAPI void APIENTRY glVertexAttribDivisor (GLuint, GLuint); | 5829 GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint, GLuint); |
5318 #endif /* GL_GLEXT_PROTOTYPES */ | 5830 #endif /* GL_GLEXT_PROTOTYPES */ |
5319 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor); | 5831 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor); |
5320 #endif | 5832 #endif |
5321 | 5833 |
5322 #ifndef GL_ARB_map_buffer_range | 5834 #ifndef GL_ARB_map_buffer_range |
5323 #define GL_ARB_map_buffer_range 1 | 5835 #define GL_ARB_map_buffer_range 1 |
5324 #ifdef GL_GLEXT_PROTOTYPES | 5836 #ifdef GL_GLEXT_PROTOTYPES |
5325 GLAPI void APIENTRY glMapBufferRange (GLenum, GLintptr, GLsizeiptr, GLbitfield); | 5837 GLAPI GLvoid* APIENTRY glMapBufferRange (GLenum, GLintptr, GLsizeiptr, GLbitfield); |
5326 GLAPI void APIENTRY glFlushMappedBufferRange (GLenum, GLintptr, GLsizeiptr); | 5838 GLAPI void APIENTRY glFlushMappedBufferRange (GLenum, GLintptr, GLsizeiptr); |
5327 #endif /* GL_GLEXT_PROTOTYPES */ | 5839 #endif /* GL_GLEXT_PROTOTYPES */ |
5328 typedef void (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); | 5840 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); |
5329 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); | 5841 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); |
5330 #endif | 5842 #endif |
5331 | 5843 |
5332 #ifndef GL_ARB_texture_buffer_object | 5844 #ifndef GL_ARB_texture_buffer_object |
5333 #define GL_ARB_texture_buffer_object 1 | 5845 #define GL_ARB_texture_buffer_object 1 |
5355 #endif /* GL_GLEXT_PROTOTYPES */ | 5867 #endif /* GL_GLEXT_PROTOTYPES */ |
5356 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); | 5868 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); |
5357 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays); | 5869 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays); |
5358 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); | 5870 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); |
5359 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); | 5871 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); |
5872 #endif | |
5873 | |
5874 #ifndef GL_ARB_uniform_buffer_object | |
5875 #define GL_ARB_uniform_buffer_object 1 | |
5876 #ifdef GL_GLEXT_PROTOTYPES | |
5877 GLAPI void APIENTRY glGetUniformIndices (GLuint, GLsizei, const GLchar* *, GLuint *); | |
5878 GLAPI void APIENTRY glGetActiveUniformsiv (GLuint, GLsizei, const GLuint *, GLenum, GLint *); | |
5879 GLAPI void APIENTRY glGetActiveUniformName (GLuint, GLuint, GLsizei, GLsizei *, GLchar *); | |
5880 GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint, const GLchar *); | |
5881 GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint, GLuint, GLenum, GLint *); | |
5882 GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint, GLuint, GLsizei, GLsizei *, GLchar *); | |
5883 GLAPI void APIENTRY glUniformBlockBinding (GLuint, GLuint, GLuint); | |
5884 #endif /* GL_GLEXT_PROTOTYPES */ | |
5885 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar* *uniformNames, GLuint *uniformIndices); | |
5886 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); | |
5887 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); | |
5888 typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName); | |
5889 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); | |
5890 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); | |
5891 typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); | |
5892 #endif | |
5893 | |
5894 #ifndef GL_ARB_compatibility | |
5895 #define GL_ARB_compatibility 1 | |
5896 #endif | |
5897 | |
5898 #ifndef GL_ARB_copy_buffer | |
5899 #define GL_ARB_copy_buffer 1 | |
5900 #ifdef GL_GLEXT_PROTOTYPES | |
5901 GLAPI void APIENTRY glCopyBufferSubData (GLenum, GLenum, GLintptr, GLintptr, GLsizeiptr); | |
5902 #endif /* GL_GLEXT_PROTOTYPES */ | |
5903 typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); | |
5904 #endif | |
5905 | |
5906 #ifndef GL_ARB_shader_texture_lod | |
5907 #define GL_ARB_shader_texture_lod 1 | |
5908 #endif | |
5909 | |
5910 #ifndef GL_ARB_depth_clamp | |
5911 #define GL_ARB_depth_clamp 1 | |
5912 #endif | |
5913 | |
5914 #ifndef GL_ARB_draw_elements_base_vertex | |
5915 #define GL_ARB_draw_elements_base_vertex 1 | |
5916 #ifdef GL_GLEXT_PROTOTYPES | |
5917 GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum, GLsizei, GLenum, const GLvoid *, GLint); | |
5918 GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *, GLint); | |
5919 GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum, GLsizei, GLenum, const GLvoid *, GLsizei, GLint); | |
5920 GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei, const GLint *); | |
5921 #endif /* GL_GLEXT_PROTOTYPES */ | |
5922 typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); | |
5923 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); | |
5924 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex); | |
5925 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount, const GLint *basevertex); | |
5926 #endif | |
5927 | |
5928 #ifndef GL_ARB_fragment_coord_conventions | |
5929 #define GL_ARB_fragment_coord_conventions 1 | |
5930 #endif | |
5931 | |
5932 #ifndef GL_ARB_provoking_vertex | |
5933 #define GL_ARB_provoking_vertex 1 | |
5934 #ifdef GL_GLEXT_PROTOTYPES | |
5935 GLAPI void APIENTRY glProvokingVertex (GLenum); | |
5936 #endif /* GL_GLEXT_PROTOTYPES */ | |
5937 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode); | |
5938 #endif | |
5939 | |
5940 #ifndef GL_ARB_seamless_cube_map | |
5941 #define GL_ARB_seamless_cube_map 1 | |
5942 #endif | |
5943 | |
5944 #ifndef GL_ARB_sync | |
5945 #define GL_ARB_sync 1 | |
5946 #ifdef GL_GLEXT_PROTOTYPES | |
5947 GLAPI GLsync APIENTRY glFenceSync (GLenum, GLbitfield); | |
5948 GLAPI GLboolean APIENTRY glIsSync (GLsync); | |
5949 GLAPI void APIENTRY glDeleteSync (GLsync); | |
5950 GLAPI GLenum APIENTRY glClientWaitSync (GLsync, GLbitfield, GLuint64); | |
5951 GLAPI void APIENTRY glWaitSync (GLsync, GLbitfield, GLuint64); | |
5952 GLAPI void APIENTRY glGetInteger64v (GLenum, GLint64 *); | |
5953 GLAPI void APIENTRY glGetSynciv (GLsync, GLenum, GLsizei, GLsizei *, GLint *); | |
5954 #endif /* GL_GLEXT_PROTOTYPES */ | |
5955 typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags); | |
5956 typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync); | |
5957 typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); | |
5958 typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); | |
5959 typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); | |
5960 typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *params); | |
5961 typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); | |
5962 #endif | |
5963 | |
5964 #ifndef GL_ARB_texture_multisample | |
5965 #define GL_ARB_texture_multisample 1 | |
5966 #ifdef GL_GLEXT_PROTOTYPES | |
5967 GLAPI void APIENTRY glTexImage2DMultisample (GLenum, GLsizei, GLint, GLsizei, GLsizei, GLboolean); | |
5968 GLAPI void APIENTRY glTexImage3DMultisample (GLenum, GLsizei, GLint, GLsizei, GLsizei, GLsizei, GLboolean); | |
5969 GLAPI void APIENTRY glGetMultisamplefv (GLenum, GLuint, GLfloat *); | |
5970 GLAPI void APIENTRY glSampleMaski (GLuint, GLbitfield); | |
5971 #endif /* GL_GLEXT_PROTOTYPES */ | |
5972 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); | |
5973 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); | |
5974 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val); | |
5975 typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield mask); | |
5976 #endif | |
5977 | |
5978 #ifndef GL_ARB_vertex_array_bgra | |
5979 #define GL_ARB_vertex_array_bgra 1 | |
5980 #endif | |
5981 | |
5982 #ifndef GL_ARB_draw_buffers_blend | |
5983 #define GL_ARB_draw_buffers_blend 1 | |
5984 #ifdef GL_GLEXT_PROTOTYPES | |
5985 GLAPI void APIENTRY glBlendEquationi (GLuint, GLenum); | |
5986 GLAPI void APIENTRY glBlendEquationSeparatei (GLuint, GLenum, GLenum); | |
5987 GLAPI void APIENTRY glBlendFunci (GLuint, GLenum, GLenum); | |
5988 GLAPI void APIENTRY glBlendFuncSeparatei (GLuint, GLenum, GLenum, GLenum, GLenum); | |
5989 #endif /* GL_GLEXT_PROTOTYPES */ | |
5990 typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode); | |
5991 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); | |
5992 typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst); | |
5993 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); | |
5994 #endif | |
5995 | |
5996 #ifndef GL_ARB_sample_shading | |
5997 #define GL_ARB_sample_shading 1 | |
5998 #ifdef GL_GLEXT_PROTOTYPES | |
5999 GLAPI void APIENTRY glMinSampleShading (GLclampf); | |
6000 #endif /* GL_GLEXT_PROTOTYPES */ | |
6001 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLclampf value); | |
6002 #endif | |
6003 | |
6004 #ifndef GL_ARB_texture_cube_map_array | |
6005 #define GL_ARB_texture_cube_map_array 1 | |
6006 #endif | |
6007 | |
6008 #ifndef GL_ARB_texture_gather | |
6009 #define GL_ARB_texture_gather 1 | |
6010 #endif | |
6011 | |
6012 #ifndef GL_ARB_texture_query_lod | |
6013 #define GL_ARB_texture_query_lod 1 | |
5360 #endif | 6014 #endif |
5361 | 6015 |
5362 #ifndef GL_EXT_abgr | 6016 #ifndef GL_EXT_abgr |
5363 #define GL_EXT_abgr 1 | 6017 #define GL_EXT_abgr 1 |
5364 #endif | 6018 #endif |
7994 GLAPI void APIENTRY glEndTransformFeedbackNV (void); | 8648 GLAPI void APIENTRY glEndTransformFeedbackNV (void); |
7995 GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint, const GLint *, GLenum); | 8649 GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint, const GLint *, GLenum); |
7996 GLAPI void APIENTRY glBindBufferRangeNV (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr); | 8650 GLAPI void APIENTRY glBindBufferRangeNV (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr); |
7997 GLAPI void APIENTRY glBindBufferOffsetNV (GLenum, GLuint, GLuint, GLintptr); | 8651 GLAPI void APIENTRY glBindBufferOffsetNV (GLenum, GLuint, GLuint, GLintptr); |
7998 GLAPI void APIENTRY glBindBufferBaseNV (GLenum, GLuint, GLuint); | 8652 GLAPI void APIENTRY glBindBufferBaseNV (GLenum, GLuint, GLuint); |
7999 GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint, GLsizei, const GLint *, GLenum); | 8653 GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint, GLsizei, const GLchar* *, GLenum); |
8000 GLAPI void APIENTRY glActiveVaryingNV (GLuint, const GLchar *); | 8654 GLAPI void APIENTRY glActiveVaryingNV (GLuint, const GLchar *); |
8001 GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint, const GLchar *); | 8655 GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint, const GLchar *); |
8002 GLAPI void APIENTRY glGetActiveVaryingNV (GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *); | 8656 GLAPI void APIENTRY glGetActiveVaryingNV (GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *); |
8003 GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint, GLuint, GLint *); | 8657 GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint, GLuint, GLint *); |
8004 #endif /* GL_GLEXT_PROTOTYPES */ | 8658 #endif /* GL_GLEXT_PROTOTYPES */ |
8006 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void); | 8660 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void); |
8007 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode); | 8661 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode); |
8008 typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); | 8662 typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); |
8009 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); | 8663 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); |
8010 typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer); | 8664 typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer); |
8011 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); | 8665 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode); |
8012 typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name); | 8666 typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name); |
8013 typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name); | 8667 typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name); |
8014 typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); | 8668 typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); |
8015 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location); | 8669 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location); |
8016 #endif | 8670 #endif |
8063 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void); | 8717 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void); |
8064 #endif | 8718 #endif |
8065 | 8719 |
8066 #ifndef GL_NV_present_video | 8720 #ifndef GL_NV_present_video |
8067 #define GL_NV_present_video 1 | 8721 #define GL_NV_present_video 1 |
8722 #ifdef GL_GLEXT_PROTOTYPES | |
8723 GLAPI void APIENTRY glPresentFrameKeyedNV (GLuint, GLuint64EXT, GLuint, GLuint, GLenum, GLenum, GLuint, GLuint, GLenum, GLuint, GLuint); | |
8724 GLAPI void APIENTRY glPresentFrameDualFillNV (GLuint, GLuint64EXT, GLuint, GLuint, GLenum, GLenum, GLuint, GLenum, GLuint, GLenum, GLuint, GLenum, GLuint); | |
8725 GLAPI void APIENTRY glGetVideoivNV (GLuint, GLenum, GLint *); | |
8726 GLAPI void APIENTRY glGetVideouivNV (GLuint, GLenum, GLuint *); | |
8727 GLAPI void APIENTRY glGetVideoi64vNV (GLuint, GLenum, GLint64EXT *); | |
8728 GLAPI void APIENTRY glGetVideoui64vNV (GLuint, GLenum, GLuint64EXT *); | |
8729 #endif /* GL_GLEXT_PROTOTYPES */ | |
8730 typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1); | |
8731 typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3); | |
8732 typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params); | |
8733 typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params); | |
8734 typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params); | |
8735 typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params); | |
8068 #endif | 8736 #endif |
8069 | 8737 |
8070 #ifndef GL_EXT_transform_feedback | 8738 #ifndef GL_EXT_transform_feedback |
8071 #define GL_EXT_transform_feedback 1 | 8739 #define GL_EXT_transform_feedback 1 |
8072 #ifdef GL_GLEXT_PROTOTYPES | 8740 #ifdef GL_GLEXT_PROTOTYPES |
8073 GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum); | 8741 GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum); |
8074 GLAPI void APIENTRY glEndTransformFeedbackEXT (void); | 8742 GLAPI void APIENTRY glEndTransformFeedbackEXT (void); |
8075 GLAPI void APIENTRY glBindBufferRangeEXT (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr); | 8743 GLAPI void APIENTRY glBindBufferRangeEXT (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr); |
8076 GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum, GLuint, GLuint, GLintptr); | 8744 GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum, GLuint, GLuint, GLintptr); |
8077 GLAPI void APIENTRY glBindBufferBaseEXT (GLenum, GLuint, GLuint); | 8745 GLAPI void APIENTRY glBindBufferBaseEXT (GLenum, GLuint, GLuint); |
8078 GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint, GLsizei, const GLint *, GLenum); | 8746 GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint, GLsizei, const GLchar* *, GLenum); |
8079 GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint, GLuint, GLint *); | 8747 GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *); |
8080 #endif /* GL_GLEXT_PROTOTYPES */ | 8748 #endif /* GL_GLEXT_PROTOTYPES */ |
8081 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode); | 8749 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode); |
8082 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void); | 8750 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void); |
8083 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); | 8751 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); |
8084 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); | 8752 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); |
8085 typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer); | 8753 typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer); |
8086 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); | 8754 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode); |
8087 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLint *location); | 8755 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); |
8088 #endif | 8756 #endif |
8089 | 8757 |
8090 #ifndef GL_EXT_direct_state_access | 8758 #ifndef GL_EXT_direct_state_access |
8091 #define GL_EXT_direct_state_access 1 | 8759 #define GL_EXT_direct_state_access 1 |
8092 #ifdef GL_GLEXT_PROTOTYPES | 8760 #ifdef GL_GLEXT_PROTOTYPES |
8503 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void); | 9171 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void); |
8504 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void); | 9172 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void); |
8505 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id); | 9173 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id); |
8506 #endif | 9174 #endif |
8507 | 9175 |
9176 #ifndef GL_ATI_meminfo | |
9177 #define GL_ATI_meminfo 1 | |
9178 #endif | |
9179 | |
9180 #ifndef GL_AMD_performance_monitor | |
9181 #define GL_AMD_performance_monitor 1 | |
9182 #ifdef GL_GLEXT_PROTOTYPES | |
9183 GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *, GLsizei, GLuint *); | |
9184 GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint, GLint *, GLint *, GLsizei, GLuint *); | |
9185 GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint, GLsizei, GLsizei *, GLchar *); | |
9186 GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint, GLuint, GLsizei, GLsizei *, GLchar *); | |
9187 GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint, GLuint, GLenum, void *); | |
9188 GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei, GLuint *); | |
9189 GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei, GLuint *); | |
9190 GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint, GLboolean, GLuint, GLint, GLuint *); | |
9191 GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint); | |
9192 GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint); | |
9193 GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint, GLenum, GLsizei, GLuint *, GLint *); | |
9194 #endif /* GL_GLEXT_PROTOTYPES */ | |
9195 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); | |
9196 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); | |
9197 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); | |
9198 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); | |
9199 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); | |
9200 typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); | |
9201 typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); | |
9202 typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); | |
9203 typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); | |
9204 typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); | |
9205 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); | |
9206 #endif | |
9207 | |
9208 #ifndef GL_AMD_texture_texture4 | |
9209 #define GL_AMD_texture_texture4 1 | |
9210 #endif | |
9211 | |
9212 #ifndef GL_AMD_vertex_shader_tesselator | |
9213 #define GL_AMD_vertex_shader_tesselator 1 | |
9214 #ifdef GL_GLEXT_PROTOTYPES | |
9215 GLAPI void APIENTRY glTessellationFactorAMD (GLfloat); | |
9216 GLAPI void APIENTRY glTessellationModeAMD (GLenum); | |
9217 #endif /* GL_GLEXT_PROTOTYPES */ | |
9218 typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor); | |
9219 typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode); | |
9220 #endif | |
9221 | |
9222 #ifndef GL_EXT_provoking_vertex | |
9223 #define GL_EXT_provoking_vertex 1 | |
9224 #ifdef GL_GLEXT_PROTOTYPES | |
9225 GLAPI void APIENTRY glProvokingVertexEXT (GLenum); | |
9226 #endif /* GL_GLEXT_PROTOTYPES */ | |
9227 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode); | |
9228 #endif | |
9229 | |
9230 #ifndef GL_EXT_texture_snorm | |
9231 #define GL_EXT_texture_snorm 1 | |
9232 #endif | |
9233 | |
9234 #ifndef GL_AMD_draw_buffers_blend | |
9235 #define GL_AMD_draw_buffers_blend 1 | |
9236 #ifdef GL_GLEXT_PROTOTYPES | |
9237 GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint, GLenum, GLenum); | |
9238 GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint, GLenum, GLenum, GLenum, GLenum); | |
9239 GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint, GLenum); | |
9240 GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint, GLenum, GLenum); | |
9241 #endif /* GL_GLEXT_PROTOTYPES */ | |
9242 typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst); | |
9243 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); | |
9244 typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode); | |
9245 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); | |
9246 #endif | |
9247 | |
9248 #ifndef GL_APPLE_texture_range | |
9249 #define GL_APPLE_texture_range 1 | |
9250 #ifdef GL_GLEXT_PROTOTYPES | |
9251 GLAPI void APIENTRY glTextureRangeAPPLE (GLenum, GLsizei, const GLvoid *); | |
9252 GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum, GLenum, GLvoid* *); | |
9253 #endif /* GL_GLEXT_PROTOTYPES */ | |
9254 typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const GLvoid *pointer); | |
9255 typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, GLvoid* *params); | |
9256 #endif | |
9257 | |
9258 #ifndef GL_APPLE_float_pixels | |
9259 #define GL_APPLE_float_pixels 1 | |
9260 #endif | |
9261 | |
9262 #ifndef GL_APPLE_vertex_program_evaluators | |
9263 #define GL_APPLE_vertex_program_evaluators 1 | |
9264 #ifdef GL_GLEXT_PROTOTYPES | |
9265 GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint, GLenum); | |
9266 GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint, GLenum); | |
9267 GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint, GLenum); | |
9268 GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint, GLuint, GLdouble, GLdouble, GLint, GLint, const GLdouble *); | |
9269 GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint, GLuint, GLfloat, GLfloat, GLint, GLint, const GLfloat *); | |
9270 GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint, GLuint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *); | |
9271 GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint, GLuint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *); | |
9272 #endif /* GL_GLEXT_PROTOTYPES */ | |
9273 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname); | |
9274 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname); | |
9275 typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname); | |
9276 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); | |
9277 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); | |
9278 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); | |
9279 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); | |
9280 #endif | |
9281 | |
9282 #ifndef GL_APPLE_aux_depth_stencil | |
9283 #define GL_APPLE_aux_depth_stencil 1 | |
9284 #endif | |
9285 | |
9286 #ifndef GL_APPLE_object_purgeable | |
9287 #define GL_APPLE_object_purgeable 1 | |
9288 #ifdef GL_GLEXT_PROTOTYPES | |
9289 GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum, GLuint, GLenum); | |
9290 GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum, GLuint, GLenum); | |
9291 GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum, GLuint, GLenum, GLint *); | |
9292 #endif /* GL_GLEXT_PROTOTYPES */ | |
9293 typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option); | |
9294 typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option); | |
9295 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params); | |
9296 #endif | |
9297 | |
9298 #ifndef GL_APPLE_row_bytes | |
9299 #define GL_APPLE_row_bytes 1 | |
9300 #endif | |
9301 | |
8508 | 9302 |
8509 #ifdef __cplusplus | 9303 #ifdef __cplusplus |
8510 } | 9304 } |
8511 #endif | 9305 #endif |
8512 | 9306 |