graesslin created this revision. graesslin added reviewers: KWin, Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel. graesslin requested review of this revision. Restricted Application edited projects, added Plasma; removed KWin.
REVISION 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. REPOSITORY R108 KWin BRANCH blending-for-subsurfaces REVISION DETAIL https://phabricator.kde.org/D10060 AFFECTED FILES plugins/scenes/opengl/scene_opengl.cpp plugins/scenes/opengl/scene_opengl.h To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart