D28023: Don't premultiply colors

Arjen Hiemstra noreply at phabricator.kde.org
Fri Mar 13 13:44:36 GMT 2020


ahiemstra created this revision.
ahiemstra added a reviewer: Kirigami.
Herald added a project: Kirigami.
Herald added a subscriber: plasma-devel.
ahiemstra requested review of this revision.

REVISION SUMMARY
  Color handling with scene graph is a bit confusing at times, sometimes
  things need to be premultiplied, in other cases they shouldn't be. In
  this case, they shouldn't be.
  
  Also fixes core profile fragment shaders.

TEST PLAN
  Colors are now correct when compared to a normal rectangle.

REPOSITORY
  R169 Kirigami

BRANCH
  color_fix

REVISION DETAIL
  https://phabricator.kde.org/D28023

AFFECTED FILES
  src/scenegraph/shadowedborderrectangle_core.frag
  src/scenegraph/shadowedrectangle_core.frag
  src/scenegraph/shadowedrectanglenode.cpp

To: ahiemstra, #kirigami
Cc: plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, davidedmundson, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200313/c9f29ca5/attachment.html>


More information about the Plasma-devel mailing list