[PyOpenGL-Users] PyOpenGL 3.1.0b3 is out
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2014-05-27 13:51:28
|
PyOpenGL 3.1.0b3 is out. Unless something show-stopping happens, this should be the same code shipped in 3.1.0 final. However, there has been *far* more churn than I was intending, so treat this as a real beta; test your libraries/apps. Changes since 3.1.0b2: * Bug fixes: o Eliminate numpy dependencies from some non-numpy-related format handlers o Eliminate OpenGL dependency from non-OpenGL array handling code o Provide a more useful "You don't have GLUT" message when GLUT is missing o OS-X build-failure workaround (known-bad flag) o Unicode argument handling fix (and test for the same), Py2/3 fixes o Bug fix in VBO slice assignment logic o Bug fix in lists handler error-on-copy raised errors o Bug fix in string format handler error raising o Bug fix for automatic input/output argument handling with arrays (avoid array-of-boolean comparisons, do explicit "is" checks) o Export ctypes ArgumentError explicitly from OpenGL.error o Provide fgDeinitialize entry-point for FreeGLUT to work around FreeGLUT bug in test suites o Catch failures in oldStyleReturn where size-calculation isn't possible (missing glGet* ENUM) and just return the value unmolested * Testing o Test for debug messages support o Much broader test case running + Tests added to test core can now be run across all of Python 2.6, 2.7, 3.3, 3.4 with and without numpy and with each of the major flags on/off o Configuration Flags can now be set on the command line + PYOPENGL_USE_ACCELERATE=False python <yourscript>.py * Newly generated wrappers from the registry * Wrapper/Automation (glGet* automation) o GLGet sizes pulled from Chromium/regal project, get-sizes largely automated now o Output annotations largely automated, multi-argument calcsize and the like still manual o Automated output-based-on-run-time-lookup (glGet*( *_SIZE)) o Reworking/simplification of wrapper code to just use the automated wrappers Basically the rabbit-hole of trying to get the input/output sizes automatically calculated led to far more changes than I'd intended, as it went from being a way to get a few missing constants defined to actually allowing a lot of wrapper code to be dropped and/or simplified. The implementation of the test runner also caught quite a few small bugs in corner cases (e.g. Python3, operation of various flags, etc). Enjoy, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |