From kde-commits Mon Apr 21 14:01:47 2008 From: Marco Martin Date: Mon, 21 Apr 2008 14:01:47 +0000 To: kde-commits Subject: KDE/kdebase/workspace/libs/plasma Message-Id: <1208786507.365898.32350.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=120878654102379 SVN commit 799411 by mart: use a separate cache for each elementPrefix, this will speed up rendering a lot if prefixes are switched very often. this will make possible for instance to render the background of taskbar items with a PanelSvg. This behaviour is disabled by default, you can enable/disable it with setCacheAllRenderedPanels(bool), get with cacheAllRenderedPanels() and erase the entire cache with clearCache() M +176 -114 panelsvg.cpp M +18 -0 panelsvg.h