Fix ConstrastEffect in qml-compositor

Specify precision to make the shader working.

Change-Id: I055fe47e1073403dc981274236fa82e091e0eca4
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
QtCompositor: Expose window properties declaratively

Using QQmlPropertyMap, surface properties are made accessible to
QtQuick compositors in a declarative way. By using a QQmlPropertyMap
instead of a QVariantMap, binding and signaling are automatic.

A QML Compositor can declare a surface item and write to its properties
like so:

WaylandSurfaceItem {
    id: item

    property var roundtrip: item.surface.windowProperties.someDynamicProperty

    Binding {
        target: item.surface.windowProperties
        property: "someDynamicProperty"
        value: "someQmlValue"
    }
}

Change-Id: I783c3fd154c2512168b7cbf8c9736f833715065d
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>