2 ***************************************************************************
4 * Copyright 2010 BMW Car IT GmbH
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 ****************************************************************************/
21 <!-- Description file for dbus interface of BMW Compositing Service -->
23 <node name="/de/BMW/CompositingService">
24 <interface name="de.bmw.CompositingService">
27 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_debug"/>
28 <arg type="b" name="onoff" direction="in" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
101 <!-- organisation -->
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
171 <!-- Surface Geometry and properties -->
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
370 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_exit"/>
373 <method name="CommitChanges">
374 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="DBUSCommunicator::compositeService_commit"/>
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" />
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" />
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" />
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" />