Mercurial > hg > svgui
diff layer/SpectrogramLayer.h @ 332:6440e280122e spectrogram-cache-rejig
* Some bits and bobs of cache mangling -- closer to working, but still not
author | Chris Cannam |
---|---|
date | Mon, 19 Nov 2007 15:50:37 +0000 |
parents | 846746e4e865 |
children | 64e84e5efb76 |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h Fri Nov 16 17:15:30 2007 +0000 +++ b/layer/SpectrogramLayer.h Mon Nov 19 15:50:37 2007 +0000 @@ -354,6 +354,12 @@ PaintThread *m_paintThread; bool paintCache(View *v) const; + bool checkAndScrollCache(PixmapCache &cache, QPainter &paint, + long startFrame, int increment, + int &x0, int &x1) const; + void selectPaintStrip(PixmapCache &cache, + int &x0, int &x1, + int paintBlockWidth) const; typedef std::pair<FFTModel *, int> FFTFillPair; // model, last fill typedef std::map<const View *, FFTFillPair> ViewFFTMap;