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