D28022: Fallback to a simple rectangle when using software rendering

Arjen Hiemstra noreply at phabricator.kde.org
Fri Mar 13 11:28:08 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
  If the scene graph is using software rendering, the custom shaders used for
  ShadowedRectangle will not work. So in that case, create a simple rectangle
  node and use that. This loses a bunch of features of the item but at least
  shows something.

TEST PLAN
  ShadowedRectangleTest with QT_QUICK_BACKEND=software set renders a rectangle.

REPOSITORY
  R169 Kirigami

BRANCH
  shadowrect_software

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

AFFECTED FILES
  src/shadowedrectangle.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/59d66038/attachment.html>


More information about the Plasma-devel mailing list