Re: [PyOpenGL-Users] Rolling spectrogram with pyopengl
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2009-12-10 15:37:34
|
René Dudfield wrote: > 2009/12/9 Timothée Lecomte <tim...@lp...>: > >> Now this profile brings another question: >> wrapper:__call__ seems to use a lot of slow python calls >> (calculate_pyArgs, calculate_cArguments...) whereas it does not seem to >> spend so much time in the actual openGL (3% if I count correctly). Is >> there a way to improve this ? >> >> I hope this was not too complicated ! Thanks for your help. >> >> Timothée >> > yes, you can use the raw calls. > You could also install the PyOpenGL-accelerate module, which uses Cython to speed up the wrappers (but still uses Ctypes for the actual calls). Won't be as fast as the C-coded wrapper you created, though. HTH, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |