René Dudfield wrote:
BufferProxy is not only usable from C - but from python too.
That's good to hear -- it sounded from what others were saying that it was a C-only thing.
Also getting a buffer proxy helps with surface locking semantics. When you get a BufferProxy the surface is locked (which you need to do when you are modifying Surface->pixels - when the BufferProxy is destroyed, the surface lock is released.
That's a good reason. Although the new buffer protocol has locking facilities built in, so it wouldn't strictly be needed then. -- Greg