Re: [PyOpenGL-Users] Rolling spectrogram with pyopengl
Brought to you by:
mcfletch
From: Greg E. <gre...@ca...> - 2009-12-06 22:49:31
|
Timothée Lecomte wrote: > As far as > alternatives to pure glTexSubImage2D, I have considered and tried to > use PBO, but it does not decrease the time needed by the two > glTexSubImage2D calls. This is puzzling, because transferring 1000 pixels of data shouldn't take very long, even if you're not doing it the most efficient way. The only thing I can think of is to try using different pixel formats for the texture data. Fastest CPU->GPU transfers occur when you use a pixel format that matches what the GPU uses, so that no conversions are needed. -- Greg |