diff options
Diffstat (limited to 'tests/manual/scenegraph_lancelot/data/shaders/recursive/recursive_1.qml')
-rw-r--r-- | tests/manual/scenegraph_lancelot/data/shaders/recursive/recursive_1.qml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/manual/scenegraph_lancelot/data/shaders/recursive/recursive_1.qml b/tests/manual/scenegraph_lancelot/data/shaders/recursive/recursive_1.qml new file mode 100644 index 0000000000..43843c677b --- /dev/null +++ b/tests/manual/scenegraph_lancelot/data/shaders/recursive/recursive_1.qml @@ -0,0 +1,28 @@ +import QtQuick 2.0 + +Item { + width: 320 + height: 480 + + Rectangle { + id: foo + width: 200 + height: 200 + radius: 100 + anchors.centerIn: parent + gradient: Gradient { + GradientStop { position: 0; color: "red" } + GradientStop { position: 0.5; color: "white" } + GradientStop { position: 1; color: "blue" } + } + ShaderEffectSource { + id: buffer + anchors.fill: parent + sourceItem: foo + live: false + smooth: true + rotation: 45 + recursive: true + } + } +} |