OpenGL.CONTEXT_CHECKING default va lue is not False as documented

rndblnch <[email protected]> Tue, 18 Feb 2014 12:47:23 +0000 (UTC)
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
hello,

while profiling some of my code, i discovered that context checking is
enabled by default, despite the documentation advertising the opposite (see
OpenGL/__init__.py lines 79 vs. 185).

i have no opinion on its default value (True is consistent with the other
XXX_CHECKING flags) but maybe you should fix the docstring, and perhaps add
a note about this flag in
http://pyopengl.sourceforge.net/documentation/opengl_diffs.html since
context checking introduces a rather high overhead.

renaud


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net