- Timestamp:
- Mar 11, 2000, 10:09:55 AM (25 years ago)
- Location:
- trunk/src/opengl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glut/glut_event.c
r3079 r3080 1 /* $Id: glut_event.c,v 1. 6 2000-03-11 09:05:04jeroen Exp $ */1 /* $Id: glut_event.c,v 1.7 2000-03-11 09:07:12 jeroen Exp $ */ 2 2 /* Copyright (c) Mark J. Kilgard, 1994, 1995, 1996, 1997, 1998. */ 3 3 … … 321 321 processEventsAndTimeouts(void) 322 322 { 323 WriteLog("processEventsAndTimeouts() entry\n");324 323 do { 325 324 #if defined(_WIN32) || defined(__WIN32OS2__) … … 827 826 #endif /* _WIN32 */ 828 827 if (__glutTimerList) { 829 WriteLog("processEventsAndTimeouts -> Calling handleTimeouts\n");830 828 handleTimeouts(); 831 WriteLog("processEventsAndTimeouts -> Call handleTimeouts returned\n");832 829 } 833 830 } … … 934 931 if (XPending(__glutDisplay)) { 935 932 immediatelyHandleXinput: 936 WriteLog("waitForSmoething: Calling processEventsAndTimeouts\n");937 933 processEventsAndTimeouts(); 938 WriteLog("waitForSmoething: Call processEventsAndTimeouts returned\n");939 934 } else { 940 935 if (__glutTimerList) … … 947 942 { 948 943 if (XPending(__glutDisplay)) { 949 WriteLog("idleWait: Calling processEventsAndTimeouts\n");950 944 processEventsAndTimeouts(); 951 WriteLog("idleWait: Call processEventsAndTimeouts returned\n");952 945 } else { 953 946 if (__glutTimerList) { … … 1378 1371 waitForSomething(); 1379 1372 } else { 1380 WriteLog("glutMainLoop: Calling processEventsAndTimeouts\n");1381 1373 processEventsAndTimeouts(); 1382 WriteLog("glutMainLoop: Call processEventsAndTimeouts returned\n");1383 1374 } 1384 1375 } -
trunk/src/opengl/mesa/GL/glut.h
r3023 r3080 1 /* $Id: glut.h,v 1. 2 2000-03-05 10:26:18jeroen Exp $ */1 /* $Id: glut.h,v 1.3 2000-03-11 09:05:07 jeroen Exp $ */ 2 2 #ifndef __glut_h__ 3 3 #define __glut_h__ … … 467 467 468 468 /* GLUT window callback sub-API. */ 469 extern void GLAPIENTRY glutDisplayFunc(void (* CDECLfunc)(void));470 extern void GLAPIENTRY glutReshapeFunc(void (* CDECLfunc)(int width, int height));471 extern void GLAPIENTRY glutKeyboardFunc(void (* CDECLfunc)(unsigned char key, int x, int y));472 extern void GLAPIENTRY glutMouseFunc(void (* CDECLfunc)(int button, int state, int x, int y));473 extern void GLAPIENTRY glutMotionFunc(void (* CDECLfunc)(int x, int y));474 extern void GLAPIENTRY glutPassiveMotionFunc(void (* CDECLfunc)(int x, int y));475 extern void GLAPIENTRY glutEntryFunc(void (* CDECLfunc)(int state));476 extern void GLAPIENTRY glutVisibilityFunc(void (* CDECLfunc)(int state));477 extern void GLAPIENTRY glutIdleFunc(void (* CDECLfunc)(void));478 extern void GLAPIENTRY glutTimerFunc(unsigned int millis, void (* CDECLfunc)(int value), int value);479 extern void GLAPIENTRY glutMenuStateFunc(void (* CDECLfunc)(int state));469 extern void GLAPIENTRY glutDisplayFunc(void (* GLCALLBACK func)(void)); 470 extern void GLAPIENTRY glutReshapeFunc(void (* GLCALLBACK func)(int width, int height)); 471 extern void GLAPIENTRY glutKeyboardFunc(void (* GLCALLBACK func)(unsigned char key, int x, int y)); 472 extern void GLAPIENTRY glutMouseFunc(void (* GLCALLBACK func)(int button, int state, int x, int y)); 473 extern void GLAPIENTRY glutMotionFunc(void (* GLCALLBACK func)(int x, int y)); 474 extern void GLAPIENTRY glutPassiveMotionFunc(void (* GLCALLBACK func)(int x, int y)); 475 extern void GLAPIENTRY glutEntryFunc(void (* GLCALLBACK func)(int state)); 476 extern void GLAPIENTRY glutVisibilityFunc(void (* GLCALLBACK func)(int state)); 477 extern void GLAPIENTRY glutIdleFunc(void (* GLCALLBACK func)(void)); 478 extern void GLAPIENTRY glutTimerFunc(unsigned int millis, void (* GLCALLBACK func)(int value), int value); 479 extern void GLAPIENTRY glutMenuStateFunc(void (* GLCALLBACK func)(int state)); 480 480 #if (GLUT_API_VERSION >= 2) 481 extern void GLAPIENTRY glutSpecialFunc(void (* CDECLfunc)(int key, int x, int y));482 extern void GLAPIENTRY glutSpaceballMotionFunc(void (* CDECLfunc)(int x, int y, int z));483 extern void GLAPIENTRY glutSpaceballRotateFunc(void (* CDECLfunc)(int x, int y, int z));484 extern void GLAPIENTRY glutSpaceballButtonFunc(void (* CDECLfunc)(int button, int state));485 extern void GLAPIENTRY glutButtonBoxFunc(void (* CDECLfunc)(int button, int state));486 extern void GLAPIENTRY glutDialsFunc(void (* CDECLfunc)(int dial, int value));487 extern void GLAPIENTRY glutTabletMotionFunc(void (* CDECLfunc)(int x, int y));488 extern void GLAPIENTRY glutTabletButtonFunc(void (* CDECLfunc)(int button, int state, int x, int y));489 #if (GLUT_API_VERSION >= 3) 490 extern void GLAPIENTRY glutMenuStatusFunc(void (* CDECLfunc)(int status, int x, int y));491 extern void GLAPIENTRY glutOverlayDisplayFunc(void (* CDECLfunc)(void));481 extern void GLAPIENTRY glutSpecialFunc(void (* GLCALLBACK func)(int key, int x, int y)); 482 extern void GLAPIENTRY glutSpaceballMotionFunc(void (* GLCALLBACK func)(int x, int y, int z)); 483 extern void GLAPIENTRY glutSpaceballRotateFunc(void (* GLCALLBACK func)(int x, int y, int z)); 484 extern void GLAPIENTRY glutSpaceballButtonFunc(void (* GLCALLBACK func)(int button, int state)); 485 extern void GLAPIENTRY glutButtonBoxFunc(void (* GLCALLBACK func)(int button, int state)); 486 extern void GLAPIENTRY glutDialsFunc(void (* GLCALLBACK func)(int dial, int value)); 487 extern void GLAPIENTRY glutTabletMotionFunc(void (* GLCALLBACK func)(int x, int y)); 488 extern void GLAPIENTRY glutTabletButtonFunc(void (* GLCALLBACK func)(int button, int state, int x, int y)); 489 #if (GLUT_API_VERSION >= 3) 490 extern void GLAPIENTRY glutMenuStatusFunc(void (* GLCALLBACK func)(int status, int x, int y)); 491 extern void GLAPIENTRY glutOverlayDisplayFunc(void (* GLCALLBACK func)(void)); 492 492 #if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9) 493 extern void GLAPIENTRY glutWindowStatusFunc(void (* CDECLfunc)(int state));493 extern void GLAPIENTRY glutWindowStatusFunc(void (* GLCALLBACK func)(int state)); 494 494 #endif 495 495 #if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 13) 496 extern void GLAPIENTRY glutKeyboardUpFunc(void (* CDECLfunc)(unsigned char key, int x, int y));497 extern void GLAPIENTRY glutSpecialUpFunc(void (* CDECLfunc)(int key, int x, int y));498 extern void GLAPIENTRY glutJoystickFunc(void (* CDECLfunc)(unsigned int buttonMask, int x, int y, int z), int pollInterval);496 extern void GLAPIENTRY glutKeyboardUpFunc(void (* GLCALLBACK func)(unsigned char key, int x, int y)); 497 extern void GLAPIENTRY glutSpecialUpFunc(void (* GLCALLBACK func)(int key, int x, int y)); 498 extern void GLAPIENTRY glutJoystickFunc(void (* GLCALLBACK func)(unsigned int buttonMask, int x, int y, int z), int pollInterval); 499 499 #endif 500 500 #endif -
trunk/src/opengl/mesa/api1.c
r3079 r3080 1 /* $Id: api1.c,v 1. 2 2000-03-11 09:05:06jeroen Exp $ */1 /* $Id: api1.c,v 1.3 2000-03-11 09:07:13 jeroen Exp $ */ 2 2 3 3 /* … … 966 966 IM->Flag[count] |= VERT_EVAL_C2; \ 967 967 ASSIGN_4V(IM->Obj[count], x, y, 0, 1); \ 968 WriteLog("OPENGL32: EVALCOORD2 (%f,%f) IM: %08X - cnt %d\n",x,y,IM,count); \969 968 if (count == VB_MAX-1) \ 970 {WriteLog("OPENGL32: EVALCOORD2 is calling maybe_transform\n"); \971 969 IM->maybe_transform_vb( IM ); }\ 972 970 }
Note:
See TracChangeset
for help on using the changeset viewer.