kwin/plugins/scenes/qpainter
Vlad Zagorodniy 2d01ba6450 [scenes/qpainter] Draw decoration shadows
Summary:
QPainter doesn't render decoration shadows. It renders only
shadows provided through ShadowInterface.

With this change, painting of shadows is done in similar way OpenGL backend is
currently doing.

Before

{F5734867, layout=center, size=full}

After

{F5734870, layout=center, size=full}

Depends on D10811 (dummy decoration with shadows in autotests)

Test Plan:
* start kwin with QPainter backend enabled:

```
KWIN_COMPOSE=Q kwin_wayland --xwayland --windowed
```

* open konsole and kate:

```
DISPLAY=:1 konsole
DISPLAY=:1 kate
```

Reviewers: #kwin, graesslin, davidedmundson

Reviewed By: davidedmundson

Subscribers: abetts, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D10943
2018-06-07 12:27:31 +03:00
..
CMakeLists.txt [autotests] Support new way to run the tests without need to install 2017-11-21 20:34:52 +01:00
qpainter.json SVN_SILENT made messages (.desktop file) - always resolve ours 2018-04-22 05:43:11 +02:00
scene_qpainter.cpp [scenes/qpainter] Draw decoration shadows 2018-06-07 12:27:31 +03:00
scene_qpainter.h [scenes/qpainter] Draw decoration shadows 2018-06-07 12:27:31 +03:00