Warning, /libraries/plasma-wayland-protocols/src/protocols/wayland-eglstream-controller.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <protocol name="wl_eglstream_controller">
0003   <copyright>
0004     SPDX-FileCopyrightText: 2017-2018, NVIDIA CORPORATION. All rights reserved.
0005 
0006     SPDX-License-Identifier: MIT
0007   </copyright>
0008   <interface name="wl_eglstream_controller" version="2">
0009     <!-- Present mode types. This enum defines what the present mode given
0010          to a attach_eglstream_consumer_attribs request represents -->
0011     <enum name="present_mode">
0012       <description summary="Stream present mode">
0013           - dont_care: Using this enum will tell the server to make its own
0014                        decisions regarding present mode.
0015 
0016           - fifo:      Tells the server to use a fifo present mode. The decision to
0017                        use fifo synchronous is left up to the server.
0018 
0019           - mailbox:   Tells the server to use a mailbox present mode.
0020       </description>
0021       <entry name="dont_care" value="0" summary="Let the Server decide present mode"/>
0022       <entry name="fifo" value="1" summary="Use a fifo present mode"/>
0023       <entry name="mailbox" value="2" summary="Use a mailbox mode"/>
0024     </enum>
0025 
0026     <enum name="attrib">
0027       <description summary="Stream consumer attachment attributes">
0028           - present_mode: Must be one of wl_eglstream_controller_present_mode. Tells the
0029                           server the desired present mode that should be used.
0030 
0031           - fifo_length:  Only valid when the present_mode attrib is provided and its
0032                           value is specified as fifo. Tells the server the desired fifo
0033                           length to be used when the desired present_mode is fifo.
0034       </description>
0035       <entry name="present_mode" value="0" summary="Tells the server the desired present mode"/>
0036       <entry name="fifo_length" value="1" summary="Tells the server the desired fifo length when the desired presenation_mode is fifo."/>
0037     </enum>
0038 
0039     <request name="attach_eglstream_consumer" since="1">
0040       <description summary="Create server stream and attach consumer">
0041         Creates the corresponding server side EGLStream from the given wl_buffer
0042         and attaches a consumer to it.
0043       </description>
0044       <arg name="wl_surface" type="object" interface="wl_surface"
0045         summary="wl_surface corresponds to the client surface associated with
0046         newly created eglstream"/>
0047       <arg name="wl_resource" type="object" interface="wl_buffer"
0048         summary="wl_resource corresponding to an EGLStream"/>
0049     </request>
0050 
0051     <request name="attach_eglstream_consumer_attribs" since="2">
0052       <description summary="Create server stream and attach consumer using attributes">
0053         Creates the corresponding server side EGLStream from the given wl_buffer
0054         and attaches a consumer to it using the given attributes.
0055       </description>
0056       <arg name="wl_surface" type="object" interface="wl_surface"
0057         summary="wl_surface corresponds to the client surface associated with
0058         newly created eglstream"/>
0059       <arg name="wl_resource" type="object" interface="wl_buffer"
0060         summary="wl_resource corresponding to an EGLStream"/>
0061       <arg name="attribs" type="array"
0062         summary="Stream consumer attachment attribs">
0063         <description summary="List of attributes with consumer attachment data">
0064           It contains key-value pairs compatible with intptr_t type. A key must
0065           be one of wl_eglstream_controller_attrib enumeration values. What a value
0066           represents is attribute-specific.
0067         </description>
0068       </arg>
0069     </request>
0070   </interface>
0071 </protocol>