aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/manual/gputhroughput/opaquetexture.qml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/manual/gputhroughput/opaquetexture.qml')
-rw-r--r--benchmarks/manual/gputhroughput/opaquetexture.qml24
1 files changed, 24 insertions, 0 deletions
diff --git a/benchmarks/manual/gputhroughput/opaquetexture.qml b/benchmarks/manual/gputhroughput/opaquetexture.qml
new file mode 100644
index 0000000..483903a
--- /dev/null
+++ b/benchmarks/manual/gputhroughput/opaquetexture.qml
@@ -0,0 +1,24 @@
+import QtQuick 2.0
+
+Item {
+ id: root;
+
+ property int count;
+ 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);
+ z: index
+ layer.enabled: true
+ layer.effect: ShaderEffect {
+ blending: false
+ }
+ }
+ }
+
+
+}