kwin/effects/cube
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
..
data GLSL 1.40 shaders for cube effect 2013-05-23 09:39:35 +02:00
CMakeLists.txt CMake macros porting 2013-11-27 16:11:14 +01:00
cube.cpp Turn built-in effects into a library kwin links against 2014-01-24 14:13:59 +01:00
cube.desktop SVN_SILENT made messages (.desktop file) 2014-01-19 04:06:03 +00:00
cube.h Merge branch 'master' into frameworks-scratch 2013-09-24 11:28:38 +02:00
cube.kcfg Porting effects to Qt5/KF5: QStandardPaths 2013-08-13 17:56:04 -03:00
cube_config.cpp Port KWin effects away from KAction and KShortcut to Qt5/KF5 classes. 2013-08-15 04:13:12 +09:00
cube_config.desktop SVN_SILENT made messages (.desktop file) 2012-12-24 09:05:36 +01:00
cube_config.h Use Q_SLOTS and Q_SIGNALS instead of slots and signals 2013-07-24 09:46:54 +02:00
cube_config.ui KIntSpinBox -> QSpinBox in kwin/effects configs 2013-09-09 07:38:30 +02:00
cube_inside.h Use mgraesslin@kde.org for my mail address in Copyright and AboutData 2013-03-12 13:17:53 +01:00
cube_proxy.cpp Use mgraesslin@kde.org for my mail address in Copyright and AboutData 2013-03-12 13:17:53 +01:00
cube_proxy.h Use mgraesslin@kde.org for my mail address in Copyright and AboutData 2013-03-12 13:17:53 +01:00
cubeconfig.kcfgc Porting effects to Qt5/KF5: QStandardPaths 2013-08-13 17:56:04 -03:00
cubeslide.cpp Merge branch 'KDE/4.10' 2013-03-21 17:13:34 +01:00
cubeslide.desktop SVN_SILENT made messages (.desktop file) 2014-01-19 04:06:03 +00:00
cubeslide.h Use mgraesslin@kde.org for my mail address in Copyright and AboutData 2013-03-12 13:17:53 +01:00
cubeslide.kcfg Use KConfigXT in Cube/CubeSlide effect 2012-09-14 10:39:27 +02:00
cubeslide_config.cpp foo.moc -> moc_foo.cpp in KWin effects config 2013-08-07 13:04:01 +02:00
cubeslide_config.desktop SVN_SILENT made messages (.desktop file) 2013-01-07 08:11:48 +01:00
cubeslide_config.h Use Q_SLOTS and Q_SIGNALS instead of slots and signals 2013-07-24 09:46:54 +02:00
cubeslide_config.ui KIntSpinBox -> QSpinBox in kwin/effects configs 2013-09-09 07:38:30 +02:00
cubeslideconfig.kcfgc Use KConfigXT in Cube/CubeSlide effect 2012-09-14 10:39:27 +02:00