[PyOpenGL-Users] Pointer functions copying memory.
Brought to you by:
mcfletch
From: <il...@ya...> - 2003-02-03 10:25:05
|
Hi, I had a look at the pointer functions and it appears they copy memory before passing it to the gl function, making them quite slow. I was thinking of using the buffer api instead. http://python.org/doc/current/api/bufferObjects.html Not sure if numeric supports it. If it doesn't I'll use the PyArray_ContiguousFromObject functions. Any thoughts on this? Any compatibility problems with the buffer api? __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |