On 11.01.2009 21:12 CE(S)T, Chris Browet wrote: > I'm afraid the zoom delay is induced by the fact that we have to rebuild > the painters for all features in the viewport. > That means going thru all style selector for each feature and that's > done in > > const FeaturePainter* paintsel = > R->getEditPainter(p->theProjection.pixelPerM()); > > because the pixelperM changed ( that's because styles change depending > on the zoom level)
Can't the painter be cached and only decided from the zoom value whether a specific feature should be painted this time or not? Or does it fall through a painter specification if the zoom doesn't match and a later painter can catch it? (Does any style use that? What would that be good for?) > Generally speaking, painting performances of QT4.x is poor, so far, and > there is a lot of tweaking/hacking in Merkaartor to have reasonable > performances. > I expect a major boost with 4.5 What's going to happen then? > Just for info, what kind of system are you using (CPU, OS, QT)? Intel Core 2 Duo E4300, currently at 2.4 GHz, 3.5 GB RAM Windows XP SP3 Qt 4.4.3 Release build with MinGW gcc 3.4.5 And my custom style, based on MapnikPlus but with many more icons... -- Yves Goergen "LonelyPixel" <[email protected]> Visit my web laboratory at http://beta.unclassified.de _______________________________________________ Merkaartor mailing list [email protected] http://lists.openstreetmap.org/listinfo/merkaartor
