Revision 09837e2...

Go back to digest for 14th October 2012

Features in KDE Base

Martin Gräßlin committed changes in [kde-workspace] /:

Decoration can announce whether it currently requires an alpha channel

A decoration can provide the AbilityAnnounceAlphaChannel in addition to
AbilityUsesAlphaChannel. If this ability is provided the decoration can
enable/disable the use of the alpha channel through setAlphaEnabled().

The base idea behind this mechanism is to be able to tell the compositor
that currently alpha is not needed. An example is the maximized state in
which the decoration is fully opaque so that there is no need to use the
translucency code path which would render all windows behind the deco.

In addition also the blur effect honors this setting so that behind a
known opaque decoration no blurring is performed.

Oxygen is adjusted to disable translucency in maximized state and Aurorae
is adjusted to allow themes to enable/disable translucency. For Plastik
translucency and with that also blurring is disabled.

REVIEW: 106810

File Changes

Modified 21 files
  •   kwin/client.cpp
  •   kwin/client.h
  •   kwin/scene.cpp
  •   kwin/scene_opengl.cpp
  •   kwin/scene_opengl.h
  •   kwin/workspace.h
  •   kwin/libkdecorations/kcommondecoration.cpp
  •   kwin/libkdecorations/kcommondecoration.h
  •   kwin/libkdecorations/kcommondecoration_p.cpp
  •   kwin/libkdecorations/kcommondecoration_p.h
  •   kwin/libkdecorations/kdecoration.cpp
  •   kwin/libkdecorations/kdecoration.h
  •   kwin/libkwineffects/kwineffects.cpp
  •   kwin/libkwineffects/kwineffects.h
  •   kwin/clients/oxygen/oxygenclient.cpp
  •   kwin/clients/oxygen/oxygenfactory.cpp
  •   kwin/effects/blur/blur.cpp
  •   kwin/clients/aurorae/src/aurorae.cpp
  •   kwin/clients/aurorae/src/aurorae.h
  •   kwin/clients/aurorae/src/qml/Decoration.qml
  •   kwin/clients/aurorae/themes/plastik/package/contents/ui/main.qml
21 files changed in total