More Info

Revision bbf561e...

(Back to digest)
 

Optimization in KDE Base

Martin Gräßlin committed changes in [kde-workspace] /effects:

Delay creation of EffectFrames till needed

Creating an EffectFrame requires I/O which takes on my system
during testing between 10 and 40 msec. Also it needs a little
bit of memory.

This changes moves out the creation of EffectFrames at Effect
load till the Effect actually needs the EffectFrame. E.g. if a
user does not filter in PresentWindows there is no need to ever
create it.

BoxSwitch effect is ignored as it should be dropped for 4.9.

REVIEW: 104815

File Changes

Modified 5 files
/effects
 
kwin/coverswitch/coverswitch.cpp
 
kwin/cube/cube.cpp
 
kwin/flipswitch/flipswitch.cpp
 
kwin/outline/outline.cpp
 
kwin/presentwindows/presentwindows.cpp
5 files changed in total