OpenGL.GLUT.special | index /home/mcfletch/pylive/OpenGL/GLUT/special.py |
GLUT functions requiring special handling to provide Pythonic wrappers
Note:
GLUT callbacks are controlled by a flag in the platform module. The
GLUT_GUARD_CALLBACKS flag controls whether to wrap passed functions
with error-checking and context-validity checking code so that the
callbacks will only trigger if there is a valid context. This is done
so that systems such as Win32 will not continue running GLUT callbacks
after the system has exited.
Note:
This is not a problem with FreeGLUT on Linux, so Linux does not
add the extra overhead of the wrapper function.
Note:
This hack does *not* prevent hanging if there is no GLUT callback
being triggered. I.e. if you create a GLUT program that doesn't
explicitly call exit and doesn't call display or the like in a timer
then your app will hang on exit on Win32.
XXX the platform-specific stuff should be getting done in the
platform module *not* in the module here!
Modules | ||||||
|
Classes | ||||||||||||||||||||||||||
|
Functions | ||
|
Data | ||
CurrentContextIsValid = <_FuncPtr object at 0x7f8ebf843e20> GLUT = <CDLL 'libglut.so.3', handle 218b920 at 2156810> GLUT_GUARD_CALLBACKS = False INITIALIZED = False PLATFORM = <OpenGL.platform.glx.GLXPlatform object at 0x20bad90> __file__ = '/home/mcfletch/pylive/OpenGL/GLUT/special.pyc' __glutInitWithExit = None __name__ = 'OpenGL.GLUT.special' __package__ = 'OpenGL.GLUT' _base_glutDestroyWindow = <_FuncPtr object at 0x29a6460> _base_glutInit = <_FuncPtr object at 0x29a6390> glutButtonBoxFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0650> glutDialsFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0710> glutDisplayFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0750> glutEntryFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0790> glutIdleFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a07d0> glutJoystickFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0810> glutKeyboardFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0850> glutKeyboardUpFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0890> glutMenuStateFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0a10> glutMenuStatusFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0950> glutMotionFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0ad0> glutMouseFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0b10> glutOverlayDisplayFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0b50> glutPassiveMotionFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0c10> glutReshapeFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0cd0> glutSpaceballButtonFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0d10> glutSpaceballMotionFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0dd0> glutSpaceballRotateFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0e90> glutSpecialFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0f50> glutSpecialUpFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29a0f90> glutTabletButtonFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29ad150> glutTabletMotionFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29ad090> glutTimerFunc = <OpenGL.GLUT.special.GLUTTimerCallback object at 0x29ad3d0> glutVisibilityFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29ad250> glutWindowStatusFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x29ad310> log = <logging.Logger instance at 0x29a57a0> |