plasma-framework/autotests/data
Marco Martin d8a1a9eb08 don't regenerate frames when setting every property
Summary:
give frameSvg the concept of repaintBlocked(), that enables and
disables the regeneration of the frame data when a property is set.
the use case is when often, a lot of properties are set one after
the other (such as prefix, enabled borders, size)
collapse the formely similar, but a bit different logic of frame
regeneration is a single function for better maintanability.
QML FrameSvgItem sets repaintblocked when it starts and releases it just on oncomponentCompleted

Test Plan:
plasmashell still starts, autotests still work, all frames are rendered correctly
the destruction of old frames is cutted by 50%. in the qml profiler
the creation time of a framesvgitem slightly improved, on this machine from around 26 msecs to around 21, can still be improved, but at least the code is a bit simpler

Reviewers: #plasma

Subscribers: davidedmundson, plasma-devel, #frameworks

Tags: #plasma, #frameworks

Differential Revision: https://phabricator.kde.org/D4414
2017-02-07 13:08:27 +01:00
..
bug359388/hicolor/22x22/apps Fix svg iconPath resolving in IconItem 2016-02-29 13:05:48 -08:00
icons cache svg icons from icon theme 2016-04-04 17:47:30 +02:00
plasma/desktoptheme/testtheme [autotest] Extend ThemeTest with a case for compositing changes 2016-08-03 11:28:23 +02:00
signedPackage SVN_SILENT made messages (.desktop file) - always resolve ours 2015-11-04 17:07:45 +00:00
testconfigpackage ConfigModel: Don't try to resolve empty source path from package 2016-05-04 17:34:02 +02:00
testfallbackpackage SVN_SILENT made messages (.desktop file) - always resolve ours 2015-11-14 12:52:39 +00:00
testpackage SVN_SILENT made messages (.desktop file) - always resolve ours 2015-11-04 17:07:45 +00:00
background.svgz don't regenerate frames when setting every property 2017-02-07 13:08:27 +01:00
test_image.png Add missing file for iconitem test 2016-03-04 15:50:10 +00:00
view.qml IconItemTest: Skip when grabToImage fails 2016-02-29 22:29:51 +01:00