Mercurial > hg > svgui
changeset 1236:784c92f93fb6
Looks like we can be a bit more relaxed here
author | Chris Cannam |
---|---|
date | Fri, 27 Jan 2017 11:57:48 +0000 |
parents | dd3901fe8623 |
children | 2cc9e0e5df51 |
files | layer/Colour3DPlotRenderer.cpp |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.cpp Fri Jan 27 11:39:42 2017 +0000 +++ b/layer/Colour3DPlotRenderer.cpp Fri Jan 27 11:57:48 2017 +0000 @@ -105,11 +105,12 @@ } else if (m_secondsPerXPixelValid) { double predicted = m_secondsPerXPixel * rect.width(); -/#ifdef DEBUG_COLOUR_PLOT_REPAINT +#ifdef DEBUG_COLOUR_PLOT_REPAINT SVDEBUG << "Predicted time for width " << rect.width() << " = " - << predicted << endl; + << predicted << " (" << m_secondsPerXPixel << " x " + << rect.width() << ")" << endl; #endif - if (predicted < 0.1) { + if (predicted < 0.2) { #ifdef DEBUG_COLOUR_PLOT_REPAINT SVDEBUG << "Predicted time looks fast enough: no partial renders" << endl; @@ -1179,7 +1180,8 @@ m_secondsPerXPixelValid = (xPixelCount > 10); #ifdef DEBUG_COLOUR_PLOT_REPAINT - SVDEBUG << "seconds per x pixel = " << m_secondsPerXPixel + SVDEBUG << "across " << xPixelCount << " x-pixels, seconds per x-pixel = " + << m_secondsPerXPixel << " (enough data? " << (m_secondsPerXPixelValid ? "yes" : "no") << ")" << endl; #endif