diff layer/Colour3DPlotRenderer.h @ 1122:94370157b265 spectrogram-minor-refactor

Fixes and debug output for mag range calculations
author Chris Cannam
date Fri, 22 Jul 2016 13:56:24 +0100
parents d930ff725f64
children 50324fca1328
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.h	Fri Jul 22 12:17:55 2016 +0100
+++ b/layer/Colour3DPlotRenderer.h	Fri Jul 22 13:56:24 2016 +0100
@@ -166,6 +166,14 @@
     QRect getLargestUncachedRect(const LayerGeometryProvider *v);
 
     /**
+     * Return true if the provider's geometry differs from the cache,
+     * or if we are not using a cache. i.e. if the cache will be
+     * regenerated for the next render, or the next render performed
+     * from scratch.
+     */
+    bool geometryChanged(const LayerGeometryProvider *v);
+    
+    /**
      * Return true if the rendering will be opaque. This may be used
      * by the calling layer to determine whether it can scroll
      * directly without regard to any other layers beneath.