ShowFPS and ShowPaint need OpenGL OR XRender.
svn path=/trunk/KDE/kdebase/workspace/; revision=811400
This commit is contained in:
parent
3b488bf935
commit
6f981e99ad
1 changed files with 3 additions and 3 deletions
|
@ -181,8 +181,8 @@ if(KWIN_HAVE_OPENGL_COMPOSITING)
|
||||||
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
|
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
|
||||||
endif(KWIN_HAVE_OPENGL_COMPOSITING)
|
endif(KWIN_HAVE_OPENGL_COMPOSITING)
|
||||||
|
|
||||||
# showfps, showpaint - need both xrender and opengl
|
# showfps, showpaint - need xrender or opengl
|
||||||
if(KWIN_HAVE_OPENGL_COMPOSITING AND KWIN_HAVE_XRENDER_COMPOSITING)
|
if(KWIN_HAVE_OPENGL_COMPOSITING OR KWIN_HAVE_XRENDER_COMPOSITING)
|
||||||
SET(kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
|
SET(kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
|
||||||
showfps.cpp
|
showfps.cpp
|
||||||
showpaint.cpp
|
showpaint.cpp
|
||||||
|
@ -198,7 +198,7 @@ if(KWIN_HAVE_OPENGL_COMPOSITING AND KWIN_HAVE_XRENDER_COMPOSITING)
|
||||||
install( FILES
|
install( FILES
|
||||||
showfps_config.desktop
|
showfps_config.desktop
|
||||||
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
|
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
|
||||||
endif(KWIN_HAVE_OPENGL_COMPOSITING AND KWIN_HAVE_XRENDER_COMPOSITING)
|
endif(KWIN_HAVE_OPENGL_COMPOSITING OR KWIN_HAVE_XRENDER_COMPOSITING)
|
||||||
|
|
||||||
# add the plugin
|
# add the plugin
|
||||||
KWIN4_ADD_EFFECT(builtins ${kwin4_effect_builtins_sources})
|
KWIN4_ADD_EFFECT(builtins ${kwin4_effect_builtins_sources})
|
||||||
|
|
Loading…
Reference in a new issue