From kde-commits Fri Apr 30 20:40:43 2010 From: Bastian Holst Date: Fri, 30 Apr 2010 20:40:43 +0000 To: kde-commits Subject: KDE/kdeedu/marble/src/plugins/render/overviewmap Message-Id: <20100430204043.71C12AC8AC () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=127265981027837 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()