aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/manual/gputhroughput/opaquerect.qml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/manual/gputhroughput/opaquerect.qml')
-rw-r--r--benchmarks/manual/gputhroughput/opaquerect.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/benchmarks/manual/gputhroughput/opaquerect.qml b/benchmarks/manual/gputhroughput/opaquerect.qml
new file mode 100644
index 0000000..641e188
--- /dev/null
+++ b/benchmarks/manual/gputhroughput/opaquerect.qml
@@ -0,0 +1,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);
+ }
+ }
+}