D10060: Enable blending if a subsurface has an alpha channel

Martin Flöser noreply at phabricator.kde.org
Tue Jan 23 19:30:53 UTC 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180123/77b59ecf/attachment.html>


More information about the Plasma-devel mailing list