[Marble-commits] KDE/kdeedu/marble/src/plugins/render/overviewmap
Bastian Holst
bastianholst at gmx.de
Fri Apr 30 22:40:43 CEST 2010
SVN commit 1121220 by bholst:
Patch by ariya optimizing marble rendering:
Because of the dynamic nature of the overview map during animation/navigation, caching the item in a pixmap will just put additional burden. Beside, the SVG object is already rendered and stored in a pixmap anyway.
M +4 -0 OverviewMap.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/render/overviewmap/OverviewMap.cpp #1121219:1121220
@@ -33,6 +33,10 @@
m_target(QString()),
m_svgobj(0)
{
+ // cache is no needed because:
+ // (1) the SVG overview map is already rendered and stored in m_worldmap pixmap
+ // (2) bounding box and location dot keep changing during navigation
+ setCacheMode( NoCache );
}
OverviewMap::~OverviewMap()
More information about the Marble-commits
mailing list