5 #if defined(__gl_h_) || defined(__GL_H__) || defined(_GL_H) || defined(__X_GL_H) 6 #error gl.h included before glew.h 9 #error gl2.h included before glew.h 11 #if defined(__gltypes_h_) 12 #error gltypes.h included before glew.h 14 #if defined(__REGAL_H__) 15 #error Regal.h included before glew.h 17 #if defined(__glext_h_) || defined(__GLEXT_H_) 18 #error glext.h included before glew.h 20 #if defined(__gl_ATI_h_) 21 #error glATI.h included before glew.h 45 # define GLAPIENTRY APIENTRY 48 # define GLEWAPIENTRY APIENTRY 51 #define GLEW_APIENTRY_DEFINED 52 # if defined(__MINGW32__) || defined(__CYGWIN__) || (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__) 53 # define APIENTRY __stdcall 55 # define GLAPIENTRY __stdcall 58 # define GLEWAPIENTRY __stdcall 65 # if defined(__MINGW32__) || defined(__CYGWIN__) 71 #define GLEW_CALLBACK_DEFINED 72 # if defined(__MINGW32__) || defined(__CYGWIN__) 73 # define CALLBACK __attribute__ ((__stdcall__)) 74 # elif (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) && !defined(MIDL_PASS) 75 # define CALLBACK __stdcall 82 #define GLEW_WINGDIAPI_DEFINED 83 #define WINGDIAPI __declspec(dllimport) 86 #if (defined(_MSC_VER) || defined(__BORLANDC__)) && !defined(_WCHAR_T_DEFINED) 87 typedef unsigned short wchar_t;
88 # define _WCHAR_T_DEFINED 92 # if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && defined(_MSC_VER) && _MSC_VER >= 1300 98 #if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_) && !defined(__MINGW64__) 100 typedef __int64 ptrdiff_t;
102 typedef _W64
int ptrdiff_t;
104 # define _PTRDIFF_T_DEFINED 109 # if defined(__MINGW32__) || defined(__CYGWIN__) 110 # define GLAPI extern 112 # define GLAPI WINGDIAPI 122 # define GLEWAPI extern 125 # define GLEWAPI extern __declspec(dllexport) 127 # define GLEWAPI extern __declspec(dllimport) 147 #if (defined(__sgi) || defined(__sun)) && !defined(__GNUC__) 148 #include <inttypes.h> 153 #define GLEW_APIENTRY_DEFINED 161 # define GLEWAPI extern 163 # if defined(__GNUC__) && __GNUC__>=4 164 # define GLEWAPI extern __attribute__ ((visibility("default"))) 165 # elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) 166 # define GLEWAPI extern __global 168 # define GLEWAPI extern 187 #define GLEW_VAR_EXPORT GLEWAPI 188 #define GLEW_FUN_EXPORT GLEWAPI 196 #ifndef GL_VERSION_1_1 197 #define GL_VERSION_1_1 1 199 typedef unsigned int GLenum;
200 typedef unsigned int GLbitfield;
201 typedef unsigned int GLuint;
204 typedef unsigned char GLboolean;
205 typedef signed char GLbyte;
206 typedef short GLshort;
207 typedef unsigned char GLubyte;
208 typedef unsigned short GLushort;
209 typedef unsigned long GLulong;
210 typedef float GLfloat;
211 typedef float GLclampf;
212 typedef double GLdouble;
213 typedef double GLclampd;
215 #if defined(_MSC_VER) && _MSC_VER < 1400 216 typedef __int64 GLint64EXT;
217 typedef unsigned __int64 GLuint64EXT;
218 #elif defined(_MSC_VER) || defined(__BORLANDC__) 219 typedef signed long long GLint64EXT;
220 typedef unsigned long long GLuint64EXT;
222 # if defined(__MINGW32__) || defined(__CYGWIN__) 223 #include <inttypes.h> 225 typedef int64_t GLint64EXT;
226 typedef uint64_t GLuint64EXT;
228 typedef GLint64EXT GLint64;
229 typedef GLuint64EXT GLuint64;
230 typedef struct __GLsync *GLsync;
236 #define GL_LOGIC_OP 0x0BF1 238 #define GL_TEXTURE_COMPONENTS 0x1003 239 #define GL_NO_ERROR 0 240 #define GL_POINTS 0x0000 241 #define GL_CURRENT_BIT 0x00000001 244 #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001 245 #define GL_LINES 0x0001 246 #define GL_LINE_LOOP 0x0002 247 #define GL_POINT_BIT 0x00000002 248 #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 249 #define GL_LINE_STRIP 0x0003 250 #define GL_LINE_BIT 0x00000004 251 #define GL_TRIANGLES 0x0004 252 #define GL_TRIANGLE_STRIP 0x0005 253 #define GL_TRIANGLE_FAN 0x0006 254 #define GL_QUADS 0x0007 255 #define GL_QUAD_STRIP 0x0008 256 #define GL_POLYGON_BIT 0x00000008 257 #define GL_POLYGON 0x0009 258 #define GL_POLYGON_STIPPLE_BIT 0x00000010 259 #define GL_PIXEL_MODE_BIT 0x00000020 260 #define GL_LIGHTING_BIT 0x00000040 261 #define GL_FOG_BIT 0x00000080 262 #define GL_DEPTH_BUFFER_BIT 0x00000100 263 #define GL_ACCUM 0x0100 264 #define GL_LOAD 0x0101 265 #define GL_RETURN 0x0102 266 #define GL_MULT 0x0103 267 #define GL_ADD 0x0104 268 #define GL_NEVER 0x0200 269 #define GL_ACCUM_BUFFER_BIT 0x00000200 270 #define GL_LESS 0x0201 271 #define GL_EQUAL 0x0202 272 #define GL_LEQUAL 0x0203 273 #define GL_GREATER 0x0204 274 #define GL_NOTEQUAL 0x0205 275 #define GL_GEQUAL 0x0206 276 #define GL_ALWAYS 0x0207 277 #define GL_SRC_COLOR 0x0300 278 #define GL_ONE_MINUS_SRC_COLOR 0x0301 279 #define GL_SRC_ALPHA 0x0302 280 #define GL_ONE_MINUS_SRC_ALPHA 0x0303 281 #define GL_DST_ALPHA 0x0304 282 #define GL_ONE_MINUS_DST_ALPHA 0x0305 283 #define GL_DST_COLOR 0x0306 284 #define GL_ONE_MINUS_DST_COLOR 0x0307 285 #define GL_SRC_ALPHA_SATURATE 0x0308 286 #define GL_STENCIL_BUFFER_BIT 0x00000400 287 #define GL_FRONT_LEFT 0x0400 288 #define GL_FRONT_RIGHT 0x0401 289 #define GL_BACK_LEFT 0x0402 290 #define GL_BACK_RIGHT 0x0403 291 #define GL_FRONT 0x0404 292 #define GL_BACK 0x0405 293 #define GL_LEFT 0x0406 294 #define GL_RIGHT 0x0407 295 #define GL_FRONT_AND_BACK 0x0408 296 #define GL_AUX0 0x0409 297 #define GL_AUX1 0x040A 298 #define GL_AUX2 0x040B 299 #define GL_AUX3 0x040C 300 #define GL_INVALID_ENUM 0x0500 301 #define GL_INVALID_VALUE 0x0501 302 #define GL_INVALID_OPERATION 0x0502 303 #define GL_STACK_OVERFLOW 0x0503 304 #define GL_STACK_UNDERFLOW 0x0504 305 #define GL_OUT_OF_MEMORY 0x0505 308 #define GL_3D_COLOR 0x0602 309 #define GL_3D_COLOR_TEXTURE 0x0603 310 #define GL_4D_COLOR_TEXTURE 0x0604 311 #define GL_PASS_THROUGH_TOKEN 0x0700 312 #define GL_POINT_TOKEN 0x0701 313 #define GL_LINE_TOKEN 0x0702 314 #define GL_POLYGON_TOKEN 0x0703 315 #define GL_BITMAP_TOKEN 0x0704 316 #define GL_DRAW_PIXEL_TOKEN 0x0705 317 #define GL_COPY_PIXEL_TOKEN 0x0706 318 #define GL_LINE_RESET_TOKEN 0x0707 319 #define GL_EXP 0x0800 320 #define GL_VIEWPORT_BIT 0x00000800 321 #define GL_EXP2 0x0801 323 #define GL_CCW 0x0901 324 #define GL_COEFF 0x0A00 325 #define GL_ORDER 0x0A01 326 #define GL_DOMAIN 0x0A02 327 #define GL_CURRENT_COLOR 0x0B00 328 #define GL_CURRENT_INDEX 0x0B01 329 #define GL_CURRENT_NORMAL 0x0B02 330 #define GL_CURRENT_TEXTURE_COORDS 0x0B03 331 #define GL_CURRENT_RASTER_COLOR 0x0B04 332 #define GL_CURRENT_RASTER_INDEX 0x0B05 333 #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 334 #define GL_CURRENT_RASTER_POSITION 0x0B07 335 #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08 336 #define GL_CURRENT_RASTER_DISTANCE 0x0B09 337 #define GL_POINT_SMOOTH 0x0B10 338 #define GL_POINT_SIZE 0x0B11 339 #define GL_POINT_SIZE_RANGE 0x0B12 340 #define GL_POINT_SIZE_GRANULARITY 0x0B13 341 #define GL_LINE_SMOOTH 0x0B20 342 #define GL_LINE_WIDTH 0x0B21 343 #define GL_LINE_WIDTH_RANGE 0x0B22 344 #define GL_LINE_WIDTH_GRANULARITY 0x0B23 345 #define GL_LINE_STIPPLE 0x0B24 346 #define GL_LINE_STIPPLE_PATTERN 0x0B25 347 #define GL_LINE_STIPPLE_REPEAT 0x0B26 348 #define GL_LIST_MODE 0x0B30 349 #define GL_MAX_LIST_NESTING 0x0B31 350 #define GL_LIST_BASE 0x0B32 351 #define GL_LIST_INDEX 0x0B33 352 #define GL_POLYGON_MODE 0x0B40 353 #define GL_POLYGON_SMOOTH 0x0B41 354 #define GL_POLYGON_STIPPLE 0x0B42 355 #define GL_EDGE_FLAG 0x0B43 356 #define GL_CULL_FACE 0x0B44 357 #define GL_CULL_FACE_MODE 0x0B45 358 #define GL_FRONT_FACE 0x0B46 359 #define GL_LIGHTING 0x0B50 360 #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 361 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 362 #define GL_LIGHT_MODEL_AMBIENT 0x0B53 363 #define GL_SHADE_MODEL 0x0B54 364 #define GL_COLOR_MATERIAL_FACE 0x0B55 365 #define GL_COLOR_MATERIAL_PARAMETER 0x0B56 366 #define GL_COLOR_MATERIAL 0x0B57 367 #define GL_FOG 0x0B60 368 #define GL_FOG_INDEX 0x0B61 369 #define GL_FOG_DENSITY 0x0B62 370 #define GL_FOG_START 0x0B63 371 #define GL_FOG_END 0x0B64 372 #define GL_FOG_MODE 0x0B65 373 #define GL_FOG_COLOR 0x0B66 374 #define GL_DEPTH_RANGE 0x0B70 375 #define GL_DEPTH_TEST 0x0B71 376 #define GL_DEPTH_WRITEMASK 0x0B72 377 #define GL_DEPTH_CLEAR_VALUE 0x0B73 378 #define GL_DEPTH_FUNC 0x0B74 379 #define GL_ACCUM_CLEAR_VALUE 0x0B80 380 #define GL_STENCIL_TEST 0x0B90 381 #define GL_STENCIL_CLEAR_VALUE 0x0B91 382 #define GL_STENCIL_FUNC 0x0B92 383 #define GL_STENCIL_VALUE_MASK 0x0B93 384 #define GL_STENCIL_FAIL 0x0B94 385 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 386 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 387 #define GL_STENCIL_REF 0x0B97 388 #define GL_STENCIL_WRITEMASK 0x0B98 389 #define GL_MATRIX_MODE 0x0BA0 390 #define GL_NORMALIZE 0x0BA1 391 #define GL_VIEWPORT 0x0BA2 392 #define GL_MODELVIEW_STACK_DEPTH 0x0BA3 393 #define GL_PROJECTION_STACK_DEPTH 0x0BA4 394 #define GL_TEXTURE_STACK_DEPTH 0x0BA5 395 #define GL_MODELVIEW_MATRIX 0x0BA6 396 #define GL_PROJECTION_MATRIX 0x0BA7 397 #define GL_TEXTURE_MATRIX 0x0BA8 398 #define GL_ATTRIB_STACK_DEPTH 0x0BB0 399 #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 400 #define GL_ALPHA_TEST 0x0BC0 401 #define GL_ALPHA_TEST_FUNC 0x0BC1 402 #define GL_ALPHA_TEST_REF 0x0BC2 403 #define GL_DITHER 0x0BD0 404 #define GL_BLEND_DST 0x0BE0 405 #define GL_BLEND_SRC 0x0BE1 406 #define GL_BLEND 0x0BE2 407 #define GL_LOGIC_OP_MODE 0x0BF0 408 #define GL_INDEX_LOGIC_OP 0x0BF1 409 #define GL_COLOR_LOGIC_OP 0x0BF2 410 #define GL_AUX_BUFFERS 0x0C00 411 #define GL_DRAW_BUFFER 0x0C01 412 #define GL_READ_BUFFER 0x0C02 413 #define GL_SCISSOR_BOX 0x0C10 414 #define GL_SCISSOR_TEST 0x0C11 415 #define GL_INDEX_CLEAR_VALUE 0x0C20 416 #define GL_INDEX_WRITEMASK 0x0C21 417 #define GL_COLOR_CLEAR_VALUE 0x0C22 418 #define GL_COLOR_WRITEMASK 0x0C23 419 #define GL_INDEX_MODE 0x0C30 420 #define GL_RGBA_MODE 0x0C31 421 #define GL_DOUBLEBUFFER 0x0C32 422 #define GL_STEREO 0x0C33 423 #define GL_RENDER_MODE 0x0C40 424 #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 425 #define GL_POINT_SMOOTH_HINT 0x0C51 426 #define GL_LINE_SMOOTH_HINT 0x0C52 427 #define GL_POLYGON_SMOOTH_HINT 0x0C53 428 #define GL_FOG_HINT 0x0C54 429 #define GL_TEXTURE_GEN_S 0x0C60 430 #define GL_TEXTURE_GEN_T 0x0C61 431 #define GL_TEXTURE_GEN_R 0x0C62 432 #define GL_TEXTURE_GEN_Q 0x0C63 433 #define GL_PIXEL_MAP_I_TO_I 0x0C70 434 #define GL_PIXEL_MAP_S_TO_S 0x0C71 435 #define GL_PIXEL_MAP_I_TO_R 0x0C72 436 #define GL_PIXEL_MAP_I_TO_G 0x0C73 437 #define GL_PIXEL_MAP_I_TO_B 0x0C74 438 #define GL_PIXEL_MAP_I_TO_A 0x0C75 439 #define GL_PIXEL_MAP_R_TO_R 0x0C76 440 #define GL_PIXEL_MAP_G_TO_G 0x0C77 441 #define GL_PIXEL_MAP_B_TO_B 0x0C78 442 #define GL_PIXEL_MAP_A_TO_A 0x0C79 443 #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 444 #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 445 #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 446 #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 447 #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 448 #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 449 #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 450 #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 451 #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 452 #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 453 #define GL_UNPACK_SWAP_BYTES 0x0CF0 454 #define GL_UNPACK_LSB_FIRST 0x0CF1 455 #define GL_UNPACK_ROW_LENGTH 0x0CF2 456 #define GL_UNPACK_SKIP_ROWS 0x0CF3 457 #define GL_UNPACK_SKIP_PIXELS 0x0CF4 458 #define GL_UNPACK_ALIGNMENT 0x0CF5 459 #define GL_PACK_SWAP_BYTES 0x0D00 460 #define GL_PACK_LSB_FIRST 0x0D01 461 #define GL_PACK_ROW_LENGTH 0x0D02 462 #define GL_PACK_SKIP_ROWS 0x0D03 463 #define GL_PACK_SKIP_PIXELS 0x0D04 464 #define GL_PACK_ALIGNMENT 0x0D05 465 #define GL_MAP_COLOR 0x0D10 466 #define GL_MAP_STENCIL 0x0D11 467 #define GL_INDEX_SHIFT 0x0D12 468 #define GL_INDEX_OFFSET 0x0D13 469 #define GL_RED_SCALE 0x0D14 470 #define GL_RED_BIAS 0x0D15 471 #define GL_ZOOM_X 0x0D16 472 #define GL_ZOOM_Y 0x0D17 473 #define GL_GREEN_SCALE 0x0D18 474 #define GL_GREEN_BIAS 0x0D19 475 #define GL_BLUE_SCALE 0x0D1A 476 #define GL_BLUE_BIAS 0x0D1B 477 #define GL_ALPHA_SCALE 0x0D1C 478 #define GL_ALPHA_BIAS 0x0D1D 479 #define GL_DEPTH_SCALE 0x0D1E 480 #define GL_DEPTH_BIAS 0x0D1F 481 #define GL_MAX_EVAL_ORDER 0x0D30 482 #define GL_MAX_LIGHTS 0x0D31 483 #define GL_MAX_CLIP_PLANES 0x0D32 484 #define GL_MAX_TEXTURE_SIZE 0x0D33 485 #define GL_MAX_PIXEL_MAP_TABLE 0x0D34 486 #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 487 #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 488 #define GL_MAX_NAME_STACK_DEPTH 0x0D37 489 #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 490 #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 491 #define GL_MAX_VIEWPORT_DIMS 0x0D3A 492 #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B 493 #define GL_SUBPIXEL_BITS 0x0D50 494 #define GL_INDEX_BITS 0x0D51 495 #define GL_RED_BITS 0x0D52 496 #define GL_GREEN_BITS 0x0D53 497 #define GL_BLUE_BITS 0x0D54 498 #define GL_ALPHA_BITS 0x0D55 499 #define GL_DEPTH_BITS 0x0D56 500 #define GL_STENCIL_BITS 0x0D57 501 #define GL_ACCUM_RED_BITS 0x0D58 502 #define GL_ACCUM_GREEN_BITS 0x0D59 503 #define GL_ACCUM_BLUE_BITS 0x0D5A 504 #define GL_ACCUM_ALPHA_BITS 0x0D5B 505 #define GL_NAME_STACK_DEPTH 0x0D70 506 #define GL_AUTO_NORMAL 0x0D80 507 #define GL_MAP1_COLOR_4 0x0D90 508 #define GL_MAP1_INDEX 0x0D91 509 #define GL_MAP1_NORMAL 0x0D92 510 #define GL_MAP1_TEXTURE_COORD_1 0x0D93 511 #define GL_MAP1_TEXTURE_COORD_2 0x0D94 512 #define GL_MAP1_TEXTURE_COORD_3 0x0D95 513 #define GL_MAP1_TEXTURE_COORD_4 0x0D96 514 #define GL_MAP1_VERTEX_3 0x0D97 515 #define GL_MAP1_VERTEX_4 0x0D98 516 #define GL_MAP2_COLOR_4 0x0DB0 517 #define GL_MAP2_INDEX 0x0DB1 518 #define GL_MAP2_NORMAL 0x0DB2 519 #define GL_MAP2_TEXTURE_COORD_1 0x0DB3 520 #define GL_MAP2_TEXTURE_COORD_2 0x0DB4 521 #define GL_MAP2_TEXTURE_COORD_3 0x0DB5 522 #define GL_MAP2_TEXTURE_COORD_4 0x0DB6 523 #define GL_MAP2_VERTEX_3 0x0DB7 524 #define GL_MAP2_VERTEX_4 0x0DB8 525 #define GL_MAP1_GRID_DOMAIN 0x0DD0 526 #define GL_MAP1_GRID_SEGMENTS 0x0DD1 527 #define GL_MAP2_GRID_DOMAIN 0x0DD2 528 #define GL_MAP2_GRID_SEGMENTS 0x0DD3 529 #define GL_TEXTURE_1D 0x0DE0 530 #define GL_TEXTURE_2D 0x0DE1 531 #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0 532 #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1 533 #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2 534 #define GL_SELECTION_BUFFER_POINTER 0x0DF3 535 #define GL_SELECTION_BUFFER_SIZE 0x0DF4 536 #define GL_TEXTURE_WIDTH 0x1000 537 #define GL_TRANSFORM_BIT 0x00001000 538 #define GL_TEXTURE_HEIGHT 0x1001 539 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003 540 #define GL_TEXTURE_BORDER_COLOR 0x1004 541 #define GL_TEXTURE_BORDER 0x1005 542 #define GL_DONT_CARE 0x1100 543 #define GL_FASTEST 0x1101 544 #define GL_NICEST 0x1102 545 #define GL_AMBIENT 0x1200 546 #define GL_DIFFUSE 0x1201 547 #define GL_SPECULAR 0x1202 548 #define GL_POSITION 0x1203 549 #define GL_SPOT_DIRECTION 0x1204 550 #define GL_SPOT_EXPONENT 0x1205 551 #define GL_SPOT_CUTOFF 0x1206 552 #define GL_CONSTANT_ATTENUATION 0x1207 553 #define GL_LINEAR_ATTENUATION 0x1208 554 #define GL_QUADRATIC_ATTENUATION 0x1209 555 #define GL_COMPILE 0x1300 556 #define GL_COMPILE_AND_EXECUTE 0x1301 557 #define GL_BYTE 0x1400 558 #define GL_UNSIGNED_BYTE 0x1401 559 #define GL_SHORT 0x1402 560 #define GL_UNSIGNED_SHORT 0x1403 561 #define GL_INT 0x1404 562 #define GL_UNSIGNED_INT 0x1405 563 #define GL_FLOAT 0x1406 564 #define GL_2_BYTES 0x1407 565 #define GL_3_BYTES 0x1408 566 #define GL_4_BYTES 0x1409 567 #define GL_DOUBLE 0x140A 568 #define GL_CLEAR 0x1500 569 #define GL_AND 0x1501 570 #define GL_AND_REVERSE 0x1502 571 #define GL_COPY 0x1503 572 #define GL_AND_INVERTED 0x1504 573 #define GL_NOOP 0x1505 574 #define GL_XOR 0x1506 576 #define GL_NOR 0x1508 577 #define GL_EQUIV 0x1509 578 #define GL_INVERT 0x150A 579 #define GL_OR_REVERSE 0x150B 580 #define GL_COPY_INVERTED 0x150C 581 #define GL_OR_INVERTED 0x150D 582 #define GL_NAND 0x150E 583 #define GL_SET 0x150F 584 #define GL_EMISSION 0x1600 585 #define GL_SHININESS 0x1601 586 #define GL_AMBIENT_AND_DIFFUSE 0x1602 587 #define GL_COLOR_INDEXES 0x1603 588 #define GL_MODELVIEW 0x1700 589 #define GL_PROJECTION 0x1701 590 #define GL_TEXTURE 0x1702 591 #define GL_COLOR 0x1800 592 #define GL_DEPTH 0x1801 593 #define GL_STENCIL 0x1802 594 #define GL_COLOR_INDEX 0x1900 595 #define GL_STENCIL_INDEX 0x1901 596 #define GL_DEPTH_COMPONENT 0x1902 597 #define GL_RED 0x1903 598 #define GL_GREEN 0x1904 599 #define GL_BLUE 0x1905 600 #define GL_ALPHA 0x1906 601 #define GL_RGB 0x1907 602 #define GL_RGBA 0x1908 603 #define GL_LUMINANCE 0x1909 604 #define GL_LUMINANCE_ALPHA 0x190A 605 #define GL_BITMAP 0x1A00 606 #define GL_POINT 0x1B00 607 #define GL_LINE 0x1B01 608 #define GL_FILL 0x1B02 609 #define GL_RENDER 0x1C00 610 #define GL_FEEDBACK 0x1C01 611 #define GL_SELECT 0x1C02 612 #define GL_FLAT 0x1D00 613 #define GL_SMOOTH 0x1D01 614 #define GL_KEEP 0x1E00 615 #define GL_REPLACE 0x1E01 616 #define GL_INCR 0x1E02 617 #define GL_DECR 0x1E03 618 #define GL_VENDOR 0x1F00 619 #define GL_RENDERER 0x1F01 620 #define GL_VERSION 0x1F02 621 #define GL_EXTENSIONS 0x1F03 623 #define GL_ENABLE_BIT 0x00002000 627 #define GL_MODULATE 0x2100 628 #define GL_DECAL 0x2101 629 #define GL_TEXTURE_ENV_MODE 0x2200 630 #define GL_TEXTURE_ENV_COLOR 0x2201 631 #define GL_TEXTURE_ENV 0x2300 632 #define GL_EYE_LINEAR 0x2400 633 #define GL_OBJECT_LINEAR 0x2401 634 #define GL_SPHERE_MAP 0x2402 635 #define GL_TEXTURE_GEN_MODE 0x2500 636 #define GL_OBJECT_PLANE 0x2501 637 #define GL_EYE_PLANE 0x2502 638 #define GL_NEAREST 0x2600 639 #define GL_LINEAR 0x2601 640 #define GL_NEAREST_MIPMAP_NEAREST 0x2700 641 #define GL_LINEAR_MIPMAP_NEAREST 0x2701 642 #define GL_NEAREST_MIPMAP_LINEAR 0x2702 643 #define GL_LINEAR_MIPMAP_LINEAR 0x2703 644 #define GL_TEXTURE_MAG_FILTER 0x2800 645 #define GL_TEXTURE_MIN_FILTER 0x2801 646 #define GL_TEXTURE_WRAP_S 0x2802 647 #define GL_TEXTURE_WRAP_T 0x2803 648 #define GL_CLAMP 0x2900 649 #define GL_REPEAT 0x2901 650 #define GL_POLYGON_OFFSET_UNITS 0x2A00 651 #define GL_POLYGON_OFFSET_POINT 0x2A01 652 #define GL_POLYGON_OFFSET_LINE 0x2A02 653 #define GL_R3_G3_B2 0x2A10 654 #define GL_V2F 0x2A20 655 #define GL_V3F 0x2A21 656 #define GL_C4UB_V2F 0x2A22 657 #define GL_C4UB_V3F 0x2A23 658 #define GL_C3F_V3F 0x2A24 659 #define GL_N3F_V3F 0x2A25 660 #define GL_C4F_N3F_V3F 0x2A26 661 #define GL_T2F_V3F 0x2A27 662 #define GL_T4F_V4F 0x2A28 663 #define GL_T2F_C4UB_V3F 0x2A29 664 #define GL_T2F_C3F_V3F 0x2A2A 665 #define GL_T2F_N3F_V3F 0x2A2B 666 #define GL_T2F_C4F_N3F_V3F 0x2A2C 667 #define GL_T4F_C4F_N3F_V4F 0x2A2D 668 #define GL_CLIP_PLANE0 0x3000 669 #define GL_CLIP_PLANE1 0x3001 670 #define GL_CLIP_PLANE2 0x3002 671 #define GL_CLIP_PLANE3 0x3003 672 #define GL_CLIP_PLANE4 0x3004 673 #define GL_CLIP_PLANE5 0x3005 674 #define GL_LIGHT0 0x4000 675 #define GL_COLOR_BUFFER_BIT 0x00004000 676 #define GL_LIGHT1 0x4001 677 #define GL_LIGHT2 0x4002 678 #define GL_LIGHT3 0x4003 679 #define GL_LIGHT4 0x4004 680 #define GL_LIGHT5 0x4005 681 #define GL_LIGHT6 0x4006 682 #define GL_LIGHT7 0x4007 683 #define GL_HINT_BIT 0x00008000 684 #define GL_POLYGON_OFFSET_FILL 0x8037 685 #define GL_POLYGON_OFFSET_FACTOR 0x8038 686 #define GL_ALPHA4 0x803B 687 #define GL_ALPHA8 0x803C 688 #define GL_ALPHA12 0x803D 689 #define GL_ALPHA16 0x803E 690 #define GL_LUMINANCE4 0x803F 691 #define GL_LUMINANCE8 0x8040 692 #define GL_LUMINANCE12 0x8041 693 #define GL_LUMINANCE16 0x8042 694 #define GL_LUMINANCE4_ALPHA4 0x8043 695 #define GL_LUMINANCE6_ALPHA2 0x8044 696 #define GL_LUMINANCE8_ALPHA8 0x8045 697 #define GL_LUMINANCE12_ALPHA4 0x8046 698 #define GL_LUMINANCE12_ALPHA12 0x8047 699 #define GL_LUMINANCE16_ALPHA16 0x8048 700 #define GL_INTENSITY 0x8049 701 #define GL_INTENSITY4 0x804A 702 #define GL_INTENSITY8 0x804B 703 #define GL_INTENSITY12 0x804C 704 #define GL_INTENSITY16 0x804D 705 #define GL_RGB4 0x804F 706 #define GL_RGB5 0x8050 707 #define GL_RGB8 0x8051 708 #define GL_RGB10 0x8052 709 #define GL_RGB12 0x8053 710 #define GL_RGB16 0x8054 711 #define GL_RGBA2 0x8055 712 #define GL_RGBA4 0x8056 713 #define GL_RGB5_A1 0x8057 714 #define GL_RGBA8 0x8058 715 #define GL_RGB10_A2 0x8059 716 #define GL_RGBA12 0x805A 717 #define GL_RGBA16 0x805B 718 #define GL_TEXTURE_RED_SIZE 0x805C 719 #define GL_TEXTURE_GREEN_SIZE 0x805D 720 #define GL_TEXTURE_BLUE_SIZE 0x805E 721 #define GL_TEXTURE_ALPHA_SIZE 0x805F 722 #define GL_TEXTURE_LUMINANCE_SIZE 0x8060 723 #define GL_TEXTURE_INTENSITY_SIZE 0x8061 724 #define GL_PROXY_TEXTURE_1D 0x8063 725 #define GL_PROXY_TEXTURE_2D 0x8064 726 #define GL_TEXTURE_PRIORITY 0x8066 727 #define GL_TEXTURE_RESIDENT 0x8067 728 #define GL_TEXTURE_BINDING_1D 0x8068 729 #define GL_TEXTURE_BINDING_2D 0x8069 730 #define GL_VERTEX_ARRAY 0x8074 731 #define GL_NORMAL_ARRAY 0x8075 732 #define GL_COLOR_ARRAY 0x8076 733 #define GL_INDEX_ARRAY 0x8077 734 #define GL_TEXTURE_COORD_ARRAY 0x8078 735 #define GL_EDGE_FLAG_ARRAY 0x8079 736 #define GL_VERTEX_ARRAY_SIZE 0x807A 737 #define GL_VERTEX_ARRAY_TYPE 0x807B 738 #define GL_VERTEX_ARRAY_STRIDE 0x807C 739 #define GL_NORMAL_ARRAY_TYPE 0x807E 740 #define GL_NORMAL_ARRAY_STRIDE 0x807F 741 #define GL_COLOR_ARRAY_SIZE 0x8081 742 #define GL_COLOR_ARRAY_TYPE 0x8082 743 #define GL_COLOR_ARRAY_STRIDE 0x8083 744 #define GL_INDEX_ARRAY_TYPE 0x8085 745 #define GL_INDEX_ARRAY_STRIDE 0x8086 746 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 747 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 748 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A 749 #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C 750 #define GL_VERTEX_ARRAY_POINTER 0x808E 751 #define GL_NORMAL_ARRAY_POINTER 0x808F 752 #define GL_COLOR_ARRAY_POINTER 0x8090 753 #define GL_INDEX_ARRAY_POINTER 0x8091 754 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 755 #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093 756 #define GL_COLOR_INDEX1_EXT 0x80E2 757 #define GL_COLOR_INDEX2_EXT 0x80E3 758 #define GL_COLOR_INDEX4_EXT 0x80E4 759 #define GL_COLOR_INDEX8_EXT 0x80E5 760 #define GL_COLOR_INDEX12_EXT 0x80E6 761 #define GL_COLOR_INDEX16_EXT 0x80E7 762 #define GL_EVAL_BIT 0x00010000 763 #define GL_LIST_BIT 0x00020000 764 #define GL_TEXTURE_BIT 0x00040000 765 #define GL_SCISSOR_BIT 0x00080000 766 #define GL_ALL_ATTRIB_BITS 0x000fffff 767 #define GL_CLIENT_ALL_ATTRIB_BITS 0xffffffff 769 GLAPI
void GLAPIENTRY glAccum (GLenum op, GLfloat value);
770 GLAPI
void GLAPIENTRY glAlphaFunc (GLenum func, GLclampf ref);
771 GLAPI GLboolean GLAPIENTRY glAreTexturesResident (GLsizei n,
const GLuint *textures, GLboolean *residences);
772 GLAPI
void GLAPIENTRY glArrayElement (GLint i);
773 GLAPI
void GLAPIENTRY glBegin (GLenum mode);
774 GLAPI
void GLAPIENTRY glBindTexture (GLenum target, GLuint texture);
775 GLAPI
void GLAPIENTRY glBitmap (GLsizei
width, GLsizei
height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove,
const GLubyte *bitmap);
776 GLAPI
void GLAPIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
777 GLAPI
void GLAPIENTRY glCallList (GLuint list);
778 GLAPI
void GLAPIENTRY glCallLists (GLsizei n, GLenum type,
const void *lists);
779 GLAPI
void GLAPIENTRY glClear (GLbitfield mask);
780 GLAPI
void GLAPIENTRY glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
781 GLAPI
void GLAPIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
782 GLAPI
void GLAPIENTRY glClearDepth (GLclampd
depth);
783 GLAPI
void GLAPIENTRY glClearIndex (GLfloat c);
784 GLAPI
void GLAPIENTRY glClearStencil (GLint s);
785 GLAPI
void GLAPIENTRY glClipPlane (GLenum plane,
const GLdouble *equation);
786 GLAPI
void GLAPIENTRY glColor3b (GLbyte red, GLbyte green, GLbyte blue);
787 GLAPI
void GLAPIENTRY glColor3bv (
const GLbyte *v);
788 GLAPI
void GLAPIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue);
789 GLAPI
void GLAPIENTRY glColor3dv (
const GLdouble *v);
790 GLAPI
void GLAPIENTRY glColor3f (GLfloat red, GLfloat green, GLfloat blue);
791 GLAPI
void GLAPIENTRY glColor3fv (
const GLfloat *v);
792 GLAPI
void GLAPIENTRY glColor3i (GLint red, GLint green, GLint blue);
793 GLAPI
void GLAPIENTRY glColor3iv (
const GLint *v);
794 GLAPI
void GLAPIENTRY glColor3s (GLshort red, GLshort green, GLshort blue);
795 GLAPI
void GLAPIENTRY glColor3sv (
const GLshort *v);
796 GLAPI
void GLAPIENTRY glColor3ub (GLubyte red, GLubyte green, GLubyte blue);
797 GLAPI
void GLAPIENTRY glColor3ubv (
const GLubyte *v);
798 GLAPI
void GLAPIENTRY glColor3ui (GLuint red, GLuint green, GLuint blue);
799 GLAPI
void GLAPIENTRY glColor3uiv (
const GLuint *v);
800 GLAPI
void GLAPIENTRY glColor3us (GLushort red, GLushort green, GLushort blue);
801 GLAPI
void GLAPIENTRY glColor3usv (
const GLushort *v);
802 GLAPI
void GLAPIENTRY glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
803 GLAPI
void GLAPIENTRY glColor4bv (
const GLbyte *v);
804 GLAPI
void GLAPIENTRY glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
805 GLAPI
void GLAPIENTRY glColor4dv (
const GLdouble *v);
806 GLAPI
void GLAPIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
807 GLAPI
void GLAPIENTRY glColor4fv (
const GLfloat *v);
808 GLAPI
void GLAPIENTRY glColor4i (GLint red, GLint green, GLint blue, GLint alpha);
809 GLAPI
void GLAPIENTRY glColor4iv (
const GLint *v);
810 GLAPI
void GLAPIENTRY glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha);
811 GLAPI
void GLAPIENTRY glColor4sv (
const GLshort *v);
812 GLAPI
void GLAPIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
813 GLAPI
void GLAPIENTRY glColor4ubv (
const GLubyte *v);
814 GLAPI
void GLAPIENTRY glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha);
815 GLAPI
void GLAPIENTRY glColor4uiv (
const GLuint *v);
816 GLAPI
void GLAPIENTRY glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha);
817 GLAPI
void GLAPIENTRY glColor4usv (
const GLushort *v);
818 GLAPI
void GLAPIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
819 GLAPI
void GLAPIENTRY glColorMaterial (GLenum face, GLenum mode);
820 GLAPI
void GLAPIENTRY glColorPointer (GLint
size, GLenum type, GLsizei stride,
const void *pointer);
821 GLAPI
void GLAPIENTRY glCopyPixels (GLint x, GLint y, GLsizei
width, GLsizei
height, GLenum type);
822 GLAPI
void GLAPIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei
width, GLint border);
823 GLAPI
void GLAPIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei
width, GLsizei
height, GLint border);
824 GLAPI
void GLAPIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei
width);
825 GLAPI
void GLAPIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei
width, GLsizei
height);
826 GLAPI
void GLAPIENTRY glCullFace (GLenum mode);
827 GLAPI
void GLAPIENTRY glDeleteLists (GLuint list, GLsizei range);
828 GLAPI
void GLAPIENTRY glDeleteTextures (GLsizei n,
const GLuint *textures);
829 GLAPI
void GLAPIENTRY glDepthFunc (GLenum func);
830 GLAPI
void GLAPIENTRY glDepthMask (GLboolean flag);
831 GLAPI
void GLAPIENTRY glDepthRange (GLclampd zNear, GLclampd zFar);
832 GLAPI
void GLAPIENTRY glDisable (GLenum cap);
833 GLAPI
void GLAPIENTRY glDisableClientState (GLenum array);
834 GLAPI
void GLAPIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
835 GLAPI
void GLAPIENTRY glDrawBuffer (GLenum mode);
836 GLAPI
void GLAPIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type,
const void *indices);
837 GLAPI
void GLAPIENTRY glDrawPixels (GLsizei
width, GLsizei
height, GLenum format, GLenum type,
const void *pixels);
838 GLAPI
void GLAPIENTRY glEdgeFlag (GLboolean flag);
839 GLAPI
void GLAPIENTRY glEdgeFlagPointer (GLsizei stride,
const void *pointer);
840 GLAPI
void GLAPIENTRY glEdgeFlagv (
const GLboolean *flag);
841 GLAPI
void GLAPIENTRY glEnable (GLenum cap);
842 GLAPI
void GLAPIENTRY glEnableClientState (GLenum array);
843 GLAPI
void GLAPIENTRY glEnd (
void);
844 GLAPI
void GLAPIENTRY glEndList (
void);
845 GLAPI
void GLAPIENTRY glEvalCoord1d (GLdouble u);
846 GLAPI
void GLAPIENTRY glEvalCoord1dv (
const GLdouble *u);
847 GLAPI
void GLAPIENTRY glEvalCoord1f (GLfloat u);
848 GLAPI
void GLAPIENTRY glEvalCoord1fv (
const GLfloat *u);
849 GLAPI
void GLAPIENTRY glEvalCoord2d (GLdouble u, GLdouble v);
850 GLAPI
void GLAPIENTRY glEvalCoord2dv (
const GLdouble *u);
851 GLAPI
void GLAPIENTRY glEvalCoord2f (GLfloat u, GLfloat v);
852 GLAPI
void GLAPIENTRY glEvalCoord2fv (
const GLfloat *u);
853 GLAPI
void GLAPIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2);
854 GLAPI
void GLAPIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
855 GLAPI
void GLAPIENTRY glEvalPoint1 (GLint i);
856 GLAPI
void GLAPIENTRY glEvalPoint2 (GLint i, GLint j);
857 GLAPI
void GLAPIENTRY glFeedbackBuffer (GLsizei
size, GLenum type, GLfloat *buffer);
858 GLAPI
void GLAPIENTRY glFinish (
void);
859 GLAPI
void GLAPIENTRY glFlush (
void);
860 GLAPI
void GLAPIENTRY glFogf (GLenum pname, GLfloat param);
861 GLAPI
void GLAPIENTRY glFogfv (GLenum pname,
const GLfloat *params);
862 GLAPI
void GLAPIENTRY glFogi (GLenum pname, GLint param);
863 GLAPI
void GLAPIENTRY glFogiv (GLenum pname,
const GLint *params);
864 GLAPI
void GLAPIENTRY glFrontFace (GLenum mode);
865 GLAPI
void GLAPIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
866 GLAPI GLuint GLAPIENTRY glGenLists (GLsizei range);
867 GLAPI
void GLAPIENTRY glGenTextures (GLsizei n, GLuint *textures);
868 GLAPI
void GLAPIENTRY glGetBooleanv (GLenum pname, GLboolean *params);
869 GLAPI
void GLAPIENTRY glGetClipPlane (GLenum plane, GLdouble *equation);
870 GLAPI
void GLAPIENTRY glGetDoublev (GLenum pname, GLdouble *params);
871 GLAPI GLenum GLAPIENTRY glGetError (
void);
872 GLAPI
void GLAPIENTRY glGetFloatv (GLenum pname, GLfloat *params);
873 GLAPI
void GLAPIENTRY glGetIntegerv (GLenum pname, GLint *params);
874 GLAPI
void GLAPIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
875 GLAPI
void GLAPIENTRY glGetLightiv (GLenum light, GLenum pname, GLint *params);
876 GLAPI
void GLAPIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble *v);
877 GLAPI
void GLAPIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat *v);
878 GLAPI
void GLAPIENTRY glGetMapiv (GLenum target, GLenum query, GLint *v);
879 GLAPI
void GLAPIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
880 GLAPI
void GLAPIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint *params);
881 GLAPI
void GLAPIENTRY glGetPixelMapfv (GLenum map, GLfloat *values);
882 GLAPI
void GLAPIENTRY glGetPixelMapuiv (GLenum map, GLuint *values);
883 GLAPI
void GLAPIENTRY glGetPixelMapusv (GLenum map, GLushort *values);
884 GLAPI
void GLAPIENTRY glGetPointerv (GLenum pname,
void* *params);
885 GLAPI
void GLAPIENTRY glGetPolygonStipple (GLubyte *mask);
886 GLAPI
const GLubyte * GLAPIENTRY glGetString (GLenum name);
887 GLAPI
void GLAPIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
888 GLAPI
void GLAPIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
889 GLAPI
void GLAPIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params);
890 GLAPI
void GLAPIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params);
891 GLAPI
void GLAPIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint *params);
892 GLAPI
void GLAPIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type,
void *pixels);
893 GLAPI
void GLAPIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
894 GLAPI
void GLAPIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
895 GLAPI
void GLAPIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
896 GLAPI
void GLAPIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
897 GLAPI
void GLAPIENTRY glHint (GLenum target, GLenum mode);
898 GLAPI
void GLAPIENTRY glIndexMask (GLuint mask);
899 GLAPI
void GLAPIENTRY glIndexPointer (GLenum type, GLsizei stride,
const void *pointer);
900 GLAPI
void GLAPIENTRY glIndexd (GLdouble c);
901 GLAPI
void GLAPIENTRY glIndexdv (
const GLdouble *c);
902 GLAPI
void GLAPIENTRY glIndexf (GLfloat c);
903 GLAPI
void GLAPIENTRY glIndexfv (
const GLfloat *c);
904 GLAPI
void GLAPIENTRY glIndexi (GLint c);
905 GLAPI
void GLAPIENTRY glIndexiv (
const GLint *c);
906 GLAPI
void GLAPIENTRY glIndexs (GLshort c);
907 GLAPI
void GLAPIENTRY glIndexsv (
const GLshort *c);
908 GLAPI
void GLAPIENTRY glIndexub (GLubyte c);
909 GLAPI
void GLAPIENTRY glIndexubv (
const GLubyte *c);
910 GLAPI
void GLAPIENTRY glInitNames (
void);
911 GLAPI
void GLAPIENTRY glInterleavedArrays (GLenum format, GLsizei stride,
const void *pointer);
912 GLAPI GLboolean GLAPIENTRY glIsEnabled (GLenum cap);
913 GLAPI GLboolean GLAPIENTRY glIsList (GLuint list);
914 GLAPI GLboolean GLAPIENTRY glIsTexture (GLuint texture);
915 GLAPI
void GLAPIENTRY glLightModelf (GLenum pname, GLfloat param);
916 GLAPI
void GLAPIENTRY glLightModelfv (GLenum pname,
const GLfloat *params);
917 GLAPI
void GLAPIENTRY glLightModeli (GLenum pname, GLint param);
918 GLAPI
void GLAPIENTRY glLightModeliv (GLenum pname,
const GLint *params);
919 GLAPI
void GLAPIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
920 GLAPI
void GLAPIENTRY glLightfv (GLenum light, GLenum pname,
const GLfloat *params);
921 GLAPI
void GLAPIENTRY glLighti (GLenum light, GLenum pname, GLint param);
922 GLAPI
void GLAPIENTRY glLightiv (GLenum light, GLenum pname,
const GLint *params);
923 GLAPI
void GLAPIENTRY glLineStipple (GLint factor, GLushort pattern);
924 GLAPI
void GLAPIENTRY glLineWidth (GLfloat
width);
925 GLAPI
void GLAPIENTRY glListBase (GLuint base);
926 GLAPI
void GLAPIENTRY glLoadIdentity (
void);
927 GLAPI
void GLAPIENTRY glLoadMatrixd (
const GLdouble *m);
928 GLAPI
void GLAPIENTRY glLoadMatrixf (
const GLfloat *m);
929 GLAPI
void GLAPIENTRY glLoadName (GLuint name);
930 GLAPI
void GLAPIENTRY glLogicOp (GLenum opcode);
931 GLAPI
void GLAPIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order,
const GLdouble *points);
932 GLAPI
void GLAPIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order,
const GLfloat *points);
933 GLAPI
void GLAPIENTRY glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder,
const GLdouble *points);
934 GLAPI
void GLAPIENTRY glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder,
const GLfloat *points);
935 GLAPI
void GLAPIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2);
936 GLAPI
void GLAPIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2);
937 GLAPI
void GLAPIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
938 GLAPI
void GLAPIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
939 GLAPI
void GLAPIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
940 GLAPI
void GLAPIENTRY glMaterialfv (GLenum face, GLenum pname,
const GLfloat *params);
941 GLAPI
void GLAPIENTRY glMateriali (GLenum face, GLenum pname, GLint param);
942 GLAPI
void GLAPIENTRY glMaterialiv (GLenum face, GLenum pname,
const GLint *params);
943 GLAPI
void GLAPIENTRY glMatrixMode (GLenum mode);
944 GLAPI
void GLAPIENTRY glMultMatrixd (
const GLdouble *m);
945 GLAPI
void GLAPIENTRY glMultMatrixf (
const GLfloat *m);
946 GLAPI
void GLAPIENTRY glNewList (GLuint list, GLenum mode);
947 GLAPI
void GLAPIENTRY glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz);
948 GLAPI
void GLAPIENTRY glNormal3bv (
const GLbyte *v);
949 GLAPI
void GLAPIENTRY glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz);
950 GLAPI
void GLAPIENTRY glNormal3dv (
const GLdouble *v);
951 GLAPI
void GLAPIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
952 GLAPI
void GLAPIENTRY glNormal3fv (
const GLfloat *v);
953 GLAPI
void GLAPIENTRY glNormal3i (GLint nx, GLint ny, GLint nz);
954 GLAPI
void GLAPIENTRY glNormal3iv (
const GLint *v);
955 GLAPI
void GLAPIENTRY glNormal3s (GLshort nx, GLshort ny, GLshort nz);
956 GLAPI
void GLAPIENTRY glNormal3sv (
const GLshort *v);
957 GLAPI
void GLAPIENTRY glNormalPointer (GLenum type, GLsizei stride,
const void *pointer);
958 GLAPI
void GLAPIENTRY glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
959 GLAPI
void GLAPIENTRY glPassThrough (GLfloat token);
960 GLAPI
void GLAPIENTRY glPixelMapfv (GLenum map, GLsizei mapsize,
const GLfloat *values);
961 GLAPI
void GLAPIENTRY glPixelMapuiv (GLenum map, GLsizei mapsize,
const GLuint *values);
962 GLAPI
void GLAPIENTRY glPixelMapusv (GLenum map, GLsizei mapsize,
const GLushort *values);
963 GLAPI
void GLAPIENTRY glPixelStoref (GLenum pname, GLfloat param);
964 GLAPI
void GLAPIENTRY glPixelStorei (GLenum pname, GLint param);
965 GLAPI
void GLAPIENTRY glPixelTransferf (GLenum pname, GLfloat param);
966 GLAPI
void GLAPIENTRY glPixelTransferi (GLenum pname, GLint param);
967 GLAPI
void GLAPIENTRY glPixelZoom (GLfloat xfactor, GLfloat yfactor);
968 GLAPI
void GLAPIENTRY glPointSize (GLfloat
size);
969 GLAPI
void GLAPIENTRY glPolygonMode (GLenum face, GLenum mode);
970 GLAPI
void GLAPIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
971 GLAPI
void GLAPIENTRY glPolygonStipple (
const GLubyte *mask);
972 GLAPI
void GLAPIENTRY glPopAttrib (
void);
973 GLAPI
void GLAPIENTRY glPopClientAttrib (
void);
974 GLAPI
void GLAPIENTRY glPopMatrix (
void);
975 GLAPI
void GLAPIENTRY glPopName (
void);
976 GLAPI
void GLAPIENTRY glPrioritizeTextures (GLsizei n,
const GLuint *textures,
const GLclampf *priorities);
977 GLAPI
void GLAPIENTRY glPushAttrib (GLbitfield mask);
978 GLAPI
void GLAPIENTRY glPushClientAttrib (GLbitfield mask);
979 GLAPI
void GLAPIENTRY glPushMatrix (
void);
980 GLAPI
void GLAPIENTRY glPushName (GLuint name);
981 GLAPI
void GLAPIENTRY glRasterPos2d (GLdouble x, GLdouble y);
982 GLAPI
void GLAPIENTRY glRasterPos2dv (
const GLdouble *v);
983 GLAPI
void GLAPIENTRY glRasterPos2f (GLfloat x, GLfloat y);
984 GLAPI
void GLAPIENTRY glRasterPos2fv (
const GLfloat *v);
985 GLAPI
void GLAPIENTRY glRasterPos2i (GLint x, GLint y);
986 GLAPI
void GLAPIENTRY glRasterPos2iv (
const GLint *v);
987 GLAPI
void GLAPIENTRY glRasterPos2s (GLshort x, GLshort y);
988 GLAPI
void GLAPIENTRY glRasterPos2sv (
const GLshort *v);
989 GLAPI
void GLAPIENTRY glRasterPos3d (GLdouble x, GLdouble y, GLdouble z);
990 GLAPI
void GLAPIENTRY glRasterPos3dv (
const GLdouble *v);
991 GLAPI
void GLAPIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z);
992 GLAPI
void GLAPIENTRY glRasterPos3fv (
const GLfloat *v);
993 GLAPI
void GLAPIENTRY glRasterPos3i (GLint x, GLint y, GLint z);
994 GLAPI
void GLAPIENTRY glRasterPos3iv (
const GLint *v);
995 GLAPI
void GLAPIENTRY glRasterPos3s (GLshort x, GLshort y, GLshort z);
996 GLAPI
void GLAPIENTRY glRasterPos3sv (
const GLshort *v);
997 GLAPI
void GLAPIENTRY glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
998 GLAPI
void GLAPIENTRY glRasterPos4dv (
const GLdouble *v);
999 GLAPI
void GLAPIENTRY glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1000 GLAPI
void GLAPIENTRY glRasterPos4fv (
const GLfloat *v);
1001 GLAPI
void GLAPIENTRY glRasterPos4i (GLint x, GLint y, GLint z, GLint w);
1002 GLAPI
void GLAPIENTRY glRasterPos4iv (
const GLint *v);
1003 GLAPI
void GLAPIENTRY glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w);
1004 GLAPI
void GLAPIENTRY glRasterPos4sv (
const GLshort *v);
1005 GLAPI
void GLAPIENTRY glReadBuffer (GLenum mode);
1006 GLAPI
void GLAPIENTRY glReadPixels (GLint x, GLint y, GLsizei
width, GLsizei
height, GLenum format, GLenum type,
void *pixels);
1007 GLAPI
void GLAPIENTRY glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
1008 GLAPI
void GLAPIENTRY glRectdv (
const GLdouble *v1,
const GLdouble *v2);
1009 GLAPI
void GLAPIENTRY glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
1010 GLAPI
void GLAPIENTRY glRectfv (
const GLfloat *v1,
const GLfloat *v2);
1011 GLAPI
void GLAPIENTRY glRecti (GLint x1, GLint y1, GLint x2, GLint y2);
1012 GLAPI
void GLAPIENTRY glRectiv (
const GLint *v1,
const GLint *v2);
1013 GLAPI
void GLAPIENTRY glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
1014 GLAPI
void GLAPIENTRY glRectsv (
const GLshort *v1,
const GLshort *v2);
1015 GLAPI GLint GLAPIENTRY glRenderMode (GLenum mode);
1016 GLAPI
void GLAPIENTRY glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
1017 GLAPI
void GLAPIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
1018 GLAPI
void GLAPIENTRY glScaled (GLdouble x, GLdouble y, GLdouble z);
1019 GLAPI
void GLAPIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
1020 GLAPI
void GLAPIENTRY glScissor (GLint x, GLint y, GLsizei
width, GLsizei
height);
1021 GLAPI
void GLAPIENTRY glSelectBuffer (GLsizei
size, GLuint *buffer);
1022 GLAPI
void GLAPIENTRY glShadeModel (GLenum mode);
1023 GLAPI
void GLAPIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
1024 GLAPI
void GLAPIENTRY glStencilMask (GLuint mask);
1025 GLAPI
void GLAPIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
1026 GLAPI
void GLAPIENTRY glTexCoord1d (GLdouble s);
1027 GLAPI
void GLAPIENTRY glTexCoord1dv (
const GLdouble *v);
1028 GLAPI
void GLAPIENTRY glTexCoord1f (GLfloat s);
1029 GLAPI
void GLAPIENTRY glTexCoord1fv (
const GLfloat *v);
1030 GLAPI
void GLAPIENTRY glTexCoord1i (GLint s);
1031 GLAPI
void GLAPIENTRY glTexCoord1iv (
const GLint *v);
1032 GLAPI
void GLAPIENTRY glTexCoord1s (GLshort s);
1033 GLAPI
void GLAPIENTRY glTexCoord1sv (
const GLshort *v);
1034 GLAPI
void GLAPIENTRY glTexCoord2d (GLdouble s, GLdouble t);
1035 GLAPI
void GLAPIENTRY glTexCoord2dv (
const GLdouble *v);
1036 GLAPI
void GLAPIENTRY glTexCoord2f (GLfloat s, GLfloat t);
1037 GLAPI
void GLAPIENTRY glTexCoord2fv (
const GLfloat *v);
1038 GLAPI
void GLAPIENTRY glTexCoord2i (GLint s, GLint t);
1039 GLAPI
void GLAPIENTRY glTexCoord2iv (
const GLint *v);
1040 GLAPI
void GLAPIENTRY glTexCoord2s (GLshort s, GLshort t);
1041 GLAPI
void GLAPIENTRY glTexCoord2sv (
const GLshort *v);
1042 GLAPI
void GLAPIENTRY glTexCoord3d (GLdouble s, GLdouble t, GLdouble r);
1043 GLAPI
void GLAPIENTRY glTexCoord3dv (
const GLdouble *v);
1044 GLAPI
void GLAPIENTRY glTexCoord3f (GLfloat s, GLfloat t, GLfloat r);
1045 GLAPI
void GLAPIENTRY glTexCoord3fv (
const GLfloat *v);
1046 GLAPI
void GLAPIENTRY glTexCoord3i (GLint s, GLint t, GLint r);
1047 GLAPI
void GLAPIENTRY glTexCoord3iv (
const GLint *v);
1048 GLAPI
void GLAPIENTRY glTexCoord3s (GLshort s, GLshort t, GLshort r);
1049 GLAPI
void GLAPIENTRY glTexCoord3sv (
const GLshort *v);
1050 GLAPI
void GLAPIENTRY glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1051 GLAPI
void GLAPIENTRY glTexCoord4dv (
const GLdouble *v);
1052 GLAPI
void GLAPIENTRY glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1053 GLAPI
void GLAPIENTRY glTexCoord4fv (
const GLfloat *v);
1054 GLAPI
void GLAPIENTRY glTexCoord4i (GLint s, GLint t, GLint r, GLint q);
1055 GLAPI
void GLAPIENTRY glTexCoord4iv (
const GLint *v);
1056 GLAPI
void GLAPIENTRY glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q);
1057 GLAPI
void GLAPIENTRY glTexCoord4sv (
const GLshort *v);
1058 GLAPI
void GLAPIENTRY glTexCoordPointer (GLint
size, GLenum type, GLsizei stride,
const void *pointer);
1059 GLAPI
void GLAPIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
1060 GLAPI
void GLAPIENTRY glTexEnvfv (GLenum target, GLenum pname,
const GLfloat *params);
1061 GLAPI
void GLAPIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
1062 GLAPI
void GLAPIENTRY glTexEnviv (GLenum target, GLenum pname,
const GLint *params);
1063 GLAPI
void GLAPIENTRY glTexGend (GLenum coord, GLenum pname, GLdouble param);
1064 GLAPI
void GLAPIENTRY glTexGendv (GLenum coord, GLenum pname,
const GLdouble *params);
1065 GLAPI
void GLAPIENTRY glTexGenf (GLenum coord, GLenum pname, GLfloat param);
1066 GLAPI
void GLAPIENTRY glTexGenfv (GLenum coord, GLenum pname,
const GLfloat *params);
1067 GLAPI
void GLAPIENTRY glTexGeni (GLenum coord, GLenum pname, GLint param);
1068 GLAPI
void GLAPIENTRY glTexGeniv (GLenum coord, GLenum pname,
const GLint *params);
1069 GLAPI
void GLAPIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei
width, GLint border, GLenum format, GLenum type,
const void *pixels);
1070 GLAPI
void GLAPIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei
width, GLsizei
height, GLint border, GLenum format, GLenum type,
const void *pixels);
1071 GLAPI
void GLAPIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
1072 GLAPI
void GLAPIENTRY glTexParameterfv (GLenum target, GLenum pname,
const GLfloat *params);
1073 GLAPI
void GLAPIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
1074 GLAPI
void GLAPIENTRY glTexParameteriv (GLenum target, GLenum pname,
const GLint *params);
1075 GLAPI
void GLAPIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei
width, GLenum format, GLenum type,
const void *pixels);
1076 GLAPI
void GLAPIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei
width, GLsizei
height, GLenum format, GLenum type,
const void *pixels);
1077 GLAPI
void GLAPIENTRY glTranslated (GLdouble x, GLdouble y, GLdouble z);
1078 GLAPI
void GLAPIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
1079 GLAPI
void GLAPIENTRY glVertex2d (GLdouble x, GLdouble y);
1080 GLAPI
void GLAPIENTRY glVertex2dv (
const GLdouble *v);
1081 GLAPI
void GLAPIENTRY glVertex2f (GLfloat x, GLfloat y);
1082 GLAPI
void GLAPIENTRY glVertex2fv (
const GLfloat *v);
1083 GLAPI
void GLAPIENTRY glVertex2i (GLint x, GLint y);
1084 GLAPI
void GLAPIENTRY glVertex2iv (
const GLint *v);
1085 GLAPI
void GLAPIENTRY glVertex2s (GLshort x, GLshort y);
1086 GLAPI
void GLAPIENTRY glVertex2sv (
const GLshort *v);
1087 GLAPI
void GLAPIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z);
1088 GLAPI
void GLAPIENTRY glVertex3dv (
const GLdouble *v);
1089 GLAPI
void GLAPIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z);
1090 GLAPI
void GLAPIENTRY glVertex3fv (
const GLfloat *v);
1091 GLAPI
void GLAPIENTRY glVertex3i (GLint x, GLint y, GLint z);
1092 GLAPI
void GLAPIENTRY glVertex3iv (
const GLint *v);
1093 GLAPI
void GLAPIENTRY glVertex3s (GLshort x, GLshort y, GLshort z);
1094 GLAPI
void GLAPIENTRY glVertex3sv (
const GLshort *v);
1095 GLAPI
void GLAPIENTRY glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1096 GLAPI
void GLAPIENTRY glVertex4dv (
const GLdouble *v);
1097 GLAPI
void GLAPIENTRY glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1098 GLAPI
void GLAPIENTRY glVertex4fv (
const GLfloat *v);
1099 GLAPI
void GLAPIENTRY glVertex4i (GLint x, GLint y, GLint z, GLint w);
1100 GLAPI
void GLAPIENTRY glVertex4iv (
const GLint *v);
1101 GLAPI
void GLAPIENTRY glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w);
1102 GLAPI
void GLAPIENTRY glVertex4sv (
const GLshort *v);
1103 GLAPI
void GLAPIENTRY glVertexPointer (GLint
size, GLenum type, GLsizei stride,
const void *pointer);
1104 GLAPI
void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei
width, GLsizei
height);
1106 #define GLEW_VERSION_1_1 GLEW_GET_VAR(__GLEW_VERSION_1_1) 1114 # include <Availability.h> 1115 # if defined(__IPHONE_OS_VERSION_MIN_REQUIRED) 1116 # define GLEW_NO_GLU 1123 # if defined(__APPLE__) && defined(__MACH__) 1124 # include <OpenGL/glu.h> 1126 # include <GL/glu.h> U32 width(const SparseMatrix< T, ROW > &matrix)
Return the horizonatal dimension.
Definition: SparseMatrix.h:591
T depth(const Box< N, T > &lhs)
Get the box depth.
Definition: Box.h:124
U32 size(const DenseVector< T > &lhs)
Return number of elements.
Definition: DenseVector.h:587
U32 height(const SparseMatrix< T, ROW > &matrix)
Return the vertical dimension.
Definition: SparseMatrix.h:600