Revision d3fa39a...

Go back to digest for 26th January 2014

Optimization in KDE Base

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

Keep KWin responsive while loading all effects

Loading all effects during startup can take some time[1] and during
that time the screen is frozen as the loading blocks the compositor.

This change doesn't load effects directly but puts them into a queue.
The loading is controlled by invoking the dequeue through a queued
connection. Thus we get a firing compositing timer in between and can
ensure that a frame is rendered when needed and also react to X events
during the loading.

[1] On my high-end system the set of effects I use take about 200 msec
to load.

REVIEW: 115297

File Changes

Modified 2 files
  •   kwin/effects.cpp
  •   kwin/effects.h
2 files changed in total