comparison layer/ScrollableImageCache.cpp @ 1113:261a00010918 spectrogram-minor-refactor

Consts and willRenderOpaque
author Chris Cannam
date Tue, 19 Jul 2016 14:49:46 +0100
parents c8c747783110
children 175d4e15884d
comparison
equal deleted inserted replaced
1112:d578b685d912 1113:261a00010918
18 using namespace std; 18 using namespace std;
19 19
20 #define DEBUG_SCROLLABLE_IMAGE_CACHE 1 20 #define DEBUG_SCROLLABLE_IMAGE_CACHE 1
21 21
22 void 22 void
23 ScrollableImageCache::scrollTo(LayerGeometryProvider *v, sv_frame_t newStartFrame) 23 ScrollableImageCache::scrollTo(const LayerGeometryProvider *v,
24 sv_frame_t newStartFrame)
24 { 25 {
25 if (m_startFrame == newStartFrame) { 26 if (m_startFrame == newStartFrame) {
26 // haven't moved 27 // haven't moved
27 return; 28 return;
28 } 29 }