kwin/effects
Martin Gräßlin 76efe517a7 Turn built-in effects into a library kwin links against
As all effects have always been compiled into the same .so file it's
questionable whether resolving the effects through a library is useful
at all. By linking against the built-in effects we gain the following
advantages:
* don't have to load/unload the KLibrary
* don't have to resolve the create, supported and enabled functions
* no version check required
* no dependency resolving (effects don't use it)
* remove the KWIN_EFFECT macros from the effects

All the effects are now registered in an effects_builtins file which
maps the name to a factory method and supported or enabled by default
methods.

During loading the effects we first check whether there is a built-in
effect by the given name and make a shortcut to create it through that.
If that's not possible the normal plugin loading is used.

Completely unscientific testing [1] showed an improvement of almost 10
msec during loading all the effects I use.

[1] QElapsedTimer around the loading code, start kwin five times, take
average.

REVIEW: 115073
2014-01-24 14:13:59 +01:00
..
backgroundcontrast Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
blur Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
coverswitch Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
cube Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
dashboard Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
desktopgrid Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
dialogparent SVN_SILENT made messages (.desktop file) 2014-01-19 04:06:03 +00:00
diminactive Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
dimscreen Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
fade SVN_SILENT made messages (.desktop file) 2014-01-19 04:06:03 +00:00
fadedesktop SVN_SILENT made messages (.desktop file) 2014-01-19 04:06:03 +00:00
fallapart Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
flipswitch Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
glide Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
highlightwindow Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
invert Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
kscreen Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
login SVN_SILENT made messages (.desktop file) 2014-01-19 04:06:03 +00:00
logout Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
lookingglass Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
magiclamp Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
magnifier Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
maximize SVN_SILENT made messages (.desktop file) 2014-01-19 04:06:03 +00:00
minimizeanimation Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
mouseclick Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
mousemark Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
presentwindows Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
resize Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
scalein SVN_SILENT made messages (.desktop file) 2014-01-19 04:06:03 +00:00
screenedge Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
screenshot Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
sheet Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
showfps Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
showpaint Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
slide Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
slideback Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
slidingpopups Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
snaphelper Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
startupfeedback Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
taskbarthumbnail Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
thumbnailaside Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
trackmouse Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
translucency SVN_SILENT made messages (.desktop file) 2014-01-19 04:06:03 +00:00
windowgeometry Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
wobblywindows Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
zoom Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
CMakeLists.txt Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
configs_builtins.cpp Remove K_EXPORT_PLUGIN macros 2013-08-08 13:47:25 +02:00
effect_builtins.cpp Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
effect_builtins.h Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
kwineffect.desktop [kwin] Add a URL property to the kwineffects 2013-12-03 10:27:20 +01:00
logging.cpp Changed debug statements in kwin/effects from qDebug() to qCDebug(KWINEFFECTS) 2013-11-29 08:47:56 +01:00
Messages.sh