Changeset 3598 for trunk/src/opengl/mesa/GL
- Timestamp:
- May 23, 2000, 10:41:28 PM (25 years ago)
- Location:
- trunk/src/opengl/mesa/GL
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/mesa/GL/gl.h
r3086 r3598 1 /* $Id: gl.h,v 1. 5 2000-03-11 17:06:35 sandervlExp $ */1 /* $Id: gl.h,v 1.6 2000-05-23 20:41:25 jeroen Exp $ */ 2 2 3 3 /* 4 4 * Mesa 3-D graphics library 5 * Version: 3. 15 * Version: 3.3 6 6 * 7 7 * Copyright (C) 1999 Brian Paul All Rights Reserved. … … 126 126 #define GL_VERSION_1_1 1 127 127 #define GL_VERSION_1_2 1 128 #define GL_HAS_GLEXT 1 128 129 129 130 … … 716 717 717 718 /* Errors */ 719 GL_NO_ERROR = 0x0, 718 720 GL_INVALID_VALUE = 0x0501, 719 721 GL_INVALID_ENUM = 0x0500, … … 869 871 GL_TEXTURE_BASE_LEVEL = 0x813C, 870 872 GL_TEXTURE_MAX_LEVEL = 0x813D, 873 GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12, 874 GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13, 875 GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22, 876 GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23, 877 GL_ALIASED_POINT_SIZE_RANGE = 0x846D, 878 GL_ALIASED_LINE_WIDTH_RANGE = 0x846E, 871 879 872 880 /* GL_ARB_multitexture */ … … 1015 1023 1016 1024 /* GL_EXT_compiled_vertex_array */ 1017 GL_ARRAY_ELEMENT_LOCK_FIRST_ SGI= 0x81A8,1018 GL_ARRAY_ELEMENT_LOCK_COUNT_ SGI= 0x81A9,1025 GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8, 1026 GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9, 1019 1027 1020 1028 /* GL_EXT_clip_volume_hint */ … … 1101 1109 typedef float GLfloat; /* single precision float */ 1102 1110 typedef float GLclampf; /* single precision float in [0,1] */ 1103 typedef double GLdouble; /* double precision float*/1104 typedef double GLclampd; /* double precision float in [0,1]*/1111 typedef double GLdouble; /* double precision float */ 1112 typedef double GLclampd; /* double precision float in [0,1] */ 1105 1113 1106 1114 … … 1114 1122 * Miscellaneous 1115 1123 */ 1124 1125 GLAPI void GLAPIENTRY glHintPGI(GLenum target, GLint mode); 1116 1126 1117 1127 GLAPI void GLAPIENTRY glClearIndex( GLfloat c ); … … 1937 1947 GLenum type, const GLvoid *table ); 1938 1948 1939 GLAPI void GLAPIENTRY glColorSubTableEXT( GLenum target,1949 /*GLAPI void GLAPIENTRY glColorSubTableEXT( GLenum target, 1940 1950 GLsizei start, GLsizei count, 1941 1951 GLenum format, GLenum type, 1942 1952 const GLvoid *data ); 1943 1953 */ 1944 1954 GLAPI void GLAPIENTRY glGetColorTableEXT( GLenum target, GLenum format, 1945 1955 GLenum type, GLvoid *table ); -
trunk/src/opengl/mesa/GL/glut.h
r3086 r3598 16 16 17 17 #if defined(_WIN32) 18 19 18 20 19 /* GLUT 3.7 now tries to avoid including <windows.h> … … 111 110 112 111 #if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) 113 # 112 # define GLUTAPIENTRY __stdcall 114 113 #else 115 # 114 # define GLUTAPIENTRY 116 115 #endif 117 116 118 117 /* GLUT API entry point declarations for Win32. */ 119 118 #if defined(GLUT_BUILDING_LIB) && defined(_DLL) 120 # 119 # define GLUTAPI __declspec(dllexport) 121 120 #elif defined(_DLL) 122 121 # define GLUTAPI __declspec(dllimport) 123 122 #else 124 # 123 # define GLUTAPI extern 125 124 #endif 126 125 127 126 #if defined(_WIN32) && !defined(_WINDEF_) && !defined(MESA) 128 # 129 # 130 # 131 # 132 # 133 # 127 # if !defined(MESA_MINWARN) 128 # pragma message( "note: WINDOWS.H not included, providing Mesa definition of CALLBACK macro" ) 129 # pragma message( "----: and PROC typedef. If you receive compiler warnings about either ") 130 # pragma message( "----: being multiply defined you should include WINDOWS.H priot to gl/glut.h" ) 131 # endif 132 # define CALLBACK __stdcall 134 133 typedef int (GLUTAPIENTRY *PROC)(); 135 134 typedef void *HGLRC; … … 139 138 140 139 #if defined(_WIN32) && !defined(_WINGDI_) && !defined(MESA) 141 # 142 # 143 # 144 # 145 # 146 # 147 # 148 # 149 # 150 # 151 # 152 # 153 # 154 # 140 # if !defined(MESA_MINWARN) 141 # pragma message( "note: WINDOWS.H not included, providing Mesa definition of wgl functions" ) 142 # pragma message( "----: and macros. If you receive compiler warnings about any being multiply ") 143 # pragma message( "----: defined you should include WINDOWS.H priot to gl/glut.h" ) 144 # endif 145 # define WGL_FONT_LINES 0 146 # define WGL_FONT_POLYGONS 1 147 # ifdef UNICODE 148 # define wglUseFontBitmaps wglUseFontBitmapsW 149 # define wglUseFontOutlines wglUseFontOutlinesW 150 # else 151 # define wglUseFontBitmaps wglUseFontBitmapsA 152 # define wglUseFontOutlines wglUseFontOutlinesA 153 # endif /* !UNICODE */ 155 154 typedef struct tagLAYERPLANEDESCRIPTOR LAYERPLANEDESCRIPTOR, *PLAYERPLANEDESCRIPTOR, *LPLAYERPLANEDESCRIPTOR; 156 155 typedef struct _GLYPHMETRICSFLOAT GLYPHMETRICSFLOAT, *PGLYPHMETRICSFLOAT, *LPGLYPHMETRICSFLOAT; … … 194 193 #else /* _WIN32 not defined */ 195 194 #if defined(__WIN32OS2__) 196 /* GLUT callback calling convention for Win32. */195 /* GLUT callback calling convention for Odin. */ 197 196 #define GLUTCALLBACK __cdecl 198 197 … … 240 239 **/ 241 240 #ifndef GLUT_API_VERSION /* allow this to be overriden */ 242 #define GLUT_API_VERSION 241 #define GLUT_API_VERSION 3 243 242 #endif 244 243 … … 280 279 **/ 281 280 #ifndef GLUT_XLIB_IMPLEMENTATION /* Allow this to be overriden. */ 282 #define GLUT_XLIB_IMPLEMENTATION 281 #define GLUT_XLIB_IMPLEMENTATION 15 283 282 #endif 284 283 285 284 /* Display mode bit masks. */ 286 #define GLUT_RGB 287 #define GLUT_RGBA 288 #define GLUT_INDEX 289 #define GLUT_SINGLE 290 #define GLUT_DOUBLE 291 #define GLUT_ACCUM 292 #define GLUT_ALPHA 293 #define GLUT_DEPTH 294 #define GLUT_STENCIL 285 #define GLUT_RGB 0 286 #define GLUT_RGBA GLUT_RGB 287 #define GLUT_INDEX 1 288 #define GLUT_SINGLE 0 289 #define GLUT_DOUBLE 2 290 #define GLUT_ACCUM 4 291 #define GLUT_ALPHA 8 292 #define GLUT_DEPTH 16 293 #define GLUT_STENCIL 32 295 294 #if (GLUT_API_VERSION >= 2) 296 #define GLUT_MULTISAMPLE 297 #define GLUT_STEREO 295 #define GLUT_MULTISAMPLE 128 296 #define GLUT_STEREO 256 298 297 #endif 299 298 #if (GLUT_API_VERSION >= 3) 300 #define GLUT_LUMINANCE 299 #define GLUT_LUMINANCE 512 301 300 #endif 302 301 303 302 /* Mouse buttons. */ 304 #define GLUT_LEFT_BUTTON 305 #define GLUT_MIDDLE_BUTTON 306 #define GLUT_RIGHT_BUTTON 303 #define GLUT_LEFT_BUTTON 0 304 #define GLUT_MIDDLE_BUTTON 1 305 #define GLUT_RIGHT_BUTTON 2 307 306 308 307 /* Mouse button state. */ 309 #define GLUT_DOWN 310 #define GLUT_UP 308 #define GLUT_DOWN 0 309 #define GLUT_UP 1 311 310 312 311 #if (GLUT_API_VERSION >= 2) 313 312 /* function keys */ 314 #define GLUT_KEY_F1 315 #define GLUT_KEY_F2 316 #define GLUT_KEY_F3 317 #define GLUT_KEY_F4 318 #define GLUT_KEY_F5 319 #define GLUT_KEY_F6 320 #define GLUT_KEY_F7 321 #define GLUT_KEY_F8 322 #define GLUT_KEY_F9 323 #define GLUT_KEY_F10 324 #define GLUT_KEY_F11 325 #define GLUT_KEY_F12 313 #define GLUT_KEY_F1 1 314 #define GLUT_KEY_F2 2 315 #define GLUT_KEY_F3 3 316 #define GLUT_KEY_F4 4 317 #define GLUT_KEY_F5 5 318 #define GLUT_KEY_F6 6 319 #define GLUT_KEY_F7 7 320 #define GLUT_KEY_F8 8 321 #define GLUT_KEY_F9 9 322 #define GLUT_KEY_F10 10 323 #define GLUT_KEY_F11 11 324 #define GLUT_KEY_F12 12 326 325 /* directional keys */ 327 #define GLUT_KEY_LEFT 328 #define GLUT_KEY_UP 329 #define GLUT_KEY_RIGHT 330 #define GLUT_KEY_DOWN 331 #define GLUT_KEY_PAGE_UP 332 #define GLUT_KEY_PAGE_DOWN 333 #define GLUT_KEY_HOME 334 #define GLUT_KEY_END 335 #define GLUT_KEY_INSERT 326 #define GLUT_KEY_LEFT 100 327 #define GLUT_KEY_UP 101 328 #define GLUT_KEY_RIGHT 102 329 #define GLUT_KEY_DOWN 103 330 #define GLUT_KEY_PAGE_UP 104 331 #define GLUT_KEY_PAGE_DOWN 105 332 #define GLUT_KEY_HOME 106 333 #define GLUT_KEY_END 107 334 #define GLUT_KEY_INSERT 108 336 335 #endif 337 336 338 337 /* Entry/exit state. */ 339 #define GLUT_LEFT 340 #define GLUT_ENTERED 338 #define GLUT_LEFT 0 339 #define GLUT_ENTERED 1 341 340 342 341 /* Menu usage state. */ 343 #define GLUT_MENU_NOT_IN_USE 344 #define GLUT_MENU_IN_USE 342 #define GLUT_MENU_NOT_IN_USE 0 343 #define GLUT_MENU_IN_USE 1 345 344 346 345 /* Visibility state. */ 347 #define GLUT_NOT_VISIBLE 348 #define GLUT_VISIBLE 346 #define GLUT_NOT_VISIBLE 0 347 #define GLUT_VISIBLE 1 349 348 350 349 /* Window status state. */ 351 #define GLUT_HIDDEN 352 #define GLUT_FULLY_RETAINED 353 #define GLUT_PARTIALLY_RETAINED 354 #define GLUT_FULLY_COVERED 350 #define GLUT_HIDDEN 0 351 #define GLUT_FULLY_RETAINED 1 352 #define GLUT_PARTIALLY_RETAINED 2 353 #define GLUT_FULLY_COVERED 3 355 354 356 355 /* Color index component selection values. */ 357 #define GLUT_RED 358 #define GLUT_GREEN 359 #define GLUT_BLUE 356 #define GLUT_RED 0 357 #define GLUT_GREEN 1 358 #define GLUT_BLUE 2 360 359 361 360 /* Layers for use. */ 362 #define GLUT_NORMAL 363 #define GLUT_OVERLAY 361 #define GLUT_NORMAL 0 362 #define GLUT_OVERLAY 1 364 363 365 364 #if defined(_WIN32) || defined(__WIN32OS2__) … … 393 392 394 393 /* Stroke font constants (use these in GLUT program). */ 395 #define GLUT_STROKE_ROMAN 396 #define GLUT_STROKE_MONO_ROMAN 394 #define GLUT_STROKE_ROMAN (&glutStrokeRoman) 395 #define GLUT_STROKE_MONO_ROMAN (&glutStrokeMonoRoman) 397 396 398 397 /* Bitmap font opaque addresses (use constants instead in source code). */ … … 406 405 407 406 /* Bitmap font constants (use these in GLUT program). */ 408 #define GLUT_BITMAP_9_BY_15 409 #define GLUT_BITMAP_8_BY_13 410 #define GLUT_BITMAP_TIMES_ROMAN_10 411 #define GLUT_BITMAP_TIMES_ROMAN_24 407 #define GLUT_BITMAP_9_BY_15 (&glutBitmap9By15) 408 #define GLUT_BITMAP_8_BY_13 (&glutBitmap8By13) 409 #define GLUT_BITMAP_TIMES_ROMAN_10 (&glutBitmapTimesRoman10) 410 #define GLUT_BITMAP_TIMES_ROMAN_24 (&glutBitmapTimesRoman24) 412 411 #if (GLUT_API_VERSION >= 3) 413 #define GLUT_BITMAP_HELVETICA_10 414 #define GLUT_BITMAP_HELVETICA_12 415 #define GLUT_BITMAP_HELVETICA_18 412 #define GLUT_BITMAP_HELVETICA_10 (&glutBitmapHelvetica10) 413 #define GLUT_BITMAP_HELVETICA_12 (&glutBitmapHelvetica12) 414 #define GLUT_BITMAP_HELVETICA_18 (&glutBitmapHelvetica18) 416 415 #endif 417 416 #endif 418 417 419 418 /* glutGet parameters. */ 420 #define GLUT_WINDOW_X 421 #define GLUT_WINDOW_Y 422 #define GLUT_WINDOW_WIDTH 423 #define GLUT_WINDOW_HEIGHT 424 #define GLUT_WINDOW_BUFFER_SIZE 425 #define GLUT_WINDOW_STENCIL_SIZE 426 #define GLUT_WINDOW_DEPTH_SIZE 427 #define GLUT_WINDOW_RED_SIZE 428 #define GLUT_WINDOW_GREEN_SIZE 429 #define GLUT_WINDOW_BLUE_SIZE 430 #define GLUT_WINDOW_ALPHA_SIZE 431 #define GLUT_WINDOW_ACCUM_RED_SIZE 432 #define GLUT_WINDOW_ACCUM_GREEN_SIZE 433 #define GLUT_WINDOW_ACCUM_BLUE_SIZE 434 #define GLUT_WINDOW_ACCUM_ALPHA_SIZE 435 #define GLUT_WINDOW_DOUBLEBUFFER 436 #define GLUT_WINDOW_RGBA 437 #define GLUT_WINDOW_PARENT 438 #define GLUT_WINDOW_NUM_CHILDREN 439 #define GLUT_WINDOW_COLORMAP_SIZE 419 #define GLUT_WINDOW_X 100 420 #define GLUT_WINDOW_Y 101 421 #define GLUT_WINDOW_WIDTH 102 422 #define GLUT_WINDOW_HEIGHT 103 423 #define GLUT_WINDOW_BUFFER_SIZE 104 424 #define GLUT_WINDOW_STENCIL_SIZE 105 425 #define GLUT_WINDOW_DEPTH_SIZE 106 426 #define GLUT_WINDOW_RED_SIZE 107 427 #define GLUT_WINDOW_GREEN_SIZE 108 428 #define GLUT_WINDOW_BLUE_SIZE 109 429 #define GLUT_WINDOW_ALPHA_SIZE 110 430 #define GLUT_WINDOW_ACCUM_RED_SIZE 111 431 #define GLUT_WINDOW_ACCUM_GREEN_SIZE 112 432 #define GLUT_WINDOW_ACCUM_BLUE_SIZE 113 433 #define GLUT_WINDOW_ACCUM_ALPHA_SIZE 114 434 #define GLUT_WINDOW_DOUBLEBUFFER 115 435 #define GLUT_WINDOW_RGBA 116 436 #define GLUT_WINDOW_PARENT 117 437 #define GLUT_WINDOW_NUM_CHILDREN 118 438 #define GLUT_WINDOW_COLORMAP_SIZE 119 440 439 #if (GLUT_API_VERSION >= 2) 441 #define GLUT_WINDOW_NUM_SAMPLES 442 #define GLUT_WINDOW_STEREO 440 #define GLUT_WINDOW_NUM_SAMPLES 120 441 #define GLUT_WINDOW_STEREO 121 443 442 #endif 444 443 #if (GLUT_API_VERSION >= 3) 445 #define GLUT_WINDOW_CURSOR 446 #endif 447 #define GLUT_SCREEN_WIDTH 448 #define GLUT_SCREEN_HEIGHT 449 #define GLUT_SCREEN_WIDTH_MM 450 #define GLUT_SCREEN_HEIGHT_MM 451 #define GLUT_MENU_NUM_ITEMS 452 #define GLUT_DISPLAY_MODE_POSSIBLE 453 #define GLUT_INIT_WINDOW_X 454 #define GLUT_INIT_WINDOW_Y 455 #define GLUT_INIT_WINDOW_WIDTH 456 #define GLUT_INIT_WINDOW_HEIGHT 457 #define GLUT_INIT_DISPLAY_MODE 444 #define GLUT_WINDOW_CURSOR 122 445 #endif 446 #define GLUT_SCREEN_WIDTH 200 447 #define GLUT_SCREEN_HEIGHT 201 448 #define GLUT_SCREEN_WIDTH_MM 202 449 #define GLUT_SCREEN_HEIGHT_MM 203 450 #define GLUT_MENU_NUM_ITEMS 300 451 #define GLUT_DISPLAY_MODE_POSSIBLE 400 452 #define GLUT_INIT_WINDOW_X 500 453 #define GLUT_INIT_WINDOW_Y 501 454 #define GLUT_INIT_WINDOW_WIDTH 502 455 #define GLUT_INIT_WINDOW_HEIGHT 503 456 #define GLUT_INIT_DISPLAY_MODE 504 458 457 #if (GLUT_API_VERSION >= 2) 459 #define GLUT_ELAPSED_TIME 458 #define GLUT_ELAPSED_TIME 700 460 459 #endif 461 460 #if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 13) 462 #define GLUT_WINDOW_FORMAT_ID 461 #define GLUT_WINDOW_FORMAT_ID 123 463 462 #endif 464 463 465 464 #if (GLUT_API_VERSION >= 2) 466 465 /* glutDeviceGet parameters. */ 467 #define GLUT_HAS_KEYBOARD 468 #define GLUT_HAS_MOUSE 469 #define GLUT_HAS_SPACEBALL 470 #define GLUT_HAS_DIAL_AND_BUTTON_BOX 471 #define GLUT_HAS_TABLET 472 #define GLUT_NUM_MOUSE_BUTTONS 473 #define GLUT_NUM_SPACEBALL_BUTTONS 474 #define GLUT_NUM_BUTTON_BOX_BUTTONS 475 #define GLUT_NUM_DIALS 476 #define GLUT_NUM_TABLET_BUTTONS 466 #define GLUT_HAS_KEYBOARD 600 467 #define GLUT_HAS_MOUSE 601 468 #define GLUT_HAS_SPACEBALL 602 469 #define GLUT_HAS_DIAL_AND_BUTTON_BOX 603 470 #define GLUT_HAS_TABLET 604 471 #define GLUT_NUM_MOUSE_BUTTONS 605 472 #define GLUT_NUM_SPACEBALL_BUTTONS 606 473 #define GLUT_NUM_BUTTON_BOX_BUTTONS 607 474 #define GLUT_NUM_DIALS 608 475 #define GLUT_NUM_TABLET_BUTTONS 609 477 476 #endif 478 477 #if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 13) 479 478 #define GLUT_DEVICE_IGNORE_KEY_REPEAT 610 480 479 #define GLUT_DEVICE_KEY_REPEAT 611 481 #define GLUT_HAS_JOYSTICK 482 #define GLUT_OWNS_JOYSTICK 483 #define GLUT_JOYSTICK_BUTTONS 484 #define GLUT_JOYSTICK_AXES 485 #define GLUT_JOYSTICK_POLL_RATE 480 #define GLUT_HAS_JOYSTICK 612 481 #define GLUT_OWNS_JOYSTICK 613 482 #define GLUT_JOYSTICK_BUTTONS 614 483 #define GLUT_JOYSTICK_AXES 615 484 #define GLUT_JOYSTICK_POLL_RATE 616 486 485 #endif 487 486 … … 489 488 /* glutLayerGet parameters. */ 490 489 #define GLUT_OVERLAY_POSSIBLE 800 491 #define GLUT_LAYER_IN_USE 492 #define GLUT_HAS_OVERLAY 493 #define GLUT_TRANSPARENT_INDEX 494 #define GLUT_NORMAL_DAMAGED 495 #define GLUT_OVERLAY_DAMAGED 490 #define GLUT_LAYER_IN_USE 801 491 #define GLUT_HAS_OVERLAY 802 492 #define GLUT_TRANSPARENT_INDEX 803 493 #define GLUT_NORMAL_DAMAGED 804 494 #define GLUT_OVERLAY_DAMAGED 805 496 495 497 496 #if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9) 498 497 /* glutVideoResizeGet parameters. */ 499 #define GLUT_VIDEO_RESIZE_POSSIBLE 500 #define GLUT_VIDEO_RESIZE_IN_USE 501 #define GLUT_VIDEO_RESIZE_X_DELTA 502 #define GLUT_VIDEO_RESIZE_Y_DELTA 503 #define GLUT_VIDEO_RESIZE_WIDTH_DELTA 504 #define GLUT_VIDEO_RESIZE_HEIGHT_DELTA 505 #define GLUT_VIDEO_RESIZE_X 506 #define GLUT_VIDEO_RESIZE_Y 507 #define GLUT_VIDEO_RESIZE_WIDTH 508 #define GLUT_VIDEO_RESIZE_HEIGHT 498 #define GLUT_VIDEO_RESIZE_POSSIBLE 900 499 #define GLUT_VIDEO_RESIZE_IN_USE 901 500 #define GLUT_VIDEO_RESIZE_X_DELTA 902 501 #define GLUT_VIDEO_RESIZE_Y_DELTA 903 502 #define GLUT_VIDEO_RESIZE_WIDTH_DELTA 904 503 #define GLUT_VIDEO_RESIZE_HEIGHT_DELTA 905 504 #define GLUT_VIDEO_RESIZE_X 906 505 #define GLUT_VIDEO_RESIZE_Y 907 506 #define GLUT_VIDEO_RESIZE_WIDTH 908 507 #define GLUT_VIDEO_RESIZE_HEIGHT 909 509 508 #endif 510 509 511 510 /* glutUseLayer parameters. */ 512 #define GLUT_NORMAL 513 #define GLUT_OVERLAY 511 #define GLUT_NORMAL 0 512 #define GLUT_OVERLAY 1 514 513 515 514 /* glutGetModifiers return mask. */ … … 520 519 /* glutSetCursor parameters. */ 521 520 /* Basic arrows. */ 522 #define GLUT_CURSOR_RIGHT_ARROW 523 #define GLUT_CURSOR_LEFT_ARROW 521 #define GLUT_CURSOR_RIGHT_ARROW 0 522 #define GLUT_CURSOR_LEFT_ARROW 1 524 523 /* Symbolic cursor shapes. */ 525 #define GLUT_CURSOR_INFO 526 #define GLUT_CURSOR_DESTROY 527 #define GLUT_CURSOR_HELP 528 #define GLUT_CURSOR_CYCLE 529 #define GLUT_CURSOR_SPRAY 530 #define GLUT_CURSOR_WAIT 531 #define GLUT_CURSOR_TEXT 532 #define GLUT_CURSOR_CROSSHAIR 524 #define GLUT_CURSOR_INFO 2 525 #define GLUT_CURSOR_DESTROY 3 526 #define GLUT_CURSOR_HELP 4 527 #define GLUT_CURSOR_CYCLE 5 528 #define GLUT_CURSOR_SPRAY 6 529 #define GLUT_CURSOR_WAIT 7 530 #define GLUT_CURSOR_TEXT 8 531 #define GLUT_CURSOR_CROSSHAIR 9 533 532 /* Directional cursors. */ 534 #define GLUT_CURSOR_UP_DOWN 535 #define GLUT_CURSOR_LEFT_RIGHT 533 #define GLUT_CURSOR_UP_DOWN 10 534 #define GLUT_CURSOR_LEFT_RIGHT 11 536 535 /* Sizing cursors. */ 537 #define GLUT_CURSOR_TOP_SIDE 538 #define GLUT_CURSOR_BOTTOM_SIDE 539 #define GLUT_CURSOR_LEFT_SIDE 540 #define GLUT_CURSOR_RIGHT_SIDE 541 #define GLUT_CURSOR_TOP_LEFT_CORNER 542 #define GLUT_CURSOR_TOP_RIGHT_CORNER 543 #define GLUT_CURSOR_BOTTOM_RIGHT_CORNER 544 #define GLUT_CURSOR_BOTTOM_LEFT_CORNER 536 #define GLUT_CURSOR_TOP_SIDE 12 537 #define GLUT_CURSOR_BOTTOM_SIDE 13 538 #define GLUT_CURSOR_LEFT_SIDE 14 539 #define GLUT_CURSOR_RIGHT_SIDE 15 540 #define GLUT_CURSOR_TOP_LEFT_CORNER 16 541 #define GLUT_CURSOR_TOP_RIGHT_CORNER 17 542 #define GLUT_CURSOR_BOTTOM_RIGHT_CORNER 18 543 #define GLUT_CURSOR_BOTTOM_LEFT_CORNER 19 545 544 /* Inherit from parent window. */ 546 #define GLUT_CURSOR_INHERIT 545 #define GLUT_CURSOR_INHERIT 100 547 546 /* Blank cursor. */ 548 #define GLUT_CURSOR_NONE 547 #define GLUT_CURSOR_NONE 101 549 548 /* Fullscreen crosshair (if available). */ 550 #define GLUT_CURSOR_FULL_CROSSHAIR 549 #define GLUT_CURSOR_FULL_CROSSHAIR 102 551 550 #endif 552 551 -
trunk/src/opengl/mesa/GL/osmesa.h
r2938 r3598 1 /* $Id: osmesa.h,v 1. 1 2000-02-29 00:43:33 sandervlExp $ */1 /* $Id: osmesa.h,v 1.2 2000-05-23 20:41:28 jeroen Exp $ */ 2 2 3 3 /* 4 4 * Mesa 3-D graphics library 5 * Version: 3. 16 * 5 * Version: 3.3 6 * 7 7 * Copyright (C) 1999 Brian Paul All Rights Reserved. 8 * 8 * 9 9 * Permission is hereby granted, free of charge, to any person obtaining a 10 10 * copy of this software and associated documentation files (the "Software"), … … 13 13 * and/or sell copies of the Software, and to permit persons to whom the 14 14 * Software is furnished to do so, subject to the following conditions: 15 * 15 * 16 16 * The above copyright notice and this permission notice shall be included 17 17 * in all copies or substantial portions of the Software. 18 * 18 * 19 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 20 20 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, … … 28 28 /* 29 29 * $Log: osmesa.h,v $ 30 * Revision 1.1 2000-02-29 00:43:33 sandervl 30 * Revision 1.2 2000-05-23 20:41:28 jeroen 31 * *** empty log message *** 32 * 33 * Revision 1.1 2000/02/29 00:43:33 sandervl 31 34 * created 32 35 * … … 93 96 94 97 #define OSMESA_MAJOR_VERSION 3 95 #define OSMESA_MINOR_VERSION 198 #define OSMESA_MINOR_VERSION 3 96 99 97 100 … … 101 104 * New in version 2.0. 102 105 */ 103 #define OSMESA_COLOR_INDEX 104 #define OSMESA_RGBA 105 #define OSMESA_BGRA 106 #define OSMESA_ARGB 107 #define OSMESA_RGB 108 #define OSMESA_BGR 106 #define OSMESA_COLOR_INDEX GL_COLOR_INDEX 107 #define OSMESA_RGBA GL_RGBA 108 #define OSMESA_BGRA 0x1 109 #define OSMESA_ARGB 0x2 110 #define OSMESA_RGB GL_RGB 111 #define OSMESA_BGR 0x4 109 112 110 113 … … 113 116 * New in version 2.0. 114 117 */ 115 #define OSMESA_ROW_LENGTH 116 #define OSMESA_Y_UP 118 #define OSMESA_ROW_LENGTH 0x10 119 #define OSMESA_Y_UP 0x11 117 120 118 121 … … 120 123 * Accepted by OSMesaGetIntegerv: 121 124 */ 122 #define OSMESA_WIDTH 0x20 123 #define OSMESA_HEIGHT 0x21 124 #define OSMESA_FORMAT 0x22 125 #define OSMESA_TYPE 0x23 125 #define OSMESA_WIDTH 0x20 126 #define OSMESA_HEIGHT 0x21 127 #define OSMESA_FORMAT 0x22 128 #define OSMESA_TYPE 0x23 129 130 131 132 /* 133 * Accepted by OSMesaGetBooleanv: 134 * New in version 3.3 135 */ 136 /* This is based on the HP proposed extension */ 137 #define OSMESA_OCCLUSION_TEST_RESULT_HP 0x30 126 138 127 139 … … 234 246 235 247 /* 248 * Return a boolean value like glGetBooleanv. 249 * Input: pname - 250 * OSMESA_OCCLUSION_TEST_RESULT_HP return current test result 251 * value - pointer to boolean in which to return result. 252 */ 253 GLAPI void GLAPIENTRY OSMesaGetBooleanv( GLint pname, GLboolean *value ); 254 255 256 257 /* 236 258 * Return the depth buffer associated with an OSMesa context. 237 259 * Input: c - the OSMesa context
Note:
See TracChangeset
for help on using the changeset viewer.