Revision 799411

Go back to digest for 27th April 2008

Optimization in KDE Base

Marco Martin committed changes in /trunk/KDE/kdebase/workspace/libs/plasma:

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()

File Changes

Modified 2 files
  • /trunk/KDE/kdebase/workspace/libs/plasma
  •   /panelsvg.cpp
  •   /panelsvg.h
2 files changed in total