diff view/View.cpp @ 131:eaae73b6bd28

* Suspend/resume fft data server write activity while reading from a server to repaint the spectrogram display. Makes a significant improvement to the otherwise dreadful responsiveness of spectrogram display.
author Chris Cannam
date Thu, 03 Aug 2006 12:42:15 +0000
parents 33929e0c3c6b
children 5d3a483856ff
line wrap: on
line diff
--- a/view/View.cpp	Mon Jul 31 17:05:18 2006 +0000
+++ b/view/View.cpp	Thu Aug 03 12:42:15 2006 +0000
@@ -923,6 +923,10 @@
     bool metUnscrollable = false;
 
     for (LayerList::const_iterator i = m_layers.begin(); i != m_layers.end(); ++i) {
+        std::cerr << "View::getScrollableBackLayers: calling isLayerDormant on layer " << *i << std::endl;
+        std::cerr << "(name is " << (*i)->objectName().toStdString() << ")"
+                  << std::endl;
+        std::cerr << "View::getScrollableBackLayers: I am " << this << std::endl;
 	if ((*i)->isLayerDormant(this)) continue;
 	if ((*i)->isLayerOpaque()) {
 	    // You can't see anything behind an opaque layer!