Marco Martin 2b3e8dfe86 move setImagePath logic into updateFrameData()
Summary:
make sure the framedata creation/destruction is
completely in updateFrameData, makes easier to track
and possible to use the repaintsblocked logic.
now only one framedata instance should be created at startup.

CCBUG:376754

Test Plan:
* autotests pass, plasma runs ok, crash on 376754 not reproducible anymore
* possible to have a plasmashell session start without the creation of a single svg renderer (startups after the first when the cache is generated)
* on qml profiler, framesvgitem creation is ~12 msecs the first one created, ~2-300 musecs the subsequent ones, seems to be a bit better than before the whole refactor started
* tried against the latest patches that remove the binding loops, still correct rendering and no binding loop
* tried with both empty and existing cache in place

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: davidedmundson, plasma-devel, #frameworks

Tags: #frameworks, #plasma

Differential Revision: https://phabricator.kde.org/D4707
2017-02-28 13:35:09 +01:00
..
2017-01-16 18:17:34 +01:00
2014-07-15 10:16:10 +02:00
2016-05-19 17:44:43 +02:00
2016-05-19 17:44:43 +02:00
2013-02-14 17:17:12 +01:00
2016-05-19 17:44:43 +02:00
2015-02-13 13:31:58 +01:00
2016-06-01 14:47:56 +02:00
2017-01-16 18:17:34 +01:00
2016-06-01 14:47:56 +02:00
2016-09-29 12:32:11 +02:00