OpenGL.platform.__init__
index
/build/buildd/pyopengl-3.0.0~b3/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.platform.implementation
 
namespace using the pkg_resources module (by the setup.py
module).  You can register new platform implementations 
via pkg_resources to support an as-yet unsupported platform,
though you are encouraged to donate the module 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.

 
Modules
       
os
pkg_resources
sys

 
Functions
       
CurrentContextIsValid = glXGetCurrentContext(...)
GetCurrentContext = glXGetCurrentContext(...)
_findPlatform(platform)
Find platform implementation by name
_load()
Load the os.name plugin for the platform functionality
safeGetError = glGetError(...)

 
Data
        GL = <CDLL 'libGL.so.1', handle 8268148 at 823ee2c>
GLE = <CDLL 'libgle.so.3', handle 826b078 at 823ec6c>
GLU = <CDLL 'libGLU.so.1', handle 826a4b8 at 823edcc>
GLUT = <CDLL 'libglut.so.3', handle 826ae08 at 823eb8c>
GLUT_GUARD_CALLBACKS = False
OpenGL = <CDLL 'libGL.so.1', handle 8268148 at 823ee2c>
PLATFORM = <OpenGL.platform.glx.GLXPlatform object at 0x854686c>
__file__ = '/build/buildd/pyopengl-3.0.0~b3/OpenGL/platform/__init__.pyc'
__name__ = 'OpenGL.platform.__init__'