Comment 2 for bug 1194456

Revision history for this message
xorik (xor29a) wrote :

Other waveforms is ~20-40% of my CPU on 30 FPS.

>you could make a pure GL HSV version
I think MOST part of CPU using not for the drawing, but for the calculations (it is easy to check, just comment the drawing code and compare CPU usage).

I think we can create arrays in memory for needed song parts (which visible in this moment) e.g. each array contain 1second of song's waveform data. Is song is paused, we don't need to do the calculations, but if song is playing, we will be calculate every 1 second of song, when we need. I think this saves big amount of CPU%.

 What you think about this?