kwin/plugins/scenes/opengl
Martin Flöser e22d9d957b Enable blending if a subsurface has an alpha channel
Summary:
While investigating BUG 387313 I noticed that blending might be disabled
for subsurfaces. Blending was disabled before rendering the subsurfaces
and it is not checked whether the surfaces have an alpha channel or not.

This change addresses this problem by disabling blending after all
subsurfaces have been rendered and enabling blending if a subsurface has
an alpha channel.

Unfortunately this does not fix the investigated bug.

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D10060
2018-02-04 14:58:50 +01:00
..
CMakeLists.txt [autotests] Support new way to run the tests without need to install 2017-11-21 20:34:52 +01:00
opengl.json SVN_SILENT made messages (.desktop file) - always resolve ours 2018-01-28 06:53:21 +01:00
scene_opengl.cpp Enable blending if a subsurface has an alpha channel 2018-02-04 14:58:50 +01:00
scene_opengl.h Enable blending if a subsurface has an alpha channel 2018-02-04 14:58:50 +01:00