diff options
Diffstat (limited to 'benchmarks/manual/gputhroughput/blendedrect.qml')
-rw-r--r-- | benchmarks/manual/gputhroughput/blendedrect.qml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/benchmarks/manual/gputhroughput/blendedrect.qml b/benchmarks/manual/gputhroughput/blendedrect.qml new file mode 100644 index 0000000..6fa2e00 --- /dev/null +++ b/benchmarks/manual/gputhroughput/blendedrect.qml @@ -0,0 +1,16 @@ +import QtQuick 2.0 + +Item { + id: root; + property int count: 10 + 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, 0.5); + } + } +} |