changeset 1038:6d4fa45a271d spectrogram-minor-refactor

Comment
author Chris Cannam
date Tue, 02 Feb 2016 15:34:39 +0000
parents 6f7a471826d1
children bfce7940c017
files layer/SpectrogramLayer.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp	Tue Feb 02 15:32:57 2016 +0000
+++ b/layer/SpectrogramLayer.cpp	Tue Feb 02 15:34:39 2016 +0000
@@ -1736,6 +1736,10 @@
         if (!m_synchronous) {
             // When rendering the whole thing, start from somewhere near
             // the middle so that the region of interest appears first
+
+            //!!! (perhaps we should have some cunning test to avoid
+            //!!! doing this if past repaints have appeared fast
+            //!!! enough to do the whole width in one shot)
             if (x0 == 0 && x1 == v->getPaintWidth()) {
                 x0 = int(x1 * 0.3);
             }