showfps requires both GL and RENDER compositing, and is disabled in CMakeLists unless you have both; reflect this in the rest of the code as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=790175
This commit is contained in:
parent
901eb7627a
commit
bd5fd7bb84
1 changed files with 5 additions and 0 deletions
|
@ -70,12 +70,17 @@ KWIN_EFFECT_CONFIG_FACTORY
|
||||||
registerPlugin<KWin::SharpenEffectConfig>("sharpen"); \
|
registerPlugin<KWin::SharpenEffectConfig>("sharpen"); \
|
||||||
registerPlugin<KWin::SnowEffectConfig>("snow"); \
|
registerPlugin<KWin::SnowEffectConfig>("snow"); \
|
||||||
registerPlugin<KWin::TrackMouseEffectConfig>("trackmouse"); \
|
registerPlugin<KWin::TrackMouseEffectConfig>("trackmouse"); \
|
||||||
|
|
||||||
|
#define GL_RENDER_PLUGINS \
|
||||||
registerPlugin<KWin::ShowFpsEffectConfig> ("showfps"); \
|
registerPlugin<KWin::ShowFpsEffectConfig> ("showfps"); \
|
||||||
|
|
||||||
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
|
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
|
||||||
K_PLUGIN_FACTORY_DEFINITION(EffectFactory,
|
K_PLUGIN_FACTORY_DEFINITION(EffectFactory,
|
||||||
NON_GL_PLUGINS
|
NON_GL_PLUGINS
|
||||||
GL_PLUGINS
|
GL_PLUGINS
|
||||||
|
#ifdef KWIN_HAVE_XRENDER_COMPOSITING
|
||||||
|
GL_RENDER_PLUGINS
|
||||||
|
#endif
|
||||||
)
|
)
|
||||||
#else
|
#else
|
||||||
K_PLUGIN_FACTORY_DEFINITION(EffectFactory,
|
K_PLUGIN_FACTORY_DEFINITION(EffectFactory,
|
||||||
|
|
Loading…
Reference in a new issue