Mercurial > hg > svgui
diff view/View.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 | f1e6204c1f17 |
children | c1e5af9f2c3c |
line wrap: on
line diff
--- a/view/View.cpp Tue Apr 29 11:07:14 2008 +0000 +++ b/view/View.cpp Thu May 08 14:46:22 2008 +0000 @@ -368,6 +368,8 @@ float maxf, bool logarithmic) const { + Profiler profiler("View::getYForFrequency"); + int h = height(); if (logarithmic) { @@ -1401,7 +1403,7 @@ } else { - i->second->setText(text); +// i->second->setText(text); i->second->setValue(completion); i->second->move(0, ph - i->second->height());