Initial Version of LayerManagementService added.
[profile/ivi/layer-management.git] / LayerManagerPlugins / Communicators / DBUSCommunicator / compositeServiceDescription.xml
1 <!--
2 ***************************************************************************
3
4 * Copyright 2010 BMW Car IT GmbH  
5
6
7 * Licensed under the Apache License, Version 2.0 (the "License"); 
8 * you may not use this file except in compliance with the License. 
9 * You may obtain a copy of the License at 
10 *
11 *       http://www.apache.org/licenses/LICENSE-2.0 
12 *
13 * Unless required by applicable law or agreed to in writing, software 
14 * distributed under the License is distributed on an "AS IS" BASIS, 
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
16 * See the License for the specific language governing permissions and 
17 * limitations under the License.
18 *
19 ****************************************************************************/
20 -->
21 <!-- Description file for dbus interface of BMW Compositing Service --> 
22
23 <node name="/de/BMW/CompositingService">
24   <interface name="de.bmw.CompositingService">
25    
26     <method name="Debug">
27         <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_debug"/>
28         <arg type="b" name="onoff" direction="in" />
29     </method>
30     
31     <method name="ListAllLayerIDS">
32       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_list_all_layer_id_s"/>
33       <arg type="au" name="layerids" direction="out" />
34     </method>
35     
36         <method name="ListAllSurfaceIDS">
37       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_list_all_surface_id_s"/>
38       <arg type="au" name="surfaceids" direction="out" />
39     </method>
40     
41     <method name="ListAllLayerGroupIDS">
42       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_list_all_layer_group_id_s"/>
43       <arg type="au" name="layergroupids" direction="out" />
44     </method>
45     
46     <method name="ListAllSurfaceGroupIDS">
47       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_list_all_surface_group_id_s"/>
48       <arg type="au" name="surfacegroupids" direction="out" />
49     </method>
50     
51     <method name="ListSurfacesOfSurfacegroup">
52       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_list_surfaces_of_surfacegroup"/>
53       <arg type="u" name="surfacegroupid" direction="in" />
54       <arg type="au" name="surfaceids" direction="out" />
55     </method>
56     
57      <method name="ListLayersOfLayergroup">
58       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_list_layers_of_layergroup"/>
59       <arg type="u" name="layergroupid" direction="in" />
60       <arg type="au" name="layerids" direction="out" />
61     </method>
62     
63      <method name="ListSurfaceofLayer">
64       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_list_surfaces_of_layer"/>
65       <arg type="u" name="layeridid" direction="in" />
66       <arg type="au" name="surfaceids" direction="out" />
67     </method>
68     
69     <method name="getPropertiesOfSurface">
70       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_get_surface_properties"/>
71       <arg type="u" name="surfaceid" direction="in" />
72       <arg type="d" name="opacity" direction="out" />
73       <arg type="u" name="SourceX" direction="out" />
74       <arg type="u" name="SourceY" direction="out" />
75       <arg type="u" name="SourceWidth" direction="out" />
76       <arg type="u" name="SourceHeight" direction="out" />
77       <arg type="u" name="destX" direction="out" />
78       <arg type="u" name="destY" direction="out" />
79       <arg type="u" name="destWidth" direction="out" />
80       <arg type="u" name="destHeight" direction="out" />
81       <arg type="y" name="orientation" direction="out" />
82       <arg type="b" name="visibility" direction="out" />
83     </method>
84     
85     <method name="getPropertiesOfLayer">
86       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_get_layer_properties"/>
87       <arg type="u" name="layerid" direction="in" />
88       <arg type="d" name="opacity" direction="out" />
89       <arg type="u" name="SourceX" direction="out" />
90       <arg type="u" name="SourceY" direction="out" />
91       <arg type="u" name="SourceWidth" direction="out" />
92       <arg type="u" name="SourceHeight" direction="out" />
93       <arg type="u" name="destX" direction="out" />
94       <arg type="u" name="destY" direction="out" />
95       <arg type="u" name="destWidth" direction="out" />
96       <arg type="u" name="destHeight" direction="out" />
97       <arg type="y" name="orientation" direction="out" />
98       <arg type="b" name="visibility" direction="out" />
99     </method>
100     
101     <!-- organisation --> 
102     
103      <method name="CreateSurface">
104       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_create_surface"/>
105       <arg type="u" name="surfaceid" direction="out" />
106       <arg type="u" name="handle" direction="in" />
107       <arg type="u" name="pixelformat" direction="in" />
108       <arg type="u" name="OriginalWidth" direction="in" />
109       <arg type="u" name="OriginalHeight" direction="in" />
110     </method>
111     <method name="RemoveSurface">
112       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_remove_surface"/>
113       <arg type="u" name="surfaceid" direction="in" />
114     </method>
115     <method name="CreateLayer">
116       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_create_layer"/>
117       <arg type="u" name="layerid" direction="out" />
118     </method>
119     <method name="RemoveLayer">
120       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_remove_layer"/>
121       <arg type="u" name="layerid" direction="in" />
122     </method>
123      <method name="AddSurfaceToSurfaceGroup">
124       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_add_surface_to_surface_group"/>
125       <arg type="u" name="surfaceid" direction="in" />
126       <arg type="u" name="surfacegroupid" direction="in" />      
127     </method>
128     <method name="RemoveSurfaceFromSurfaceGroup">
129       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_remove_surface_from_surface_group"/>
130       <arg type="u" name="surfaceid" direction="in" />
131       <arg type="u" name="surfacegroupid" direction="in" />
132     </method>
133     <method name="AddLayerToLayerGroup">
134       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_add_layer_to_layer_group"/>
135       <arg type="u" name="layerid" direction="in" />
136       <arg type="u" name="layergroupid" direction="in" />      
137     </method>
138     <method name="RemoveLayerFromLayerGroup">
139       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_remove_layer_from_layer_group"/>
140       <arg type="u" name="layerid" direction="in" />
141       <arg type="u" name="layergroupid" direction="in" />
142     </method>
143     <method name="AddSurfaceToLayer">
144       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_add_surface_to_layer"/>
145       <arg type="u" name="surfaceid" direction="in" />
146       <arg type="u" name="layerid" direction="in" />      
147     </method>
148     <method name="RemoveSurfaceFromLayer">
149       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_remove_surface_from_layer"/>
150       <arg type="u" name="surfaceid" direction="in" />
151       <arg type="u" name="layerid" direction="in" />
152     </method>
153     
154     <method name="CreateSurfaceGroup">
155       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_create_surface_group"/>
156       <arg type="u" name="groupid" direction="out" />
157     </method>
158     <method name="RemoveSurfaceGroup">
159       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_remove_surface_group"/>
160       <arg type="u" name="groupid" direction="in" />
161     </method>
162      <method name="CreateLayerGroup">
163       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_create_layer_group"/>
164       <arg type="u" name="groupid" direction="out" />
165     </method>
166     <method name="RemoveLayerGroup">
167       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_remove_layer_group"/>
168       <arg type="u" name="groupid" direction="in" />
169     </method>
170     
171     <!-- Surface Geometry and properties -->
172     
173     <method name="SetSurfaceSourceRegion">
174       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_surface_set_source_region"/>
175       <arg type="u" name="surfaceid" direction="in" />
176       <arg type="u" name="left" direction="in" />
177       <arg type="u" name="top" direction="in" />
178       <arg type="u" name="width" direction="in" />
179       <arg type="u" name="height" direction="in" />
180     </method>
181     <method name="SetLayerSourceRegion">
182       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_layer_set_source_region"/>
183       <arg type="u" name="layerid" direction="in" />
184       <arg type="u" name="left" direction="in" />
185       <arg type="u" name="top" direction="in" />
186       <arg type="u" name="width" direction="in" />
187       <arg type="u" name="height" direction="in" />
188     </method>
189     
190     <method name="SetSurfaceDestinationRegion">
191       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_surface_set_destination_region"/>
192       <arg type="u" name="surfaceid" direction="in" />
193       <arg type="u" name="left" direction="in" />
194       <arg type="u" name="top" direction="in" />
195       <arg type="u" name="width" direction="in" />
196       <arg type="u" name="height" direction="in" />
197     </method>
198     <method name="SetSurfacePosition">
199       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_surface_set_position"/>
200       <arg type="u" name="surfaceid" direction="in" />
201       <arg type="u" name="left" direction="in" />
202       <arg type="u" name="top" direction="in" />
203     </method>
204     <method name="GetSurfacePosition">
205       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_surface_get_position"/>
206       <arg type="u" name="surfaceid" direction="in" />
207       <arg type="u" name="left" direction="out" />
208       <arg type="u" name="top" direction="out" />
209     </method>
210     <method name="SetSurfaceDimension">
211       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_surface_set_dimension"/>
212       <arg type="u" name="surfaceid" direction="in" />
213       <arg type="u" name="width" direction="in" />
214       <arg type="u" name="height" direction="in" />
215     </method>
216      <method name="SetLayerDestinationRegion">
217       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_layer_set_destination_region"/>
218       <arg type="u" name="layerid" direction="in" />
219       <arg type="u" name="left" direction="in" />
220       <arg type="u" name="top" direction="in" />
221       <arg type="u" name="width" direction="in" />
222       <arg type="u" name="height" direction="in" />
223     </method>
224     <method name="SetLayerPosition">
225       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_layer_set_position"/>
226       <arg type="u" name="layerid" direction="in" />
227       <arg type="u" name="left" direction="in" />
228       <arg type="u" name="top" direction="in" />
229     </method>
230      <method name="GetLayerPosition">
231       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_layer_get_position"/>
232       <arg type="u" name="layerid" direction="in" />
233       <arg type="u" name="left" direction="out" />
234       <arg type="u" name="top" direction="out" />
235     </method>
236         <method name="SetLayerDimension">
237       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_layer_set_dimension"/>
238       <arg type="u" name="layerid" direction="in" />
239       <arg type="u" name="width" direction="in" />
240       <arg type="u" name="height" direction="in" />
241     </method>
242      <method name="GetLayerDimension">
243       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_layer_get_dimension"/>
244       <arg type="u" name="layerid" direction="in" />
245       <arg type="u" name="width" direction="out" />
246       <arg type="u" name="height" direction="out" />
247     </method>
248        <method name="GetSurfaceDimension">
249       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_surface_get_dimension"/>
250       <arg type="u" name="surfaceid" direction="in" />
251       <arg type="u" name="width" direction="out" />
252       <arg type="u" name="height" direction="out" />
253     </method>
254        <method name="SetSurfaceOpacity">
255       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_set_surface_opacity"/>
256       <arg type="u" name="surfaceid" direction="in" />
257       <arg type="d" name="opacity" direction="in" />
258     </method>
259       <method name="SetLayerOpacity">
260       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_set_layer_opacity"/>
261       <arg type="u" name="layerid" direction="in" />
262       <arg type="d" name="opacity" direction="in" />
263     </method>
264       <method name="SetSurfacegroupOpacity">
265       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_set_surfacegroup_opacity"/>
266       <arg type="u" name="surfacegroupid" direction="in" />
267       <arg type="d" name="opacity" direction="in" />
268     </method>
269       <method name="SetLayergroupOpacity">
270       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_set_layergroup_opacity"/>
271       <arg type="u" name="layergroupid" direction="in" />
272       <arg type="d" name="opacity" direction="in" />
273     </method>
274     <method name="GetSurfaceOpacity">
275       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_get_surface_opacity"/>
276       <arg type="u" name="surfaceid" direction="in" />
277       <arg type="d" name="opacity" direction="out" />
278     </method>
279     <method name="GetLayerOpacity">
280       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_get_layer_opacity"/>
281       <arg type="u" name="layerid" direction="in" />
282       <arg type="d" name="opacity" direction="out" />
283     </method>
284        <method name="GetSurfacegroupOpacity">
285       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_get_surfacegroup_opacity"/>
286       <arg type="u" name="surfacegroupid" direction="in" />
287       <arg type="d" name="opacity" direction="out" />
288     </method>
289       <method name="GetLayergroupOpacity">
290       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_get_layergroup_opacity"/>
291       <arg type="u" name="layergroupid" direction="in" />
292       <arg type="d" name="opacity" direction="out" />
293     </method>
294     <method name="SetSurfaceOrientation">
295       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_set_surface_orientation"/>
296       <arg type="u" name="surfaceid" direction="in" />
297       <arg type="u" name="orientation" direction="in" />
298     </method>
299      <method name="SetLayerOrientation">
300       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_set_layer_orientation"/>
301       <arg type="u" name="layerid" direction="in" />
302       <arg type="u" name="orientation" direction="in" />
303     </method>
304     <method name="GetSurfacePixelformat">
305       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_get_surface_pixelformat"/>
306       <arg type="u" name="id" direction="in" />
307       <arg type="u" name="pixelformat" direction="out" />
308     </method>
309     <method name="SetSurfaceVisibility">
310       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_set_surface_visibility"/>
311       <arg type="u" name="id" direction="in" />
312       <arg type="b" name="visibility" direction="in" />
313     </method>
314         <method name="SetLayerVisibility">
315       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_set_layer_visibility"/>
316       <arg type="u" name="id" direction="in" />
317       <arg type="b" name="visibility" direction="in" />
318     </method>
319        <method name="GetSurfaceVisibility">
320       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_get_surface_visibility"/>
321       <arg type="u" name="id" direction="in" />
322       <arg type="b" name="visibility" direction="out" />
323     </method>
324         <method name="GetLayerVisibility">
325       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_get_layer_visibility"/>
326       <arg type="u" name="id" direction="in" />
327       <arg type="b" name="visibility" direction="out" />
328     </method>
329         <method name="SetSurfacegroupVisibility">
330       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_set_surfacegroup_visibility"/>
331       <arg type="u" name="id" direction="in" />
332       <arg type="b" name="visibility" direction="in" />
333     </method>
334         <method name="SetLayergroupVisibility">
335       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_set_layergroup_visibility"/>
336       <arg type="u" name="id" direction="in" />
337       <arg type="b" name="visibility" direction="in" />
338     </method>
339     
340     <method name="SetRenderOrderOfLayers">
341       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_set_renderorder"/>
342       <arg type="au" name="ids" direction="in" />
343       <arg type="u" name="display" direction="in" />
344     </method>
345     <method name="SetSurfaceRenderOrderWithinLayer">
346       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_set_renderorder_within_layer"/>
347       <arg type="u" name="layerid" direction="in" />
348       <arg type="au" name="surfaceids" direction="in" />
349     </method>
350     
351      <method name="GetLayerType">
352       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_get_layer_type"/>
353       <arg type="u" name="layerid" direction="in" />
354       <arg type="u" name="type" direction="out" />
355     </method>
356     
357      <method name="GetLayertypeCapabilities">
358       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_get_layer_type_capabilities"/>
359       <arg type="u" name="layertype" direction="in" />
360       <arg type="u" name="capabilities" direction="out" />
361     </method>
362     
363      <method name="GetLayerCapabilities">
364       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_get_layer_capabilities"/>
365       <arg type="u" name="layerid" direction="in" />
366       <arg type="u" name="capabilities" direction="out" />
367     </method>
368     
369     <method name="Exit">
370       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_exit"/>
371     </method>
372     
373     <method name="CommitChanges">
374       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_commit"/>
375     </method>
376     
377         <!-- shader -->
378     <method name="CreateShader">
379       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_create_shader"/>
380       <arg type="s" name="vertname" direction="in" />
381       <arg type="s" name="fragname" direction="in" />
382       <arg type="u" name="shaderid" direction="out" />
383     </method>
384     
385     <method name="DestroyShader">
386       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_destroy_shader"/>
387       <arg type="u" name="shaderid" direction="in" />
388     </method>
389     
390     <method name="SetShader">
391       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_set_shader"/>
392       <arg type="u" name="id" direction="in" />
393       <arg type="u" name="shaderid" direction="in" />
394     </method>
395
396     <method name="SetUniforms">
397       <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_set_uniforms"/>
398       <arg type="u" name="shaderid" direction="in" />
399       <arg type="as" name="uniforms" direction="in" />
400     </method>
401     
402     
403       </interface>
404 </node>