[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/marble/src/plugins/render/overviewmap
From: Bastian Holst <bastianholst () gmx ! de>
Date: 2010-04-30 20:40:43
Message-ID: 20100430204043.71C12AC8AC () svn ! kde ! org
[Download RAW message or body]
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()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic