summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorTimo Lotterbach <timo.lotterbach@bmw-carit.de>2013-11-11 01:56:16 -0800
committerTimo Lotterbach <timo.lotterbach@bmw-carit.de>2013-11-11 01:56:16 -0800
commit7feb40c2738174276fd6f721ebeac43089bbe6e7 (patch)
tree40e19df82855f7e0bff6b6b59e2619df4b1c44aa /protocol
parent316ab295d39d252e254d056046b123f866202051 (diff)
downloadwayland-ivi-extension-7feb40c2738174276fd6f721ebeac43089bbe6e7.tar.gz
protocol: ivi_controller now only uses ivi_controller/layer/surface
ivi_controller now internally uses only ivi_controller_layer and ivi_controller_surface to control scene setup. ivi_layer was removed. ivi_surface is only used by client, not by controller. Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Diffstat (limited to 'protocol')
-rwxr-xr-xprotocol/ivi-controller.xml32
1 files changed, 14 insertions, 18 deletions
diff --git a/protocol/ivi-controller.xml b/protocol/ivi-controller.xml
index ad25e90..f04c72f 100755
--- a/protocol/ivi-controller.xml
+++ b/protocol/ivi-controller.xml
@@ -24,15 +24,6 @@
THE SOFTWARE.
</copyright>
- <interface name="ivi_layer" version="1">
- <description summary="Tell property change of ivi_layer to client"/>
-
- <request name="destroy" type="destructor">
- <description summary="destroy ivi_layer"/>
- </request>
-
- </interface>
-
<interface name="ivi_controller_surface" version="1">
<description summary="Request property change of ivi_surface to server"/>
@@ -177,7 +168,7 @@
<event name="layer">
<description summary="Receive a ivi_layer this ivi_surface belongs"/>
- <arg name="layer" type="object" interface="ivi_layer" allow-null="true"/>
+ <arg name="layer" type="object" interface="ivi_controller_layer" allow-null="true"/>
</event>
<request name="send_stats"/>
@@ -264,12 +255,12 @@
<request name="add_surface">
<description summary="add a ivi_surface to top order of a ivi_layer"/>
- <arg name="surface" type="object" interface="ivi_surface"/>
+ <arg name="surface" type="object" interface="ivi_controller_surface"/>
</request>
<request name="remove_surface">
<description summary="remove a ivi_surface from a layer"/>
- <arg name="surface" type="object" interface="ivi_surface"/>
+ <arg name="surface" type="object" interface="ivi_controller_surface"/>
</request>
<request name="set_render_order">
@@ -344,7 +335,7 @@
<request name="add_layer">
<description summary="add a ivi_layer to top order of a wl_output"/>
- <arg name="layer" type="object" interface="ivi_layer"/>
+ <arg name="layer" type="object" interface="ivi_controller_layer"/>
</request>
<request name="screenshot">
@@ -377,20 +368,24 @@
<arg name="id_layer" type="uint"/>
<arg name="width" type="int"/>
<arg name="height" type="int"/>
- <arg name="id" type="new_id" interface="ivi_layer"/>
+ <arg name="id" type="new_id" interface="ivi_controller_layer"/>
</request>
<event name="layer">
<description summary="Receive id_layer/ivi_layer and a controller to control ivi_layer"/>
<arg name="id_layer" type="uint"/>
- <arg name="layer" type="new_id" interface="ivi_layer"/>
- <arg name="controller" type="new_id" interface="ivi_controller_layer"/>
+ <arg name="controller_layer" type="new_id" interface="ivi_controller_layer"/>
</event>
+ <request name="surface_create">
+ <description summary="create surface controller"/>
+ <arg name="id_surface" type="uint"/>
+ <arg name="id" type="new_id" interface="ivi_controller_surface"/>
+ </request>
+
<event name="surface">
<description summary="Receive id_surface/ivi_surface and a controller to control ivi_surface"/>
<arg name="id_surface" type="uint"/>
- <arg name="surface" type="new_id" interface="ivi_surface"/>
<arg name="controller_surface" type="new_id" interface="ivi_controller_surface"/>
</event>
@@ -405,4 +400,5 @@
</interface>
-</protocol> \ No newline at end of file
+</protocol>
+