kwin/effects/blur
Martin Gräßlin 0c92e1f30c Use translucent/dialogs/background elements where possible
In effects it's obvious that compositing is enabled, so specifying the
translucent element is no problem.

In tabbox a context property "compositing" is injected which decides
whether "translucent" or "opaque" elements should be used. Here the
translucent elements are only used if the Blur effect is available - for
this a new Effect::Feature Blur is introduced and in addition it is
tested whether the theme provides the translucent element.

Also the masking is adjusted to ensure that only the shadow is not
blurred.

Reason for this change is that Plasma theme seems not always to pick up
whether compositing is used when used from inside KWin. It does not cover
the Desktop Change OSD which uses PlasmaCore.Dialog and there we cannot
(yet) inject that we use compositing.

Overall I'm quite unhappy with this patch and I do hope we can fix it in
the proper place in the lifetime of 4.10 and revert this patch.

CCBUG: 311995
REVIEW: 108438
2013-01-30 15:14:54 +01:00
..
CMakeLists.txt Use KConfigXT in Blur effect 2012-09-15 11:24:11 +02:00
blur.cpp Decoration can announce whether it currently requires an alpha channel 2012-11-09 10:36:43 +01:00
blur.desktop SVN_SILENT made messages (.desktop file) 2013-01-26 13:21:28 +01:00
blur.h Use translucent/dialogs/background elements where possible 2013-01-30 15:14:54 +01:00
blur.kcfg Use KConfigXT in Blur effect 2012-09-15 11:24:11 +02:00
blur_config.cpp Use KConfigXT in Blur effect 2012-09-15 11:24:11 +02:00
blur_config.desktop SVN_SILENT made messages (.desktop file) 2012-12-24 09:05:36 +01:00
blur_config.h Use KConfigXT in Blur effect 2012-09-15 11:24:11 +02:00
blur_config.ui Use KConfigXT in Blur effect 2012-09-15 11:24:11 +02:00
blurconfig.kcfgc Use KConfigXT in Blur effect 2012-09-15 11:24:11 +02:00
blurshader.cpp Bind ARBBlurShader to OpenGL1 2012-10-25 11:34:30 +02:00
blurshader.h Bind ARBBlurShader to OpenGL1 2012-10-25 11:34:30 +02:00