OpenGL.platform | index /home/mcfletch/pylive/OpenGL/platform/__init__.py |
Abstraction for the platform-specific code in PyOpenGL
Each supported platform has a module which provides the
specific functionality required to support the base OpenGL
functionality on that platform. These modules are
registered using plugins in the:
OpenGL.plugin.PlatformPlugin
objects. To support a new platform you'll need to create
a new PlatformPlugin instance *before* you import
OpenGL.platform . Once you have a working platform
module, please consider contributing it back to the project.
See baseplatform.BasePlatform for the core functionality
of a platform implementation. See the various platform
specific modules for examples to use when porting.
Package Contents | ||
__init__ -- Abstraction for the platform-specific code in PyOpenGL baseplatform -- Base class for platform implementations ctypesloader -- ctypes abstraction layer darwin entrypoint31 -- List of forward-compatible entry points for OpenGL 3.1 glx -- GLX (x-windows)-specific platform features win32 |
Functions | ||
|
Data | ||
CurrentContextIsValid = <_FuncPtr object at 0x7f8ebf843e20> GL = <CDLL 'libGL.so.1', handle 2187350 at 2124890> GLE = <CDLL 'libgle.so.3', handle 218d600 at 21568d0> GLU = <CDLL 'libGLU.so.1', handle 2189a60 at 2156790> GLUT = <CDLL 'libglut.so.3', handle 218b920 at 2156810> GLUT_GUARD_CALLBACKS = False GetCurrentContext = <_FuncPtr object at 0x7f8ebf843e20> OpenGL = <CDLL 'libGL.so.1', handle 2187350 at 2124890> PLATFORM = <OpenGL.platform.glx.GLXPlatform object at 0x20bad90> __file__ = '/home/mcfletch/pylive/OpenGL/platform/__init__.pyc' __name__ = 'OpenGL.platform' __package__ = 'OpenGL.platform' __path__ = ['/home/mcfletch/pylive/OpenGL/platform'] safeGetError = <_FuncPtr object at 0x7f8ebf843ef0> |