Mercurial > hg > svgui
diff widgets/AudioDial.cpp @ 382:06b5f110c5d2
* Speed up spectrogram painting by releasing mutex in FFTDataServer
while calculating data prior to writing it, and by adding whole-column
value query methods to FFT objects
* Add paint cache to Thumbwheel -- repaints of this widget were slowing
down the whole spectrogram repaint
* More uses of MutexLocker (named and with debug) and more profile
points
* Make startup much quicker some of the time, with OSC server in place
author | Chris Cannam |
---|---|
date | Thu, 08 May 2008 14:46:22 +0000 |
parents | 832d246b327b |
children | 33c2f268c950 |
line wrap: on
line diff
--- a/widgets/AudioDial.cpp Tue Apr 29 11:07:14 2008 +0000 +++ b/widgets/AudioDial.cpp Thu May 08 14:46:22 2008 +0000 @@ -50,6 +50,8 @@ #include <QPaintEvent> #include <QInputDialog> +#include "base/Profiler.h" + using std::endl; using std::cerr; @@ -115,6 +117,8 @@ void AudioDial::paintEvent(QPaintEvent *) { + Profiler profiler("AudioDial::paintEvent"); + QPainter paint; float angle = AUDIO_DIAL_MIN // offset