diff options
Diffstat (limited to 'src/benchmarks/manual/gputhroughput/blendedtexture.qml')
-rw-r--r-- | src/benchmarks/manual/gputhroughput/blendedtexture.qml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/benchmarks/manual/gputhroughput/blendedtexture.qml b/src/benchmarks/manual/gputhroughput/blendedtexture.qml new file mode 100644 index 0000000..51f067e --- /dev/null +++ b/src/benchmarks/manual/gputhroughput/blendedtexture.qml @@ -0,0 +1,20 @@ +import QtQuick 2.0 + +// Stacks x number of alphablended textures on top of each other. +// Rouch test of fill and texel rate. +Item { + id: root; + property int count: 8; + 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); + layer.enabled: true + layer.format: ShaderEffectSource.RGBA + } + } +} |