forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user