summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/declarative/qmlshadersplugin/TestWater.qml
blob: 4d909501022d99e759be0f5892d97b1050e44f10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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: "sky.jpg"
        smooth: true
    }
    Water {
        sourceItem: image
        intensity: 5
        height: parent.height - image.height
    }
}