aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/manual/gputhroughput/opaquerect.qml
blob: 641e18899d4a5a08b3412e512e5b00d4caacc200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import QtQuick 2.0

Item {
    id: root;
    property int count: 16;
    property int staticCount: 0

    Repeater {
        model: root.count;
        Rectangle {
            width: root.width
            height: root.height
            color: Qt.hsla((index * .271) % 1.0, 0.5, 0.5);
        }
    }
}