D14898: Create shadow tiles on demand
Kai Uwe Broulik
noreply at phabricator.kde.org
Fri Aug 17 11:56:02 BST 2018
broulik created this revision.
broulik added reviewers: Plasma, ngraham, zzag.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.
REVISION SUMMARY
Breeze spent 70ms on every application startup loading the shadow tiles, despite them only being used for e.g. context menus. Create them only as needed.
TEST PLAN
- Context menu shadows still look fine
- MDI windows don't have any shadows here but that is also without this patch..
REPOSITORY
R31 Breeze
REVISION DETAIL
https://phabricator.kde.org/D14898
AFFECTED FILES
kstyle/breezemdiwindowshadow.cpp
kstyle/breezemdiwindowshadow.h
kstyle/breezeshadowhelper.cpp
kstyle/breezestyle.cpp
To: broulik, #plasma, ngraham, zzag
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180817/0ea80872/attachment.html>
More information about the Plasma-devel
mailing list