Significant restructuring of the 3.x codebase

"Mike C. Fletcher" <[email protected]>
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
I've just checked in a fairly significant restructuring of the 3.x 
(OpenGL-ctypes) codebase.  What this does is to use the latest ctypes 
auto-generator (actually a fairly heavily refactored version of it) to 
produce a separate package hierarchy (OpenGL.raw) which contains the raw 
OpenGL C-style API.  This API can be used by ctypes-aware code that uses 
C-style interfaces, it also allows for coding around problems where the 
PyOpenGL abstraction layer happens to get in the way.

One thing to note is that all of the constants and functions are now 
produced by the auto-generator, this means that there is sometimes more 
machinery in the module than you would expect (e.g. the GLX module now 
has large parts of the X API).  At the moment I'm thinking (in the case 
of GLX) much of that machinery is actually useful (if somewhat 
misplaced).  e.g. the functions for screen saver development are likely 
in there now.  Probably filter them out at some point I suppose.

I've done some preliminary testing.  On Linux AMD64 the OpenGLContext 
tests all run as well as they did before the restructuring.  I'm going 
to boot into Win32 to try to get the GLUT hang-on-exit bug fixed and 
that will probably be it for work on OpenGL-ctypes this week.  Testing 
elsewhere with the new structure would be helpful.

Have fun,
Mike

-- 
________________________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://www.vrplumber.com
  http://blog.vrplumber.com


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.