Changeset View
Changeset View
Standalone View
Standalone View
src/client/protocols/outputdevice.xml
Show All 23 Lines | 3 | <copyright><![CDATA[ | |||
---|---|---|---|---|---|
24 | SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | 24 | SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
25 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN | 25 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN | ||
26 | AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, | 26 | AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, | ||
27 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF | 27 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF | ||
28 | THIS SOFTWARE. | 28 | THIS SOFTWARE. | ||
29 | ]]></copyright> | 29 | ]]></copyright> | ||
30 | 30 | | |||
31 | 31 | | |||
32 | <interface name="org_kde_kwin_outputdevice" version="1"> | 32 | <interface name="org_kde_kwin_outputdevice" version="2"> | ||
graesslin: version needs incrementation | |||||
33 | <description summary="compositor output region"> | 33 | <description summary="compositor output region"> | ||
34 | An outputdevice describes a physical monitor connected to the system. | 34 | An outputdevice describes a physical monitor connected to the system. | ||
35 | outputdevice is similar to wl_output, but focuses on screen | 35 | outputdevice is similar to wl_output, but focuses on screen | ||
36 | management. The screen configuration client uses outputdevices to | 36 | management. The screen configuration client uses outputdevices to | ||
37 | enlist connected devices, even those that may currently not be used | 37 | enlist connected devices, even those that may currently not be used | ||
38 | by the compositor as wl_output. It sends configuration changes to the | 38 | by the compositor as wl_output. It sends configuration changes to the | ||
39 | compositor through the outputconfiguration interface, which applies the | 39 | compositor through the outputconfiguration interface, which applies the | ||
40 | settings to the hardware and signals changes the outputdevices | 40 | settings to the hardware and signals changes the outputdevices | ||
▲ Show 20 Lines • Show All 130 Lines • ▼ Show 20 Line(s) | 156 | <description summary="output scaling properties"> | |||
171 | output it should use wl_surface.set_buffer_scale with | 171 | output it should use wl_surface.set_buffer_scale with | ||
172 | the scale of the output. That way the compositor can | 172 | the scale of the output. That way the compositor can | ||
173 | avoid scaling the surface, and the client can supply | 173 | avoid scaling the surface, and the client can supply | ||
174 | a higher detail image. | 174 | a higher detail image. | ||
175 | </description> | 175 | </description> | ||
176 | <arg name="factor" type="int" summary="scaling factor of output"/> | 176 | <arg name="factor" type="int" summary="scaling factor of output"/> | ||
177 | </event> | 177 | </event> | ||
178 | 178 | | |||
179 | <event name="edid"> | 179 | <event name="edid"> | ||
graesslin: you cannot add events in between, new one needs to be last. | |||||
180 | <description summary="advertise EDID data for the output"> | 180 | <description summary="advertise EDID data for the output"> | ||
181 | The edid event encapsulates the EDID data for the outputdevice. | 181 | The edid event encapsulates the EDID data for the outputdevice. | ||
182 | 182 | | |||
183 | The event is sent when binding to the output object. The EDID | 183 | The event is sent when binding to the output object. The EDID | ||
184 | data may be empty, in which case this event is fired, anyway. | 184 | data may be empty, in which case this event is fired, anyway. | ||
185 | If the EDID information is empty, you can fall back to the name | 185 | If the EDID information is empty, you can fall back to the name | ||
186 | et al. properties of the outputdevice. | 186 | et al. properties of the outputdevice. | ||
187 | </description> | 187 | </description> | ||
Show All 24 Lines | 211 | <event name="uuid"> | |||
212 | <description summary="A unique id for this outputdevice"> | 212 | <description summary="A unique id for this outputdevice"> | ||
213 | The uuid can be used to identify the output. It's controlled by the server entirely. | 213 | The uuid can be used to identify the output. It's controlled by the server entirely. | ||
214 | The compositor should make sure the uuid is persistant across restarts. | 214 | The compositor should make sure the uuid is persistant across restarts. | ||
215 | An empty uuid is considered invalid. | 215 | An empty uuid is considered invalid. | ||
216 | </description> | 216 | </description> | ||
217 | <arg name="uuid" type="string" summary="Output devices ID"/> | 217 | <arg name="uuid" type="string" summary="Output devices ID"/> | ||
218 | </event> | 218 | </event> | ||
219 | 219 | | |||
220 | <event name="colorcurves" since="2"> | ||||
221 | <description summary="output color curves"> | ||||
222 | Decribes the color intensity profile of the output. | ||||
223 | Commonly used for gamma/color correction. | ||||
224 | | ||||
225 | The array contains all color ramp values of the output. | ||||
226 | For example on 8bit screens there are 256 of them. | ||||
227 | | ||||
228 | The array elements are unsigned 16bit integers. | ||||
229 | </description> | ||||
230 | <arg name="red" type="array" | ||||
231 | summary="red color ramp"/> | ||||
232 | <arg name="green" type="array" | ||||
233 | summary="green color ramp"/> | ||||
234 | <arg name="blue" type="array" | ||||
235 | summary="blue color ramp"/> | ||||
236 | </event> | ||||
220 | 237 | | |||
221 | </interface> | 238 | </interface> | ||
222 | 239 | | |||
223 | 240 | | |||
224 | 241 | | |||
225 | </protocol> | 242 | </protocol> |
version needs incrementation