Copyright (C) 2013 DENSO CORPORATION
Copyright (c) 2013 BMW Car IT GmbH
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
If visibility argument is 0, the surface in the ivi compositor is set to invisible.
If visibility argument is not 0, the surface in the ivi compositor is set to visible.
The valid range for opacity is 0.0 (fully transparent) to 1.0 (fully opaque).
The source rectangle defines the part of the surface content, that is used for
compositing the surface. It can be used, if valid content of the surface is smaller
than the surface. Effectively it can be used to zoom the content of the surface.
x: horizontal start position of scanout area within the surface
y: vertical start position of scanout area within the surface
width: width of scanout area within the surface
height: height of scanout area within the surface
The destination rectangle defines the position and size of a surface on a layer.
The surface will be scaled to this rectangle for rendering.
x: horizontal start position of surface within the layer
y: vertical start position of surface within the layer
width : width of surface within the layer
height: height of surface within the layer
Request the client providing content for this surface, to resize of the buffers
provided as surface content.
The orientation of a surface in ivi compositor can be rotated in 90 degree steps,
as defined in orientation enum.
Store a screenshot of the surface content in the file provided by argument filename.
The new visibility state is provided in argument visibility.
If visibility is 0, the surface has become invisible.
If visibility is not 0, the surface has