diff options
Diffstat (limited to 'tests/manual/performance/TestWater.qml')
| -rwxr-xr-x | tests/manual/performance/TestWater.qml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/manual/performance/TestWater.qml b/tests/manual/performance/TestWater.qml new file mode 100755 index 0000000..ec5ef6d --- /dev/null +++ b/tests/manual/performance/TestWater.qml @@ -0,0 +1,20 @@ +import Qt 4.7 +import Qt.labs.shaders 1.0 + +Item { + width: 360 + height: 640 + + Image { + id: image + width: parent.width + height: parent.height * 0.65 + source: "sydney5.png" + smooth: true + } + Water { + sourceItem: image + intensity: 5 + height: parent.height - image.height + } +} |
