blob: 2ea8e158a139fb8618dffd54b76eeb367c1adebd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
<protocol name="wl_eom">
<interface name="wl_eom" version="1">
<description summary="an interface to get the information of the external outputs">
***** TODO ******
</description>
<enum name="error">
<entry name="none" value="0" summary="no error"/>
<entry name="no_output" value="1" summary="Given output is invalid."/>
<entry name="no_attribute" value="2" summary="Given attribute is invalid."/>
<entry name="output_occupied" value="3" summary="The key has been grabbed already."/>
</enum>
<enum name="type">
<description summary="connector type of the external output">
***** TODO ******
</description>
<entry name="none" value="0" summary="none"/>
<entry name="vga" value="1" summary="VGA output connector type"/>
<entry name="divi" value="2" summary="VGA output connector type"/>
<entry name="divd" value="3" summary="VGA output connector type"/>
<entry name="diva" value="4" summary="VGA output connector type"/>
<entry name="composite" value="5" summary="VGA output connector type"/>
<entry name="svideo" value="6" summary="VGA output connector type"/>
<entry name="lvds" value="7" summary="VGA output connector type"/>
<entry name="component" value="8" summary="VGA output connector type"/>
<entry name="9pindin" value="9" summary="VGA output connector type"/>
<entry name="displayport" value="10" summary="VGA output connector type"/>
<entry name="hdmia" value="11" summary="VGA output connector type"/>
<entry name="hdmib" value="12" summary="VGA output connector type"/>
<entry name="tv" value="13" summary="VGA output connector type"/>
<entry name="edp" value="14" summary="VGA output connector type"/>
<entry name="virtual" value="15" summary="VGA output connector type"/>
<entry name="dsi" value="16" summary="VGA output connector type"/>
</enum>
<enum name="status">
<description summary="connection status of the external output">
***** TODO ******
</description>
<entry name="none" value="0" summary="none"/>
<entry name="connection" value="1" summary="output connected"/>
<entry name="disconnection" value="2" summary="output disconnected"/>
</enum>
<enum name="mode">
<description summary="mode of the external output">
***** TODO ******
</description>
<entry name="none" value="0" summary="none"/>
<entry name="mirror" value="1" summary="mirror mode"/>
<entry name="presentation" value="2" summary="presentation mode"/>
</enum>
<enum name="attribute">
<description summary="attribute of the external output">
***** TODO ******
</description>
<entry name="none" value="0" summary="none"/>
<entry name="normal" value="1" summary="nomal attribute"/>
<entry name="exclusive_shared" value="2" summary="exclusive shared attribute"/>
<entry name="exclusive" value="3" summary="exclusive attribute"/>
</enum>
<enum name="attribute_state">
<description summary="state of the external output attribute">
***** TODO ******
</description>
<entry name="none" value="0" summary="none"/>
<entry name="active" value="1" summary="attribute is active on the output"/>
<entry name="inactive" value="2" summary="attribute is inactive on the output"/>
<entry name="lost" value="3" summary="the connection of output is lost"/>
</enum>
<request name="set_attribute">
<arg name="output_id" type="uint"/>
<arg name="attribute" type="uint"/>
</request>
<request name="set_xdg_window">
<arg name="output_id" type="uint"/>
<arg name="surface" type="object" interface="xdg_surface" allow-null="false"/>
</request>
<request name="set_shell_window">
<arg name="output_id" type="uint"/>
<arg name="surface" type="object" interface="wl_shell_surface" allow-null="false"/>
</request>
<request name="get_output_info">
<arg name="output_id" type="uint"/>
</request>
<event name="output_count">
<arg name="count" type="uint"/>
</event>
<event name="output_info">
<arg name="output_id" type="uint"/>
<arg name="type" type="uint"/>
<arg name="mode" type="uint"/>
<arg name="w" type="uint"/>
<arg name="h" type="uint"/>
<arg name="w_mm" type="uint"/>
<arg name="h_mm" type="uint"/>
<arg name="connection" type="uint"/>
<arg name="skip" type="uint"/>
<arg name="attribute" type="uint"/>
<arg name="attribute_state" type="uint"/>
<arg name="error" type="uint"/>
</event>
<event name="output_type">
<arg name="output_id" type="uint"/>
<arg name="type" type="uint"/>
<arg name="status" type="uint"/>
</event>
<event name="output_mode">
<arg name="output_id" type="uint"/>
<arg name="mode" type="uint"/>
</event>
<event name="output_attribute">
<arg name="output_id" type="uint"/>
<arg name="attribute" type="uint"/>
<arg name="attribute_state" type="uint"/>
<arg name="error" type="uint"/>
</event>
<event name="output_set_window">
<arg name="output_id" type="uint"/>
<arg name="error" type="uint"/>
</event>
</interface>
</protocol>
|