Changeset View
Changeset View
Standalone View
Standalone View
src/client/protocols/remote-access.xml
- This file was added.
1 | <?xml version="1.0" encoding="UTF-8"?> | ||||
---|---|---|---|---|---|
2 | <protocol name="remote_access"> | ||||
3 | <copyright><![CDATA[ | ||||
4 | Copyright (C) 2016 Oleg Chernovskiy | ||||
5 | | ||||
6 | This program is free software: you can redistribute it and/or modify | ||||
7 | it under the terms of the GNU Lesser General Public License as published by | ||||
8 | the Free Software Foundation, either version 2.1 of the License, or | ||||
9 | (at your option) any later version. | ||||
10 | | ||||
11 | This program is distributed in the hope that it will be useful, | ||||
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
14 | GNU Lesser General Public License for more details. | ||||
15 | | ||||
16 | You should have received a copy of the GNU Lesser General Public License | ||||
17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||||
18 | ]]></copyright> | ||||
19 | <interface name="org_kde_kwin_remote_access_manager" version="1"> | ||||
20 | <description summary="Protocol for managing rendered GBM buffers passing"/> | ||||
21 | <event name="buffer_ready" since="1"> | ||||
22 | <description summary="Signals about buffer ready to be consumed by clients"/> | ||||
23 | <arg name="id" type="uint" summary="unique id of created buffer (you can use server-side fd number)"/> | ||||
24 | </event> | ||||
25 | <request name="get_buffer" since="1"> | ||||
26 | <description summary="Answer on buffer_ready event, retrieves new buffer from server"/> | ||||
27 | <arg name="buffer" type="new_id" interface="org_kde_kwin_remote_buffer"/> | ||||
28 | <arg name="internal_buffer_id" type="uint" summary="The internal buffer id of the buffer to create"/> | ||||
29 | </request> | ||||
30 | <request name="release" type="destructor"> | ||||
31 | <description summary="release org_kde_kwin_remote_access_manager interface"/> | ||||
32 | </request> | ||||
33 | </interface> | ||||
34 | <interface name="org_kde_kwin_remote_buffer" version="1"> | ||||
35 | <description summary="This interface allows finer control of remote buffer lifecycle"/> | ||||
36 | <event name="gbm_handle" since="1"> | ||||
37 | <description summary="This is sent after binding to remote access manager" /> | ||||
38 | <arg name="fd" type="fd"/> | ||||
39 | <arg name="width" type="uint"/> | ||||
40 | <arg name="height" type="uint"/> | ||||
41 | <arg name="stride" type="uint"/> | ||||
42 | <arg name="format" type="uint"/> | ||||
43 | </event> | ||||
44 | <request name="release" type="destructor" since="1"> | ||||
45 | <description summary="This request comes once client no longer needs this buffer."/> | ||||
46 | </request> | ||||
47 | </interface> | ||||
48 | </protocol> |