Changeset View
Changeset View
Standalone View
Standalone View
src/client/protocols/outputdevice.xml
Show All 22 Lines | 3 | <copyright><![CDATA[ | |||
---|---|---|---|---|---|
23 | FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY | 23 | FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
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="2"> | 32 | <interface name="org_kde_kwin_outputdevice" version="2"> | ||
graesslin: version needs incrementation | |||||
33 | <description summary="output configuration representation"> | 33 | <description summary="output configuration representation"> | ||
34 | An outputdevice describes a display device available to the compositor. | 34 | An outputdevice describes a display device available to the compositor. | ||
35 | outputdevice is similar to wl_output, but focuses on output | 35 | outputdevice is similar to wl_output, but focuses on output | ||
36 | configuration management. | 36 | configuration management. | ||
37 | 37 | | |||
38 | A client can query all global outputdevice objects to enlist all | 38 | A client can query all global outputdevice objects to enlist all | ||
39 | available display devices, even those that may currently not be | 39 | available display devices, even those that may currently not be | ||
40 | represented by the compositor as a wl_output. | 40 | represented by the compositor as a wl_output. | ||
▲ Show 20 Lines • Show All 140 Lines • ▼ Show 20 Line(s) | 166 | <description summary="output scaling properties"> | |||
181 | output it should use wl_surface.set_buffer_scale with | 181 | output it should use wl_surface.set_buffer_scale with | ||
182 | the scale of the output. That way the compositor can | 182 | the scale of the output. That way the compositor can | ||
183 | avoid scaling the surface, and the client can supply | 183 | avoid scaling the surface, and the client can supply | ||
184 | a higher detail image. | 184 | a higher detail image. | ||
185 | </description> | 185 | </description> | ||
186 | <arg name="factor" type="int" summary="scaling factor of output"/> | 186 | <arg name="factor" type="int" summary="scaling factor of output"/> | ||
187 | </event> | 187 | </event> | ||
188 | 188 | | |||
189 | <event name="edid"> | 189 | <event name="edid"> | ||
graesslin: you cannot add events in between, new one needs to be last. | |||||
190 | <description summary="advertise EDID data for the output"> | 190 | <description summary="advertise EDID data for the output"> | ||
191 | The edid event encapsulates the EDID data for the outputdevice. | 191 | The edid event encapsulates the EDID data for the outputdevice. | ||
192 | 192 | | |||
193 | The event is sent when binding to the output object. The EDID | 193 | The event is sent when binding to the output object. The EDID | ||
194 | data may be empty, in which case this event is sent anyway. | 194 | data may be empty, in which case this event is sent anyway. | ||
195 | If the EDID information is empty, you can fall back to the name | 195 | If the EDID information is empty, you can fall back to the name | ||
196 | et al. properties of the outputdevice. | 196 | et al. properties of the outputdevice. | ||
197 | </description> | 197 | </description> | ||
▲ Show 20 Lines • Show All 52 Lines • ▼ Show 20 Line(s) | 232 | <description summary="output scaling properties"> | |||
250 | a higher detail image. | 250 | a higher detail image. | ||
251 | 251 | | |||
252 | wl_output will keep the output scale as an integer. In every situation except | 252 | wl_output will keep the output scale as an integer. In every situation except | ||
253 | configuring the window manager you want to use that. | 253 | configuring the window manager you want to use that. | ||
254 | </description> | 254 | </description> | ||
255 | <arg name="factor" type="fixed" summary="scaling factor of output"/> | 255 | <arg name="factor" type="fixed" summary="scaling factor of output"/> | ||
256 | </event> | 256 | </event> | ||
257 | 257 | | |||
258 | 258 | <event name="colorcurves" since="2"> | |||
259 | <description summary="output color curves"> | ||||
260 | Decribes the color intensity profile of the output. | ||||
261 | Commonly used for gamma/color correction. | ||||
262 | | ||||
263 | The array contains all color ramp values of the output. | ||||
264 | For example on 8bit screens there are 256 of them. | ||||
265 | | ||||
266 | The array elements are unsigned 16bit integers. | ||||
267 | </description> | ||||
268 | <arg name="red" type="array" | ||||
269 | summary="red color ramp"/> | ||||
270 | <arg name="green" type="array" | ||||
271 | summary="green color ramp"/> | ||||
272 | <arg name="blue" type="array" | ||||
273 | summary="blue color ramp"/> | ||||
274 | </event> | ||||
259 | 275 | | |||
260 | </interface> | 276 | </interface> | ||
261 | 277 | | |||
262 | 278 | | |||
263 | 279 | | |||
264 | </protocol> | 280 | </protocol> |
version needs incrementation