QmlProfiler: Paint overview binding loops in separate passes

Change-Id: If1bca8eb9b3db2d0249b8679e58ffd2fdebfc6d5
Task-number: QTCREATORBUG-12950
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Ulf Hermann
2014-09-02 17:09:27 +02:00
parent 2677e33782
commit f3bdba6c77
2 changed files with 18 additions and 14 deletions

View File

@@ -39,6 +39,8 @@ Canvas {
property int eventsPerPass: 4096
property int increment: -1
property int offset: -1
readonly property int bump: 10;
readonly property int blockHeight: (height - bump) / qmlProfilerModelProxy.models.length;
// ***** properties
height: 50
@@ -130,6 +132,10 @@ Canvas {
++offset;
paintTimer.interval = 1;
paintTimer.start();
} else if (offset < 2 * increment) {
Plotter.drawBindingLoops(canvas, context);
++offset;
paintTimer.start();
}
}