Archives Sept. 28, 2006
Hacking the night away (Optimising with OpenGL-ctypes)
Written by
on
in
Snaking.
I added the ability to set a flag on the numpy format handler to raise errors when a numpy array is passed in that requires a copy to be passed to ctypes. The idea is that you can use it to catch unwanted copying (during development). Found quite a few instances in OpenGLContext where I ...