00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077 #ifndef __glew_h__
00078 #define __glew_h__
00079
00080 #if defined(__gl_h_) || defined(__GL_H__)
00081 #error gl.h included before glew.h
00082 #endif
00083 #if defined(__glext_h_) || defined(__GLEXT_H_)
00084 #error glext.h included before glew.h
00085 #endif
00086 #if defined(__gl_ATI_h_)
00087 #error glATI.h included before glew.h
00088 #endif
00089
00090 #define __gl_h_
00091 #define __GL_H__
00092 #define __glext_h_
00093 #define __GLEXT_H_
00094 #define __gl_ATI_h_
00095
00096 #ifdef _WIN32
00097
00098
00099
00100
00101
00102
00103
00104 #ifndef APIENTRY
00105 #define GLEW_APIENTRY_DEFINED
00106 # if defined(__CYGWIN__) || defined(__MINGW32__)
00107 # define APIENTRY __attribute__ ((__stdcall__))
00108 # elif (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
00109 # define APIENTRY __stdcall
00110 # else
00111 # define APIENTRY
00112 # endif
00113 #endif
00114
00115 #ifndef CALLBACK
00116 #define GLEW_CALLBACK_DEFINED
00117 # if defined(__CYGWIN__) || defined(__MINGW32__)
00118 # define CALLBACK __attribute__ ((__stdcall__))
00119 # elif (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) && !defined(MIDL_PASS)
00120 # define CALLBACK __stdcall
00121 # else
00122 # define CALLBACK
00123 # endif
00124 #endif
00125
00126 #ifndef WINGDIAPI
00127 #define GLEW_WINGDIAPI_DEFINED
00128 #define WINGDIAPI __declspec(dllimport)
00129 #endif
00130
00131 #ifndef _WCHAR_T_DEFINED
00132 typedef unsigned short wchar_t;
00133 #define _WCHAR_T_DEFINED
00134 #endif
00135
00136
00137
00138
00139
00140
00141 #ifdef GLEW_STATIC
00142 #define GLEW_EXPORT
00143 #else
00144 #ifdef GLEW_BUILD
00145 #define GLEW_EXPORT __declspec(dllexport)
00146 #else
00147 #define GLEW_EXPORT __declspec(dllimport)
00148 #endif
00149 #endif
00150
00151 #else
00152
00153 #define GLEW_APIENTRY_DEFINED
00154 #define APIENTRY
00155 #define GLEW_EXPORT
00156
00157 #endif
00158
00159
00160 #define GLAPI extern
00161
00162 #ifdef __cplusplus
00163 extern "C" {
00164 #endif
00165
00166
00167 #define GL_VERSION_1_1 1
00168 #define GL_VERSION_1_2 1
00169 #define GL_VERSION_1_3 1
00170 #define GL_VERSION_1_4 1
00171
00172
00173 #define GL_ARB_depth_texture 1
00174 #define GL_ARB_fragment_program 1
00175 #define GL_ARB_imaging 1
00176 #define GL_ARB_matrix_palette 1
00177 #define GL_ARB_multisample 1
00178 #define GL_ARB_multitexture 1
00179 #define GL_ARB_point_parameters 1
00180 #define GL_ARB_shadow 1
00181 #define GL_ARB_shadow_ambient 1
00182 #define GL_ARB_texture_border_clamp 1
00183 #define GL_ARB_texture_compression 1
00184 #define GL_ARB_texture_cube_map 1
00185 #define GL_ARB_texture_env_add 1
00186 #define GL_ARB_texture_env_combine 1
00187 #define GL_ARB_texture_env_crossbar 1
00188 #define GL_ARB_texture_env_dot3 1
00189 #define GL_ARB_texture_mirrored_repeat 1
00190 #define GL_ARB_transpose_matrix 1
00191 #define GL_ARB_vertex_blend 1
00192 #define GL_ARB_vertex_program 1
00193 #define GL_ARB_window_pos 1
00194
00195
00196 #define GL_EXT_abgr 1
00197 #define GL_EXT_bgra 1
00198 #define GL_EXT_blend_color 1
00199 #define GL_EXT_blend_func_separate 1
00200 #define GL_EXT_blend_minmax 1
00201 #define GL_EXT_blend_subtract 1
00202 #define GL_EXT_clip_volume_hint 1
00203 #define GL_EXT_compiled_vertex_array 1
00204 #define GL_EXT_draw_range_elements 1
00205 #define GL_EXT_cull_vertex 1
00206 #define GL_EXT_fog_coord 1
00207 #define GL_EXT_multi_draw_arrays 1
00208 #define GL_EXT_packed_pixels 1
00209 #define GL_EXT_point_parameters 1
00210 #define GL_EXT_secondary_color 1
00211 #define GL_EXT_separate_specular_color 1
00212 #define GL_EXT_shadow_funcs 1
00213 #define GL_EXT_stencil_two_side 1
00214 #define GL_EXT_stencil_wrap 1
00215 #define GL_EXT_texture_compression_s3tc 1
00216 #define GL_EXT_texture_env_combine 1
00217 #define GL_EXT_texture_filter_anisotropic 1
00218 #define GL_EXT_texture_lod_bias 1
00219 #define GL_EXT_texture_rectangle 1
00220 #define GL_EXT_texture3D 1
00221 #define GL_EXT_vertex_shader 1
00222 #define GL_EXT_vertex_weighting 1
00223
00224
00225 #define GL_SGIS_generate_mipmap 1
00226 #define GL_SGIS_texture_lod 1
00227 #define GL_SGIX_depth_texture 1
00228 #define GL_SGIX_shadow 1
00229
00230 #define GL_HP_occlusion_test 1
00231 #define GL_S3_s3tc 1
00232 #define GL_WIN_swap_hint 1
00233
00234
00235 #define GL_ATI_draw_buffers 1
00236 #define GL_ATI_element_array 1
00237 #define GL_ATI_envmap_bumpmap 1
00238 #define GL_ATI_fragment_shader 1
00239 #define GL_ATI_map_object_buffer 1
00240 #define GL_ATI_pn_triangles 1
00241 #define GL_ATI_separate_stencil 1
00242 #define GL_ATI_text_fragment_shader 1
00243 #define GL_ATI_texture_env_combine3 1
00244 #define GL_ATI_texture_float 1
00245 #define GL_ATI_texture_mirror_once 1
00246 #define GL_ATI_vertex_array_object 1
00247 #define GL_ATI_vertex_attrib_array_object 1
00248 #define GL_ATI_vertex_streams 1
00249 #define GL_ATIX_point_sprites 1
00250 #define GL_ATIX_texture_env_combine3 1
00251 #define GL_ATIX_texture_env_route 1
00252 #define GL_ATIX_vertex_shader_output_point_size 1
00253
00254
00255 #define GL_NV_blend_square 1
00256 #define GL_NV_copy_depth_to_color 1
00257 #define GL_NV_depth_clamp 1
00258 #define GL_NV_element_array 1
00259 #define GL_NV_evaluators 1
00260 #define GL_NV_fence 1
00261 #define GL_NV_fog_distance 1
00262 #define GL_NV_float_buffer 1
00263 #define GL_NV_fragment_program 1
00264 #define GL_NV_half_float 1
00265 #define GL_NV_light_max_exponent 1
00266 #define GL_NV_multisample_filter_hint 1
00267 #define GL_NV_occlusion_query 1
00268 #define GL_NV_packed_depth_stencil 1
00269 #define GL_NV_pixel_data_range 1
00270 #define GL_NV_point_sprite 1
00271 #define GL_NV_primitive_restart 1
00272 #define GL_NV_register_combiners 1
00273 #define GL_NV_register_combiners2 1
00274 #define GL_NV_texgen_emboss 1
00275 #define GL_NV_texgen_reflection 1
00276 #define GL_NV_texture_compression_vtc 1
00277 #define GL_NV_texture_env_combine4 1
00278 #define GL_NV_texture_expand_normal 1
00279 #define GL_NV_texture_rectangle 1
00280 #define GL_NV_texture_shader 1
00281 #define GL_NV_texture_shader2 1
00282 #define GL_NV_texture_shader3 1
00283 #define GL_NV_vertex_array_range 1
00284 #define GL_NV_vertex_array_range2 1
00285 #define GL_NV_vertex_program 1
00286 #define GL_NV_vertex_program1_1 1
00287 #define GL_NV_vertex_program2 1
00288
00289
00290
00291 #ifdef GL_VERSION_1_1
00292
00293 typedef unsigned int GLenum;
00294 typedef unsigned char GLboolean;
00295 typedef unsigned int GLbitfield;
00296 typedef signed char GLbyte;
00297 typedef short GLshort;
00298 typedef int GLint;
00299 typedef int GLsizei;
00300 typedef unsigned char GLubyte;
00301 typedef unsigned short GLushort;
00302 typedef unsigned int GLuint;
00303 typedef float GLfloat;
00304 typedef float GLclampf;
00305 typedef double GLdouble;
00306 typedef double GLclampd;
00307 typedef void GLvoid;
00308
00309 #define GL_VERSION_1_1 1
00310 #define GL_ACCUM 0x0100
00311 #define GL_LOAD 0x0101
00312 #define GL_RETURN 0x0102
00313 #define GL_MULT 0x0103
00314 #define GL_ADD 0x0104
00315 #define GL_NEVER 0x0200
00316 #define GL_LESS 0x0201
00317 #define GL_EQUAL 0x0202
00318 #define GL_LEQUAL 0x0203
00319 #define GL_GREATER 0x0204
00320 #define GL_NOTEQUAL 0x0205
00321 #define GL_GEQUAL 0x0206
00322 #define GL_ALWAYS 0x0207
00323 #define GL_CURRENT_BIT 0x00000001
00324 #define GL_POINT_BIT 0x00000002
00325 #define GL_LINE_BIT 0x00000004
00326 #define GL_POLYGON_BIT 0x00000008
00327 #define GL_POLYGON_STIPPLE_BIT 0x00000010
00328 #define GL_PIXEL_MODE_BIT 0x00000020
00329 #define GL_LIGHTING_BIT 0x00000040
00330 #define GL_FOG_BIT 0x00000080
00331 #define GL_DEPTH_BUFFER_BIT 0x00000100
00332 #define GL_ACCUM_BUFFER_BIT 0x00000200
00333 #define GL_STENCIL_BUFFER_BIT 0x00000400
00334 #define GL_VIEWPORT_BIT 0x00000800
00335 #define GL_TRANSFORM_BIT 0x00001000
00336 #define GL_ENABLE_BIT 0x00002000
00337 #define GL_COLOR_BUFFER_BIT 0x00004000
00338 #define GL_HINT_BIT 0x00008000
00339 #define GL_EVAL_BIT 0x00010000
00340 #define GL_LIST_BIT 0x00020000
00341 #define GL_TEXTURE_BIT 0x00040000
00342 #define GL_SCISSOR_BIT 0x00080000
00343 #define GL_ALL_ATTRIB_BITS 0x000fffff
00344 #define GL_POINTS 0x0000
00345 #define GL_LINES 0x0001
00346 #define GL_LINE_LOOP 0x0002
00347 #define GL_LINE_STRIP 0x0003
00348 #define GL_TRIANGLES 0x0004
00349 #define GL_TRIANGLE_STRIP 0x0005
00350 #define GL_TRIANGLE_FAN 0x0006
00351 #define GL_QUADS 0x0007
00352 #define GL_QUAD_STRIP 0x0008
00353 #define GL_POLYGON 0x0009
00354 #define GL_ZERO 0
00355 #define GL_ONE 1
00356 #define GL_SRC_COLOR 0x0300
00357 #define GL_ONE_MINUS_SRC_COLOR 0x0301
00358 #define GL_SRC_ALPHA 0x0302
00359 #define GL_ONE_MINUS_SRC_ALPHA 0x0303
00360 #define GL_DST_ALPHA 0x0304
00361 #define GL_ONE_MINUS_DST_ALPHA 0x0305
00362 #define GL_DST_COLOR 0x0306
00363 #define GL_ONE_MINUS_DST_COLOR 0x0307
00364 #define GL_SRC_ALPHA_SATURATE 0x0308
00365 #define GL_TRUE 1
00366 #define GL_FALSE 0
00367 #define GL_CLIP_PLANE0 0x3000
00368 #define GL_CLIP_PLANE1 0x3001
00369 #define GL_CLIP_PLANE2 0x3002
00370 #define GL_CLIP_PLANE3 0x3003
00371 #define GL_CLIP_PLANE4 0x3004
00372 #define GL_CLIP_PLANE5 0x3005
00373 #define GL_BYTE 0x1400
00374 #define GL_UNSIGNED_BYTE 0x1401
00375 #define GL_SHORT 0x1402
00376 #define GL_UNSIGNED_SHORT 0x1403
00377 #define GL_INT 0x1404
00378 #define GL_UNSIGNED_INT 0x1405
00379 #define GL_FLOAT 0x1406
00380 #define GL_2_BYTES 0x1407
00381 #define GL_3_BYTES 0x1408
00382 #define GL_4_BYTES 0x1409
00383 #define GL_DOUBLE 0x140A
00384 #define GL_NONE 0
00385 #define GL_FRONT_LEFT 0x0400
00386 #define GL_FRONT_RIGHT 0x0401
00387 #define GL_BACK_LEFT 0x0402
00388 #define GL_BACK_RIGHT 0x0403
00389 #define GL_FRONT 0x0404
00390 #define GL_BACK 0x0405
00391 #define GL_LEFT 0x0406
00392 #define GL_RIGHT 0x0407
00393 #define GL_FRONT_AND_BACK 0x0408
00394 #define GL_AUX0 0x0409
00395 #define GL_AUX1 0x040A
00396 #define GL_AUX2 0x040B
00397 #define GL_AUX3 0x040C
00398 #define GL_NO_ERROR 0
00399 #define GL_INVALID_ENUM 0x0500
00400 #define GL_INVALID_VALUE 0x0501
00401 #define GL_INVALID_OPERATION 0x0502
00402 #define GL_STACK_OVERFLOW 0x0503
00403 #define GL_STACK_UNDERFLOW 0x0504
00404 #define GL_OUT_OF_MEMORY 0x0505
00405 #define GL_2D 0x0600
00406 #define GL_3D 0x0601
00407 #define GL_3D_COLOR 0x0602
00408 #define GL_3D_COLOR_TEXTURE 0x0603
00409 #define GL_4D_COLOR_TEXTURE 0x0604
00410 #define GL_PASS_THROUGH_TOKEN 0x0700
00411 #define GL_POINT_TOKEN 0x0701
00412 #define GL_LINE_TOKEN 0x0702
00413 #define GL_POLYGON_TOKEN 0x0703
00414 #define GL_BITMAP_TOKEN 0x0704
00415 #define GL_DRAW_PIXEL_TOKEN 0x0705
00416 #define GL_COPY_PIXEL_TOKEN 0x0706
00417 #define GL_LINE_RESET_TOKEN 0x0707
00418 #define GL_EXP 0x0800
00419 #define GL_EXP2 0x0801
00420 #define GL_CW 0x0900
00421 #define GL_CCW 0x0901
00422 #define GL_COEFF 0x0A00
00423 #define GL_ORDER 0x0A01
00424 #define GL_DOMAIN 0x0A02
00425 #define GL_CURRENT_COLOR 0x0B00
00426 #define GL_CURRENT_INDEX 0x0B01
00427 #define GL_CURRENT_NORMAL 0x0B02
00428 #define GL_CURRENT_TEXTURE_COORDS 0x0B03
00429 #define GL_CURRENT_RASTER_COLOR 0x0B04
00430 #define GL_CURRENT_RASTER_INDEX 0x0B05
00431 #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06
00432 #define GL_CURRENT_RASTER_POSITION 0x0B07
00433 #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08
00434 #define GL_CURRENT_RASTER_DISTANCE 0x0B09
00435 #define GL_POINT_SMOOTH 0x0B10
00436 #define GL_POINT_SIZE 0x0B11
00437 #define GL_POINT_SIZE_RANGE 0x0B12
00438 #define GL_POINT_SIZE_GRANULARITY 0x0B13
00439 #define GL_LINE_SMOOTH 0x0B20
00440 #define GL_LINE_WIDTH 0x0B21
00441 #define GL_LINE_WIDTH_RANGE 0x0B22
00442 #define GL_LINE_WIDTH_GRANULARITY 0x0B23
00443 #define GL_LINE_STIPPLE 0x0B24
00444 #define GL_LINE_STIPPLE_PATTERN 0x0B25
00445 #define GL_LINE_STIPPLE_REPEAT 0x0B26
00446 #define GL_LIST_MODE 0x0B30
00447 #define GL_MAX_LIST_NESTING 0x0B31
00448 #define GL_LIST_BASE 0x0B32
00449 #define GL_LIST_INDEX 0x0B33
00450 #define GL_POLYGON_MODE 0x0B40
00451 #define GL_POLYGON_SMOOTH 0x0B41
00452 #define GL_POLYGON_STIPPLE 0x0B42
00453 #define GL_EDGE_FLAG 0x0B43
00454 #define GL_CULL_FACE 0x0B44
00455 #define GL_CULL_FACE_MODE 0x0B45
00456 #define GL_FRONT_FACE 0x0B46
00457 #define GL_LIGHTING 0x0B50
00458 #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
00459 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
00460 #define GL_LIGHT_MODEL_AMBIENT 0x0B53
00461 #define GL_SHADE_MODEL 0x0B54
00462 #define GL_COLOR_MATERIAL_FACE 0x0B55
00463 #define GL_COLOR_MATERIAL_PARAMETER 0x0B56
00464 #define GL_COLOR_MATERIAL 0x0B57
00465 #define GL_FOG 0x0B60
00466 #define GL_FOG_INDEX 0x0B61
00467 #define GL_FOG_DENSITY 0x0B62
00468 #define GL_FOG_START 0x0B63
00469 #define GL_FOG_END 0x0B64
00470 #define GL_FOG_MODE 0x0B65
00471 #define GL_FOG_COLOR 0x0B66
00472 #define GL_DEPTH_RANGE 0x0B70
00473 #define GL_DEPTH_TEST 0x0B71
00474 #define GL_DEPTH_WRITEMASK 0x0B72
00475 #define GL_DEPTH_CLEAR_VALUE 0x0B73
00476 #define GL_DEPTH_FUNC 0x0B74
00477 #define GL_ACCUM_CLEAR_VALUE 0x0B80
00478 #define GL_STENCIL_TEST 0x0B90
00479 #define GL_STENCIL_CLEAR_VALUE 0x0B91
00480 #define GL_STENCIL_FUNC 0x0B92
00481 #define GL_STENCIL_VALUE_MASK 0x0B93
00482 #define GL_STENCIL_FAIL 0x0B94
00483 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
00484 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
00485 #define GL_STENCIL_REF 0x0B97
00486 #define GL_STENCIL_WRITEMASK 0x0B98
00487 #define GL_MATRIX_MODE 0x0BA0
00488 #define GL_NORMALIZE 0x0BA1
00489 #define GL_VIEWPORT 0x0BA2
00490 #define GL_MODELVIEW_STACK_DEPTH 0x0BA3
00491 #define GL_PROJECTION_STACK_DEPTH 0x0BA4
00492 #define GL_TEXTURE_STACK_DEPTH 0x0BA5
00493 #define GL_MODELVIEW_MATRIX 0x0BA6
00494 #define GL_PROJECTION_MATRIX 0x0BA7
00495 #define GL_TEXTURE_MATRIX 0x0BA8
00496 #define GL_ATTRIB_STACK_DEPTH 0x0BB0
00497 #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1
00498 #define GL_ALPHA_TEST 0x0BC0
00499 #define GL_ALPHA_TEST_FUNC 0x0BC1
00500 #define GL_ALPHA_TEST_REF 0x0BC2
00501 #define GL_DITHER 0x0BD0
00502 #define GL_BLEND_DST 0x0BE0
00503 #define GL_BLEND_SRC 0x0BE1
00504 #define GL_BLEND 0x0BE2
00505 #define GL_LOGIC_OP_MODE 0x0BF0
00506 #define GL_INDEX_LOGIC_OP 0x0BF1
00507 #define GL_COLOR_LOGIC_OP 0x0BF2
00508 #define GL_AUX_BUFFERS 0x0C00
00509 #define GL_DRAW_BUFFER 0x0C01
00510 #define GL_READ_BUFFER 0x0C02
00511 #define GL_SCISSOR_BOX 0x0C10
00512 #define GL_SCISSOR_TEST 0x0C11
00513 #define GL_INDEX_CLEAR_VALUE 0x0C20
00514 #define GL_INDEX_WRITEMASK 0x0C21
00515 #define GL_COLOR_CLEAR_VALUE 0x0C22
00516 #define GL_COLOR_WRITEMASK 0x0C23
00517 #define GL_INDEX_MODE 0x0C30
00518 #define GL_RGBA_MODE 0x0C31
00519 #define GL_DOUBLEBUFFER 0x0C32
00520 #define GL_STEREO 0x0C33
00521 #define GL_RENDER_MODE 0x0C40
00522 #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
00523 #define GL_POINT_SMOOTH_HINT 0x0C51
00524 #define GL_LINE_SMOOTH_HINT 0x0C52
00525 #define GL_POLYGON_SMOOTH_HINT 0x0C53
00526 #define GL_FOG_HINT 0x0C54
00527 #define GL_TEXTURE_GEN_S 0x0C60
00528 #define GL_TEXTURE_GEN_T 0x0C61
00529 #define GL_TEXTURE_GEN_R 0x0C62
00530 #define GL_TEXTURE_GEN_Q 0x0C63
00531 #define GL_PIXEL_MAP_I_TO_I 0x0C70
00532 #define GL_PIXEL_MAP_S_TO_S 0x0C71
00533 #define GL_PIXEL_MAP_I_TO_R 0x0C72
00534 #define GL_PIXEL_MAP_I_TO_G 0x0C73
00535 #define GL_PIXEL_MAP_I_TO_B 0x0C74
00536 #define GL_PIXEL_MAP_I_TO_A 0x0C75
00537 #define GL_PIXEL_MAP_R_TO_R 0x0C76
00538 #define GL_PIXEL_MAP_G_TO_G 0x0C77
00539 #define GL_PIXEL_MAP_B_TO_B 0x0C78
00540 #define GL_PIXEL_MAP_A_TO_A 0x0C79
00541 #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
00542 #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
00543 #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
00544 #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
00545 #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
00546 #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
00547 #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
00548 #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
00549 #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
00550 #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
00551 #define GL_UNPACK_SWAP_BYTES 0x0CF0
00552 #define GL_UNPACK_LSB_FIRST 0x0CF1
00553 #define GL_UNPACK_ROW_LENGTH 0x0CF2
00554 #define GL_UNPACK_SKIP_ROWS 0x0CF3
00555 #define GL_UNPACK_SKIP_PIXELS 0x0CF4
00556 #define GL_UNPACK_ALIGNMENT 0x0CF5
00557 #define GL_PACK_SWAP_BYTES 0x0D00
00558 #define GL_PACK_LSB_FIRST 0x0D01
00559 #define GL_PACK_ROW_LENGTH 0x0D02
00560 #define GL_PACK_SKIP_ROWS 0x0D03
00561 #define GL_PACK_SKIP_PIXELS 0x0D04
00562 #define GL_PACK_ALIGNMENT 0x0D05
00563 #define GL_MAP_COLOR 0x0D10
00564 #define GL_MAP_STENCIL 0x0D11
00565 #define GL_INDEX_SHIFT 0x0D12
00566 #define GL_INDEX_OFFSET 0x0D13
00567 #define GL_RED_SCALE 0x0D14
00568 #define GL_RED_BIAS 0x0D15
00569 #define GL_ZOOM_X 0x0D16
00570 #define GL_ZOOM_Y 0x0D17
00571 #define GL_GREEN_SCALE 0x0D18
00572 #define GL_GREEN_BIAS 0x0D19
00573 #define GL_BLUE_SCALE 0x0D1A
00574 #define GL_BLUE_BIAS 0x0D1B
00575 #define GL_ALPHA_SCALE 0x0D1C
00576 #define GL_ALPHA_BIAS 0x0D1D
00577 #define GL_DEPTH_SCALE 0x0D1E
00578 #define GL_DEPTH_BIAS 0x0D1F
00579 #define GL_MAX_EVAL_ORDER 0x0D30
00580 #define GL_MAX_LIGHTS 0x0D31
00581 #define GL_MAX_CLIP_PLANES 0x0D32
00582 #define GL_MAX_TEXTURE_SIZE 0x0D33
00583 #define GL_MAX_PIXEL_MAP_TABLE 0x0D34
00584 #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35
00585 #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
00586 #define GL_MAX_NAME_STACK_DEPTH 0x0D37
00587 #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
00588 #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
00589 #define GL_MAX_VIEWPORT_DIMS 0x0D3A
00590 #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B
00591 #define GL_SUBPIXEL_BITS 0x0D50
00592 #define GL_INDEX_BITS 0x0D51
00593 #define GL_RED_BITS 0x0D52
00594 #define GL_GREEN_BITS 0x0D53
00595 #define GL_BLUE_BITS 0x0D54
00596 #define GL_ALPHA_BITS 0x0D55
00597 #define GL_DEPTH_BITS 0x0D56
00598 #define GL_STENCIL_BITS 0x0D57
00599 #define GL_ACCUM_RED_BITS 0x0D58
00600 #define GL_ACCUM_GREEN_BITS 0x0D59
00601 #define GL_ACCUM_BLUE_BITS 0x0D5A
00602 #define GL_ACCUM_ALPHA_BITS 0x0D5B
00603 #define GL_NAME_STACK_DEPTH 0x0D70
00604 #define GL_AUTO_NORMAL 0x0D80
00605 #define GL_MAP1_COLOR_4 0x0D90
00606 #define GL_MAP1_INDEX 0x0D91
00607 #define GL_MAP1_NORMAL 0x0D92
00608 #define GL_MAP1_TEXTURE_COORD_1 0x0D93
00609 #define GL_MAP1_TEXTURE_COORD_2 0x0D94
00610 #define GL_MAP1_TEXTURE_COORD_3 0x0D95
00611 #define GL_MAP1_TEXTURE_COORD_4 0x0D96
00612 #define GL_MAP1_VERTEX_3 0x0D97
00613 #define GL_MAP1_VERTEX_4 0x0D98
00614 #define GL_MAP2_COLOR_4 0x0DB0
00615 #define GL_MAP2_INDEX 0x0DB1
00616 #define GL_MAP2_NORMAL 0x0DB2
00617 #define GL_MAP2_TEXTURE_COORD_1 0x0DB3
00618 #define GL_MAP2_TEXTURE_COORD_2 0x0DB4
00619 #define GL_MAP2_TEXTURE_COORD_3 0x0DB5
00620 #define GL_MAP2_TEXTURE_COORD_4 0x0DB6
00621 #define GL_MAP2_VERTEX_3 0x0DB7
00622 #define GL_MAP2_VERTEX_4 0x0DB8
00623 #define GL_MAP1_GRID_DOMAIN 0x0DD0
00624 #define GL_MAP1_GRID_SEGMENTS 0x0DD1
00625 #define GL_MAP2_GRID_DOMAIN 0x0DD2
00626 #define GL_MAP2_GRID_SEGMENTS 0x0DD3
00627 #define GL_TEXTURE_1D 0x0DE0
00628 #define GL_TEXTURE_2D 0x0DE1
00629 #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0
00630 #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1
00631 #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2
00632 #define GL_SELECTION_BUFFER_POINTER 0x0DF3
00633 #define GL_SELECTION_BUFFER_SIZE 0x0DF4
00634 #define GL_TEXTURE_WIDTH 0x1000
00635 #define GL_TEXTURE_HEIGHT 0x1001
00636 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003
00637 #define GL_TEXTURE_BORDER_COLOR 0x1004
00638 #define GL_TEXTURE_BORDER 0x1005
00639 #define GL_DONT_CARE 0x1100
00640 #define GL_FASTEST 0x1101
00641 #define GL_NICEST 0x1102
00642 #define GL_LIGHT0 0x4000
00643 #define GL_LIGHT1 0x4001
00644 #define GL_LIGHT2 0x4002
00645 #define GL_LIGHT3 0x4003
00646 #define GL_LIGHT4 0x4004
00647 #define GL_LIGHT5 0x4005
00648 #define GL_LIGHT6 0x4006
00649 #define GL_LIGHT7 0x4007
00650 #define GL_AMBIENT 0x1200
00651 #define GL_DIFFUSE 0x1201
00652 #define GL_SPECULAR 0x1202
00653 #define GL_POSITION 0x1203
00654 #define GL_SPOT_DIRECTION 0x1204
00655 #define GL_SPOT_EXPONENT 0x1205
00656 #define GL_SPOT_CUTOFF 0x1206
00657 #define GL_CONSTANT_ATTENUATION 0x1207
00658 #define GL_LINEAR_ATTENUATION 0x1208
00659 #define GL_QUADRATIC_ATTENUATION 0x1209
00660 #define GL_COMPILE 0x1300
00661 #define GL_COMPILE_AND_EXECUTE 0x1301
00662 #define GL_CLEAR 0x1500
00663 #define GL_AND 0x1501
00664 #define GL_AND_REVERSE 0x1502
00665 #define GL_COPY 0x1503
00666 #define GL_AND_INVERTED 0x1504
00667 #define GL_NOOP 0x1505
00668 #define GL_XOR 0x1506
00669 #define GL_OR 0x1507
00670 #define GL_NOR 0x1508
00671 #define GL_EQUIV 0x1509
00672 #define GL_INVERT 0x150A
00673 #define GL_OR_REVERSE 0x150B
00674 #define GL_COPY_INVERTED 0x150C
00675 #define GL_OR_INVERTED 0x150D
00676 #define GL_NAND 0x150E
00677 #define GL_SET 0x150F
00678 #define GL_EMISSION 0x1600
00679 #define GL_SHININESS 0x1601
00680 #define GL_AMBIENT_AND_DIFFUSE 0x1602
00681 #define GL_COLOR_INDEXES 0x1603
00682 #define GL_MODELVIEW 0x1700
00683 #define GL_PROJECTION 0x1701
00684 #define GL_TEXTURE 0x1702
00685 #define GL_COLOR 0x1800
00686 #define GL_DEPTH 0x1801
00687 #define GL_STENCIL 0x1802
00688 #define GL_COLOR_INDEX 0x1900
00689 #define GL_STENCIL_INDEX 0x1901
00690 #define GL_DEPTH_COMPONENT 0x1902
00691 #define GL_RED 0x1903
00692 #define GL_GREEN 0x1904
00693 #define GL_BLUE 0x1905
00694 #define GL_ALPHA 0x1906
00695 #define GL_RGB 0x1907
00696 #define GL_RGBA 0x1908
00697 #define GL_LUMINANCE 0x1909
00698 #define GL_LUMINANCE_ALPHA 0x190A
00699 #define GL_BITMAP 0x1A00
00700 #define GL_POINT 0x1B00
00701 #define GL_LINE 0x1B01
00702 #define GL_FILL 0x1B02
00703 #define GL_RENDER 0x1C00
00704 #define GL_FEEDBACK 0x1C01
00705 #define GL_SELECT 0x1C02
00706 #define GL_FLAT 0x1D00
00707 #define GL_SMOOTH 0x1D01
00708 #define GL_KEEP 0x1E00
00709 #define GL_REPLACE 0x1E01
00710 #define GL_INCR 0x1E02
00711 #define GL_DECR 0x1E03
00712 #define GL_VENDOR 0x1F00
00713 #define GL_RENDERER 0x1F01
00714 #define GL_VERSION 0x1F02
00715 #define GL_EXTENSIONS 0x1F03
00716 #define GL_S 0x2000
00717 #define GL_T 0x2001
00718 #define GL_R 0x2002
00719 #define GL_Q 0x2003
00720 #define GL_MODULATE 0x2100
00721 #define GL_DECAL 0x2101
00722 #define GL_TEXTURE_ENV_MODE 0x2200
00723 #define GL_TEXTURE_ENV_COLOR 0x2201
00724 #define GL_TEXTURE_ENV 0x2300
00725 #define GL_EYE_LINEAR 0x2400
00726 #define GL_OBJECT_LINEAR 0x2401
00727 #define GL_SPHERE_MAP 0x2402
00728 #define GL_TEXTURE_GEN_MODE 0x2500
00729 #define GL_OBJECT_PLANE 0x2501
00730 #define GL_EYE_PLANE 0x2502
00731 #define GL_NEAREST 0x2600
00732 #define GL_LINEAR 0x2601
00733 #define GL_NEAREST_MIPMAP_NEAREST 0x2700
00734 #define GL_LINEAR_MIPMAP_NEAREST 0x2701
00735 #define GL_NEAREST_MIPMAP_LINEAR 0x2702
00736 #define GL_LINEAR_MIPMAP_LINEAR 0x2703
00737 #define GL_TEXTURE_MAG_FILTER 0x2800
00738 #define GL_TEXTURE_MIN_FILTER 0x2801
00739 #define GL_TEXTURE_WRAP_S 0x2802
00740 #define GL_TEXTURE_WRAP_T 0x2803
00741 #define GL_CLAMP 0x2900
00742 #define GL_REPEAT 0x2901
00743 #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
00744 #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
00745 #define GL_CLIENT_ALL_ATTRIB_BITS 0xffffffff
00746 #define GL_POLYGON_OFFSET_FACTOR 0x8038
00747 #define GL_POLYGON_OFFSET_UNITS 0x2A00
00748 #define GL_POLYGON_OFFSET_POINT 0x2A01
00749 #define GL_POLYGON_OFFSET_LINE 0x2A02
00750 #define GL_POLYGON_OFFSET_FILL 0x8037
00751 #define GL_ALPHA4 0x803B
00752 #define GL_ALPHA8 0x803C
00753 #define GL_ALPHA12 0x803D
00754 #define GL_ALPHA16 0x803E
00755 #define GL_LUMINANCE4 0x803F
00756 #define GL_LUMINANCE8 0x8040
00757 #define GL_LUMINANCE12 0x8041
00758 #define GL_LUMINANCE16 0x8042
00759 #define GL_LUMINANCE4_ALPHA4 0x8043
00760 #define GL_LUMINANCE6_ALPHA2 0x8044
00761 #define GL_LUMINANCE8_ALPHA8 0x8045
00762 #define GL_LUMINANCE12_ALPHA4 0x8046
00763 #define GL_LUMINANCE12_ALPHA12 0x8047
00764 #define GL_LUMINANCE16_ALPHA16 0x8048
00765 #define GL_INTENSITY 0x8049
00766 #define GL_INTENSITY4 0x804A
00767 #define GL_INTENSITY8 0x804B
00768 #define GL_INTENSITY12 0x804C
00769 #define GL_INTENSITY16 0x804D
00770 #define GL_R3_G3_B2 0x2A10
00771 #define GL_RGB4 0x804F
00772 #define GL_RGB5 0x8050
00773 #define GL_RGB8 0x8051
00774 #define GL_RGB10 0x8052
00775 #define GL_RGB12 0x8053
00776 #define GL_RGB16 0x8054
00777 #define GL_RGBA2 0x8055
00778 #define GL_RGBA4 0x8056
00779 #define GL_RGB5_A1 0x8057
00780 #define GL_RGBA8 0x8058
00781 #define GL_RGB10_A2 0x8059
00782 #define GL_RGBA12 0x805A
00783 #define GL_RGBA16 0x805B
00784 #define GL_TEXTURE_RED_SIZE 0x805C
00785 #define GL_TEXTURE_GREEN_SIZE 0x805D
00786 #define GL_TEXTURE_BLUE_SIZE 0x805E
00787 #define GL_TEXTURE_ALPHA_SIZE 0x805F
00788 #define GL_TEXTURE_LUMINANCE_SIZE 0x8060
00789 #define GL_TEXTURE_INTENSITY_SIZE 0x8061
00790 #define GL_PROXY_TEXTURE_1D 0x8063
00791 #define GL_PROXY_TEXTURE_2D 0x8064
00792 #define GL_TEXTURE_PRIORITY 0x8066
00793 #define GL_TEXTURE_RESIDENT 0x8067
00794 #define GL_TEXTURE_BINDING_1D 0x8068
00795 #define GL_TEXTURE_BINDING_2D 0x8069
00796 #define GL_VERTEX_ARRAY 0x8074
00797 #define GL_NORMAL_ARRAY 0x8075
00798 #define GL_COLOR_ARRAY 0x8076
00799 #define GL_INDEX_ARRAY 0x8077
00800 #define GL_TEXTURE_COORD_ARRAY 0x8078
00801 #define GL_EDGE_FLAG_ARRAY 0x8079
00802 #define GL_VERTEX_ARRAY_SIZE 0x807A
00803 #define GL_VERTEX_ARRAY_TYPE 0x807B
00804 #define GL_VERTEX_ARRAY_STRIDE 0x807C
00805 #define GL_NORMAL_ARRAY_TYPE 0x807E
00806 #define GL_NORMAL_ARRAY_STRIDE 0x807F
00807 #define GL_COLOR_ARRAY_SIZE 0x8081
00808 #define GL_COLOR_ARRAY_TYPE 0x8082
00809 #define GL_COLOR_ARRAY_STRIDE 0x8083
00810 #define GL_INDEX_ARRAY_TYPE 0x8085
00811 #define GL_INDEX_ARRAY_STRIDE 0x8086
00812 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
00813 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
00814 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
00815 #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C
00816 #define GL_VERTEX_ARRAY_POINTER 0x808E
00817 #define GL_NORMAL_ARRAY_POINTER 0x808F
00818 #define GL_COLOR_ARRAY_POINTER 0x8090
00819 #define GL_INDEX_ARRAY_POINTER 0x8091
00820 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
00821 #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093
00822 #define GL_V2F 0x2A20
00823 #define GL_V3F 0x2A21
00824 #define GL_C4UB_V2F 0x2A22
00825 #define GL_C4UB_V3F 0x2A23
00826 #define GL_C3F_V3F 0x2A24
00827 #define GL_N3F_V3F 0x2A25
00828 #define GL_C4F_N3F_V3F 0x2A26
00829 #define GL_T2F_V3F 0x2A27
00830 #define GL_T4F_V4F 0x2A28
00831 #define GL_T2F_C4UB_V3F 0x2A29
00832 #define GL_T2F_C3F_V3F 0x2A2A
00833 #define GL_T2F_N3F_V3F 0x2A2B
00834 #define GL_T2F_C4F_N3F_V3F 0x2A2C
00835 #define GL_T4F_C4F_N3F_V4F 0x2A2D
00836 #define GL_LOGIC_OP GL_INDEX_LOGIC_OP
00837 #define GL_TEXTURE_COMPONENTS GL_TEXTURE_INTERNAL_FORMAT
00838 #define GL_COLOR_INDEX1_EXT 0x80E2
00839 #define GL_COLOR_INDEX2_EXT 0x80E3
00840 #define GL_COLOR_INDEX4_EXT 0x80E4
00841 #define GL_COLOR_INDEX8_EXT 0x80E5
00842 #define GL_COLOR_INDEX12_EXT 0x80E6
00843 #define GL_COLOR_INDEX16_EXT 0x80E7
00844
00845 extern void APIENTRY glAccum (GLenum op, GLfloat value);
00846 extern void APIENTRY glAlphaFunc (GLenum func, GLclampf ref);
00847 extern GLboolean APIENTRY glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences);
00848 extern void APIENTRY glArrayElement (GLint i);
00849 extern void APIENTRY glBegin (GLenum mode);
00850 extern void APIENTRY glBindTexture (GLenum target, GLuint texture);
00851 extern void APIENTRY glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
00852 extern void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
00853 extern void APIENTRY glCallList (GLuint list);
00854 extern void APIENTRY glCallLists (GLsizei n, GLenum type, const GLvoid *lists);
00855 extern void APIENTRY glClear (GLbitfield mask);
00856 extern void APIENTRY glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
00857 extern void APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
00858 extern void APIENTRY glClearDepth (GLclampd depth);
00859 extern void APIENTRY glClearIndex (GLfloat c);
00860 extern void APIENTRY glClearStencil (GLint s);
00861 extern void APIENTRY glClipPlane (GLenum plane, const GLdouble *equation);
00862 extern void APIENTRY glColor3b (GLbyte red, GLbyte green, GLbyte blue);
00863 extern void APIENTRY glColor3bv (const GLbyte *v);
00864 extern void APIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue);
00865 extern void APIENTRY glColor3dv (const GLdouble *v);
00866 extern void APIENTRY glColor3f (GLfloat red, GLfloat green, GLfloat blue);
00867 extern void APIENTRY glColor3fv (const GLfloat *v);
00868 extern void APIENTRY glColor3i (GLint red, GLint green, GLint blue);
00869 extern void APIENTRY glColor3iv (const GLint *v);
00870 extern void APIENTRY glColor3s (GLshort red, GLshort green, GLshort blue);
00871 extern void APIENTRY glColor3sv (const GLshort *v);
00872 extern void APIENTRY glColor3ub (GLubyte red, GLubyte green, GLubyte blue);
00873 extern void APIENTRY glColor3ubv (const GLubyte *v);
00874 extern void APIENTRY glColor3ui (GLuint red, GLuint green, GLuint blue);
00875 extern void APIENTRY glColor3uiv (const GLuint *v);
00876 extern void APIENTRY glColor3us (GLushort red, GLushort green, GLushort blue);
00877 extern void APIENTRY glColor3usv (const GLushort *v);
00878 extern void APIENTRY glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
00879 extern void APIENTRY glColor4bv (const GLbyte *v);
00880 extern void APIENTRY glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
00881 extern void APIENTRY glColor4dv (const GLdouble *v);
00882 extern void APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
00883 extern void APIENTRY glColor4fv (const GLfloat *v);
00884 extern void APIENTRY glColor4i (GLint red, GLint green, GLint blue, GLint alpha);
00885 extern void APIENTRY glColor4iv (const GLint *v);
00886 extern void APIENTRY glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha);
00887 extern void APIENTRY glColor4sv (const GLshort *v);
00888 extern void APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
00889 extern void APIENTRY glColor4ubv (const GLubyte *v);
00890 extern void APIENTRY glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha);
00891 extern void APIENTRY glColor4uiv (const GLuint *v);
00892 extern void APIENTRY glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha);
00893 extern void APIENTRY glColor4usv (const GLushort *v);
00894 extern void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
00895 extern void APIENTRY glColorMaterial (GLenum face, GLenum mode);
00896 extern void APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
00897 extern void APIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
00898 extern void APIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
00899 extern void APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
00900 extern void APIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
00901 extern void APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
00902 extern void APIENTRY glCullFace (GLenum mode);
00903 extern void APIENTRY glDeleteLists (GLuint list, GLsizei range);
00904 extern void APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
00905 extern void APIENTRY glDepthFunc (GLenum func);
00906 extern void APIENTRY glDepthMask (GLboolean flag);
00907 extern void APIENTRY glDepthRange (GLclampd zNear, GLclampd zFar);
00908 extern void APIENTRY glDisable (GLenum cap);
00909 extern void APIENTRY glDisableClientState (GLenum array);
00910 extern void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
00911 extern void APIENTRY glDrawBuffer (GLenum mode);
00912 extern void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
00913 extern void APIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
00914 extern void APIENTRY glEdgeFlag (GLboolean flag);
00915 extern void APIENTRY glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer);
00916 extern void APIENTRY glEdgeFlagv (const GLboolean *flag);
00917 extern void APIENTRY glEnable (GLenum cap);
00918 extern void APIENTRY glEnableClientState (GLenum array);
00919 extern void APIENTRY glEnd (void);
00920 extern void APIENTRY glEndList (void);
00921 extern void APIENTRY glEvalCoord1d (GLdouble u);
00922 extern void APIENTRY glEvalCoord1dv (const GLdouble *u);
00923 extern void APIENTRY glEvalCoord1f (GLfloat u);
00924 extern void APIENTRY glEvalCoord1fv (const GLfloat *u);
00925 extern void APIENTRY glEvalCoord2d (GLdouble u, GLdouble v);
00926 extern void APIENTRY glEvalCoord2dv (const GLdouble *u);
00927 extern void APIENTRY glEvalCoord2f (GLfloat u, GLfloat v);
00928 extern void APIENTRY glEvalCoord2fv (const GLfloat *u);
00929 extern void APIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2);
00930 extern void APIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
00931 extern void APIENTRY glEvalPoint1 (GLint i);
00932 extern void APIENTRY glEvalPoint2 (GLint i, GLint j);
00933 extern void APIENTRY glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer);
00934 extern void APIENTRY glFinish (void);
00935 extern void APIENTRY glFlush (void);
00936 extern void APIENTRY glFogf (GLenum pname, GLfloat param);
00937 extern void APIENTRY glFogfv (GLenum pname, const GLfloat *params);
00938 extern void APIENTRY glFogi (GLenum pname, GLint param);
00939 extern void APIENTRY glFogiv (GLenum pname, const GLint *params);
00940 extern void APIENTRY glFrontFace (GLenum mode);
00941 extern void APIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
00942 extern GLuint APIENTRY glGenLists (GLsizei range);
00943 extern void APIENTRY glGenTextures (GLsizei n, GLuint *textures);
00944 extern void APIENTRY glGetBooleanv (GLenum pname, GLboolean *params);
00945 extern void APIENTRY glGetClipPlane (GLenum plane, GLdouble *equation);
00946 extern void APIENTRY glGetDoublev (GLenum pname, GLdouble *params);
00947 extern GLenum APIENTRY glGetError (void);
00948 extern void APIENTRY glGetFloatv (GLenum pname, GLfloat *params);
00949 extern void APIENTRY glGetIntegerv (GLenum pname, GLint *params);
00950 extern void APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
00951 extern void APIENTRY glGetLightiv (GLenum light, GLenum pname, GLint *params);
00952 extern void APIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble *v);
00953 extern void APIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat *v);
00954 extern void APIENTRY glGetMapiv (GLenum target, GLenum query, GLint *v);
00955 extern void APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
00956 extern void APIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint *params);
00957 extern void APIENTRY glGetPixelMapfv (GLenum map, GLfloat *values);
00958 extern void APIENTRY glGetPixelMapuiv (GLenum map, GLuint *values);
00959 extern void APIENTRY glGetPixelMapusv (GLenum map, GLushort *values);
00960 extern void APIENTRY glGetPointerv (GLenum pname, GLvoid* *params);
00961 extern void APIENTRY glGetPolygonStipple (GLubyte *mask);
00962 extern const GLubyte * APIENTRY glGetString (GLenum name);
00963 extern void APIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
00964 extern void APIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
00965 extern void APIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params);
00966 extern void APIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params);
00967 extern void APIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint *params);
00968 extern void APIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
00969 extern void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
00970 extern void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
00971 extern void APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
00972 extern void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
00973 extern void APIENTRY glHint (GLenum target, GLenum mode);
00974 extern void APIENTRY glIndexMask (GLuint mask);
00975 extern void APIENTRY glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
00976 extern void APIENTRY glIndexd (GLdouble c);
00977 extern void APIENTRY glIndexdv (const GLdouble *c);
00978 extern void APIENTRY glIndexf (GLfloat c);
00979 extern void APIENTRY glIndexfv (const GLfloat *c);
00980 extern void APIENTRY glIndexi (GLint c);
00981 extern void APIENTRY glIndexiv (const GLint *c);
00982 extern void APIENTRY glIndexs (GLshort c);
00983 extern void APIENTRY glIndexsv (const GLshort *c);
00984 extern void APIENTRY glIndexub (GLubyte c);
00985 extern void APIENTRY glIndexubv (const GLubyte *c);
00986 extern void APIENTRY glInitNames (void);
00987 extern void APIENTRY glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer);
00988 extern GLboolean APIENTRY glIsEnabled (GLenum cap);
00989 extern GLboolean APIENTRY glIsList (GLuint list);
00990 extern GLboolean APIENTRY glIsTexture (GLuint texture);
00991 extern void APIENTRY glLightModelf (GLenum pname, GLfloat param);
00992 extern void APIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
00993 extern void APIENTRY glLightModeli (GLenum pname, GLint param);
00994 extern void APIENTRY glLightModeliv (GLenum pname, const GLint *params);
00995 extern void APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
00996 extern void APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
00997 extern void APIENTRY glLighti (GLenum light, GLenum pname, GLint param);
00998 extern void APIENTRY glLightiv (GLenum light, GLenum pname, const GLint *params);
00999 extern void APIENTRY glLineStipple (GLint factor, GLushort pattern);
01000 extern void APIENTRY glLineWidth (GLfloat width);
01001 extern void APIENTRY glListBase (GLuint base);
01002 extern void APIENTRY glLoadIdentity (void);
01003 extern void APIENTRY glLoadMatrixd (const GLdouble *m);
01004 extern void APIENTRY glLoadMatrixf (const GLfloat *m);
01005 extern void APIENTRY glLoadName (GLuint name);
01006 extern void APIENTRY glLogicOp (GLenum opcode);
01007 extern void APIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
01008 extern void APIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
01009 extern void APIENTRY glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
01010 extern void APIENTRY glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
01011 extern void APIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2);
01012 extern void APIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2);
01013 extern void APIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
01014 extern void APIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
01015 extern void APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
01016 extern void APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
01017 extern void APIENTRY glMateriali (GLenum face, GLenum pname, GLint param);
01018 extern void APIENTRY glMaterialiv (GLenum face, GLenum pname, const GLint *params);
01019 extern void APIENTRY glMatrixMode (GLenum mode);
01020 extern void APIENTRY glMultMatrixd (const GLdouble *m);
01021 extern void APIENTRY glMultMatrixf (const GLfloat *m);
01022 extern void APIENTRY glNewList (GLuint list, GLenum mode);
01023 extern void APIENTRY glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz);
01024 extern void APIENTRY glNormal3bv (const GLbyte *v);
01025 extern void APIENTRY glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz);
01026 extern void APIENTRY glNormal3dv (const GLdouble *v);
01027 extern void APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
01028 extern void APIENTRY glNormal3fv (const GLfloat *v);
01029 extern void APIENTRY glNormal3i (GLint nx, GLint ny, GLint nz);
01030 extern void APIENTRY glNormal3iv (const GLint *v);
01031 extern void APIENTRY glNormal3s (GLshort nx, GLshort ny, GLshort nz);
01032 extern void APIENTRY glNormal3sv (const GLshort *v);
01033 extern void APIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
01034 extern void APIENTRY glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
01035 extern void APIENTRY glPassThrough (GLfloat token);
01036 extern void APIENTRY glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values);
01037 extern void APIENTRY glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values);
01038 extern void APIENTRY glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values);
01039 extern void APIENTRY glPixelStoref (GLenum pname, GLfloat param);
01040 extern void APIENTRY glPixelStorei (GLenum pname, GLint param);
01041 extern void APIENTRY glPixelTransferf (GLenum pname, GLfloat param);
01042 extern void APIENTRY glPixelTransferi (GLenum pname, GLint param);
01043 extern void APIENTRY glPixelZoom (GLfloat xfactor, GLfloat yfactor);
01044 extern void APIENTRY glPointSize (GLfloat size);
01045 extern void APIENTRY glPolygonMode (GLenum face, GLenum mode);
01046 extern void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
01047 extern void APIENTRY glPolygonStipple (const GLubyte *mask);
01048 extern void APIENTRY glPopAttrib (void);
01049 extern void APIENTRY glPopClientAttrib (void);
01050 extern void APIENTRY glPopMatrix (void);
01051 extern void APIENTRY glPopName (void);
01052 extern void APIENTRY glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities);
01053 extern void APIENTRY glPushAttrib (GLbitfield mask);
01054 extern void APIENTRY glPushClientAttrib (GLbitfield mask);
01055 extern void APIENTRY glPushMatrix (void);
01056 extern void APIENTRY glPushName (GLuint name);
01057 extern void APIENTRY glRasterPos2d (GLdouble x, GLdouble y);
01058 extern void APIENTRY glRasterPos2dv (const GLdouble *v);
01059 extern void APIENTRY glRasterPos2f (GLfloat x, GLfloat y);
01060 extern void APIENTRY glRasterPos2fv (const GLfloat *v);
01061 extern void APIENTRY glRasterPos2i (GLint x, GLint y);
01062 extern void APIENTRY glRasterPos2iv (const GLint *v);
01063 extern void APIENTRY glRasterPos2s (GLshort x, GLshort y);
01064 extern void APIENTRY glRasterPos2sv (const GLshort *v);
01065 extern void APIENTRY glRasterPos3d (GLdouble x, GLdouble y, GLdouble z);
01066 extern void APIENTRY glRasterPos3dv (const GLdouble *v);
01067 extern void APIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z);
01068 extern void APIENTRY glRasterPos3fv (const GLfloat *v);
01069 extern void APIENTRY glRasterPos3i (GLint x, GLint y, GLint z);
01070 extern void APIENTRY glRasterPos3iv (const GLint *v);
01071 extern void APIENTRY glRasterPos3s (GLshort x, GLshort y, GLshort z);
01072 extern void APIENTRY glRasterPos3sv (const GLshort *v);
01073 extern void APIENTRY glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
01074 extern void APIENTRY glRasterPos4dv (const GLdouble *v);
01075 extern void APIENTRY glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
01076 extern void APIENTRY glRasterPos4fv (const GLfloat *v);
01077 extern void APIENTRY glRasterPos4i (GLint x, GLint y, GLint z, GLint w);
01078 extern void APIENTRY glRasterPos4iv (const GLint *v);
01079 extern void APIENTRY glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w);
01080 extern void APIENTRY glRasterPos4sv (const GLshort *v);
01081 extern void APIENTRY glReadBuffer (GLenum mode);
01082 extern void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
01083 extern void APIENTRY glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
01084 extern void APIENTRY glRectdv (const GLdouble *v1, const GLdouble *v2);
01085 extern void APIENTRY glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
01086 extern void APIENTRY glRectfv (const GLfloat *v1, const GLfloat *v2);
01087 extern void APIENTRY glRecti (GLint x1, GLint y1, GLint x2, GLint y2);
01088 extern void APIENTRY glRectiv (const GLint *v1, const GLint *v2);
01089 extern void APIENTRY glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
01090 extern void APIENTRY glRectsv (const GLshort *v1, const GLshort *v2);
01091 extern GLint APIENTRY glRenderMode (GLenum mode);
01092 extern void APIENTRY glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
01093 extern void APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
01094 extern void APIENTRY glScaled (GLdouble x, GLdouble y, GLdouble z);
01095 extern void APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
01096 extern void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
01097 extern void APIENTRY glSelectBuffer (GLsizei size, GLuint *buffer);
01098 extern void APIENTRY glShadeModel (GLenum mode);
01099 extern void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
01100 extern void APIENTRY glStencilMask (GLuint mask);
01101 extern void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
01102 extern void APIENTRY glTexCoord1d (GLdouble s);
01103 extern void APIENTRY glTexCoord1dv (const GLdouble *v);
01104 extern void APIENTRY glTexCoord1f (GLfloat s);
01105 extern void APIENTRY glTexCoord1fv (const GLfloat *v);
01106 extern void APIENTRY glTexCoord1i (GLint s);
01107 extern void APIENTRY glTexCoord1iv (const GLint *v);
01108 extern void APIENTRY glTexCoord1s (GLshort s);
01109 extern void APIENTRY glTexCoord1sv (const GLshort *v);
01110 extern void APIENTRY glTexCoord2d (GLdouble s, GLdouble t);
01111 extern void APIENTRY glTexCoord2dv (const GLdouble *v);
01112 extern void APIENTRY glTexCoord2f (GLfloat s, GLfloat t);
01113 extern void APIENTRY glTexCoord2fv (const GLfloat *v);
01114 extern void APIENTRY glTexCoord2i (GLint s, GLint t);
01115 extern void APIENTRY glTexCoord2iv (const GLint *v);
01116 extern void APIENTRY glTexCoord2s (GLshort s, GLshort t);
01117 extern void APIENTRY glTexCoord2sv (const GLshort *v);
01118 extern void APIENTRY glTexCoord3d (GLdouble s, GLdouble t, GLdouble r);
01119 extern void APIENTRY glTexCoord3dv (const GLdouble *v);
01120 extern void APIENTRY glTexCoord3f (GLfloat s, GLfloat t, GLfloat r);
01121 extern void APIENTRY glTexCoord3fv (const GLfloat *v);
01122 extern void APIENTRY glTexCoord3i (GLint s, GLint t, GLint r);
01123 extern void APIENTRY glTexCoord3iv (const GLint *v);
01124 extern void APIENTRY glTexCoord3s (GLshort s, GLshort t, GLshort r);
01125 extern void APIENTRY glTexCoord3sv (const GLshort *v);
01126 extern void APIENTRY glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
01127 extern void APIENTRY glTexCoord4dv (const GLdouble *v);
01128 extern void APIENTRY glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
01129 extern void APIENTRY glTexCoord4fv (const GLfloat *v);
01130 extern void APIENTRY glTexCoord4i (GLint s, GLint t, GLint r, GLint q);
01131 extern void APIENTRY glTexCoord4iv (const GLint *v);
01132 extern void APIENTRY glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q);
01133 extern void APIENTRY glTexCoord4sv (const GLshort *v);
01134 extern void APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
01135 extern void APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
01136 extern void APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
01137 extern void APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
01138 extern void APIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params);
01139 extern void APIENTRY glTexGend (GLenum coord, GLenum pname, GLdouble param);
01140 extern void APIENTRY glTexGendv (GLenum coord, GLenum pname, const GLdouble *params);
01141 extern void APIENTRY glTexGenf (GLenum coord, GLenum pname, GLfloat param);
01142 extern void APIENTRY glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params);
01143 extern void APIENTRY glTexGeni (GLenum coord, GLenum pname, GLint param);
01144 extern void APIENTRY glTexGeniv (GLenum coord, GLenum pname, const GLint *params);
01145 extern void APIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
01146 extern void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
01147 extern void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
01148 extern void APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
01149 extern void APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
01150 extern void APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
01151 extern void APIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
01152 extern void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
01153 extern void APIENTRY glTranslated (GLdouble x, GLdouble y, GLdouble z);
01154 extern void APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
01155 extern void APIENTRY glVertex2d (GLdouble x, GLdouble y);
01156 extern void APIENTRY glVertex2dv (const GLdouble *v);
01157 extern void APIENTRY glVertex2f (GLfloat x, GLfloat y);
01158 extern void APIENTRY glVertex2fv (const GLfloat *v);
01159 extern void APIENTRY glVertex2i (GLint x, GLint y);
01160 extern void APIENTRY glVertex2iv (const GLint *v);
01161 extern void APIENTRY glVertex2s (GLshort x, GLshort y);
01162 extern void APIENTRY glVertex2sv (const GLshort *v);
01163 extern void APIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z);
01164 extern void APIENTRY glVertex3dv (const GLdouble *v);
01165 extern void APIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z);
01166 extern void APIENTRY glVertex3fv (const GLfloat *v);
01167 extern void APIENTRY glVertex3i (GLint x, GLint y, GLint z);
01168 extern void APIENTRY glVertex3iv (const GLint *v);
01169 extern void APIENTRY glVertex3s (GLshort x, GLshort y, GLshort z);
01170 extern void APIENTRY glVertex3sv (const GLshort *v);
01171 extern void APIENTRY glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
01172 extern void APIENTRY glVertex4dv (const GLdouble *v);
01173 extern void APIENTRY glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
01174 extern void APIENTRY glVertex4fv (const GLfloat *v);
01175 extern void APIENTRY glVertex4i (GLint x, GLint y, GLint z, GLint w);
01176 extern void APIENTRY glVertex4iv (const GLint *v);
01177 extern void APIENTRY glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w);
01178 extern void APIENTRY glVertex4sv (const GLshort *v);
01179 extern void APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
01180 extern void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
01181
01182 #endif
01183
01184
01185 #include <GL/glu.h>
01186
01187
01188
01189 #ifdef GL_VERSION_1_2
01190
01191 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
01192 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
01193 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
01194 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
01195 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
01196 #define GL_RESCALE_NORMAL 0x803A
01197 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
01198 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
01199 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
01200 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
01201 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
01202 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
01203 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
01204 #define GL_BGR 0x80E0
01205 #define GL_BGRA 0x80E1
01206 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
01207 #define GL_MAX_ELEMENTS_INDICES 0x80E9
01208 #define GL_CLAMP_TO_EDGE 0x812F
01209 #define GL_TEXTURE_MIN_LOD 0x813A
01210 #define GL_TEXTURE_MAX_LOD 0x813B
01211 #define GL_TEXTURE_BASE_LEVEL 0x813C
01212 #define GL_TEXTURE_MAX_LEVEL 0x813D
01213 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
01214 #define GL_SINGLE_COLOR 0x81F9
01215 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
01216 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
01217 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
01218 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
01219 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
01220 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
01221 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
01222 #define GL_PACK_SKIP_IMAGES 0x806B
01223 #define GL_PACK_IMAGE_HEIGHT 0x806C
01224 #define GL_UNPACK_SKIP_IMAGES 0x806D
01225 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
01226 #define GL_TEXTURE_3D 0x806F
01227 #define GL_PROXY_TEXTURE_3D 0x8070
01228 #define GL_TEXTURE_DEPTH 0x8071
01229 #define GL_TEXTURE_WRAP_R 0x8072
01230 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
01231 #define GL_TEXTURE_BINDING_3D 0x806A
01232
01233 typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
01234 typedef void (APIENTRY * PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
01235 typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
01236 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
01237
01238 extern GLEW_EXPORT PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements;
01239 extern GLEW_EXPORT PFNGLTEXIMAGE3DPROC glTexImage3D;
01240 extern GLEW_EXPORT PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D;
01241 extern GLEW_EXPORT PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D;
01242
01243 #endif
01244
01245
01246
01247 #ifdef GL_VERSION_1_3
01248
01249 #define GL_TEXTURE0 0x84C0
01250 #define GL_TEXTURE1 0x84C1
01251 #define GL_TEXTURE2 0x84C2
01252 #define GL_TEXTURE3 0x84C3
01253 #define GL_TEXTURE4 0x84C4
01254 #define GL_TEXTURE5 0x84C5
01255 #define GL_TEXTURE6 0x84C6
01256 #define GL_TEXTURE7 0x84C7
01257 #define GL_TEXTURE8 0x84C8
01258 #define GL_TEXTURE9 0x84C9
01259 #define GL_TEXTURE10 0x84CA
01260 #define GL_TEXTURE11 0x84CB
01261 #define GL_TEXTURE12 0x84CC
01262 #define GL_TEXTURE13 0x84CD
01263 #define GL_TEXTURE14 0x84CE
01264 #define GL_TEXTURE15 0x84CF
01265 #define GL_TEXTURE16 0x84D0
01266 #define GL_TEXTURE17 0x84D1
01267 #define GL_TEXTURE18 0x84D2
01268 #define GL_TEXTURE19 0x84D3
01269 #define GL_TEXTURE20 0x84D4
01270 #define GL_TEXTURE21 0x84D5
01271 #define GL_TEXTURE22 0x84D6
01272 #define GL_TEXTURE23 0x84D7
01273 #define GL_TEXTURE24 0x84D8
01274 #define GL_TEXTURE25 0x84D9
01275 #define GL_TEXTURE26 0x84DA
01276 #define GL_TEXTURE27 0x84DB
01277 #define GL_TEXTURE28 0x84DC
01278 #define GL_TEXTURE29 0x84DD
01279 #define GL_TEXTURE30 0x84DE
01280 #define GL_TEXTURE31 0x84DF
01281 #define GL_ACTIVE_TEXTURE 0x84E0
01282 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
01283 #define GL_MAX_TEXTURE_UNITS 0x84E2
01284
01285 #define GL_NORMAL_MAP 0x8511
01286 #define GL_REFLECTION_MAP 0x8512
01287 #define GL_TEXTURE_CUBE_MAP 0x8513
01288 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
01289 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
01290 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
01291 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
01292 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
01293 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
01294 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
01295 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
01296 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
01297
01298 #define GL_COMPRESSED_ALPHA 0x84E9
01299 #define GL_COMPRESSED_LUMINANCE 0x84EA
01300 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
01301 #define GL_COMPRESSED_INTENSITY 0x84EC
01302 #define GL_COMPRESSED_RGB 0x84ED
01303 #define GL_COMPRESSED_RGBA 0x84EE
01304 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
01305 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
01306 #define GL_TEXTURE_COMPRESSED 0x86A1
01307 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
01308 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
01309
01310 #define GL_MULTISAMPLE 0x809D
01311 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
01312 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
01313 #define GL_SAMPLE_COVERAGE 0x80A0
01314 #define GL_SAMPLE_BUFFERS 0x80A8
01315 #define GL_SAMPLES 0x80A9
01316 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
01317 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
01318 #define GL_MULTISAMPLE_BIT 0x20000000
01319
01320 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
01321 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
01322 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
01323 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
01324
01325 #define GL_COMBINE 0x8570
01326 #define GL_COMBINE_RGB 0x8571
01327 #define GL_COMBINE_ALPHA 0x8572
01328 #define GL_SOURCE0_RGB 0x8580
01329 #define GL_SOURCE1_RGB 0x8581
01330 #define GL_SOURCE2_RGB 0x8582
01331 #define GL_SOURCE0_ALPHA 0x8588
01332 #define GL_SOURCE1_ALPHA 0x8589
01333 #define GL_SOURCE2_ALPHA 0x858A
01334 #define GL_OPERAND0_RGB 0x8590
01335 #define GL_OPERAND1_RGB 0x8591
01336 #define GL_OPERAND2_RGB 0x8592
01337 #define GL_OPERAND0_ALPHA 0x8598
01338 #define GL_OPERAND1_ALPHA 0x8599
01339 #define GL_OPERAND2_ALPHA 0x859A
01340 #define GL_RGB_SCALE 0x8573
01341 #define GL_ADD_SIGNED 0x8574
01342 #define GL_INTERPOLATE 0x8575
01343 #define GL_SUBTRACT 0x84E7
01344 #define GL_CONSTANT 0x8576
01345 #define GL_PRIMARY_COLOR 0x8577
01346 #define GL_PREVIOUS 0x8578
01347 #define GL_DOT3_RGB 0x86AE
01348 #define GL_DOT3_RGBA 0x86AF
01349 #define GL_CLAMP_TO_BORDER 0x812D
01350
01351 typedef void (APIENTRY * PFNGLACTIVETEXTUREPROC) (GLenum texture);
01352 typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
01353 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
01354 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
01355 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
01356 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
01357 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
01358 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
01359 typedef void (APIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLvoid *img);
01360 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
01361 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
01362 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
01363 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
01364 typedef void (APIENTRY * PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
01365 typedef void (APIENTRY * PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
01366 typedef void (APIENTRY * PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
01367 typedef void (APIENTRY * PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
01368 typedef void (APIENTRY * PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
01369 typedef void (APIENTRY * PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
01370 typedef void (APIENTRY * PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
01371 typedef void (APIENTRY * PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
01372 typedef void (APIENTRY * PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
01373 typedef void (APIENTRY * PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
01374 typedef void (APIENTRY * PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
01375 typedef void (APIENTRY * PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
01376 typedef void (APIENTRY * PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
01377 typedef void (APIENTRY * PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
01378 typedef void (APIENTRY * PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
01379 typedef void (APIENTRY * PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
01380 typedef void (APIENTRY * PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
01381 typedef void (APIENTRY * PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
01382 typedef void (APIENTRY * PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
01383 typedef void (APIENTRY * PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
01384 typedef void (APIENTRY * PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
01385 typedef void (APIENTRY * PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
01386 typedef void (APIENTRY * PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
01387 typedef void (APIENTRY * PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
01388 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
01389 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
01390 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
01391 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
01392 typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble m[16]);
01393 typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat m[16]);
01394 typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble m[16]);
01395 typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat m[16]);
01396 typedef void (APIENTRY * PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
01397
01398 extern GLEW_EXPORT PFNGLACTIVETEXTUREPROC glActiveTexture;
01399 extern GLEW_EXPORT PFNGLCLIENTACTIVETEXTUREPROC glClientActiveTexture;
01400 extern GLEW_EXPORT PFNGLMULTITEXCOORD1DPROC glMultiTexCoord1d;
01401 extern GLEW_EXPORT PFNGLMULTITEXCOORD1DVPROC glMultiTexCoord1dv;
01402 extern GLEW_EXPORT PFNGLMULTITEXCOORD1FPROC glMultiTexCoord1f;
01403 extern GLEW_EXPORT PFNGLMULTITEXCOORD1FVPROC glMultiTexCoord1fv;
01404 extern GLEW_EXPORT PFNGLMULTITEXCOORD1IPROC glMultiTexCoord1i;
01405 extern GLEW_EXPORT PFNGLMULTITEXCOORD1IVPROC glMultiTexCoord1iv;
01406 extern GLEW_EXPORT PFNGLMULTITEXCOORD1SPROC glMultiTexCoord1s;
01407 extern GLEW_EXPORT PFNGLMULTITEXCOORD1SVPROC glMultiTexCoord1sv;
01408 extern GLEW_EXPORT PFNGLMULTITEXCOORD2DPROC glMultiTexCoord2d;
01409 extern GLEW_EXPORT PFNGLMULTITEXCOORD2DVPROC glMultiTexCoord2dv;
01410 extern GLEW_EXPORT PFNGLMULTITEXCOORD2FPROC glMultiTexCoord2f;
01411 extern GLEW_EXPORT PFNGLMULTITEXCOORD2FVPROC glMultiTexCoord2fv;
01412 extern GLEW_EXPORT PFNGLMULTITEXCOORD2IPROC glMultiTexCoord2i;
01413 extern GLEW_EXPORT PFNGLMULTITEXCOORD2IVPROC glMultiTexCoord2iv;
01414 extern GLEW_EXPORT PFNGLMULTITEXCOORD2SPROC glMultiTexCoord2s;
01415 extern GLEW_EXPORT PFNGLMULTITEXCOORD2SVPROC glMultiTexCoord2sv;
01416 extern GLEW_EXPORT PFNGLMULTITEXCOORD3DPROC glMultiTexCoord3d;
01417 extern GLEW_EXPORT PFNGLMULTITEXCOORD3DVPROC glMultiTexCoord3dv;
01418 extern GLEW_EXPORT PFNGLMULTITEXCOORD3FPROC glMultiTexCoord3f;
01419 extern GLEW_EXPORT PFNGLMULTITEXCOORD3FVPROC glMultiTexCoord3fv;
01420 extern GLEW_EXPORT PFNGLMULTITEXCOORD3IPROC glMultiTexCoord3i;
01421 extern GLEW_EXPORT PFNGLMULTITEXCOORD3IVPROC glMultiTexCoord3iv;
01422 extern GLEW_EXPORT PFNGLMULTITEXCOORD3SPROC glMultiTexCoord3s;
01423 extern GLEW_EXPORT PFNGLMULTITEXCOORD3SVPROC glMultiTexCoord3sv;
01424 extern GLEW_EXPORT PFNGLMULTITEXCOORD4DPROC glMultiTexCoord4d;
01425 extern GLEW_EXPORT PFNGLMULTITEXCOORD4DVPROC glMultiTexCoord4dv;
01426 extern GLEW_EXPORT PFNGLMULTITEXCOORD4FPROC glMultiTexCoord4f;
01427 extern GLEW_EXPORT PFNGLMULTITEXCOORD4FVPROC glMultiTexCoord4fv;
01428 extern GLEW_EXPORT PFNGLMULTITEXCOORD4IPROC glMultiTexCoord4i;
01429 extern GLEW_EXPORT PFNGLMULTITEXCOORD4IVPROC glMultiTexCoord4iv;
01430 extern GLEW_EXPORT PFNGLMULTITEXCOORD4SPROC glMultiTexCoord4s;
01431 extern GLEW_EXPORT PFNGLMULTITEXCOORD4SVPROC glMultiTexCoord4sv;
01432 extern GLEW_EXPORT PFNGLLOADTRANSPOSEMATRIXFPROC glLoadTransposeMatrixf;
01433 extern GLEW_EXPORT PFNGLLOADTRANSPOSEMATRIXDPROC glLoadTransposeMatrixd;
01434 extern GLEW_EXPORT PFNGLMULTTRANSPOSEMATRIXFPROC glMultTransposeMatrixf;
01435 extern GLEW_EXPORT PFNGLMULTTRANSPOSEMATRIXDPROC glMultTransposeMatrixd;
01436 extern GLEW_EXPORT PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D;
01437 extern GLEW_EXPORT PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D;
01438 extern GLEW_EXPORT PFNGLCOMPRESSEDTEXIMAGE1DPROC glCompressedTexImage1D;
01439 extern GLEW_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D;
01440 extern GLEW_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D;
01441 extern GLEW_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glCompressedTexSubImage1D;
01442 extern GLEW_EXPORT PFNGLGETCOMPRESSEDTEXIMAGEPROC glGetCompressedTexImage;
01443 extern GLEW_EXPORT PFNGLSAMPLECOVERAGEPROC glSampleCoverage;
01444
01445 #endif
01446
01447
01448
01449 #ifdef GL_VERSION_1_4
01450
01451 #ifndef GL_ARB_imaging
01452 #define GL_BLEND_EQUATION 0x8009
01453 #define GL_MIN 0x8007
01454 #define GL_MAX 0x8008
01455 #define GL_FUNC_ADD 0x8006
01456 #define GL_FUNC_SUBTRACT 0x800A
01457 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
01458 #define GL_BLEND_COLOR 0x8005
01459 #define GL_CONSTANT_COLOR 0x8001
01460 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
01461 #define GL_CONSTANT_ALPHA 0x8003
01462 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
01463 #endif
01464
01465 #define GL_GENERATE_MIPMAP 0x8191
01466 #define GL_GENERATE_MIPMAP_HINT 0x8192
01467 #define GL_DEPTH_COMPONENT16 0x81A5
01468 #define GL_DEPTH_COMPONENT24 0x81A6
01469 #define GL_DEPTH_COMPONENT32 0x81A7
01470 #define GL_TEXTURE_DEPTH_SIZE 0x884A
01471 #define GL_DEPTH_TEXTURE_MODE 0x884B
01472 #define GL_TEXTURE_COMPARE_MODE 0x884C
01473 #define GL_TEXTURE_COMPARE_FUNC 0x884D
01474 #define GL_COMPARE_R_TO_TEXTURE 0x884E
01475 #define GL_FOG_COORDINATE_SOURCE 0x8450
01476 #define GL_FOG_COORDINATE 0x8451
01477 #define GL_FRAGMENT_DEPTH 0x8452
01478 #define GL_CURRENT_FOG_COORDINATE 0x8453
01479 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
01480 #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
01481 #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
01482 #define GL_FOG_COORDINATE_ARRAY 0x8457
01483 #define GL_POINT_SIZE_MIN 0x8126
01484 #define GL_POINT_SIZE_MAX 0x8127
01485 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
01486 #define GL_POINT_DISTANCE_ATTENUATION 0x8129
01487 #define GL_COLOR_SUM 0x8458
01488 #define GL_CURRENT_SECONDARY_COLOR 0x8459
01489 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
01490 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
01491 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
01492 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
01493 #define GL_SECONDARY_COLOR_ARRAY 0x845E
01494 #define GL_BLEND_DST_RGB 0x80C8
01495 #define GL_BLEND_SRC_RGB 0x80C9
01496 #define GL_BLEND_DST_ALPHA 0x80CA
01497 #define GL_BLEND_SRC_ALPHA 0x80CB
01498 #define GL_INCR_WRAP 0x8507
01499 #define GL_DECR_WRAP 0x8508
01500 #define GL_TEXTURE_FILTER_CONTROL 0x8500
01501 #define GL_TEXTURE_LOD_BIAS 0x8501
01502 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
01503 #define GL_MIRRORED_REPEAT 0x8370
01504
01505 #ifndef GL_ARB_imaging
01506 typedef void (APIENTRY * PFNGLBLENDEQUATIONPROC) (GLenum mode);
01507 typedef void (APIENTRY * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
01508 #endif
01509 typedef void (APIENTRY * PFNGLFOGCOORDFPROC) (GLfloat coord);
01510 typedef void (APIENTRY * PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
01511 typedef void (APIENTRY * PFNGLFOGCOORDDPROC) (GLdouble coord);
01512 typedef void (APIENTRY * PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
01513 typedef void (APIENTRY * PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
01514 typedef void (APIENTRY * PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
01515 typedef void (APIENTRY * PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount);
01516 typedef void (APIENTRY * PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
01517 typedef void (APIENTRY * PFNGLPOINTPARAMETERFVPROC) (GLenum pname, GLfloat *params);
01518 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
01519 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
01520 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
01521 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
01522 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
01523 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
01524 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
01525 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
01526 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
01527 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
01528 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
01529 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
01530 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
01531 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
01532 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
01533 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
01534 typedef void (APIENTRY * PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
01535 typedef void (APIENTRY * PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
01536 typedef void (APIENTRY * PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
01537 typedef void (APIENTRY * PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
01538 typedef void (APIENTRY * PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
01539 typedef void (APIENTRY * PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
01540 typedef void (APIENTRY * PFNGLWINDOWPOS2DVPROC) (const GLdouble *p);
01541 typedef void (APIENTRY * PFNGLWINDOWPOS2FVPROC) (const GLfloat *p);
01542 typedef void (APIENTRY * PFNGLWINDOWPOS2IVPROC) (const GLint *p);
01543 typedef void (APIENTRY * PFNGLWINDOWPOS2SVPROC) (const GLshort *p);
01544 typedef void (APIENTRY * PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
01545 typedef void (APIENTRY * PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
01546 typedef void (APIENTRY * PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
01547 typedef void (APIENTRY * PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
01548 typedef void (APIENTRY * PFNGLWINDOWPOS3DVPROC) (const GLdouble *p);
01549 typedef void (APIENTRY * PFNGLWINDOWPOS3FVPROC) (const GLfloat *p);
01550 typedef void (APIENTRY * PFNGLWINDOWPOS3IVPROC) (const GLint *p);
01551 typedef void (APIENTRY * PFNGLWINDOWPOS3SVPROC) (const GLshort *p);
01552
01553 #ifndef GL_ARB_imaging
01554 extern GLEW_EXPORT PFNGLBLENDCOLORPROC glBlendColor;
01555 extern GLEW_EXPORT PFNGLBLENDEQUATIONPROC glBlendEquation;
01556 #endif
01557 extern GLEW_EXPORT PFNGLFOGCOORDFPROC glFogCoordf;
01558 extern GLEW_EXPORT PFNGLFOGCOORDFVPROC glFogCoordfv;
01559 extern GLEW_EXPORT PFNGLFOGCOORDDPROC glFogCoordd;
01560 extern GLEW_EXPORT PFNGLFOGCOORDDVPROC glFogCoorddv;
01561 extern GLEW_EXPORT PFNGLFOGCOORDPOINTERPROC glFogCoordPointer;
01562 extern GLEW_EXPORT PFNGLMULTIDRAWARRAYSPROC glMultiDrawArrays;
01563 extern GLEW_EXPORT PFNGLMULTIDRAWELEMENTSPROC glMultiDrawElements;
01564 extern GLEW_EXPORT PFNGLPOINTPARAMETERFPROC glPointParameterf;
01565 extern GLEW_EXPORT PFNGLPOINTPARAMETERFVPROC glPointParameterfv;
01566 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3BPROC glSecondaryColor3b;
01567 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3BVPROC glSecondaryColor3bv;
01568 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3DPROC glSecondaryColor3d;
01569 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3DVPROC glSecondaryColor3dv;
01570 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3FPROC glSecondaryColor3f;
01571 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3FVPROC glSecondaryColor3fv;
01572 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3IPROC glSecondaryColor3i;
01573 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3IVPROC glSecondaryColor3iv;
01574 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3SPROC glSecondaryColor3s;
01575 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3SVPROC glSecondaryColor3sv;
01576 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UBPROC glSecondaryColor3ub;
01577 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UBVPROC glSecondaryColor3ubv;
01578 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UIPROC glSecondaryColor3ui;
01579 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UIVPROC glSecondaryColor3uiv;
01580 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3USPROC glSecondaryColor3us;
01581 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3USVPROC glSecondaryColor3usv;
01582 extern GLEW_EXPORT PFNGLSECONDARYCOLORPOINTERPROC glSecondaryColorPointer;
01583 extern GLEW_EXPORT PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate;
01584 extern GLEW_EXPORT PFNGLWINDOWPOS2DPROC glWindowPos2d;
01585 extern GLEW_EXPORT PFNGLWINDOWPOS2FPROC glWindowPos2f;
01586 extern GLEW_EXPORT PFNGLWINDOWPOS2IPROC glWindowPos2i;
01587 extern GLEW_EXPORT PFNGLWINDOWPOS2SPROC glWindowPos2s;
01588 extern GLEW_EXPORT PFNGLWINDOWPOS2DVPROC glWindowPos2dv;
01589 extern GLEW_EXPORT PFNGLWINDOWPOS2FVPROC glWindowPos2fv;
01590 extern GLEW_EXPORT PFNGLWINDOWPOS2IVPROC glWindowPos2iv;
01591 extern GLEW_EXPORT PFNGLWINDOWPOS2SVPROC glWindowPos2sv;
01592 extern GLEW_EXPORT PFNGLWINDOWPOS3DPROC glWindowPos3d;
01593 extern GLEW_EXPORT PFNGLWINDOWPOS3FPROC glWindowPos3f;
01594 extern GLEW_EXPORT PFNGLWINDOWPOS3IPROC glWindowPos3i;
01595 extern GLEW_EXPORT PFNGLWINDOWPOS3SPROC glWindowPos3s;
01596 extern GLEW_EXPORT PFNGLWINDOWPOS3DVPROC glWindowPos3dv;
01597 extern GLEW_EXPORT PFNGLWINDOWPOS3FVPROC glWindowPos3fv;
01598 extern GLEW_EXPORT PFNGLWINDOWPOS3IVPROC glWindowPos3iv;
01599 extern GLEW_EXPORT PFNGLWINDOWPOS3SVPROC glWindowPos3sv;
01600
01601 #endif
01602
01603
01604
01605 #ifdef GL_ARB_depth_texture
01606
01607 #define GL_DEPTH_COMPONENT16_ARB 0x81A5
01608 #define GL_DEPTH_COMPONENT24_ARB 0x81A6
01609 #define GL_DEPTH_COMPONENT32_ARB 0x81A7
01610 #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
01611 #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
01612
01613 #endif
01614
01615
01616
01617 #ifdef GL_ARB_fragment_program
01618
01619 #define GL_FRAGMENT_PROGRAM_ARB 0x8804
01620 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
01621 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
01622 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
01623 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
01624 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
01625 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
01626 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
01627 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
01628 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
01629 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
01630 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
01631 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
01632 #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
01633 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
01634
01635 #endif
01636
01637
01638
01639 #ifdef GL_ARB_imaging
01640
01641 #define GL_CONSTANT_COLOR 0x8001
01642 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
01643 #define GL_CONSTANT_ALPHA 0x8003
01644 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
01645 #define GL_BLEND_COLOR 0x8005
01646 #define GL_FUNC_ADD 0x8006
01647 #define GL_MIN 0x8007
01648 #define GL_MAX 0x8008
01649 #define GL_BLEND_EQUATION 0x8009
01650 #define GL_FUNC_SUBTRACT 0x800A
01651 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
01652 #define GL_CONVOLUTION_1D 0x8010
01653 #define GL_CONVOLUTION_2D 0x8011
01654 #define GL_SEPARABLE_2D 0x8012
01655 #define GL_CONVOLUTION_BORDER_MODE 0x8013
01656 #define GL_CONVOLUTION_FILTER_SCALE 0x8014
01657 #define GL_CONVOLUTION_FILTER_BIAS 0x8015
01658 #define GL_REDUCE 0x8016
01659 #define GL_CONVOLUTION_FORMAT 0x8017
01660 #define GL_CONVOLUTION_WIDTH 0x8018
01661 #define GL_CONVOLUTION_HEIGHT 0x8019
01662 #define GL_MAX_CONVOLUTION_WIDTH 0x801A
01663 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
01664 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
01665 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
01666 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
01667 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
01668 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
01669 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
01670 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
01671 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
01672 #define GL_HISTOGRAM 0x8024
01673 #define GL_PROXY_HISTOGRAM 0x8025
01674 #define GL_HISTOGRAM_WIDTH 0x8026
01675 #define GL_HISTOGRAM_FORMAT 0x8027
01676 #define GL_HISTOGRAM_RED_SIZE 0x8028
01677 #define GL_HISTOGRAM_GREEN_SIZE 0x8029
01678 #define GL_HISTOGRAM_BLUE_SIZE 0x802A
01679 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
01680 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
01681 #define GL_HISTOGRAM_SINK 0x802D
01682 #define GL_MINMAX 0x802E
01683 #define GL_MINMAX_FORMAT 0x802F
01684 #define GL_MINMAX_SINK 0x8030
01685 #define GL_TABLE_TOO_LARGE 0x8031
01686 #define GL_COLOR_MATRIX 0x80B1
01687 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
01688 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
01689 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
01690 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
01691 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
01692 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
01693 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
01694 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
01695 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
01696 #define GL_POST_COLOR_MATIX_ALPHA_BIAS 0x80BB
01697 #define GL_COLOR_TABLE 0x80D0
01698 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
01699 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
01700 #define GL_PROXY_COLOR_TABLE 0x80D3
01701 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
01702 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
01703 #define GL_COLOR_TABLE_SCALE 0x80D6
01704 #define GL_COLOR_TABLE_BIAS 0x80D7
01705 #define GL_COLOR_TABLE_FORMAT 0x80D8
01706 #define GL_COLOR_TABLE_WIDTH 0x80D9
01707 #define GL_COLOR_TABLE_RED_SIZE 0x80DA
01708 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
01709 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
01710 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
01711 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
01712 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
01713 #define GL_IGNORE_BORDER 0x8150
01714 #define GL_CONSTANT_BORDER 0x8151
01715 #define GL_WRAP_BORDER 0x8152
01716 #define GL_REPLICATE_BORDER 0x8153
01717 #define GL_CONVOLUTION_BORDER_COLOR 0x8154
01718
01719 typedef void (APIENTRY * PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
01720 typedef void (APIENTRY * PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
01721 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
01722 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
01723 typedef void (APIENTRY * PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
01724 typedef void (APIENTRY * PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
01725 typedef void (APIENTRY * PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
01726 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
01727 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
01728 typedef void (APIENTRY * PFNGLBLENDEQUATIONPROC) (GLenum mode);
01729 typedef void (APIENTRY * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
01730 typedef void (APIENTRY * PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
01731 typedef void (APIENTRY * PFNGLRESETHISTOGRAMPROC) (GLenum target);
01732 typedef void (APIENTRY * PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
01733 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
01734 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
01735 typedef void (APIENTRY * PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
01736 typedef void (APIENTRY * PFNGLRESETMINMAXPROC) (GLenum target);
01737 typedef void (APIENTRY * PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values);
01738 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
01739 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
01740 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
01741 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
01742 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
01743 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
01744 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
01745 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
01746 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
01747 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
01748 typedef void (APIENTRY * PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
01749 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
01750 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
01751 typedef void (APIENTRY * PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
01752 typedef void (APIENTRY * PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
01753
01754 extern GLEW_EXPORT PFNGLBLENDCOLORPROC glBlendColor;
01755 extern GLEW_EXPORT PFNGLBLENDEQUATIONPROC glBlendEquation;
01756 extern GLEW_EXPORT PFNGLCOLORTABLEPROC glColorTable;
01757 extern GLEW_EXPORT PFNGLCOLORTABLEPARAMETERFVPROC glColorTableParameterfv;
01758 extern GLEW_EXPORT PFNGLCOLORTABLEPARAMETERIVPROC glColorTableParameteriv;
01759 extern GLEW_EXPORT PFNGLCOPYCOLORTABLEPROC glCopyColorTable;
01760 extern GLEW_EXPORT PFNGLGETCOLORTABLEPROC glGetColorTable;
01761 extern GLEW_EXPORT PFNGLGETCOLORTABLEPARAMETERFVPROC glGetColorTableParameterfv;
01762 extern GLEW_EXPORT PFNGLGETCOLORTABLEPARAMETERIVPROC glGetColorTableParameteriv;
01763 extern GLEW_EXPORT PFNGLCOLORSUBTABLEPROC glColorSubTable;
01764 extern GLEW_EXPORT PFNGLCOPYCOLORSUBTABLEPROC glCopyColorSubTable;
01765 extern GLEW_EXPORT PFNGLCONVOLUTIONFILTER1DPROC glConvolutionFilter1D;
01766 extern GLEW_EXPORT PFNGLCONVOLUTIONFILTER2DPROC glConvolutionFilter2D;
01767 extern GLEW_EXPORT PFNGLCONVOLUTIONPARAMETERFPROC glConvolutionParameterf;
01768 extern GLEW_EXPORT PFNGLCONVOLUTIONPARAMETERFVPROC glConvolutionParameterfv;
01769 extern GLEW_EXPORT PFNGLCONVOLUTIONPARAMETERIPROC glConvolutionParameteri;
01770 extern GLEW_EXPORT PFNGLCONVOLUTIONPARAMETERIVPROC glConvolutionParameteriv;
01771 extern GLEW_EXPORT PFNGLCOPYCONVOLUTIONFILTER1DPROC glCopyConvolutionFilter1D;
01772 extern GLEW_EXPORT PFNGLCOPYCONVOLUTIONFILTER2DPROC glCopyConvolutionFilter2D;
01773 extern GLEW_EXPORT PFNGLGETCONVOLUTIONFILTERPROC glGetConvolutionFilter;
01774 extern GLEW_EXPORT PFNGLGETCONVOLUTIONPARAMETERFVPROC glGetConvolutionParameterfv;
01775 extern GLEW_EXPORT PFNGLGETCONVOLUTIONPARAMETERIVPROC glGetConvolutionParameteriv;
01776 extern GLEW_EXPORT PFNGLGETSEPARABLEFILTERPROC glGetSeparableFilter;
01777 extern GLEW_EXPORT PFNGLSEPARABLEFILTER2DPROC glSeparableFilter2D;
01778 extern GLEW_EXPORT PFNGLGETHISTOGRAMPROC glGetHistogram;
01779 extern GLEW_EXPORT PFNGLGETHISTOGRAMPARAMETERFVPROC glGetHistogramParameterfv;
01780 extern GLEW_EXPORT PFNGLGETHISTOGRAMPARAMETERIVPROC glGetHistogramParameteriv;
01781 extern GLEW_EXPORT PFNGLGETMINMAXPROC glGetMinmax;
01782 extern GLEW_EXPORT PFNGLGETMINMAXPARAMETERFVPROC glGetMinmaxParameterfv;
01783 extern GLEW_EXPORT PFNGLGETMINMAXPARAMETERIVPROC glGetMinmaxParameteriv;
01784 extern GLEW_EXPORT PFNGLHISTOGRAMPROC glHistogram;
01785 extern GLEW_EXPORT PFNGLMINMAXPROC glMinmax;
01786 extern GLEW_EXPORT PFNGLRESETHISTOGRAMPROC glResetHistogram;
01787 extern GLEW_EXPORT PFNGLRESETMINMAXPROC glResetMinmax;
01788
01789 #endif
01790
01791
01792
01793 #ifdef GL_ARB_matrix_palette
01794
01795 #define GL_MATRIX_PALETTE_ARB 0x8840
01796 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
01797 #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
01798 #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
01799 #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
01800 #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
01801 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
01802 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
01803 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
01804 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
01805
01806 typedef void (APIENTRY * PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
01807 typedef void (APIENTRY * PFNGLMATRIXINDEXUBVARBPROC) (GLint size, GLubyte *indices);
01808 typedef void (APIENTRY * PFNGLMATRIXINDEXUSVARBPROC) (GLint size, GLushort *indices);
01809 typedef void (APIENTRY * PFNGLMATRIXINDEXUIVARBPROC) (GLint size, GLuint *indices);
01810 typedef void (APIENTRY * PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
01811
01812 extern GLEW_EXPORT PFNGLCURRENTPALETTEMATRIXARBPROC glCurrentPaletteMatrixARB;
01813 extern GLEW_EXPORT PFNGLMATRIXINDEXUBVARBPROC glMatrixIndexubvARB;
01814 extern GLEW_EXPORT PFNGLMATRIXINDEXUSVARBPROC glMatrixIndexusvARB;
01815 extern GLEW_EXPORT PFNGLMATRIXINDEXUIVARBPROC glMatrixIndexuivARB;
01816 extern GLEW_EXPORT PFNGLMATRIXINDEXPOINTERARBPROC glMatrixIndexPointerARB;
01817
01818 #endif
01819
01820
01821
01822 #ifdef GL_ARB_multisample
01823
01824 #define GL_MULTISAMPLE_ARB 0x809D
01825 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
01826 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
01827 #define GL_SAMPLE_COVERAGE_ARB 0x80A0
01828 #define GL_SAMPLE_BUFFERS_ARB 0x80A8
01829 #define GL_SAMPLES_ARB 0x80A9
01830 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
01831 #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
01832 #define GL_MULTISAMPLE_BIT_ARB 0x20000000
01833
01834 typedef void (APIENTRY * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
01835
01836 extern GLEW_EXPORT PFNGLSAMPLECOVERAGEARBPROC glSampleCoverageARB;
01837
01838 #endif
01839
01840
01841
01842 #ifdef GL_ARB_multitexture
01843
01844 #define GL_TEXTURE0_ARB 0x84C0
01845 #define GL_TEXTURE1_ARB 0x84C1
01846 #define GL_TEXTURE2_ARB 0x84C2
01847 #define GL_TEXTURE3_ARB 0x84C3
01848 #define GL_TEXTURE4_ARB 0x84C4
01849 #define GL_TEXTURE5_ARB 0x84C5
01850 #define GL_TEXTURE6_ARB 0x84C6
01851 #define GL_TEXTURE7_ARB 0x84C7
01852 #define GL_TEXTURE8_ARB 0x84C8
01853 #define GL_TEXTURE9_ARB 0x84C9
01854 #define GL_TEXTURE10_ARB 0x84CA
01855 #define GL_TEXTURE11_ARB 0x84CB
01856 #define GL_TEXTURE12_ARB 0x84CC
01857 #define GL_TEXTURE13_ARB 0x84CD
01858 #define GL_TEXTURE14_ARB 0x84CE
01859 #define GL_TEXTURE15_ARB 0x84CF
01860 #define GL_TEXTURE16_ARB 0x84D0
01861 #define GL_TEXTURE17_ARB 0x84D1
01862 #define GL_TEXTURE18_ARB 0x84D2
01863 #define GL_TEXTURE19_ARB 0x84D3
01864 #define GL_TEXTURE20_ARB 0x84D4
01865 #define GL_TEXTURE21_ARB 0x84D5
01866 #define GL_TEXTURE22_ARB 0x84D6
01867 #define GL_TEXTURE23_ARB 0x84D7
01868 #define GL_TEXTURE24_ARB 0x84D8
01869 #define GL_TEXTURE25_ARB 0x84D9
01870 #define GL_TEXTURE26_ARB 0x84DA
01871 #define GL_TEXTURE27_ARB 0x84DB
01872 #define GL_TEXTURE28_ARB 0x84DC
01873 #define GL_TEXTURE29_ARB 0x84DD
01874 #define GL_TEXTURE30_ARB 0x84DE
01875 #define GL_TEXTURE31_ARB 0x84DF
01876 #define GL_ACTIVE_TEXTURE_ARB 0x84E0
01877 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
01878 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
01879
01880 typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
01881 typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
01882 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
01883 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
01884 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
01885 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
01886 typedef void (APIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
01887 typedef void (APIENTRY * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
01888 typedef void (APIENTRY * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
01889 typedef void (APIENTRY * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
01890 typedef void (APIENTRY * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
01891 typedef void (APIENTRY * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
01892 typedef void (APIENTRY * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
01893 typedef void (APIENTRY * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
01894 typedef void (APIENTRY * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
01895 typedef void (APIENTRY * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
01896 typedef void (APIENTRY * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
01897 typedef void (APIENTRY * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
01898 typedef void (APIENTRY * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
01899 typedef void (APIENTRY * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
01900 typedef void (APIENTRY * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
01901 typedef void (APIENTRY * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
01902 typedef void (APIENTRY * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
01903 typedef void (APIENTRY * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
01904 typedef void (APIENTRY * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
01905 typedef void (APIENTRY * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
01906 typedef void (APIENTRY * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
01907 typedef void (APIENTRY * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
01908 typedef void (APIENTRY * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
01909 typedef void (APIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
01910 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
01911 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
01912 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
01913 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
01914
01915 extern GLEW_EXPORT PFNGLACTIVETEXTUREARBPROC glActiveTextureARB;
01916 extern GLEW_EXPORT PFNGLCLIENTACTIVETEXTUREARBPROC glClientActiveTextureARB;
01917 extern GLEW_EXPORT PFNGLMULTITEXCOORD1DARBPROC glMultiTexCoord1dARB;
01918 extern GLEW_EXPORT PFNGLMULTITEXCOORD1DVARBPROC glMultiTexCoord1dvARB;
01919 extern GLEW_EXPORT PFNGLMULTITEXCOORD1FARBPROC glMultiTexCoord1fARB;
01920 extern GLEW_EXPORT PFNGLMULTITEXCOORD1FVARBPROC glMultiTexCoord1fvARB;
01921 extern GLEW_EXPORT PFNGLMULTITEXCOORD1IARBPROC glMultiTexCoord1iARB;
01922 extern GLEW_EXPORT PFNGLMULTITEXCOORD1IVARBPROC glMultiTexCoord1ivARB;
01923 extern GLEW_EXPORT PFNGLMULTITEXCOORD1SARBPROC glMultiTexCoord1sARB;
01924 extern GLEW_EXPORT PFNGLMULTITEXCOORD1SVARBPROC glMultiTexCoord1svARB;
01925 extern GLEW_EXPORT PFNGLMULTITEXCOORD2DARBPROC glMultiTexCoord2dARB;
01926 extern GLEW_EXPORT PFNGLMULTITEXCOORD2DVARBPROC glMultiTexCoord2dvARB;
01927 extern GLEW_EXPORT PFNGLMULTITEXCOORD2FARBPROC glMultiTexCoord2fARB;
01928 extern GLEW_EXPORT PFNGLMULTITEXCOORD2FVARBPROC glMultiTexCoord2fvARB;
01929 extern GLEW_EXPORT PFNGLMULTITEXCOORD2IARBPROC glMultiTexCoord2iARB;
01930 extern GLEW_EXPORT PFNGLMULTITEXCOORD2IVARBPROC glMultiTexCoord2ivARB;
01931 extern GLEW_EXPORT PFNGLMULTITEXCOORD2SARBPROC glMultiTexCoord2sARB;
01932 extern GLEW_EXPORT PFNGLMULTITEXCOORD2SVARBPROC glMultiTexCoord2svARB;
01933 extern GLEW_EXPORT PFNGLMULTITEXCOORD3DARBPROC glMultiTexCoord3dARB;
01934 extern GLEW_EXPORT PFNGLMULTITEXCOORD3DVARBPROC glMultiTexCoord3dvARB;
01935 extern GLEW_EXPORT PFNGLMULTITEXCOORD3FARBPROC glMultiTexCoord3fARB;
01936 extern GLEW_EXPORT PFNGLMULTITEXCOORD3FVARBPROC glMultiTexCoord3fvARB;
01937 extern GLEW_EXPORT PFNGLMULTITEXCOORD3IARBPROC glMultiTexCoord3iARB;
01938 extern GLEW_EXPORT PFNGLMULTITEXCOORD3IVARBPROC glMultiTexCoord3ivARB;
01939 extern GLEW_EXPORT PFNGLMULTITEXCOORD3SARBPROC glMultiTexCoord3sARB;
01940 extern GLEW_EXPORT PFNGLMULTITEXCOORD3SVARBPROC glMultiTexCoord3svARB;
01941 extern GLEW_EXPORT PFNGLMULTITEXCOORD4DARBPROC glMultiTexCoord4dARB;
01942 extern GLEW_EXPORT PFNGLMULTITEXCOORD4DVARBPROC glMultiTexCoord4dvARB;
01943 extern GLEW_EXPORT PFNGLMULTITEXCOORD4FARBPROC glMultiTexCoord4fARB;
01944 extern GLEW_EXPORT PFNGLMULTITEXCOORD4FVARBPROC glMultiTexCoord4fvARB;
01945 extern GLEW_EXPORT PFNGLMULTITEXCOORD4IARBPROC glMultiTexCoord4iARB;
01946 extern GLEW_EXPORT PFNGLMULTITEXCOORD4IVARBPROC glMultiTexCoord4ivARB;
01947 extern GLEW_EXPORT PFNGLMULTITEXCOORD4SARBPROC glMultiTexCoord4sARB;
01948 extern GLEW_EXPORT PFNGLMULTITEXCOORD4SVARBPROC glMultiTexCoord4svARB;
01949
01950 #endif
01951
01952
01953
01954 #ifdef GL_ARB_point_parameters
01955
01956 #define GL_POINT_SIZE_MIN_ARB 0x8126
01957 #define GL_POINT_SIZE_MAX_ARB 0x8127
01958 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
01959 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
01960
01961 typedef void (APIENTRY * PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
01962 typedef void (APIENTRY * PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, GLfloat *params);
01963
01964 extern GLEW_EXPORT PFNGLPOINTPARAMETERFARBPROC glPointParameterfARB;
01965 extern GLEW_EXPORT PFNGLPOINTPARAMETERFVARBPROC glPointParameterfvARB;
01966
01967 #endif
01968
01969
01970
01971 #ifdef GL_ARB_shadow
01972
01973 #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
01974 #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
01975 #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
01976
01977 #endif
01978
01979
01980
01981 #ifdef GL_ARB_shadow_ambient
01982
01983 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
01984
01985 #endif
01986
01987
01988
01989 #ifdef GL_ARB_texture_border_clamp
01990
01991 #define GL_CLAMP_TO_BORDER_ARB 0x812D
01992
01993 #endif
01994
01995
01996
01997 #ifdef GL_ARB_texture_compression
01998
01999 #define GL_COMPRESSED_ALPHA_ARB 0x84E9
02000 #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
02001 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
02002 #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
02003 #define GL_COMPRESSED_RGB_ARB 0x84ED
02004 #define GL_COMPRESSED_RGBA_ARB 0x84EE
02005 #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
02006 #define GL_TEXTURE_IMAGE_SIZE_ARB 0x86A0
02007 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
02008 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
02009 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
02010
02011 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
02012 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
02013 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
02014 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
02015 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
02016 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
02017 typedef void (APIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLvoid *img);
02018
02019 extern GLEW_EXPORT PFNGLCOMPRESSEDTEXIMAGE3DARBPROC glCompressedTexImage3DARB;
02020 extern GLEW_EXPORT PFNGLCOMPRESSEDTEXIMAGE2DARBPROC glCompressedTexImage2DARB;
02021 extern GLEW_EXPORT PFNGLCOMPRESSEDTEXIMAGE1DARBPROC glCompressedTexImage1DARB;
02022 extern GLEW_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC glCompressedTexSubImage3DARB;
02023 extern GLEW_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC glCompressedTexSubImage2DARB;
02024 extern GLEW_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC glCompressedTexSubImage1DARB;
02025 extern GLEW_EXPORT PFNGLGETCOMPRESSEDTEXIMAGEARBPROC glGetCompressedTexImageARB;
02026
02027 #endif
02028
02029
02030
02031 #ifdef GL_ARB_texture_cube_map
02032
02033 #define GL_NORMAL_MAP_ARB 0x8511
02034 #define GL_REFLECTION_MAP_ARB 0x8512
02035 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
02036 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
02037 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
02038 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
02039 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
02040 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
02041 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
02042 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
02043 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
02044 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
02045
02046 #endif
02047
02048
02049
02050
02051
02052 #ifdef GL_ARB_texture_env_combine
02053
02054 #define GL_COMBINE_ARB 0x8570
02055 #define GL_COMBINE_RGB_ARB 0x8571
02056 #define GL_COMBINE_ALPHA_ARB 0x8572
02057 #define GL_RGB_SCALE_ARB 0x8573
02058 #define GL_ADD_SIGNED_ARB 0x8574
02059 #define GL_INTERPOLATE_ARB 0x8575
02060 #define GL_CONSTANT_ARB 0x8576
02061 #define GL_PRIMARY_COLOR_ARB 0x8577
02062 #define GL_PREVIOUS_ARB 0x8578
02063 #define GL_SOURCE0_RGB_ARB 0x8580
02064 #define GL_SOURCE1_RGB_ARB 0x8581
02065 #define GL_SOURCE2_RGB_ARB 0x8582
02066 #define GL_SOURCE0_ALPHA_ARB 0x8588
02067 #define GL_SOURCE1_ALPHA_ARB 0x8589
02068 #define GL_SOURCE2_ALPHA_ARB 0x858A
02069 #define GL_OPERAND0_RGB_ARB 0x8590
02070 #define GL_OPERAND1_RGB_ARB 0x8591
02071 #define GL_OPERAND2_RGB_ARB 0x8592
02072 #define GL_OPERAND0_ALPHA_ARB 0x8598
02073 #define GL_OPERAND1_ALPHA_ARB 0x8599
02074 #define GL_OPERAND2_ALPHA_ARB 0x859A
02075
02076 #endif
02077
02078
02079
02080
02081
02082 #ifdef GL_ARB_texture_env_dot3
02083
02084 #define GL_DOT3_RGB_ARB 0x86AE
02085 #define GL_DOT3_RGBA_ARB 0x86AF
02086
02087 #endif
02088
02089
02090
02091 #ifdef GL_ARB_texture_mirrored_repeat
02092
02093 #define GL_MIRRORED_REPEAT_ARB 0x8370
02094
02095 #endif
02096
02097
02098
02099 #ifdef GL_ARB_transpose_matrix
02100
02101 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
02102 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
02103 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
02104 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
02105
02106 typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble m[16]);
02107 typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat m[16]);
02108 typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble m[16]);
02109 typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat m[16]);
02110
02111 extern GLEW_EXPORT PFNGLLOADTRANSPOSEMATRIXFARBPROC glLoadTransposeMatrixfARB;
02112 extern GLEW_EXPORT PFNGLLOADTRANSPOSEMATRIXDARBPROC glLoadTransposeMatrixdARB;
02113 extern GLEW_EXPORT PFNGLMULTTRANSPOSEMATRIXFARBPROC glMultTransposeMatrixfARB;
02114 extern GLEW_EXPORT PFNGLMULTTRANSPOSEMATRIXDARBPROC glMultTransposeMatrixdARB;
02115
02116 #endif
02117
02118
02119
02120 #ifdef GL_ARB_vertex_blend
02121
02122 #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
02123 #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
02124 #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
02125 #define GL_VERTEX_BLEND_ARB 0x86A7
02126 #define GL_CURRENT_WEIGHT_ARB 0x86A8
02127 #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
02128 #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
02129 #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
02130 #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
02131 #define GL_WEIGHT_ARRAY_ARB 0x86AD
02132 #define GL_MODELVIEW0_ARB 0x1700
02133 #define GL_MODELVIEW1_ARB 0x850A
02134 #define GL_MODELVIEW2_ARB 0x8722
02135 #define GL_MODELVIEW3_ARB 0x8723
02136 #define GL_MODELVIEW4_ARB 0x8724
02137 #define GL_MODELVIEW5_ARB 0x8725
02138 #define GL_MODELVIEW6_ARB 0x8726
02139 #define GL_MODELVIEW7_ARB 0x8727
02140 #define GL_MODELVIEW8_ARB 0x8728
02141 #define GL_MODELVIEW9_ARB 0x8729
02142 #define GL_MODELVIEW10_ARB 0x872A
02143 #define GL_MODELVIEW11_ARB 0x872B
02144 #define GL_MODELVIEW12_ARB 0x872C
02145 #define GL_MODELVIEW13_ARB 0x872D
02146 #define GL_MODELVIEW14_ARB 0x872E
02147 #define GL_MODELVIEW15_ARB 0x872F
02148 #define GL_MODELVIEW16_ARB 0x8730
02149 #define GL_MODELVIEW17_ARB 0x8731
02150 #define GL_MODELVIEW18_ARB 0x8732
02151 #define GL_MODELVIEW19_ARB 0x8733
02152 #define GL_MODELVIEW20_ARB 0x8734
02153 #define GL_MODELVIEW21_ARB 0x8735
02154 #define GL_MODELVIEW22_ARB 0x8736
02155 #define GL_MODELVIEW23_ARB 0x8737
02156 #define GL_MODELVIEW24_ARB 0x8738
02157 #define GL_MODELVIEW25_ARB 0x8739
02158 #define GL_MODELVIEW26_ARB 0x873A
02159 #define GL_MODELVIEW27_ARB 0x873B
02160 #define GL_MODELVIEW28_ARB 0x873C
02161 #define GL_MODELVIEW29_ARB 0x873D
02162 #define GL_MODELVIEW30_ARB 0x873E
02163 #define GL_MODELVIEW31_ARB 0x873F
02164
02165 typedef void (APIENTRY * PFNGLWEIGHTBVARBPROC) (GLint size, GLbyte *weights);
02166 typedef void (APIENTRY * PFNGLWEIGHTSVARBPROC) (GLint size, GLshort *weights);
02167 typedef void (APIENTRY * PFNGLWEIGHTIVARBPROC) (GLint size, GLint *weights);
02168 typedef void (APIENTRY * PFNGLWEIGHTFVARBPROC) (GLint size, GLfloat *weights);
02169 typedef void (APIENTRY * PFNGLWEIGHTDVARBPROC) (GLint size, GLdouble *weights);
02170 typedef void (APIENTRY * PFNGLWEIGHTUBVARBPROC) (GLint size, GLubyte *weights);
02171 typedef void (APIENTRY * PFNGLWEIGHTUSVARBPROC) (GLint size, GLushort *weights);
02172 typedef void (APIENTRY * PFNGLWEIGHTUIVARBPROC) (GLint size, GLuint *weights);
02173 typedef void (APIENTRY * PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
02174 typedef void (APIENTRY * PFNGLVERTEXBLENDARBPROC) (GLint count);
02175
02176 extern GLEW_EXPORT PFNGLWEIGHTBVARBPROC glWeightbvARB;
02177 extern GLEW_EXPORT PFNGLWEIGHTSVARBPROC glWeightsvARB;
02178 extern GLEW_EXPORT PFNGLWEIGHTIVARBPROC glWeightivARB;
02179 extern GLEW_EXPORT PFNGLWEIGHTFVARBPROC glWeightfvARB;
02180 extern GLEW_EXPORT PFNGLWEIGHTDVARBPROC glWeightdvARB;
02181 extern GLEW_EXPORT PFNGLWEIGHTUBVARBPROC glWeightubvARB;
02182 extern GLEW_EXPORT PFNGLWEIGHTUSVARBPROC glWeightusvARB;
02183 extern GLEW_EXPORT PFNGLWEIGHTUIVARBPROC glWeightuivARB;
02184 extern GLEW_EXPORT PFNGLWEIGHTPOINTERARBPROC glWeightPointerARB;
02185 extern GLEW_EXPORT PFNGLVERTEXBLENDARBPROC glVertexBlendARB;
02186
02187 #endif
02188
02189
02190
02191 #ifdef GL_ARB_vertex_program
02192
02193 #define GL_VERTEX_PROGRAM_ARB 0x8620
02194 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
02195 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
02196 #define GL_COLOR_SUM_ARB 0x8458
02197 #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
02198 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
02199 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
02200 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
02201 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
02202 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
02203 #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
02204 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
02205 #define GL_PROGRAM_LENGTH_ARB 0x8627
02206 #define GL_PROGRAM_FORMAT_ARB 0x8876
02207 #define GL_PROGRAM_BINDING_ARB 0x8677
02208 #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
02209 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
02210 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
02211 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
02212 #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
02213 #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
02214 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
02215 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
02216 #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
02217 #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
02218 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
02219 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
02220 #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
02221 #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
02222 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
02223 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
02224 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
02225 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
02226 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
02227 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
02228 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
02229 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
02230 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
02231 #define GL_PROGRAM_STRING_ARB 0x8628
02232 #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
02233 #define GL_CURRENT_MATRIX_ARB 0x8641
02234 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
02235 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
02236 #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
02237 #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
02238 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
02239 #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
02240 #define GL_MATRIX0_ARB 0x88C0
02241 #define GL_MATRIX1_ARB 0x88C1
02242 #define GL_MATRIX2_ARB 0x88C2
02243 #define GL_MATRIX3_ARB 0x88C3
02244 #define GL_MATRIX4_ARB 0x88C4
02245 #define GL_MATRIX5_ARB 0x88C5
02246 #define GL_MATRIX6_ARB 0x88C6
02247 #define GL_MATRIX7_ARB 0x88C7
02248 #define GL_MATRIX8_ARB 0x88C8
02249 #define GL_MATRIX9_ARB 0x88C9
02250 #define GL_MATRIX10_ARB 0x88CA
02251 #define GL_MATRIX11_ARB 0x88CB
02252 #define GL_MATRIX12_ARB 0x88CC
02253 #define GL_MATRIX13_ARB 0x88CD
02254 #define GL_MATRIX14_ARB 0x88CE
02255 #define GL_MATRIX15_ARB 0x88CF
02256 #define GL_MATRIX16_ARB 0x88D0
02257 #define GL_MATRIX17_ARB 0x88D1
02258 #define GL_MATRIX18_ARB 0x88D2
02259 #define GL_MATRIX19_ARB 0x88D3
02260 #define GL_MATRIX20_ARB 0x88D4
02261 #define GL_MATRIX21_ARB 0x88D5
02262 #define GL_MATRIX22_ARB 0x88D6
02263 #define GL_MATRIX23_ARB 0x88D7
02264 #define GL_MATRIX24_ARB 0x88D8
02265 #define GL_MATRIX25_ARB 0x88D9
02266 #define GL_MATRIX26_ARB 0x88DA
02267 #define GL_MATRIX27_ARB 0x88DB
02268 #define GL_MATRIX28_ARB 0x88DC
02269 #define GL_MATRIX29_ARB 0x88DD
02270 #define GL_MATRIX30_ARB 0x88DE
02271 #define GL_MATRIX31_ARB 0x88DF
02272
02273 typedef void (APIENTRY * PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
02274 typedef void (APIENTRY * PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
02275 typedef void (APIENTRY * PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
02276 typedef void (APIENTRY * PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
02277 typedef void (APIENTRY * PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
02278 typedef void (APIENTRY * PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
02279 typedef void (APIENTRY * PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
02280 typedef void (APIENTRY * PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
02281 typedef void (APIENTRY * PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
02282 typedef void (APIENTRY * PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
02283 typedef void (APIENTRY * PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
02284 typedef void (APIENTRY * PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
02285 typedef void (APIENTRY * PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
02286 typedef void (APIENTRY * PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
02287 typedef void (APIENTRY * PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
02288 typedef void (APIENTRY * PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
02289 typedef void (APIENTRY * PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
02290 typedef void (APIENTRY * PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
02291 typedef void (APIENTRY * PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
02292 typedef void (APIENTRY * PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
02293 typedef void (APIENTRY * PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
02294 typedef void (APIENTRY * PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
02295 typedef void (APIENTRY * PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
02296 typedef void (APIENTRY * PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
02297 typedef void (APIENTRY * PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
02298 typedef void (APIENTRY * PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
02299 typedef void (APIENTRY * PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
02300 typedef void (APIENTRY * PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
02301 typedef void (APIENTRY * PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
02302 typedef void (APIENTRY * PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
02303 typedef void (APIENTRY * PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
02304 typedef void (APIENTRY * PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
02305 typedef void (APIENTRY * PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
02306 typedef void (APIENTRY * PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
02307 typedef void (APIENTRY * PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
02308 typedef void (APIENTRY * PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
02309 typedef void (APIENTRY * PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
02310 typedef void (APIENTRY * PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
02311 typedef void (APIENTRY * PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
02312 typedef void (APIENTRY * PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
02313 typedef void (APIENTRY * PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
02314 typedef void (APIENTRY * PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
02315 typedef void (APIENTRY * PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
02316 typedef void (APIENTRY * PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
02317 typedef void (APIENTRY * PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
02318 typedef void (APIENTRY * PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
02319 typedef void (APIENTRY * PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
02320 typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
02321 typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
02322 typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
02323 typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
02324 typedef void (APIENTRY * PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
02325 typedef void (APIENTRY * PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
02326 typedef void (APIENTRY * PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
02327 typedef void (APIENTRY * PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
02328 typedef void (APIENTRY * PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
02329 typedef void (APIENTRY * PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string);
02330 typedef void (APIENTRY * PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
02331 typedef void (APIENTRY * PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
02332 typedef void (APIENTRY * PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
02333 typedef void (APIENTRY * PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid **pointer);
02334 typedef GLboolean (APIENTRY * PFNGLISPROGRAMARBPROC) (GLuint program);
02335
02336 extern GLEW_EXPORT PFNGLVERTEXATTRIB1SARBPROC glVertexAttrib1sARB;
02337 extern GLEW_EXPORT PFNGLVERTEXATTRIB1FARBPROC glVertexAttrib1fARB;
02338 extern GLEW_EXPORT PFNGLVERTEXATTRIB1DARBPROC glVertexAttrib1dARB;
02339 extern GLEW_EXPORT PFNGLVERTEXATTRIB2SARBPROC glVertexAttrib2sARB;
02340 extern GLEW_EXPORT PFNGLVERTEXATTRIB2FARBPROC glVertexAttrib2fARB;
02341 extern GLEW_EXPORT PFNGLVERTEXATTRIB2DARBPROC glVertexAttrib2dARB;
02342 extern GLEW_EXPORT PFNGLVERTEXATTRIB3SARBPROC glVertexAttrib3sARB;
02343 extern GLEW_EXPORT PFNGLVERTEXATTRIB3FARBPROC glVertexAttrib3fARB;
02344 extern GLEW_EXPORT PFNGLVERTEXATTRIB3DARBPROC glVertexAttrib3dARB;
02345 extern GLEW_EXPORT PFNGLVERTEXATTRIB4SARBPROC glVertexAttrib4sARB;
02346 extern GLEW_EXPORT PFNGLVERTEXATTRIB4FARBPROC glVertexAttrib4fARB;
02347 extern GLEW_EXPORT PFNGLVERTEXATTRIB4DARBPROC glVertexAttrib4dARB;
02348 extern GLEW_EXPORT PFNGLVERTEXATTRIB4NUBARBPROC glVertexAttrib4NubARB;
02349 extern GLEW_EXPORT PFNGLVERTEXATTRIB1SVARBPROC glVertexAttrib1svARB;
02350 extern GLEW_EXPORT PFNGLVERTEXATTRIB1FVARBPROC glVertexAttrib1fvARB;
02351 extern GLEW_EXPORT PFNGLVERTEXATTRIB1DVARBPROC glVertexAttrib1dvARB;
02352 extern GLEW_EXPORT PFNGLVERTEXATTRIB2SVARBPROC glVertexAttrib2svARB;
02353 extern GLEW_EXPORT PFNGLVERTEXATTRIB2FVARBPROC glVertexAttrib2fvARB;
02354 extern GLEW_EXPORT PFNGLVERTEXATTRIB2DVARBPROC glVertexAttrib2dvARB;
02355 extern GLEW_EXPORT PFNGLVERTEXATTRIB3SVARBPROC glVertexAttrib3svARB;
02356 extern GLEW_EXPORT PFNGLVERTEXATTRIB3FVARBPROC glVertexAttrib3fvARB;
02357 extern GLEW_EXPORT PFNGLVERTEXATTRIB3DVARBPROC glVertexAttrib3dvARB;
02358 extern GLEW_EXPORT PFNGLVERTEXATTRIB4BVARBPROC glVertexAttrib4bvARB;
02359 extern GLEW_EXPORT PFNGLVERTEXATTRIB4SVARBPROC glVertexAttrib4svARB;
02360 extern GLEW_EXPORT PFNGLVERTEXATTRIB4IVARBPROC glVertexAttrib4ivARB;
02361 extern GLEW_EXPORT PFNGLVERTEXATTRIB4UBVARBPROC glVertexAttrib4ubvARB;
02362 extern GLEW_EXPORT PFNGLVERTEXATTRIB4USVARBPROC glVertexAttrib4usvARB;
02363 extern GLEW_EXPORT PFNGLVERTEXATTRIB4UIVARBPROC glVertexAttrib4uivARB;
02364 extern GLEW_EXPORT PFNGLVERTEXATTRIB4FVARBPROC glVertexAttrib4fvARB;
02365 extern GLEW_EXPORT PFNGLVERTEXATTRIB4DVARBPROC glVertexAttrib4dvARB;
02366 extern GLEW_EXPORT PFNGLVERTEXATTRIB4NBVARBPROC glVertexAttrib4NbvARB;
02367 extern GLEW_EXPORT PFNGLVERTEXATTRIB4NSVARBPROC glVertexAttrib4NsvARB;
02368 extern GLEW_EXPORT PFNGLVERTEXATTRIB4NIVARBPROC glVertexAttrib4NivARB;
02369 extern GLEW_EXPORT PFNGLVERTEXATTRIB4NUBVARBPROC glVertexAttrib4NubvARB;
02370 extern GLEW_EXPORT PFNGLVERTEXATTRIB4NUSVARBPROC glVertexAttrib4NusvARB;
02371 extern GLEW_EXPORT PFNGLVERTEXATTRIB4NUIVARBPROC glVertexAttrib4NuivARB;
02372 extern GLEW_EXPORT PFNGLVERTEXATTRIBPOINTERARBPROC glVertexAttribPointerARB;
02373 extern GLEW_EXPORT PFNGLENABLEVERTEXATTRIBARRAYARBPROC glEnableVertexAttribArrayARB;
02374 extern GLEW_EXPORT PFNGLDISABLEVERTEXATTRIBARRAYARBPROC glDisableVertexAttribArrayARB;
02375 extern GLEW_EXPORT PFNGLPROGRAMSTRINGARBPROC glProgramStringARB;
02376 extern GLEW_EXPORT PFNGLBINDPROGRAMARBPROC glBindProgramARB;
02377 extern GLEW_EXPORT PFNGLDELETEPROGRAMSARBPROC glDeleteProgramsARB;
02378 extern GLEW_EXPORT PFNGLGENPROGRAMSARBPROC glGenProgramsARB;
02379 extern GLEW_EXPORT PFNGLPROGRAMENVPARAMETER4DARBPROC glProgramEnvParameter4dARB;
02380 extern GLEW_EXPORT PFNGLPROGRAMENVPARAMETER4DVARBPROC glProgramEnvParameter4dvARB;
02381 extern GLEW_EXPORT PFNGLPROGRAMENVPARAMETER4FARBPROC glProgramEnvParameter4fARB;
02382 extern GLEW_EXPORT PFNGLPROGRAMENVPARAMETER4FVARBPROC glProgramEnvParameter4fvARB;
02383 extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4DARBPROC glProgramLocalParameter4dARB;
02384 extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4DVARBPROC glProgramLocalParameter4dvARB;
02385 extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4FARBPROC glProgramLocalParameter4fARB;
02386 extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4FVARBPROC glProgramLocalParameter4fvARB;
02387 extern GLEW_EXPORT PFNGLGETPROGRAMENVPARAMETERDVARBPROC glGetProgramEnvParameterdvARB;
02388 extern GLEW_EXPORT PFNGLGETPROGRAMENVPARAMETERFVARBPROC glGetProgramEnvParameterfvARB;
02389 extern GLEW_EXPORT PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC glGetProgramLocalParameterdvARB;
02390 extern GLEW_EXPORT PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC glGetProgramLocalParameterfvARB;
02391 extern GLEW_EXPORT PFNGLGETPROGRAMIVARBPROC glGetProgramivARB;
02392 extern GLEW_EXPORT PFNGLGETPROGRAMSTRINGARBPROC glGetProgramStringARB;
02393 extern GLEW_EXPORT PFNGLGETVERTEXATTRIBDVARBPROC glGetVertexAttribdvARB;
02394 extern GLEW_EXPORT PFNGLGETVERTEXATTRIBFVARBPROC glGetVertexAttribfvARB;
02395 extern GLEW_EXPORT PFNGLGETVERTEXATTRIBIVARBPROC glGetVertexAttribivARB;
02396 extern GLEW_EXPORT PFNGLGETVERTEXATTRIBPOINTERVARBPROC glGetVertexAttribPointervARB;
02397 extern GLEW_EXPORT PFNGLISPROGRAMARBPROC glIsProgramARB;
02398
02399 #endif
02400
02401
02402
02403 #ifdef GL_ARB_window_pos
02404
02405 typedef void (APIENTRY * PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
02406 typedef void (APIENTRY * PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
02407 typedef void (APIENTRY * PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
02408 typedef void (APIENTRY * PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
02409 typedef void (APIENTRY * PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *p);
02410 typedef void (APIENTRY * PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *p);
02411 typedef void (APIENTRY * PFNGLWINDOWPOS2IVARBPROC) (const GLint *p);
02412 typedef void (APIENTRY * PFNGLWINDOWPOS2SVARBPROC) (const GLshort *p);
02413 typedef void (APIENTRY * PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
02414 typedef void (APIENTRY * PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
02415 typedef void (APIENTRY * PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
02416 typedef void (APIENTRY * PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
02417 typedef void (APIENTRY * PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *p);
02418 typedef void (APIENTRY * PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *p);
02419 typedef void (APIENTRY * PFNGLWINDOWPOS3IVARBPROC) (const GLint *p);
02420 typedef void (APIENTRY * PFNGLWINDOWPOS3SVARBPROC) (const GLshort *p);
02421
02422 extern GLEW_EXPORT PFNGLWINDOWPOS2DARBPROC glWindowPos2dARB;
02423 extern GLEW_EXPORT PFNGLWINDOWPOS2FARBPROC glWindowPos2fARB;
02424 extern GLEW_EXPORT PFNGLWINDOWPOS2IARBPROC glWindowPos2iARB;
02425 extern GLEW_EXPORT PFNGLWINDOWPOS2SARBPROC glWindowPos2sARB;
02426 extern GLEW_EXPORT PFNGLWINDOWPOS2DVARBPROC glWindowPos2dvARB;
02427 extern GLEW_EXPORT PFNGLWINDOWPOS2FVARBPROC glWindowPos2fvARB;
02428 extern GLEW_EXPORT PFNGLWINDOWPOS2IVARBPROC glWindowPos2ivARB;
02429 extern GLEW_EXPORT PFNGLWINDOWPOS2SVARBPROC glWindowPos2svARB;
02430 extern GLEW_EXPORT PFNGLWINDOWPOS3DARBPROC glWindowPos3dARB;
02431 extern GLEW_EXPORT PFNGLWINDOWPOS3FARBPROC glWindowPos3fARB;
02432 extern GLEW_EXPORT PFNGLWINDOWPOS3IARBPROC glWindowPos3iARB;
02433 extern GLEW_EXPORT PFNGLWINDOWPOS3SARBPROC glWindowPos3sARB;
02434 extern GLEW_EXPORT PFNGLWINDOWPOS3DVARBPROC glWindowPos3dvARB;
02435 extern GLEW_EXPORT PFNGLWINDOWPOS3FVARBPROC glWindowPos3fvARB;
02436 extern GLEW_EXPORT PFNGLWINDOWPOS3IVARBPROC glWindowPos3ivARB;
02437 extern GLEW_EXPORT PFNGLWINDOWPOS3SVARBPROC glWindowPos3svARB;
02438
02439 #endif
02440
02441
02442
02443 #ifdef GL_EXT_abgr
02444
02445 #define GL_ABGR_EXT 0x8000
02446
02447 #endif
02448
02449
02450
02451 #ifdef GL_EXT_bgra
02452
02453 #define GL_BGR_EXT 0x80E0
02454 #define GL_BGRA_EXT 0x80E1
02455
02456 #endif
02457
02458
02459
02460 #ifdef GL_EXT_blend_color
02461
02462 #define GL_CONSTANT_COLOR_EXT 0x8001
02463 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
02464 #define GL_CONSTANT_ALPHA_EXT 0x8003
02465 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
02466 #define GL_BLEND_COLOR_EXT 0x8005
02467
02468 typedef void (APIENTRY * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
02469
02470 extern GLEW_EXPORT PFNGLBLENDCOLOREXTPROC glBlendColorEXT;
02471
02472 #endif
02473
02474
02475
02476 #ifdef GL_EXT_blend_func_separate
02477
02478 #define GL_BLEND_DST_RGB_EXT 0x80C8
02479 #define GL_BLEND_SRC_RGB_EXT 0x80C9
02480 #define GL_BLEND_DST_ALPHA_EXT 0x80CA
02481 #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
02482
02483 typedef void (APIENTRY * PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
02484
02485 extern GLEW_EXPORT PFNGLBLENDFUNCSEPARATEEXTPROC glBlendFuncSeparateEXT;
02486
02487 #endif
02488
02489
02490
02491 #ifdef GL_EXT_blend_minmax
02492
02493 #define GL_FUNC_ADD_EXT 0x8006
02494 #define GL_MIN_EXT 0x8007
02495 #define GL_MAX_EXT 0x8008
02496 #define GL_BLEND_EQUATION_EXT 0x8009
02497
02498 typedef void (APIENTRY * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
02499
02500 extern GLEW_EXPORT PFNGLBLENDEQUATIONEXTPROC glBlendEquationEXT;
02501
02502 #endif
02503
02504
02505
02506 #ifdef GL_EXT_blend_subtract
02507
02508 #define GL_FUNC_SUBTRACT_EXT 0x800A
02509 #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
02510
02511 #endif
02512
02513
02514
02515 #ifdef GL_EXT_clip_volume_hint
02516
02517 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
02518
02519 #endif
02520
02521
02522
02523 #ifdef GL_EXT_compiled_vertex_array
02524
02525 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
02526 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
02527
02528 typedef void (APIENTRY * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
02529 typedef void (APIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void);
02530
02531 extern GLEW_EXPORT PFNGLLOCKARRAYSEXTPROC glLockArraysEXT;
02532 extern GLEW_EXPORT PFNGLUNLOCKARRAYSEXTPROC glUnlockArraysEXT;
02533
02534 #endif
02535
02536
02537
02538 #ifdef GL_EXT_cull_vertex
02539
02540 typedef void (APIENTRY * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
02541 typedef void (APIENTRY * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
02542
02543 extern GLEW_EXPORT PFNGLCULLPARAMETERFVEXTPROC glCullParameterfvEXT;
02544 extern GLEW_EXPORT PFNGLCULLPARAMETERDVEXTPROC glCullParameterdvEXT;
02545
02546 #define GL_CULL_VERTEX_EXT 0x81AA
02547 #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
02548 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
02549
02550 #endif
02551
02552
02553
02554 #ifdef GL_EXT_draw_range_elements
02555
02556 typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
02557
02558 extern GLEW_EXPORT PFNGLDRAWRANGEELEMENTSEXTPROC glDrawRangeElementsEXT;
02559
02560 #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
02561 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
02562
02563 #endif
02564
02565
02566
02567 #ifdef GL_EXT_fog_coord
02568
02569 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
02570 #define GL_FOG_COORDINATE_EXT 0x8451
02571 #define GL_FRAGMENT_DEPTH_EXT 0x8452
02572 #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
02573 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
02574 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
02575 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
02576 #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
02577
02578 typedef void (APIENTRY * PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
02579 typedef void (APIENTRY * PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
02580 typedef void (APIENTRY * PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
02581 typedef void (APIENTRY * PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
02582 typedef void (APIENTRY * PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
02583
02584 extern GLEW_EXPORT PFNGLFOGCOORDFEXTPROC glFogCoordfEXT;
02585 extern GLEW_EXPORT PFNGLFOGCOORDFVEXTPROC glFogCoordfvEXT;
02586 extern GLEW_EXPORT PFNGLFOGCOORDDEXTPROC glFogCoorddEXT;
02587 extern GLEW_EXPORT PFNGLFOGCOORDDVEXTPROC glFogCoorddvEXT;
02588 extern GLEW_EXPORT PFNGLFOGCOORDPOINTEREXTPROC glFogCoordPointerEXT;
02589
02590 #endif
02591
02592
02593
02594 #ifdef GL_EXT_multi_draw_arrays
02595
02596 typedef void (APIENTRY * PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
02597 typedef void (APIENTRY * PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount);
02598
02599 extern GLEW_EXPORT PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT;
02600 extern GLEW_EXPORT PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT;
02601
02602 #endif
02603
02604
02605
02606 #ifdef GL_EXT_packed_pixels
02607
02608 #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
02609 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
02610 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
02611 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
02612 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
02613
02614 #endif
02615
02616
02617
02618 #ifdef GL_EXT_point_parameters
02619
02620 #define GL_POINT_SIZE_MIN_EXT 0x8126
02621 #define GL_POINT_SIZE_MAX_EXT 0x8127
02622 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
02623 #define GL_DISTANCE_ATTENUATION_EXT 0x8129
02624
02625 typedef void (APIENTRY * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
02626 typedef void (APIENTRY * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
02627
02628 extern GLEW_EXPORT PFNGLPOINTPARAMETERFEXTPROC glPointParameterfEXT;
02629 extern GLEW_EXPORT PFNGLPOINTPARAMETERFVEXTPROC glPointParameterfvEXT;
02630
02631 #endif
02632
02633
02634
02635 #ifdef GL_EXT_secondary_color
02636
02637 #define GL_COLOR_SUM_EXT 0x8458
02638 #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
02639 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
02640 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
02641 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
02642 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
02643 #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
02644
02645 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
02646 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
02647 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
02648 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
02649 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
02650 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
02651 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
02652 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
02653 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
02654 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
02655 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
02656 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
02657 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
02658 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
02659 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
02660 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
02661 typedef void (APIENTRY * PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
02662
02663 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3BEXTPROC glSecondaryColor3bEXT;
02664 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3BVEXTPROC glSecondaryColor3bvEXT;
02665 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3DEXTPROC glSecondaryColor3dEXT;
02666 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3DVEXTPROC glSecondaryColor3dvEXT;
02667 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3FEXTPROC glSecondaryColor3fEXT;
02668 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3FVEXTPROC glSecondaryColor3fvEXT;
02669 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3IEXTPROC glSecondaryColor3iEXT;
02670 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3IVEXTPROC glSecondaryColor3ivEXT;
02671 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3SEXTPROC glSecondaryColor3sEXT;
02672 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3SVEXTPROC glSecondaryColor3svEXT;
02673 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UBEXTPROC glSecondaryColor3ubEXT;
02674 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UBVEXTPROC glSecondaryColor3ubvEXT;
02675 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UIEXTPROC glSecondaryColor3uiEXT;
02676 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UIVEXTPROC glSecondaryColor3uivEXT;
02677 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3USEXTPROC glSecondaryColor3usEXT;
02678 extern GLEW_EXPORT PFNGLSECONDARYCOLOR3USVEXTPROC glSecondaryColor3usvEXT;
02679 extern GLEW_EXPORT PFNGLSECONDARYCOLORPOINTEREXTPROC glSecondaryColorPointerEXT;
02680
02681 #endif
02682
02683
02684
02685 #ifdef GL_EXT_separate_specular_color
02686
02687 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
02688 #define GL_SINGLE_COLOR_EXT 0x81F9
02689 #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
02690
02691 #endif
02692
02693
02694
02695
02696
02697 #ifdef GL_EXT_stencil_two_side
02698
02699 typedef void (APIENTRY * PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
02700
02701 extern GLEW_EXPORT PFNGLACTIVESTENCILFACEEXTPROC glActiveStencilFaceEXT;
02702
02703 #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
02704 #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
02705
02706 #endif
02707
02708
02709
02710 #ifdef GL_EXT_stencil_wrap
02711
02712 #define GL_INCR_WRAP_EXT 0x8507
02713 #define GL_DECR_WRAP_EXT 0x8508
02714
02715 #endif
02716
02717
02718
02719 #ifdef GL_EXT_texture_compression_s3tc
02720
02721 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
02722 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
02723 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
02724 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
02725
02726 #endif
02727
02728
02729
02730 #ifdef GL_EXT_texture_env_combine
02731
02732 #define GL_COMBINE_EXT 0x8570
02733 #define GL_COMBINE_RGB_EXT 0x8571
02734 #define GL_COMBINE_ALPHA_EXT 0x8572
02735 #define GL_RGB_SCALE_EXT 0x8573
02736 #define GL_ADD_SIGNED_EXT 0x8574
02737 #define GL_INTERPOLATE_EXT 0x8575
02738 #define GL_CONSTANT_EXT 0x8576
02739 #define GL_PRIMARY_COLOR_EXT 0x8577
02740 #define GL_PREVIOUS_EXT 0x8578
02741 #define GL_SOURCE0_RGB_EXT 0x8580
02742 #define GL_SOURCE1_RGB_EXT 0x8581
02743 #define GL_SOURCE2_RGB_EXT 0x8582
02744 #define GL_SOURCE0_ALPHA_EXT 0x8588
02745 #define GL_SOURCE1_ALPHA_EXT 0x8589
02746 #define GL_SOURCE2_ALPHA_EXT 0x858A
02747 #define GL_OPERAND0_RGB_EXT 0x8590
02748 #define GL_OPERAND1_RGB_EXT 0x8591
02749 #define GL_OPERAND2_RGB_EXT 0x8592
02750 #define GL_OPERAND0_ALPHA_EXT 0x8598
02751 #define GL_OPERAND1_ALPHA_EXT 0x8599
02752 #define GL_OPERAND2_ALPHA_EXT 0x859A
02753
02754 #endif
02755
02756
02757
02758 #ifdef GL_EXT_texture_filter_anisotropic
02759
02760 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
02761 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
02762
02763 #endif
02764
02765
02766
02767 #ifdef GL_EXT_texture_lod_bias
02768
02769 #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
02770 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
02771 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
02772
02773 #endif
02774
02775
02776
02777 #ifdef GL_EXT_texture_rectangle
02778
02779 #define GL_TEXTURE_RECTANGLE_EXT 0x85B3
02780 #define GL_TEXTURE_BINDING_RECTANGLE_EXT 0x85B4
02781 #define GL_PROXY_TEXTURE_RECTANGLE_EXT 0x85B5
02782 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT 0x85B6
02783
02784 #endif
02785
02786
02787
02788 #ifdef GL_EXT_texture3D
02789
02790 #define GL_PACK_SKIP_IMAGES_EXT 0x806B
02791 #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
02792 #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
02793 #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
02794 #define GL_TEXTURE_3D_EXT 0x806F
02795 #define GL_PROXY_TEXTURE_3D_EXT 0x8070
02796 #define GL_TEXTURE_DEPTH_EXT 0x8071
02797 #define GL_TEXTURE_WRAP_R_EXT 0x8072
02798 #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
02799
02800 typedef void (APIENTRY * PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
02801 typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
02802
02803 extern GLEW_EXPORT PFNGLTEXIMAGE3DEXTPROC glTexImage3DEXT;
02804 extern GLEW_EXPORT PFNGLTEXSUBIMAGE3DEXTPROC glTexSubImage3DEXT;
02805
02806 #endif
02807
02808
02809
02810 #ifdef GL_EXT_vertex_shader
02811
02812 #define GL_VERTEX_SHADER_EXT 0x8780
02813 #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
02814 #define GL_OP_INDEX_EXT 0x8782
02815 #define GL_OP_NEGATE_EXT 0x8783
02816 #define GL_OP_DOT3_EXT 0x8784
02817 #define GL_OP_DOT4_EXT 0x8785
02818 #define GL_OP_MUL_EXT 0x8786
02819 #define GL_OP_ADD_EXT 0x8787
02820 #define GL_OP_MADD_EXT 0x8788
02821 #define GL_OP_FRAC_EXT 0x8789
02822 #define GL_OP_MAX_EXT 0x878A
02823 #define GL_OP_MIN_EXT 0x878B
02824 #define GL_OP_SET_GE_EXT 0x878C
02825 #define GL_OP_SET_LT_EXT 0x878D
02826 #define GL_OP_CLAMP_EXT 0x878E
02827 #define GL_OP_FLOOR_EXT 0x878F
02828 #define GL_OP_ROUND_EXT 0x8790
02829 #define GL_OP_EXP_BASE_2_EXT 0x8791
02830 #define GL_OP_LOG_BASE_2_EXT 0x8792
02831 #define GL_OP_POWER_EXT 0x8793
02832 #define GL_OP_RECIP_EXT 0x8794
02833 #define GL_OP_RECIP_SQRT_EXT 0x8795
02834 #define GL_OP_SUB_EXT 0x8796
02835 #define GL_OP_CROSS_PRODUCT_EXT 0x8797
02836 #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
02837 #define GL_OP_MOV_EXT 0x8799
02838 #define GL_OUTPUT_VERTEX_EXT 0x879A
02839 #define GL_OUTPUT_COLOR0_EXT 0x879B
02840 #define GL_OUTPUT_COLOR1_EXT 0x879C
02841 #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
02842 #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
02843 #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
02844 #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
02845 #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
02846 #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
02847 #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
02848 #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
02849 #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
02850 #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
02851 #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
02852 #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
02853 #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
02854 #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
02855 #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
02856 #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
02857 #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
02858 #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
02859 #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
02860 #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
02861 #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
02862 #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
02863 #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
02864 #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
02865 #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
02866 #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
02867 #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
02868 #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
02869 #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
02870 #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
02871 #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
02872 #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
02873 #define GL_OUTPUT_FOG_EXT 0x87BD
02874 #define GL_SCALAR_EXT 0x87BE
02875 #define GL_VECTOR_EXT 0x87BF
02876 #define GL_MATRIX_EXT 0x87C0
02877 #define GL_VARIANT_EXT 0x87C1
02878 #define GL_INVARIANT_EXT 0x87C2
02879 #define GL_LOCAL_CONSTANT_EXT 0x87C3
02880 #define GL_LOCAL_EXT 0x87C4
02881 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
02882 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
02883 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
02884 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
02885 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
02886 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
02887 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
02888 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CC
02889 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CD
02890 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
02891 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
02892 #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
02893 #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
02894 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
02895 #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
02896 #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
02897 #define GL_X_EXT 0x87D5
02898 #define GL_Y_EXT 0x87D6
02899 #define GL_Z_EXT 0x87D7
02900 #define GL_W_EXT 0x87D8
02901 #define GL_NEGATIVE_X_EXT 0x87D9
02902 #define GL_NEGATIVE_Y_EXT 0x87DA
02903 #define GL_NEGATIVE_Z_EXT 0x87DB
02904 #define GL_NEGATIVE_W_EXT 0x87DC
02905 #define GL_ZERO_EXT 0x87DD
02906 #define GL_ONE_EXT 0x87DE
02907 #define GL_NEGATIVE_ONE_EXT 0x87DF
02908 #define GL_NORMALIZED_RANGE_EXT 0x87E0
02909 #define GL_FULL_RANGE_EXT 0x87E1
02910 #define GL_CURRENT_VERTEX_EXT 0x87E2
02911 #define GL_MVP_MATRIX_EXT 0x87E3
02912 #define GL_VARIANT_VALUE_EXT 0x87E4
02913 #define GL_VARIANT_DATATYPE_EXT 0x87E5
02914 #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
02915 #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
02916 #define GL_VARIANT_ARRAY_EXT 0x87E8
02917 #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
02918 #define GL_INVARIANT_VALUE_EXT 0x87EA
02919 #define GL_INVARIANT_DATATYPE_EXT 0x87EB
02920 #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
02921 #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
02922
02923 typedef void (APIENTRY * PFNGLBEGINVERTEXSHADEREXTPROC) ();
02924 typedef void (APIENTRY * PFNGLENDVERTEXSHADEREXTPROC) ();
02925 typedef void (APIENTRY * PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
02926 typedef GLuint (APIENTRY * PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
02927 typedef void (APIENTRY * PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
02928 typedef void (APIENTRY * PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
02929 typedef void (APIENTRY * PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
02930 typedef void (APIENTRY * PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
02931 typedef void (APIENTRY * PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
02932 typedef void (APIENTRY * PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
02933 typedef void (APIENTRY * PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
02934 typedef void (APIENTRY * PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
02935 typedef GLuint (APIENTRY * PFNGLGENSYMBOLSEXTPROC) (GLenum dataType, GLenum storageType, GLenum range, GLuint components);
02936 typedef void (APIENTRY * PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, GLvoid *addr);
02937 typedef void (APIENTRY * PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, GLvoid *addr);
02938 typedef void (APIENTRY * PFNGLVARIANTBVEXTPROC) (GLuint id, GLbyte *addr);
02939 typedef void (APIENTRY * PFNGLVARIANTSVEXTPROC) (GLuint id, GLshort *addr);
02940 typedef void (APIENTRY * PFNGLVARIANTIVEXTPROC) (GLuint id, GLint *addr);
02941 typedef void (APIENTRY * PFNGLVARIANTFVEXTPROC) (GLuint id, GLfloat *addr);
02942 typedef void (APIENTRY * PFNGLVARIANTDVEXTPROC) (GLuint id, GLdouble *addr);
02943 typedef void (APIENTRY * PFNGLVARIANTUBVEXTPROC) (GLuint id, GLubyte *addr);
02944 typedef void (APIENTRY * PFNGLVARIANTUSVEXTPROC) (GLuint id, GLushort *addr);
02945 typedef void (APIENTRY * PFNGLVARIANTUIVEXTPROC) (GLuint id, GLuint *addr);
02946 typedef void (APIENTRY * PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, GLvoid *addr);
02947 typedef void (APIENTRY * PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
02948 typedef void (APIENTRY * PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
02949 typedef GLuint (APIENTRY * PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
02950 typedef GLuint (APIENTRY * PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
02951 typedef GLuint (APIENTRY * PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
02952 typedef GLuint (APIENTRY * PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
02953 typedef GLuint (APIENTRY * PFNGLBINDPARAMETEREXTPROC) (GLenum value);
02954 typedef GLboolean (APIENTRY * PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
02955 typedef void (APIENTRY * PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
02956 typedef void (APIENTRY * PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
02957 typedef void (APIENTRY * PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
02958 typedef void (APIENTRY * PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid **data);
02959 typedef void (APIENTRY * PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
02960 typedef void (APIENTRY * PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
02961 typedef void (APIENTRY * PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
02962 typedef void (APIENTRY * PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
02963 typedef void (APIENTRY * PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
02964 typedef void (APIENTRY * PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
02965
02966 extern GLEW_EXPORT PFNGLBEGINVERTEXSHADEREXTPROC glBeginVertexShaderEXT;
02967 extern GLEW_EXPORT PFNGLENDVERTEXSHADEREXTPROC glEndVertexShaderEXT;
02968 extern GLEW_EXPORT PFNGLBINDVERTEXSHADEREXTPROC glBindVertexShaderEXT;
02969 extern GLEW_EXPORT PFNGLGENVERTEXSHADERSEXTPROC glGenVertexShadersEXT;
02970 extern GLEW_EXPORT PFNGLDELETEVERTEXSHADEREXTPROC glDeleteVertexShaderEXT;
02971 extern GLEW_EXPORT PFNGLSHADEROP1EXTPROC glShaderOp1EXT;
02972 extern GLEW_EXPORT PFNGLSHADEROP2EXTPROC glShaderOp2EXT;
02973 extern GLEW_EXPORT PFNGLSHADEROP3EXTPROC glShaderOp3EXT;
02974 extern GLEW_EXPORT PFNGLSWIZZLEEXTPROC glSwizzleEXT;
02975 extern GLEW_EXPORT PFNGLWRITEMASKEXTPROC glWriteMaskEXT;
02976 extern GLEW_EXPORT PFNGLINSERTCOMPONENTEXTPROC glInsertComponentEXT;
02977 extern GLEW_EXPORT PFNGLEXTRACTCOMPONENTEXTPROC glExtractComponentEXT;
02978 extern GLEW_EXPORT PFNGLGENSYMBOLSEXTPROC glGenSymbolsEXT;
02979 extern GLEW_EXPORT PFNGLSETINVARIANTEXTPROC glSetInvariantEXT;
02980 extern GLEW_EXPORT PFNGLSETLOCALCONSTANTEXTPROC glSetLocalConstantEXT;
02981 extern GLEW_EXPORT PFNGLVARIANTBVEXTPROC glVariantbvEXT;
02982 extern GLEW_EXPORT PFNGLVARIANTSVEXTPROC glVariantsvEXT;
02983 extern GLEW_EXPORT PFNGLVARIANTIVEXTPROC glVariantivEXT;
02984 extern GLEW_EXPORT PFNGLVARIANTFVEXTPROC glVariantfvEXT;
02985 extern GLEW_EXPORT PFNGLVARIANTDVEXTPROC glVariantdvEXT;
02986 extern GLEW_EXPORT PFNGLVARIANTUBVEXTPROC glVariantubvEXT;
02987 extern GLEW_EXPORT PFNGLVARIANTUSVEXTPROC glVariantusvEXT;
02988 extern GLEW_EXPORT PFNGLVARIANTUIVEXTPROC glVariantuivEXT;
02989 extern GLEW_EXPORT PFNGLVARIANTPOINTEREXTPROC glVariantPointerEXT;
02990 extern GLEW_EXPORT PFNGLENABLEVARIANTCLIENTSTATEEXTPROC glEnableVariantClientStateEXT;
02991 extern GLEW_EXPORT PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC glDisableVariantClientStateEXT;
02992 extern GLEW_EXPORT PFNGLBINDLIGHTPARAMETEREXTPROC glBindLightParameterEXT;
02993 extern GLEW_EXPORT PFNGLBINDMATERIALPARAMETEREXTPROC glBindMaterialParameterEXT;
02994 extern GLEW_EXPORT PFNGLBINDTEXGENPARAMETEREXTPROC glBindTexGenParameterEXT;
02995 extern GLEW_EXPORT PFNGLBINDTEXTUREUNITPARAMETEREXTPROC glBindTextureUnitParameterEXT;
02996 extern GLEW_EXPORT PFNGLBINDPARAMETEREXTPROC glBindParameterEXT;
02997 extern GLEW_EXPORT PFNGLISVARIANTENABLEDEXTPROC glIsVariantEnabledEXT;
02998 extern GLEW_EXPORT PFNGLGETVARIANTBOOLEANVEXTPROC glGetVariantBooleanvEXT;
02999 extern GLEW_EXPORT PFNGLGETVARIANTINTEGERVEXTPROC glGetVariantIntegervEXT;
03000 extern GLEW_EXPORT PFNGLGETVARIANTFLOATVEXTPROC glGetVariantFloatvEXT;
03001 extern GLEW_EXPORT PFNGLGETVARIANTPOINTERVEXTPROC glGetVariantPointervEXT;
03002 extern GLEW_EXPORT PFNGLGETINVARIANTBOOLEANVEXTPROC glGetInvariantBooleanvEXT;
03003 extern GLEW_EXPORT PFNGLGETINVARIANTINTEGERVEXTPROC glGetInvariantIntegervEXT;
03004 extern GLEW_EXPORT PFNGLGETINVARIANTFLOATVEXTPROC glGetInvariantFloatvEXT;
03005 extern GLEW_EXPORT PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC glGetLocalConstantBooleanvEXT;
03006 extern GLEW_EXPORT PFNGLGETLOCALCONSTANTINTEGERVEXTPROC glGetLocalConstantIntegervEXT;
03007 extern GLEW_EXPORT PFNGLGETLOCALCONSTANTFLOATVEXTPROC glGetLocalConstantFloatvEXT;
03008
03009 #endif
03010
03011
03012
03013 #ifdef GL_EXT_vertex_weighting
03014
03015 #define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3
03016 #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
03017 #define GL_MODELVIEW0_MATRIX_EXT 0x0BA6
03018 #define GL_MODELVIEW1_MATRIX_EXT 0x8506
03019 #define GL_VERTEX_WEIGHTING_EXT 0x8509
03020 #define GL_MODELVIEW0_EXT 0x1700
03021 #define GL_MODELVIEW1_EXT 0x850A
03022 #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
03023 #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
03024 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
03025 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
03026 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
03027 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
03028
03029 typedef void (APIENTRY * PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
03030 typedef void (APIENTRY * PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
03031 typedef void (APIENTRY * PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer);
03032
03033 extern GLEW_EXPORT PFNGLVERTEXWEIGHTFEXTPROC glVertexWeightfEXT;
03034 extern GLEW_EXPORT PFNGLVERTEXWEIGHTFVEXTPROC glVertexWeightfvEXT;
03035 extern GLEW_EXPORT PFNGLVERTEXWEIGHTPOINTEREXTPROC glVertexWeightPointerEXT;
03036
03037 #endif
03038
03039
03040
03041 #ifdef GL_SGIS_generate_mipmap
03042
03043 #define GL_GENERATE_MIPMAP_SGIS 0x8191
03044 #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
03045
03046 #endif
03047
03048
03049
03050 #ifdef GL_SGIS_texture_lod
03051
03052 #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
03053 #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
03054 #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
03055 #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
03056
03057 #endif
03058
03059
03060
03061 #ifdef GL_SGIX_depth_texture
03062
03063 #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
03064 #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
03065 #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
03066
03067 #endif
03068
03069
03070
03071 #ifdef GL_SGIX_shadow
03072
03073 #define GL_TEXTURE_COMPARE_SGIX 0x819A
03074 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
03075 #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
03076 #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
03077
03078 #endif
03079
03080
03081
03082 #ifdef GL_HP_occlusion_test
03083
03084 #define GL_OCCLUSION_TEST_HP 0x8165
03085 #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
03086
03087 #endif
03088
03089
03090
03091 #ifdef GL_S3_s3tc
03092
03093 #define GL_RGB_S3TC 0x83A0
03094 #define GL_RGB4_S3TC 0x83A1
03095 #define GL_RGBA_S3TC 0x83A2
03096 #define GL_RGBA4_S3TC 0x83A3
03097
03098 #endif
03099
03100
03101
03102 #ifdef GL_WIN_swap_hint
03103
03104 typedef void (APIENTRY * PFNGLADDSWAPHINTRECTWINPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
03105
03106 extern GLEW_EXPORT PFNGLADDSWAPHINTRECTWINPROC glAddSwapHintRectWin;
03107
03108 #endif
03109
03110
03111
03112 #ifdef GL_ATI_draw_buffers
03113
03114 #define GL_MAX_DRAW_BUFFERS_ATI 0x8824
03115 #define GL_DRAW_BUFFER0_ATI 0x8825
03116 #define GL_DRAW_BUFFER1_ATI 0x8826
03117 #define GL_DRAW_BUFFER2_ATI 0x8827
03118 #define GL_DRAW_BUFFER3_ATI 0x8828
03119 #define GL_DRAW_BUFFER4_ATI 0x8829
03120 #define GL_DRAW_BUFFER5_ATI 0x882A
03121 #define GL_DRAW_BUFFER6_ATI 0x882B
03122 #define GL_DRAW_BUFFER7_ATI 0x882C
03123 #define GL_DRAW_BUFFER8_ATI 0x882D
03124 #define GL_DRAW_BUFFER9_ATI 0x882E
03125 #define GL_DRAW_BUFFER10_ATI 0x882F
03126 #define GL_DRAW_BUFFER11_ATI 0x8830
03127 #define GL_DRAW_BUFFER12_ATI 0x8831
03128 #define GL_DRAW_BUFFER13_ATI 0x8832
03129 #define GL_DRAW_BUFFER14_ATI 0x8833
03130 #define GL_DRAW_BUFFER15_ATI 0x8834
03131
03132 typedef void (APIENTRY * PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
03133
03134 extern GLEW_EXPORT PFNGLDRAWBUFFERSATIPROC glDrawBuffersATI;
03135
03136 #endif
03137
03138
03139
03140 #ifdef GL_ATI_element_array
03141
03142 #define GL_ELEMENT_ARRAY_ATI 0x8768
03143 #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
03144 #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
03145
03146 typedef void (APIENTRY * PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer);
03147 typedef void (APIENTRY * PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
03148 typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
03149
03150 extern GLEW_EXPORT PFNGLELEMENTPOINTERATIPROC glElementPointerATI;
03151 extern GLEW_EXPORT PFNGLDRAWELEMENTARRAYATIPROC glDrawElementArrayATI;
03152 extern GLEW_EXPORT PFNGLDRAWRANGEELEMENTARRAYATIPROC glDrawRangeElementArrayATI;
03153
03154 #endif
03155
03156
03157
03158 #ifdef GL_ATI_envmap_bumpmap
03159
03160 #define GL_BUMP_ROT_MATRIX_ATI 0x8775
03161 #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
03162 #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
03163 #define GL_BUMP_TEX_UNITS_ATI 0x8778
03164 #define GL_DUDV_ATI 0x8779
03165 #define GL_DU8DV8_ATI 0x877A
03166 #define GL_BUMP_ENVMAP_ATI 0x877B
03167 #define GL_BUMP_TARGET_ATI 0x877C
03168
03169 typedef void (APIENTRY * PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
03170 typedef void (APIENTRY * PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
03171 typedef void (APIENTRY * PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
03172 typedef void (APIENTRY * PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
03173
03174 extern GLEW_EXPORT PFNGLTEXBUMPPARAMETERIVATIPROC glTexBumpParameterivATI;
03175 extern GLEW_EXPORT PFNGLTEXBUMPPARAMETERFVATIPROC glTexBumpParameterfvATI;
03176 extern GLEW_EXPORT PFNGLGETTEXBUMPPARAMETERIVATIPROC glGetTexBumpParameterivATI;
03177 extern GLEW_EXPORT PFNGLGETTEXBUMPPARAMETERFVATIPROC glGetTexBumpParameterfvATI;
03178
03179 #endif
03180
03181
03182
03183 #ifdef GL_ATI_fragment_shader
03184
03185 #define GL_FRAGMENT_SHADER_ATI 0x8920
03186 #define GL_REG_0_ATI 0x8921
03187 #define GL_REG_1_ATI 0x8922
03188 #define GL_REG_2_ATI 0x8923
03189 #define GL_REG_3_ATI 0x8924
03190 #define GL_REG_4_ATI 0x8925
03191 #define GL_REG_5_ATI 0x8926
03192 #define GL_REG_6_ATI 0x8927
03193 #define GL_REG_7_ATI 0x8928
03194 #define GL_REG_8_ATI 0x8929
03195 #define GL_REG_9_ATI 0x892A
03196 #define GL_REG_10_ATI 0x892B
03197 #define GL_REG_11_ATI 0x892C
03198 #define GL_REG_12_ATI 0x892D
03199 #define GL_REG_13_ATI 0x892E
03200 #define GL_REG_14_ATI 0x892F
03201 #define GL_REG_15_ATI 0x8930
03202 #define GL_REG_16_ATI 0x8931
03203 #define GL_REG_17_ATI 0x8932
03204 #define GL_REG_18_ATI 0x8933
03205 #define GL_REG_19_ATI 0x8934
03206 #define GL_REG_20_ATI 0x8935
03207 #define GL_REG_21_ATI 0x8936
03208 #define GL_REG_22_ATI 0x8937
03209 #define GL_REG_23_ATI 0x8938
03210 #define GL_REG_24_ATI 0x8939
03211 #define GL_REG_25_ATI 0x893A
03212 #define GL_REG_26_ATI 0x893B
03213 #define GL_REG_27_ATI 0x893C
03214 #define GL_REG_28_ATI 0x893D
03215 #define GL_REG_29_ATI 0x893E
03216 #define GL_REG_30_ATI 0x893F
03217 #define GL_REG_31_ATI 0x8940
03218 #define GL_CON_0_ATI 0x8941
03219 #define GL_CON_1_ATI 0x8942
03220 #define GL_CON_2_ATI 0x8943
03221 #define GL_CON_3_ATI 0x8944
03222 #define GL_CON_4_ATI 0x8945
03223 #define GL_CON_5_ATI 0x8946
03224 #define GL_CON_6_ATI 0x8947
03225 #define GL_CON_7_ATI 0x8948
03226 #define GL_CON_8_ATI 0x8949
03227 #define GL_CON_9_ATI 0x894A
03228 #define GL_CON_10_ATI 0x894B
03229 #define GL_CON_11_ATI 0x894C
03230 #define GL_CON_12_ATI 0x894D
03231 #define GL_CON_13_ATI 0x894E
03232 #define GL_CON_14_ATI 0x894F
03233 #define GL_CON_15_ATI 0x8950
03234 #define GL_CON_16_ATI 0x8951
03235 #define GL_CON_17_ATI 0x8952
03236 #define GL_CON_18_ATI 0x8953
03237 #define GL_CON_19_ATI 0x8954
03238 #define GL_CON_20_ATI 0x8955
03239 #define GL_CON_21_ATI 0x8956
03240 #define GL_CON_22_ATI 0x8957
03241 #define GL_CON_23_ATI 0x8958
03242 #define GL_CON_24_ATI 0x8959
03243 #define GL_CON_25_ATI 0x895A
03244 #define GL_CON_26_ATI 0x895B
03245 #define GL_CON_27_ATI 0x895C
03246 #define GL_CON_28_ATI 0x895D
03247 #define GL_CON_29_ATI 0x895E
03248 #define GL_CON_30_ATI 0x895F
03249 #define GL_CON_31_ATI 0x8960
03250 #define GL_MOV_ATI 0x8961
03251 #define GL_ADD_ATI 0x8963
03252 #define GL_MUL_ATI 0x8964
03253 #define GL_SUB_ATI 0x8965
03254 #define GL_DOT3_ATI 0x8966
03255 #define GL_DOT4_ATI 0x8967
03256 #define GL_MAD_ATI 0x8968
03257 #define GL_LERP_ATI 0x8969
03258 #define GL_CND_ATI 0x896A
03259 #define GL_CND0_ATI 0x896B
03260 #define GL_DOT2_ADD_ATI 0x896C
03261 #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
03262 #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
03263 #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
03264 #define GL_NUM_PASSES_ATI 0x8970
03265 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
03266 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
03267 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
03268 #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
03269 #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
03270 #define GL_SWIZZLE_STR_ATI 0x8976
03271 #define GL_SWIZZLE_STQ_ATI 0x8977
03272 #define GL_SWIZZLE_STR_DR_ATI 0x8978
03273 #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
03274 #define GL_SWIZZLE_STRQ_ATI 0x897A
03275 #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
03276 #define GL_RED_BIT_ATI 0x00000001
03277 #define GL_GREEN_BIT_ATI 0x00000002
03278 #define GL_BLUE_BIT_ATI 0x00000004
03279 #define GL_2X_BIT_ATI 0x00000001
03280 #define GL_4X_BIT_ATI 0x00000002
03281 #define GL_8X_BIT_ATI 0x00000004
03282 #define GL_HALF_BIT_ATI 0x00000008
03283 #define GL_QUARTER_BIT_ATI 0x00000010
03284 #define GL_EIGHTH_BIT_ATI 0x00000020
03285 #define GL_SATURATE_BIT_ATI 0x00000040
03286 #define GL_COMP_BIT_ATI 0x00000002
03287 #define GL_NEGATE_BIT_ATI 0x00000004
03288 #define GL_BIAS_BIT_ATI 0x00000008
03289
03290 typedef GLuint (APIENTRY * PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
03291 typedef void (APIENTRY * PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
03292 typedef void (APIENTRY * PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
03293 typedef void (APIENTRY * PFNGLBEGINFRAGMENTSHADERATIPROC) (GLvoid);
03294 typedef void (APIENTRY * PFNGLENDFRAGMENTSHADERATIPROC) (GLvoid);
03295 typedef void (APIENTRY * PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
03296 typedef void (APIENTRY * PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
03297 typedef void (APIENTRY * PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
03298 typedef void (APIENTRY * PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
03299 typedef void (APIENTRY * PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
03300 typedef void (APIENTRY * PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
03301 typedef void (APIENTRY * PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
03302 typedef void (APIENTRY * PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
03303 typedef void (APIENTRY * PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
03304
03305 extern GLEW_EXPORT PFNGLGENFRAGMENTSHADERSATIPROC glGenFragmentShadersATI;
03306 extern GLEW_EXPORT PFNGLBINDFRAGMENTSHADERATIPROC glBindFragmentShaderATI;
03307 extern GLEW_EXPORT PFNGLDELETEFRAGMENTSHADERATIPROC glDeleteFragmentShaderATI;
03308 extern GLEW_EXPORT PFNGLBEGINFRAGMENTSHADERATIPROC glBeginFragmentShaderATI;
03309 extern GLEW_EXPORT PFNGLENDFRAGMENTSHADERATIPROC glEndFragmentShaderATI;
03310 extern GLEW_EXPORT PFNGLPASSTEXCOORDATIPROC glPassTexCoordATI;
03311 extern GLEW_EXPORT PFNGLSAMPLEMAPATIPROC glSampleMapATI;
03312 extern GLEW_EXPORT PFNGLCOLORFRAGMENTOP1ATIPROC glColorFragmentOp1ATI;
03313 extern GLEW_EXPORT PFNGLCOLORFRAGMENTOP2ATIPROC glColorFragmentOp2ATI;
03314 extern GLEW_EXPORT PFNGLCOLORFRAGMENTOP3ATIPROC glColorFragmentOp3ATI;
03315 extern GLEW_EXPORT PFNGLALPHAFRAGMENTOP1ATIPROC glAlphaFragmentOp1ATI;
03316 extern GLEW_EXPORT PFNGLALPHAFRAGMENTOP2ATIPROC glAlphaFragmentOp2ATI;
03317 extern GLEW_EXPORT PFNGLALPHAFRAGMENTOP3ATIPROC glAlphaFragmentOp3ATI;
03318 extern GLEW_EXPORT PFNGLSETFRAGMENTSHADERCONSTANTATIPROC glSetFragmentShaderConstantATI;
03319
03320 #endif
03321
03322
03323
03324 #ifdef GL_ATI_map_object_buffer
03325
03326 typedef void *(APIENTRY * PFNGLMAPOBJECTBUFFERATIPROC)(GLuint buffer);
03327 typedef void (APIENTRY * PFNGLUNMAPOBJECTBUFFERATIPROC)(GLuint buffer);
03328
03329 extern GLEW_EXPORT PFNGLMAPOBJECTBUFFERATIPROC glMapObjectBufferATI;
03330 extern GLEW_EXPORT PFNGLUNMAPOBJECTBUFFERATIPROC glUnmapObjectBufferATI;
03331
03332 #endif
03333
03334
03335
03336 #ifdef GL_ATI_pn_triangles
03337
03338 #define GL_PN_TRIANGLES_ATI 0x87F0
03339 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
03340 #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
03341 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
03342 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
03343 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
03344 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
03345 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
03346 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
03347
03348 typedef void (APIENTRY * PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
03349 typedef void (APIENTRY * PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
03350
03351 extern GLEW_EXPORT PFNGLPNTRIANGLESIATIPROC glPNTrianglesiATI;
03352 extern GLEW_EXPORT PFNGLPNTRIANGLESFATIPROC glPNTrianglesfATI;
03353
03354 #endif
03355
03356
03357
03358 #ifdef GL_ATI_separate_stencil
03359
03360 #define GL_STENCIL_BACK_FUNC_ATI 0x8800
03361 #define GL_STENCIL_BACK_FAIL_ATI 0x8801
03362 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
03363 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
03364
03365 typedef void (APIENTRY * PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
03366 typedef void (APIENTRY * PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
03367
03368 extern GLEW_EXPORT PFNGLSTENCILOPSEPARATEATIPROC glStencilOpSeparateATI;
03369 extern GLEW_EXPORT PFNGLSTENCILFUNCSEPARATEATIPROC glStencilFuncSeparateATI;
03370
03371 #endif
03372
03373
03374
03375 #ifdef GL_ATI_text_fragment_shader
03376
03377 #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
03378
03379 #endif
03380
03381
03382
03383 #ifdef GL_ATI_texture_env_combine3
03384
03385 #define GL_MODULATE_ADD_ATI 0x8744
03386 #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
03387 #define GL_MODULATE_SUBTRACT_ATI 0x8746
03388
03389 #endif
03390
03391
03392
03393 #ifdef GL_ATI_texture_float
03394
03395 #define GL_RGBA_FLOAT32_ATI 0x8814
03396 #define GL_RGB_FLOAT32_ATI 0x8815
03397 #define GL_ALPHA_FLOAT32_ATI 0x8816
03398 #define GL_INTENSITY_FLOAT32_ATI 0x8817
03399 #define GL_LUMINANCE_FLOAT32_ATI 0x8818
03400 #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
03401 #define GL_RGBA_FLOAT16_ATI 0x881A
03402 #define GL_RGB_FLOAT16_ATI 0x881B
03403 #define GL_ALPHA_FLOAT16_ATI 0x881C
03404 #define GL_INTENSITY_FLOAT16_ATI 0x881D
03405 #define GL_LUMINANCE_FLOAT16_ATI 0x881E
03406 #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
03407
03408 #endif
03409
03410
03411
03412 #ifdef GL_ATI_texture_mirror_once
03413
03414 #define GL_MIRROR_CLAMP_ATI 0x8742
03415 #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
03416
03417 #endif
03418
03419
03420
03421 #ifdef GL_ATI_vertex_array_object
03422
03423 #define GL_STATIC_ATI 0x8760
03424 #define GL_DYNAMIC_ATI 0x8761
03425 #define GL_PRESERVE_ATI 0x8762
03426 #define GL_DISCARD_ATI 0x8763
03427 #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
03428 #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
03429 #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
03430 #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
03431
03432 typedef GLuint (APIENTRY * PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage);
03433 typedef GLboolean (APIENTRY * PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
03434 typedef void (APIENTRY * PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve);
03435 typedef void (APIENTRY * PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
03436 typedef void (APIENTRY * PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
03437 typedef void (APIENTRY * PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
03438 typedef void (APIENTRY * PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
03439 typedef void (APIENTRY * PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
03440 typedef void (APIENTRY * PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
03441 typedef void (APIENTRY * PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
03442 typedef void (APIENTRY * PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
03443 typedef void (APIENTRY * PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
03444
03445 extern GLEW_EXPORT PFNGLNEWOBJECTBUFFERATIPROC glNewObjectBufferATI;
03446 extern GLEW_EXPORT PFNGLISOBJECTBUFFERATIPROC glIsObjectBufferATI;
03447 extern GLEW_EXPORT PFNGLUPDATEOBJECTBUFFERATIPROC glUpdateObjectBufferATI;
03448 extern GLEW_EXPORT PFNGLGETOBJECTBUFFERFVATIPROC glGetObjectBufferfvATI;
03449 extern GLEW_EXPORT PFNGLGETOBJECTBUFFERIVATIPROC glGetObjectBufferivATI;
03450 extern GLEW_EXPORT PFNGLFREEOBJECTBUFFERATIPROC glFreeObjectBufferATI;
03451 extern GLEW_EXPORT PFNGLARRAYOBJECTATIPROC glArrayObjectATI;
03452 extern GLEW_EXPORT PFNGLGETARRAYOBJECTFVATIPROC glGetArrayObjectfvATI;
03453 extern GLEW_EXPORT PFNGLGETARRAYOBJECTIVATIPROC glGetArrayObjectivATI;
03454 extern GLEW_EXPORT PFNGLVARIANTARRAYOBJECTATIPROC glVariantArrayObjectATI;
03455 extern GLEW_EXPORT PFNGLGETVARIANTARRAYOBJECTFVATIPROC glGetVariantArrayObjectfvATI;
03456 extern GLEW_EXPORT PFNGLGETVARIANTARRAYOBJECTIVATIPROC glGetVariantArrayObjectivATI;
03457
03458 #endif
03459
03460
03461
03462 #ifdef GL_ATI_vertex_attrib_array_object
03463
03464 typedef void (APIENTRY * PFNGLVERTEXATTRIBARRAYOBJECTATIPROC)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
03465 typedef void (APIENTRY * PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC)(GLuint index, GLenum pname, GLfloat *params);
03466 typedef void (APIENTRY * PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC)(GLuint index, GLenum pname, GLint *params);
03467
03468 extern GLEW_EXPORT PFNGLVERTEXATTRIBARRAYOBJECTATIPROC glVertexAttribArrayObjectATI;
03469 extern GLEW_EXPORT PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC glGetVertexAttribArrayObjectfvATI;
03470 extern GLEW_EXPORT PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC glGetVertexAttribArrayObjectivATI;
03471
03472 #endif
03473
03474
03475
03476 #ifdef GL_ATI_vertex_streams
03477
03478 #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
03479 #define GL_VERTEX_SOURCE_ATI 0x876C
03480 #define GL_VERTEX_STREAM0_ATI 0x876D
03481 #define GL_VERTEX_STREAM1_ATI 0x876E
03482 #define GL_VERTEX_STREAM2_ATI 0x876F
03483 #define GL_VERTEX_STREAM3_ATI 0x8770
03484 #define GL_VERTEX_STREAM4_ATI 0x8771
03485 #define GL_VERTEX_STREAM5_ATI 0x8772
03486 #define GL_VERTEX_STREAM6_ATI 0x8773
03487 #define GL_VERTEX_STREAM7_ATI 0x8774
03488
03489 typedef void (APIENTRY * PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
03490 typedef void (APIENTRY * PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
03491 typedef void (APIENTRY * PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
03492 typedef void (APIENTRY * PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
03493 typedef void (APIENTRY * PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *v);
03494 typedef void (APIENTRY * PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
03495 typedef void (APIENTRY * PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *v);
03496 typedef void (APIENTRY * PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
03497 typedef void (APIENTRY * PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *v);
03498 typedef void (APIENTRY * PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
03499 typedef void (APIENTRY * PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *v);
03500 typedef void (APIENTRY * PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
03501 typedef void (APIENTRY * PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *v);
03502 typedef void (APIENTRY * PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
03503 typedef void (APIENTRY * PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *v);
03504 typedef void (APIENTRY * PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
03505 typedef void (APIENTRY * PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *v);
03506 typedef void (APIENTRY * PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
03507 typedef void (APIENTRY * PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *v);
03508 typedef void (APIENTRY * PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
03509 typedef void (APIENTRY * PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *v);
03510 typedef void (APIENTRY * PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
03511 typedef void (APIENTRY * PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *v);
03512 typedef void (APIENTRY * PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
03513 typedef void (APIENTRY * PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *v);
03514 typedef void (APIENTRY * PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
03515 typedef void (APIENTRY * PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *v);
03516 typedef void (APIENTRY * PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte x, GLbyte y, GLbyte z);
03517 typedef void (APIENTRY * PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *v);
03518 typedef void (APIENTRY * PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
03519 typedef void (APIENTRY * PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *v);
03520 typedef void (APIENTRY * PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
03521 typedef void (APIENTRY * PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *v);
03522 typedef void (APIENTRY * PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
03523 typedef void (APIENTRY * PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *v);
03524 typedef void (APIENTRY * PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
03525 typedef void (APIENTRY * PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *v);
03526
03527 extern GLEW_EXPORT PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC glClientActiveVertexStreamATI;
03528 extern GLEW_EXPORT PFNGLVERTEXBLENDENVIATIPROC glVertexBlendEnviATI;
03529 extern GLEW_EXPORT PFNGLVERTEXBLENDENVFATIPROC glVertexBlendEnvfATI;
03530 extern GLEW_EXPORT PFNGLVERTEXSTREAM2SATIPROC glVertexStream2sATI;
03531 extern GLEW_EXPORT PFNGLVERTEXSTREAM2SVATIPROC glVertexStream2svATI;
03532 extern GLEW_EXPORT PFNGLVERTEXSTREAM2IATIPROC glVertexStream2iATI;
03533 extern GLEW_EXPORT PFNGLVERTEXSTREAM2IVATIPROC glVertexStream2ivATI;
03534 extern GLEW_EXPORT PFNGLVERTEXSTREAM2FATIPROC glVertexStream2fATI;
03535 extern GLEW_EXPORT PFNGLVERTEXSTREAM2FVATIPROC glVertexStream2fvATI;
03536 extern GLEW_EXPORT PFNGLVERTEXSTREAM2DATIPROC glVertexStream2dATI;
03537 extern GLEW_EXPORT PFNGLVERTEXSTREAM2DVATIPROC glVertexStream2dvATI;
03538 extern GLEW_EXPORT PFNGLVERTEXSTREAM3SATIPROC glVertexStream3sATI;
03539 extern GLEW_EXPORT PFNGLVERTEXSTREAM3SVATIPROC glVertexStream3svATI;
03540 extern GLEW_EXPORT PFNGLVERTEXSTREAM3IATIPROC glVertexStream3iATI;
03541 extern GLEW_EXPORT PFNGLVERTEXSTREAM3IVATIPROC glVertexStream3ivATI;
03542 extern GLEW_EXPORT PFNGLVERTEXSTREAM3FATIPROC glVertexStream3fATI;
03543 extern GLEW_EXPORT PFNGLVERTEXSTREAM3FVATIPROC glVertexStream3fvATI;
03544 extern GLEW_EXPORT PFNGLVERTEXSTREAM3DATIPROC glVertexStream3dATI;
03545 extern GLEW_EXPORT PFNGLVERTEXSTREAM3DVATIPROC glVertexStream3dvATI;
03546 extern GLEW_EXPORT PFNGLVERTEXSTREAM4SATIPROC glVertexStream4sATI;
03547 extern GLEW_EXPORT PFNGLVERTEXSTREAM4SVATIPROC glVertexStream4svATI;
03548 extern GLEW_EXPORT PFNGLVERTEXSTREAM4IATIPROC glVertexStream4iATI;
03549 extern GLEW_EXPORT PFNGLVERTEXSTREAM4IVATIPROC glVertexStream4ivATI;
03550 extern GLEW_EXPORT PFNGLVERTEXSTREAM4FATIPROC glVertexStream4fATI;
03551 extern GLEW_EXPORT PFNGLVERTEXSTREAM4FVATIPROC glVertexStream4fvATI;
03552 extern GLEW_EXPORT PFNGLVERTEXSTREAM4DATIPROC glVertexStream4dATI;
03553 extern GLEW_EXPORT PFNGLVERTEXSTREAM4DVATIPROC glVertexStream4dvATI;
03554 extern GLEW_EXPORT PFNGLNORMALSTREAM3BATIPROC glNormalStream3bATI;
03555 extern GLEW_EXPORT PFNGLNORMALSTREAM3BVATIPROC glNormalStream3bvATI;
03556 extern GLEW_EXPORT PFNGLNORMALSTREAM3SATIPROC glNormalStream3sATI;
03557 extern GLEW_EXPORT PFNGLNORMALSTREAM3SVATIPROC glNormalStream3svATI;
03558 extern GLEW_EXPORT PFNGLNORMALSTREAM3IATIPROC glNormalStream3iATI;
03559 extern GLEW_EXPORT PFNGLNORMALSTREAM3IVATIPROC glNormalStream3ivATI;
03560 extern GLEW_EXPORT PFNGLNORMALSTREAM3FATIPROC glNormalStream3fATI;
03561 extern GLEW_EXPORT PFNGLNORMALSTREAM3FVATIPROC glNormalStream3fvATI;
03562 extern GLEW_EXPORT PFNGLNORMALSTREAM3DATIPROC glNormalStream3dATI;
03563 extern GLEW_EXPORT PFNGLNORMALSTREAM3DVATIPROC glNormalStream3dvATI;
03564
03565 #endif
03566
03567
03568
03569 #ifdef GL_ATIX_point_sprites
03570
03571 #define GL_TEXTURE_POINT_MODE_ATIX 0x60b0
03572 #define GL_TEXTURE_POINT_ONE_COORD_ATIX 0x60b1
03573 #define GL_TEXTURE_POINT_SPRITE_ATIX 0x60b2
03574 #define GL_POINT_SPRITE_CULL_MODE_ATIX 0x60b3
03575 #define GL_POINT_SPRITE_CULL_CENTER_ATIX 0x60b4
03576 #define GL_POINT_SPRITE_CULL_CLIP_ATIX 0x60b5
03577
03578 #endif
03579
03580
03581
03582 #ifdef GL_ATIX_texture_env_combine3
03583
03584 #define GL_MODULATE_ADD_ATIX 0x8744
03585 #define GL_MODULATE_SIGNED_ADD_ATIX 0x8745
03586 #define GL_MODULATE_SUBTRACT_ATIX 0x8746
03587
03588 #endif
03589
03590
03591
03592 #ifdef GL_ATIX_texture_env_route
03593
03594 #define GL_SECONDARY_COLOR_ATIX 0x8747
03595 #define GL_TEXTURE_OUTPUT_RGB_ATIX 0x8748
03596 #define GL_TEXTURE_OUTPUT_ALPHA_ATIX 0x8749
03597
03598 #endif
03599
03600
03601
03602 #ifdef GL_ATIX_vertex_shader_output_point_size
03603
03604 #define GL_OUTPUT_POINT_SIZE_ATIX 0x610E
03605
03606 #endif
03607
03608
03609
03610
03611
03612 #ifdef GL_NV_copy_depth_to_color
03613
03614 #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
03615 #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
03616
03617 #endif
03618
03619
03620
03621 #ifdef GL_NV_depth_clamp
03622
03623 #define GL_DEPTH_CLAMP_NV 0x864F
03624
03625 #endif
03626
03627
03628
03629 #ifdef GL_NV_element_array
03630
03631 #define GL_ELEMENT_ARRAY_TYPE_NV 0x8769
03632 #define GL_ELEMENT_ARRAY_POINTER_NV 0x876A
03633
03634 typedef void (APIENTRY * PFNGLELEMENTPOINTERNVPROC) (GLenum type, const GLvoid *pointer);
03635 typedef void (APIENTRY * PFNGLDRAWELEMENTARRAYNVPROC) (GLenum mode, GLint first, GLsizei count);
03636 typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTARRAYNVPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
03637 typedef void (APIENTRY * PFNGLMULTIDRAWELEMENTARRAYNVPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
03638 typedef void (APIENTRY * PFNGLMULTIDRAWRANGEELEMENTARRAYNVPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
03639
03640 extern GLEW_EXPORT PFNGLELEMENTPOINTERNVPROC glElementPointerNV;
03641 extern GLEW_EXPORT PFNGLDRAWELEMENTARRAYNVPROC glDrawElementArrayNV;
03642 extern GLEW_EXPORT PFNGLDRAWRANGEELEMENTARRAYNVPROC glDrawRangeElementArrayNV;
03643 extern GLEW_EXPORT PFNGLMULTIDRAWELEMENTARRAYNVPROC glMultiDrawElementArrayNV;
03644 extern GLEW_EXPORT PFNGLMULTIDRAWRANGEELEMENTARRAYNVPROC glMultiDrawRangeElementArrayNV;
03645
03646 #endif
03647
03648
03649
03650 #ifdef GL_NV_evaluators
03651
03652 #define GL_EVAL_2D_NV 0x86C0
03653 #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
03654 #define GL_MAP_TESSELLATION_NV 0x86C2
03655 #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
03656 #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
03657 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
03658 #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
03659 #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
03660 #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
03661 #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
03662 #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
03663 #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
03664 #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
03665 #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
03666 #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
03667 #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
03668 #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
03669 #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
03670 #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
03671 #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
03672 #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
03673 #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
03674 #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
03675 #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
03676
03677 typedef void (APIENTRY * PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
03678 typedef void (APIENTRY * PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
03679 typedef void (APIENTRY * PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
03680 typedef void (APIENTRY * PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
03681 typedef void (APIENTRY * PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
03682 typedef void (APIENTRY * PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
03683 typedef void (APIENTRY * PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
03684 typedef void (APIENTRY * PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
03685 typedef void (APIENTRY * PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
03686
03687 extern GLEW_EXPORT PFNGLMAPCONTROLPOINTSNVPROC glMapControlPointsNV;
03688 extern GLEW_EXPORT PFNGLMAPPARAMETERIVNVPROC glMapParameterivNV;
03689 extern GLEW_EXPORT PFNGLMAPPARAMETERFVNVPROC glMapParameterfvNV;
03690 extern GLEW_EXPORT PFNGLGETMAPCONTROLPOINTSNVPROC glGetMapControlPointsNV;
03691 extern GLEW_EXPORT PFNGLGETMAPPARAMETERIVNVPROC glGetMapParameterivNV;
03692 extern GLEW_EXPORT PFNGLGETMAPPARAMETERFVNVPROC glGetMapParameterfvNV;
03693 extern GLEW_EXPORT PFNGLGETMAPATTRIBPARAMETERIVNVPROC glGetMapAttribParameterivNV;
03694 extern GLEW_EXPORT PFNGLGETMAPATTRIBPARAMETERFVNVPROC glGetMapAttribParameterfvNV;
03695 extern GLEW_EXPORT PFNGLEVALMAPSNVPROC glEvalMapsNV;
03696
03697 #endif
03698
03699
03700
03701 #ifdef GL_NV_fence
03702
03703 #define GL_ALL_COMPLETED_NV 0x84F2
03704 #define GL_FENCE_STATUS_NV 0x84F3
03705 #define GL_FENCE_CONDITION_NV 0x84F4
03706
03707 typedef void (APIENTRY * PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
03708 typedef void (APIENTRY * PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
03709 typedef void (APIENTRY * PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
03710 typedef GLboolean (APIENTRY * PFNGLTESTFENCENVPROC) (GLuint fence);
03711 typedef void (APIENTRY * PFNGLFINISHFENCENVPROC) (GLuint fence);
03712 typedef GLboolean (APIENTRY * PFNGLISFENCENVPROC) (GLuint fence);
03713 typedef void (APIENTRY * PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
03714
03715 extern GLEW_EXPORT PFNGLGENFENCESNVPROC glGenFencesNV;
03716 extern GLEW_EXPORT PFNGLDELETEFENCESNVPROC glDeleteFencesNV;
03717 extern GLEW_EXPORT PFNGLSETFENCENVPROC glSetFenceNV;
03718 extern GLEW_EXPORT PFNGLTESTFENCENVPROC glTestFenceNV;
03719 extern GLEW_EXPORT PFNGLFINISHFENCENVPROC glFinishFenceNV;
03720 extern GLEW_EXPORT PFNGLISFENCENVPROC glIsFenceNV;
03721 extern GLEW_EXPORT PFNGLGETFENCEIVNVPROC glGetFenceivNV;
03722
03723 #endif
03724
03725
03726
03727 #ifdef GL_NV_float_buffer
03728
03729 #define GL_FLOAT_R_NV 0x8880
03730 #define GL_FLOAT_RG_NV 0x8881
03731 #define GL_FLOAT_RGB_NV 0x8882
03732 #define GL_FLOAT_RGBA_NV 0x8883
03733 #define GL_FLOAT_R32_NV 0x8885
03734 #define GL_FLOAT_R16_NV 0x8884
03735 #define GL_FLOAT_R32_NV 0x8885
03736 #define GL_FLOAT_RG16_NV 0x8886
03737 #define GL_FLOAT_RG32_NV 0x8887
03738 #define GL_FLOAT_RGB16_NV 0x8888
03739 #define GL_FLOAT_RGB32_NV 0x8889
03740 #define GL_FLOAT_RGBA16_NV 0x888A
03741 #define GL_FLOAT_RGBA32_NV 0x888B
03742 #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
03743 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
03744 #define GL_FLOAT_RGBA_MODE_NV 0x888E
03745
03746 #endif
03747
03748
03749
03750 #ifdef GL_NV_fog_distance
03751
03752 #define GL_FOG_DISTANCE_MODE_NV 0x855A
03753 #define GL_EYE_RADIAL_NV 0x855B
03754 #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
03755
03756 #endif
03757
03758
03759
03760 #ifdef GL_NV_fragment_program
03761
03762 #define GL_FRAGMENT_PROGRAM_NV 0x8870
03763 #define GL_MAX_TEXTURE_COORDS_NV 0x8871
03764 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
03765 #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
03766 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
03767 #define GL_PROGRAM_ERROR_STRING_NV 0x8874
03768
03769 typedef void (APIENTRY * PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
03770 typedef void (APIENTRY * PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
03771 typedef void (APIENTRY * PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat v[]);
03772 typedef void (APIENTRY * PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble v[]);
03773 typedef void (APIENTRY * PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
03774 typedef void (APIENTRY * PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
03775
03776 #ifndef GL_ARB_vertex_program
03777 typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
03778 typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
03779 typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
03780 typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
03781 typedef void (APIENTRY * PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
03782 typedef void (APIENTRY * PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
03783 #endif
03784
03785 extern GLEW_EXPORT PFNGLPROGRAMNAMEDPARAMETER4FNVPROC glProgramNamedParameter4fNV;
03786 extern GLEW_EXPORT PFNGLPROGRAMNAMEDPARAMETER4DNVPROC glProgramNamedParameter4dNV;
03787 extern GLEW_EXPORT PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC glProgramNamedParameter4fvNV;
03788 extern GLEW_EXPORT PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC glProgramNamedParameter4dvNV;
03789 extern GLEW_EXPORT PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC glGetProgramNamedParameterfvNV;
03790 extern GLEW_EXPORT PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC glGetProgramNamedParameterdvNV;
03791
03792 #ifndef GL_ARB_vertex_program
03793 extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4DARBPROC glProgramLocalParameter4dARB;
03794 extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4DVARBPROC glProgramLocalParameter4dvARB;
03795 extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4FARBPROC glProgramLocalParameter4fARB;
03796 extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4FVARBPROC glProgramLocalParameter4fvARB;
03797 extern GLEW_EXPORT PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC glGetProgramLocalParameterdvARB;
03798 extern GLEW_EXPORT PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC glGetProgramLocalParameterfvARB;
03799 #endif
03800
03801 #endif
03802
03803
03804
03805 #ifdef GL_NV_half_float
03806
03807 #define GL_HALF_FLOAT_NV 0x140B
03808
03809 #endif
03810
03811
03812
03813 #ifdef GL_NV_light_max_exponent
03814
03815 #define GL_MAX_SHININESS_NV 0x8504
03816 #define GL_MAX_SPOT_EXPONENT_NV 0x8505
03817
03818 #endif
03819
03820
03821
03822 #ifdef GL_NV_multisample_filter_hint
03823
03824 #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
03825
03826 #endif
03827
03828
03829
03830 #ifdef GL_NV_occlusion_query
03831
03832 #ifndef GL_HP_occlusion_test
03833 #define GL_OCCLUSION_TEST_HP 0x8165
03834 #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
03835 #endif
03836 #define GL_PIXEL_COUNTER_BITS_NV 0x8864
03837 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
03838 #define GL_PIXEL_COUNT_NV 0x8866
03839 #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
03840
03841 typedef void (APIENTRY * PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
03842 typedef void (APIENTRY * PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
03843 typedef GLboolean (APIENTRY * PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
03844 typedef void (APIENTRY * PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
03845 typedef void (APIENTRY * PFNGLENDOCCLUSIONQUERYNVPROC) (void);
03846 typedef void (APIENTRY * PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
03847 typedef void (APIENTRY * PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
03848
03849 extern GLEW_EXPORT PFNGLGENOCCLUSIONQUERIESNVPROC glGenOcclusionQueriesNV;
03850 extern GLEW_EXPORT PFNGLDELETEOCCLUSIONQUERIESNVPROC glDeleteOcclusionQueriesNV;
03851 extern GLEW_EXPORT PFNGLISOCCLUSIONQUERYNVPROC glIsOcclusionQueryNV;
03852 extern GLEW_EXPORT PFNGLBEGINOCCLUSIONQUERYNVPROC glBeginOcclusionQueryNV;
03853 extern GLEW_EXPORT PFNGLENDOCCLUSIONQUERYNVPROC glEndOcclusionQueryNV;
03854 extern GLEW_EXPORT PFNGLGETOCCLUSIONQUERYIVNVPROC glGetOcclusionQueryivNV;
03855 extern GLEW_EXPORT PFNGLGETOCCLUSIONQUERYUIVNVPROC glGetOcclusionQueryuivNV;
03856
03857 #endif
03858
03859
03860
03861 #ifdef GL_NV_packed_depth_stencil
03862
03863 #define GL_DEPTH_STENCIL_NV 0x84F9
03864 #define GL_UNSIGNED_INT_24_8_NV 0x84FA
03865
03866 #endif
03867
03868
03869
03870 #ifdef GL_NV_pixel_data_range
03871
03872 #define WRITE_PIXEL_DATA_RANGE_NV 0x8878
03873 #define READ_PIXEL_DATA_RANGE_NV 0x8879
03874 #define WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
03875 #define READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
03876 #define WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
03877 #define READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
03878
03879 typedef void (APIENTRY * PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer);
03880 typedef void (APIENTRY * PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
03881
03882 extern GLEW_EXPORT PFNGLPIXELDATARANGENVPROC glPixelDataRangeNV;
03883 extern GLEW_EXPORT PFNGLFLUSHPIXELDATARANGENVPROC glFlushPixelDataRangeNV;
03884
03885 #endif
03886
03887
03888
03889 #ifdef GL_NV_point_sprite
03890
03891 #define GL_POINT_SPRITE_NV 0x8861
03892 #define GL_COORD_REPLACE_NV 0x8862
03893 #define GL_POINT_SPRITE_R_MODE_NV 0x8863
03894
03895 typedef void (APIENTRY * PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
03896 typedef void (APIENTRY * PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
03897
03898 extern GLEW_EXPORT PFNGLPOINTPARAMETERINVPROC glPointParameteriNV;
03899 extern GLEW_EXPORT PFNGLPOINTPARAMETERIVNVPROC glPointParameterivNV;
03900
03901 #endif
03902
03903
03904
03905 #ifdef GL_NV_primitive_restart
03906
03907 #define GL_PRIMITIVE_RESTART_NV 0x8558
03908 #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
03909
03910 typedef void (APIENTRY * PFNGLPRIMITIVERESTARTNVPROC) ();
03911 typedef void (APIENTRY * PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
03912
03913 extern GLEW_EXPORT PFNGLPRIMITIVERESTARTNVPROC glPrimitiveRestartNV;
03914 extern GLEW_EXPORT PFNGLPRIMITIVERESTARTINDEXNVPROC glPrimitiveRestartIndexNV;
03915
03916 #endif
03917
03918
03919
03920 #ifdef GL_NV_register_combiners
03921
03922 #define GL_REGISTER_COMBINERS_NV 0x8522
03923 #define GL_COMBINER0_NV 0x8550
03924 #define GL_COMBINER1_NV 0x8551
03925 #define GL_COMBINER2_NV 0x8552
03926 #define GL_COMBINER3_NV 0x8553
03927 #define GL_COMBINER4_NV 0x8554
03928 #define GL_COMBINER5_NV 0x8555
03929 #define GL_COMBINER6_NV 0x8556
03930 #define GL_COMBINER7_NV 0x8557
03931 #define GL_VARIABLE_A_NV 0x8523
03932 #define GL_VARIABLE_B_NV 0x8524
03933 #define GL_VARIABLE_C_NV 0x8525
03934 #define GL_VARIABLE_D_NV 0x8526
03935 #define GL_VARIABLE_E_NV 0x8527
03936 #define GL_VARIABLE_F_NV 0x8528
03937 #define GL_VARIABLE_G_NV 0x8529
03938 #define GL_CONSTANT_COLOR0_NV 0x852A
03939 #define GL_CONSTANT_COLOR1_NV 0x852B
03940 #define GL_PRIMARY_COLOR_NV 0x852C
03941 #define GL_SECONDARY_COLOR_NV 0x852D
03942 #define GL_SPARE0_NV 0x852E
03943 #define GL_SPARE1_NV 0x852F
03944 #define GL_UNSIGNED_IDENTITY_NV 0x8536
03945 #define GL_UNSIGNED_INVERT_NV 0x8537
03946 #define GL_EXPAND_NORMAL_NV 0x8538
03947 #define GL_EXPAND_NEGATE_NV 0x8539
03948 #define GL_HALF_BIAS_NORMAL_NV 0x853A
03949 #define GL_HALF_BIAS_NEGATE_NV 0x853B
03950 #define GL_SIGNED_IDENTITY_NV 0x853C
03951 #define GL_SIGNED_NEGATE_NV 0x853D
03952 #define GL_E_TIMES_F_NV 0x8531
03953 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
03954 #define GL_SCALE_BY_TWO_NV 0x853E
03955 #define GL_SCALE_BY_FOUR_NV 0x853F
03956 #define GL_SCALE_BY_ONE_HALF_NV 0x8540
03957 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
03958 #define GL_DISCARD_NV 0x8530
03959 #define GL_COMBINER_INPUT_NV 0x8542
03960 #define GL_COMBINER_MAPPING_NV 0x8543
03961 #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
03962 #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
03963 #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
03964 #define GL_COMBINER_MUX_SUM_NV 0x8547
03965 #define GL_COMBINER_SCALE_NV 0x8548
03966 #define GL_COMBINER_BIAS_NV 0x8549
03967 #define GL_COMBINER_AB_OUTPUT_NV 0x854A
03968 #define GL_COMBINER_CD_OUTPUT_NV 0x854B
03969 #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
03970 #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
03971 #define GL_COLOR_SUM_CLAMP_NV 0x854F
03972 #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
03973
03974 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
03975 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
03976 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
03977 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
03978 typedef void (APIENTRY * PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
03979 typedef void (APIENTRY * PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
03980 typedef void (APIENTRY * PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
03981 typedef void (APIENTRY * PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
03982 typedef void (APIENTRY * PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
03983 typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
03984 typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
03985 typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
03986 typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
03987
03988 extern GLEW_EXPORT PFNGLCOMBINERPARAMETERFVNVPROC glCombinerParameterfvNV;
03989 extern GLEW_EXPORT PFNGLCOMBINERPARAMETERFNVPROC glCombinerParameterfNV;
03990 extern GLEW_EXPORT PFNGLCOMBINERPARAMETERIVNVPROC glCombinerParameterivNV;
03991 extern GLEW_EXPORT PFNGLCOMBINERPARAMETERINVPROC glCombinerParameteriNV;
03992 extern GLEW_EXPORT PFNGLCOMBINERINPUTNVPROC glCombinerInputNV;
03993 extern GLEW_EXPORT PFNGLCOMBINEROUTPUTNVPROC glCombinerOutputNV;
03994 extern GLEW_EXPORT PFNGLFINALCOMBINERINPUTNVPROC glFinalCombinerInputNV;
03995 extern GLEW_EXPORT PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC glGetCombinerInputParameterfvNV;
03996 extern GLEW_EXPORT PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC glGetCombinerInputParameterivNV;
03997 extern GLEW_EXPORT PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC glGetCombinerOutputParameterfvNV;
03998 extern GLEW_EXPORT PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC glGetCombinerOutputParameterivNV;
03999 extern GLEW_EXPORT PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC glGetFinalCombinerInputParameterfvNV;
04000 extern GLEW_EXPORT PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC glGetFinalCombinerInputParameterivNV;
04001
04002 #endif
04003
04004
04005
04006 #ifdef GL_NV_register_combiners2
04007
04008 #define GL_PER_STAGE_CONSTANTS_NV 0x8535
04009
04010 typedef void (APIENTRY * PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
04011 typedef void (APIENTRY * PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
04012
04013 extern GLEW_EXPORT PFNGLCOMBINERSTAGEPARAMETERFVNVPROC glCombinerStageParameterfvNV;
04014 extern GLEW_EXPORT PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC glGetCombinerStageParameterfvNV;
04015
04016 #endif
04017
04018
04019
04020 #ifdef GL_NV_texgen_emboss
04021
04022 #define GL_EMBOSS_LIGHT_NV 0x855D
04023 #define GL_EMBOSS_CONSTANT_NV 0x855E
04024 #define GL_EMBOSS_MAP_NV 0x855F
04025
04026 #endif
04027
04028
04029
04030 #ifdef GL_NV_texgen_reflection
04031
04032 #define GL_NORMAL_MAP_NV 0x8511
04033 #define GL_REFLECTION_MAP_NV 0x8512
04034
04035 #endif
04036
04037
04038
04039
04040
04041 #ifdef GL_NV_texture_env_combine4
04042
04043 #define GL_COMBINE4_NV 0x8503
04044 #define GL_SOURCE3_RGB_NV 0x8583
04045 #define GL_SOURCE3_ALPHA_NV 0x858B
04046 #define GL_OPERAND3_RGB_NV 0x8593
04047 #define GL_OPERAND3_ALPHA_NV 0x859B
04048
04049 #endif
04050
04051
04052
04053 #ifdef GL_NV_texture_expand_normal
04054
04055 #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
04056
04057 #endif
04058
04059
04060
04061 #ifdef GL_NV_texture_rectangle
04062
04063 #define GL_TEXTURE_RECTANGLE_NV 0x84F5
04064 #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
04065 #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
04066 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
04067
04068 #endif
04069
04070
04071
04072 #ifdef GL_NV_texture_shader
04073
04074 #define GL_TEXTURE_SHADER_NV 0x86DE
04075 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
04076 #define GL_SHADER_OPERATION_NV 0x86DF
04077 #define GL_CULL_MODES_NV 0x86E0
04078 #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
04079 #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
04080 #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
04081 #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
04082 #define GL_CONST_EYE_NV 0x86E5
04083 #define GL_SHADER_CONSISTENT_NV 0x86DD
04084 #define GL_PASS_THROUGH_NV 0x86E6
04085 #define GL_CULL_FRAGMENT_NV 0x86E7
04086 #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
04087 #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
04088 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
04089 #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
04090 #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
04091 #define GL_DOT_PRODUCT_NV 0x86EC
04092 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
04093 #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
04094 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
04095 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
04096 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
04097 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
04098 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
04099 #define GL_HILO_NV 0x86F4
04100 #define GL_DSDT_NV 0x86F5
04101 #define GL_DSDT_MAG_NV 0x86F6
04102 #define GL_DSDT_MAG_VIB_NV 0x86F7
04103 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
04104 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
04105 #define GL_SIGNED_RGBA_NV 0x86FB
04106 #define GL_SIGNED_RGBA8_NV 0x86FC
04107 #define GL_SIGNED_RGB_NV 0x86FE
04108 #define GL_SIGNED_RGB8_NV 0x86FF
04109 #define GL_SIGNED_LUMINANCE_NV 0x8701
04110 #define GL_SIGNED_LUMINANCE8_NV 0x8702
04111 #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
04112 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
04113 #define GL_SIGNED_ALPHA_NV 0x8705
04114 #define GL_SIGNED_ALPHA8_NV 0x8706
04115 #define GL_SIGNED_INTENSITY_NV 0x8707
04116 #define GL_SIGNED_INTENSITY8_NV 0x8708
04117 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
04118 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
04119 #define GL_HILO16_NV 0x86F8
04120 #define GL_SIGNED_HILO_NV 0x86F9
04121 #define GL_SIGNED_HILO16_NV 0x86FA
04122 #define GL_DSDT8_NV 0x8709
04123 #define GL_DSDT8_MAG8_NV 0x870A
04124 #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
04125 #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
04126 #define GL_HI_SCALE_NV 0x870E
04127 #define GL_LO_SCALE_NV 0x870F
04128 #define GL_DS_SCALE_NV 0x8710
04129 #define GL_DT_SCALE_NV 0x8711
04130 #define GL_MAGNITUDE_SCALE_NV 0x8712
04131 #define GL_VIBRANCE_SCALE_NV 0x8713
04132 #define GL_HI_BIAS_NV 0x8714
04133 #define GL_LO_BIAS_NV 0x8715
04134 #define GL_DS_BIAS_NV 0x8716
04135 #define GL_DT_BIAS_NV 0x8717
04136 #define GL_MAGNITUDE_BIAS_NV 0x8718
04137 #define GL_VIBRANCE_BIAS_NV 0x8719
04138 #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
04139 #define GL_TEXTURE_HI_SIZE_NV 0x871B
04140 #define GL_TEXTURE_LO_SIZE_NV 0x871C
04141 #define GL_TEXTURE_DS_SIZE_NV 0x871D
04142 #define GL_TEXTURE_DT_SIZE_NV 0x871E
04143 #define GL_TEXTURE_MAG_SIZE_NV 0x871F
04144
04145 #endif
04146
04147
04148
04149 #ifdef GL_NV_texture_shader2
04150
04151 #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
04152 #define GL_HILO_NV 0x86F4
04153 #define GL_DSDT_NV 0x86F5
04154 #define GL_DSDT_MAG_NV 0x86F6
04155 #define GL_DSDT_MAG_VIB_NV 0x86F7
04156 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
04157 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
04158 #define GL_SIGNED_RGBA_NV 0x86FB
04159 #define GL_SIGNED_RGBA8_NV 0x86FC
04160 #define GL_SIGNED_RGB_NV 0x86FE
04161 #define GL_SIGNED_RGB8_NV 0x86FF
04162 #define GL_SIGNED_LUMINANCE_NV 0x8701
04163 #define GL_SIGNED_LUMINANCE8_NV 0x8702
04164 #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
04165 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
04166 #define GL_SIGNED_ALPHA_NV 0x8705
04167 #define GL_SIGNED_ALPHA8_NV 0x8706
04168 #define GL_SIGNED_INTENSITY_NV 0x8707
04169 #define GL_SIGNED_INTENSITY8_NV 0x8708
04170 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
04171 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
04172 #define GL_HILO16_NV 0x86F8
04173 #define GL_SIGNED_HILO_NV 0x86F9
04174 #define GL_SIGNED_HILO16_NV 0x86FA
04175 #define GL_DSDT8_NV 0x8709
04176 #define GL_DSDT8_MAG8_NV 0x870A
04177 #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
04178 #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
04179
04180 #endif
04181
04182
04183
04184 #ifdef GL_NV_texture_shader3
04185
04186 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
04187 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
04188 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
04189 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
04190 #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
04191 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
04192 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
04193 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
04194 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
04195 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
04196 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
04197 #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
04198 #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
04199 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
04200 #define GL_HILO8_NV 0x885E
04201 #define GL_SIGNED_HILO8_NV 0x885F
04202 #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
04203
04204 #endif
04205
04206
04207
04208 #ifdef GL_NV_vertex_array_range
04209
04210 #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
04211 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
04212 #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
04213 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
04214 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
04215
04216 typedef void (APIENTRY * PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
04217 typedef void (APIENTRY * PFNGLVERTEXARRAYRANGENVPROC) (GLsizei size, const GLvoid *pointer);
04218
04219 extern GLEW_EXPORT PFNGLFLUSHVERTEXARRAYRANGENVPROC glFlushVertexArrayRangeNV;
04220 extern GLEW_EXPORT PFNGLVERTEXARRAYRANGENVPROC glVertexArrayRangeNV;
04221
04222 #endif
04223
04224
04225
04226 #ifdef GL_NV_vertex_array_range2
04227
04228 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
04229
04230 #endif
04231
04232
04233
04234 #ifdef GL_NV_vertex_program
04235
04236 #define GL_VERTEX_PROGRAM_NV 0x8620
04237 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
04238 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
04239 #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
04240 #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
04241 #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
04242 #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
04243 #define GL_CURRENT_ATTRIB_NV 0x8626
04244 #define GL_PROGRAM_PARAMETER_NV 0x8644
04245 #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
04246 #define GL_PROGRAM_TARGET_NV 0x8646
04247 #define GL_PROGRAM_LENGTH_NV 0x8627
04248 #define GL_PROGRAM_RESIDENT_NV 0x8647
04249 #define GL_PROGRAM_STRING_NV 0x8628
04250 #define GL_TRACK_MATRIX_NV 0x8648
04251 #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
04252 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
04253 #define GL_MAX_TRACK_MATRICES_NV 0x862F
04254 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
04255 #define GL_CURRENT_MATRIX_NV 0x8641
04256 #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
04257 #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
04258 #define GL_MODELVIEW_PROJECTION_NV 0x8629
04259 #define GL_MATRIX0_NV 0x8630
04260 #define GL_MATRIX1_NV 0x8631
04261 #define GL_MATRIX2_NV 0x8632
04262 #define GL_MATRIX3_NV 0x8633
04263 #define GL_MATRIX4_NV 0x8634
04264 #define GL_MATRIX5_NV 0x8635
04265 #define GL_MATRIX6_NV 0x8636
04266 #define GL_MATRIX7_NV 0x8637
04267 #define GL_IDENTITY_NV 0x862A
04268 #define GL_INVERSE_NV 0x862B
04269 #define GL_TRANSPOSE_NV 0x862C
04270 #define GL_INVERSE_TRANSPOSE_NV 0x862D
04271 #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
04272 #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
04273 #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
04274 #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
04275 #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
04276 #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
04277 #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
04278 #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
04279 #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
04280 #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
04281 #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
04282 #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
04283 #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
04284 #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
04285 #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
04286 #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
04287 #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
04288 #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
04289 #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
04290 #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
04291 #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
04292 #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
04293 #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
04294 #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
04295 #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
04296 #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
04297 #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
04298 #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
04299 #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
04300 #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
04301 #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
04302 #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
04303 #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
04304 #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
04305 #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
04306 #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
04307 #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
04308 #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
04309 #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
04310 #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
04311 #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
04312 #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
04313 #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
04314 #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
04315 #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
04316 #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
04317 #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
04318 #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
04319
04320 typedef void (APIENTRY * PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
04321 typedef void (APIENTRY * PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *ids);
04322 typedef void (APIENTRY * PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
04323 typedef void (APIENTRY * PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *ids);
04324 typedef GLboolean (APIENTRY * PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *ids, GLboolean *residences);
04325 typedef void (APIENTRY * PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, GLuint *ids);
04326 typedef void (APIENTRY * PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
04327 typedef void (APIENTRY * PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
04328 typedef void (APIENTRY * PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
04329 typedef void (APIENTRY * PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
04330 typedef void (APIENTRY * PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
04331 typedef void (APIENTRY * PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
04332 typedef void (APIENTRY * PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
04333 typedef void (APIENTRY * PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
04334 typedef void (APIENTRY * PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid **pointer);
04335 typedef GLboolean (APIENTRY * PFNGLISPROGRAMNVPROC) (GLuint id);
04336 typedef void (APIENTRY * PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
04337 typedef void (APIENTRY * PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
04338 typedef void (APIENTRY * PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
04339 typedef void (APIENTRY * PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *params);
04340 typedef void (APIENTRY * PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *params);
04341 typedef void (APIENTRY * PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLuint num, const GLdouble *params);
04342 typedef void (APIENTRY * PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLuint num, const GLfloat *params);
04343 typedef void (APIENTRY * PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
04344 typedef void (APIENTRY * PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
04345 typedef void (APIENTRY * PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
04346 typedef void (APIENTRY * PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
04347 typedef void (APIENTRY * PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
04348 typedef void (APIENTRY * PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
04349 typedef void (APIENTRY * PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
04350 typedef void (APIENTRY * PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
04351 typedef void (APIENTRY * PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
04352 typedef void (APIENTRY * PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
04353 typedef void (APIENTRY * PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
04354 typedef void (APIENTRY * PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
04355 typedef void (APIENTRY * PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
04356 typedef void (APIENTRY * PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
04357 typedef void (APIENTRY * PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
04358 typedef void (APIENTRY * PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
04359 typedef void (APIENTRY * PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
04360 typedef void (APIENTRY * PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
04361 typedef void (APIENTRY * PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
04362 typedef void (APIENTRY * PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
04363 typedef void (APIENTRY * PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
04364 typedef void (APIENTRY * PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
04365 typedef void (APIENTRY * PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
04366 typedef void (APIENTRY * PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
04367 typedef void (APIENTRY * PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
04368 typedef void (APIENTRY * PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
04369 typedef void (APIENTRY * PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
04370 typedef void (APIENTRY * PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
04371 typedef void (APIENTRY * PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei n, const GLshort *v);
04372 typedef void (APIENTRY * PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei n, const GLfloat *v);
04373 typedef void (APIENTRY * PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei n, const GLdouble *v);
04374 typedef void (APIENTRY * PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei n, const GLshort *v);
04375 typedef void (APIENTRY * PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei n, const GLfloat *v);
04376 typedef void (APIENTRY * PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei n, const GLdouble *v);
04377 typedef void (APIENTRY * PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei n, const GLshort *v);
04378 typedef void (APIENTRY * PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei n, const GLfloat *v);
04379 typedef void (APIENTRY * PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei n, const GLdouble *v);
04380 typedef void (APIENTRY * PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei n, const GLshort *v);
04381 typedef void (APIENTRY * PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei n, const GLfloat *v);
04382 typedef void (APIENTRY * PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei n, const GLdouble *v);
04383 typedef void (APIENTRY * PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei n, const GLubyte *v);
04384
04385 extern GLEW_EXPORT PFNGLBINDPROGRAMNVPROC glBindProgramNV;
04386 extern GLEW_EXPORT PFNGLDELETEPROGRAMSNVPROC glDeleteProgramsNV;
04387 extern GLEW_EXPORT PFNGLEXECUTEPROGRAMNVPROC glExecuteProgramNV;
04388 extern GLEW_EXPORT PFNGLGENPROGRAMSNVPROC glGenProgramsNV;
04389 extern GLEW_EXPORT PFNGLAREPROGRAMSRESIDENTNVPROC glAreProgramsResidentNV;
04390 extern GLEW_EXPORT PFNGLREQUESTRESIDENTPROGRAMSNVPROC glRequestResidentProgramsNV;
04391 extern GLEW_EXPORT PFNGLGETPROGRAMPARAMETERFVNVPROC glGetProgramParameterfvNV;
04392 extern GLEW_EXPORT PFNGLGETPROGRAMPARAMETERDVNVPROC glGetProgramParameterdvNV;
04393 extern GLEW_EXPORT PFNGLGETPROGRAMIVNVPROC glGetProgramivNV;
04394 extern GLEW_EXPORT PFNGLGETPROGRAMSTRINGNVPROC glGetProgramStringNV;
04395 extern GLEW_EXPORT PFNGLGETTRACKMATRIXIVNVPROC glGetTrackMatrixivNV;
04396 extern GLEW_EXPORT PFNGLGETVERTEXATTRIBDVNVPROC glGetVertexAttribdvNV;
04397 extern GLEW_EXPORT PFNGLGETVERTEXATTRIBFVNVPROC glGetVertexAttribfvNV;
04398 extern GLEW_EXPORT PFNGLGETVERTEXATTRIBIVNVPROC glGetVertexAttribivNV;
04399 extern GLEW_EXPORT PFNGLGETVERTEXATTRIBPOINTERVNVPROC glGetVertexAttribPointervNV;
04400 extern GLEW_EXPORT PFNGLISPROGRAMNVPROC glIsProgramNV;
04401 extern GLEW_EXPORT PFNGLLOADPROGRAMNVPROC glLoadProgramNV;
04402 extern GLEW_EXPORT PFNGLPROGRAMPARAMETER4FNVPROC glProgramParameter4fNV;
04403 extern GLEW_EXPORT PFNGLPROGRAMPARAMETER4DNVPROC glProgramParameter4dNV;
04404 extern GLEW_EXPORT PFNGLPROGRAMPARAMETER4DVNVPROC glProgramParameter4dvNV;
04405 extern GLEW_EXPORT PFNGLPROGRAMPARAMETER4FVNVPROC glProgramParameter4fvNV;
04406 extern GLEW_EXPORT PFNGLPROGRAMPARAMETERS4DVNVPROC glProgramParameters4dvNV;
04407 extern GLEW_EXPORT PFNGLPROGRAMPARAMETERS4FVNVPROC glProgramParameters4fvNV;
04408 extern GLEW_EXPORT PFNGLTRACKMATRIXNVPROC glTrackMatrixNV;
04409 extern GLEW_EXPORT PFNGLVERTEXATTRIBPOINTERNVPROC glVertexAttribPointerNV;
04410 extern GLEW_EXPORT PFNGLVERTEXATTRIB1SNVPROC glVertexAttrib1sNV;
04411 extern GLEW_EXPORT PFNGLVERTEXATTRIB1FNVPROC glVertexAttrib1fNV;
04412 extern GLEW_EXPORT PFNGLVERTEXATTRIB1DNVPROC glVertexAttrib1dNV;
04413 extern GLEW_EXPORT PFNGLVERTEXATTRIB2SNVPROC glVertexAttrib2sNV;
04414 extern GLEW_EXPORT PFNGLVERTEXATTRIB2FNVPROC glVertexAttrib2fNV;
04415 extern GLEW_EXPORT PFNGLVERTEXATTRIB2DNVPROC glVertexAttrib2dNV;
04416 extern GLEW_EXPORT PFNGLVERTEXATTRIB3SNVPROC glVertexAttrib3sNV;
04417 extern GLEW_EXPORT PFNGLVERTEXATTRIB3FNVPROC glVertexAttrib3fNV;
04418 extern GLEW_EXPORT PFNGLVERTEXATTRIB3DNVPROC glVertexAttrib3dNV;
04419 extern GLEW_EXPORT PFNGLVERTEXATTRIB4SNVPROC glVertexAttrib4sNV;
04420 extern GLEW_EXPORT PFNGLVERTEXATTRIB4FNVPROC glVertexAttrib4fNV;
04421 extern GLEW_EXPORT PFNGLVERTEXATTRIB4DNVPROC glVertexAttrib4dNV;
04422 extern GLEW_EXPORT PFNGLVERTEXATTRIB4UBNVPROC glVertexAttrib4ubNV;
04423 extern GLEW_EXPORT PFNGLVERTEXATTRIB1SVNVPROC glVertexAttrib1svNV;
04424 extern GLEW_EXPORT PFNGLVERTEXATTRIB1FVNVPROC glVertexAttrib1fvNV;
04425 extern GLEW_EXPORT PFNGLVERTEXATTRIB1DVNVPROC glVertexAttrib1dvNV;
04426 extern GLEW_EXPORT PFNGLVERTEXATTRIB2SVNVPROC glVertexAttrib2svNV;
04427 extern GLEW_EXPORT PFNGLVERTEXATTRIB2FVNVPROC glVertexAttrib2fvNV;
04428 extern GLEW_EXPORT PFNGLVERTEXATTRIB2DVNVPROC glVertexAttrib2dvNV;
04429 extern GLEW_EXPORT PFNGLVERTEXATTRIB3SVNVPROC glVertexAttrib3svNV;
04430 extern GLEW_EXPORT PFNGLVERTEXATTRIB3FVNVPROC glVertexAttrib3fvNV;
04431 extern GLEW_EXPORT PFNGLVERTEXATTRIB3DVNVPROC glVertexAttrib3dvNV;
04432 extern GLEW_EXPORT PFNGLVERTEXATTRIB4SVNVPROC glVertexAttrib4svNV;
04433 extern GLEW_EXPORT PFNGLVERTEXATTRIB4FVNVPROC glVertexAttrib4fvNV;
04434 extern GLEW_EXPORT PFNGLVERTEXATTRIB4DVNVPROC glVertexAttrib4dvNV;
04435 extern GLEW_EXPORT PFNGLVERTEXATTRIB4UBVNVPROC glVertexAttrib4ubvNV;
04436 extern GLEW_EXPORT PFNGLVERTEXATTRIBS1SVNVPROC glVertexAttribs1svNV;
04437 extern GLEW_EXPORT PFNGLVERTEXATTRIBS1FVNVPROC glVertexAttribs1fvNV;
04438 extern GLEW_EXPORT PFNGLVERTEXATTRIBS1DVNVPROC glVertexAttribs1dvNV;
04439 extern GLEW_EXPORT PFNGLVERTEXATTRIBS2SVNVPROC glVertexAttribs2svNV;
04440 extern GLEW_EXPORT PFNGLVERTEXATTRIBS2FVNVPROC glVertexAttribs2fvNV;
04441 extern GLEW_EXPORT PFNGLVERTEXATTRIBS2DVNVPROC glVertexAttribs2dvNV;
04442 extern GLEW_EXPORT PFNGLVERTEXATTRIBS3SVNVPROC glVertexAttribs3svNV;
04443 extern GLEW_EXPORT PFNGLVERTEXATTRIBS3FVNVPROC glVertexAttribs3fvNV;
04444 extern GLEW_EXPORT PFNGLVERTEXATTRIBS3DVNVPROC glVertexAttribs3dvNV;
04445 extern GLEW_EXPORT PFNGLVERTEXATTRIBS4SVNVPROC glVertexAttribs4svNV;
04446 extern GLEW_EXPORT PFNGLVERTEXATTRIBS4FVNVPROC glVertexAttribs4fvNV;
04447 extern GLEW_EXPORT PFNGLVERTEXATTRIBS4DVNVPROC glVertexAttribs4dvNV;
04448 extern GLEW_EXPORT PFNGLVERTEXATTRIBS4UBVNVPROC glVertexAttribs4ubvNV;
04449
04450 #endif
04451
04452
04453
04454
04455
04456
04457
04458 struct GLEW
04459 {
04460 unsigned int GL_11 : 1;
04461 unsigned int GL_12 : 1;
04462 unsigned int GL_13 : 1;
04463 unsigned int GL_14 : 1;
04464
04465 unsigned int ARB_depth_texture : 1;
04466 unsigned int ARB_fragment_program : 1;
04467 unsigned int ARB_imaging : 1;
04468 unsigned int ARB_matrix_palette : 1;
04469 unsigned int ARB_multisample : 1;
04470 unsigned int ARB_multitexture : 1;
04471 unsigned int ARB_point_parameters : 1;
04472 unsigned int ARB_shadow : 1;
04473 unsigned int ARB_shadow_ambient : 1;
04474 unsigned int ARB_texture_border_clamp : 1;
04475 unsigned int ARB_texture_compression : 1;
04476 unsigned int ARB_texture_cube_map : 1;
04477 unsigned int ARB_texture_env_add : 1;
04478 unsigned int ARB_texture_env_combine : 1;
04479 unsigned int ARB_texture_env_crossbar : 1;
04480 unsigned int ARB_texture_env_dot3 : 1;
04481 unsigned int ARB_texture_mirrored_repeat : 1;
04482 unsigned int ARB_transpose_matrix : 1;
04483 unsigned int ARB_vertex_blend : 1;
04484 unsigned int ARB_vertex_program : 1;
04485 unsigned int ARB_window_pos : 1;
04486
04487 unsigned int EXT_abgr : 1;
04488 unsigned int EXT_bgra : 1;
04489 unsigned int EXT_blend_color : 1;
04490 unsigned int EXT_blend_minmax : 1;
04491 unsigned int EXT_blend_subtract : 1;
04492 unsigned int EXT_blend_func_separate : 1;
04493 unsigned int EXT_clip_volume_hint : 1;
04494 unsigned int EXT_compiled_vertex_array : 1;
04495 unsigned int EXT_cull_vertex : 1;
04496 unsigned int EXT_draw_range_elements : 1;
04497 unsigned int EXT_fog_coord : 1;
04498 unsigned int EXT_multi_draw_arrays : 1;
04499 unsigned int EXT_packed_pixels : 1;
04500 unsigned int EXT_point_parameters : 1;
04501 unsigned int EXT_secondary_color : 1;
04502 unsigned int EXT_separate_specular_color : 1;
04503 unsigned int EXT_shadow_funcs : 1;
04504 unsigned int EXT_stencil_two_side : 1;
04505 unsigned int EXT_stencil_wrap : 1;
04506 unsigned int EXT_texture_compression_s3tc : 1;
04507 unsigned int EXT_texture_env_combine : 1;
04508 unsigned int EXT_texture_filter_anisotropic : 1;
04509 unsigned int EXT_texture_lod_bias : 1;
04510 unsigned int EXT_texture_rectangle : 1;
04511 unsigned int EXT_texture3D : 1;
04512 unsigned int EXT_vertex_shader : 1;
04513 unsigned int EXT_vertex_weighting : 1;
04514
04515 unsigned int SGIS_generate_mipmap : 1;
04516 unsigned int SGIS_texture_lod : 1;
04517 unsigned int SGIX_depth_texture : 1;
04518 unsigned int SGIX_shadow : 1;
04519
04520 unsigned int HP_occlusion_test : 1;
04521 unsigned int S3_s3tc : 1;
04522 unsigned int WIN_swap_hint : 1;
04523
04524 unsigned int ATI_draw_buffers : 1;
04525 unsigned int ATI_element_array : 1;
04526 unsigned int ATI_envmap_bumpmap : 1;
04527 unsigned int ATI_fragment_shader : 1;
04528 unsigned int ATI_map_object_buffer : 1;
04529 unsigned int ATI_pn_triangles : 1;
04530 unsigned int ATI_separate_stencil : 1;
04531 unsigned int ATI_text_fragment_shader : 1;
04532 unsigned int ATI_texture_env_combine3 : 1;
04533 unsigned int ATI_texture_float : 1;
04534 unsigned int ATI_texture_mirror_once : 1;
04535 unsigned int ATI_vertex_array_object : 1;
04536 unsigned int ATI_vertex_attrib_array_object : 1;
04537 unsigned int ATI_vertex_streams : 1;
04538 unsigned int ATIX_point_sprites : 1;
04539 unsigned int ATIX_texture_env_combine3 : 1;
04540 unsigned int ATIX_texture_env_route : 1;
04541 unsigned int ATIX_vertex_shader_output_point_size : 1;
04542
04543 unsigned int NV_blend_square : 1;
04544 unsigned int NV_copy_depth_to_color : 1;
04545 unsigned int NV_depth_clamp : 1;
04546 unsigned int NV_element_array : 1;
04547 unsigned int NV_evaluators : 1;
04548 unsigned int NV_fence : 1;
04549 unsigned int NV_float_buffer : 1;
04550 unsigned int NV_fog_distance : 1;
04551 unsigned int NV_fragment_program : 1;
04552 unsigned int NV_half_float : 1;
04553 unsigned int NV_light_max_exponent : 1;
04554 unsigned int NV_multisample_filter_hint : 1;
04555 unsigned int NV_occlusion_query : 1;
04556 unsigned int NV_packed_depth_stencil : 1;
04557 unsigned int NV_pixel_data_range : 1;
04558 unsigned int NV_primitive_restart : 1;
04559 unsigned int NV_point_sprite : 1;
04560 unsigned int NV_register_combiners : 1;
04561 unsigned int NV_register_combiners2 : 1;
04562 unsigned int NV_texgen_emboss : 1;
04563 unsigned int NV_texgen_reflection : 1;
04564 unsigned int NV_texture_compression_vtc : 1;
04565 unsigned int NV_texture_env_combine4 : 1;
04566 unsigned int NV_texture_expand_normal : 1;
04567 unsigned int NV_texture_rectangle : 1;
04568 unsigned int NV_texture_shader : 1;
04569 unsigned int NV_texture_shader2 : 1;
04570 unsigned int NV_texture_shader3 : 1;
04571 unsigned int NV_vertex_array_range : 1;
04572 unsigned int NV_vertex_array_range2 : 1;
04573 unsigned int NV_vertex_program : 1;
04574 unsigned int NV_vertex_program1_1 : 1;
04575 unsigned int NV_vertex_program2 : 1;
04576 };
04577
04578
04579 #define GLEW_OK 0
04580 #define GLEW_ERROR_NO_GL_VERSION 1
04581 #define GLEW_ERROR_NO_EXTENSIONS_STRING 2
04582 #define GLEW_ERROR_GL_VERSION_10_ONLY 3
04583 #define GLEW_ERROR_GLX_VERSION_11_ONLY 4
04584
04585 extern GLEW_EXPORT struct GLEW glew;
04586 extern GLEW_EXPORT GLboolean glewExperimental;
04587 extern GLEW_EXPORT GLint glewInit ();
04588 extern GLEW_EXPORT GLboolean glewGetExtension (const char* name);
04589 extern GLEW_EXPORT const char* glewGetErrorString (GLint error);
04590
04591 #ifdef __cplusplus
04592 }
04593 #endif
04594
04595 #ifdef GLEW_APIENTRY_DEFINED
04596 #undef GLEW_APIENTRY_DEFINED
04597 #undef APIENTRY
04598 #endif
04599
04600 #ifdef GLEW_CALLBACK_DEFINED
04601 #undef GLEW_CALLBACK_DEFINED
04602 #undef CALLBACK
04603 #endif
04604
04605 #ifdef GLEW_WINGDIAPI_DEFINED
04606 #undef GLEW_WINGDIAPI_DEFINED
04607 #undef WINGDIAPI
04608 #endif
04609
04610 #undef GL_API
04611 #undef GLEW_EXPORT
04612
04613 #endif