[PATCH wayland-protocols v3] unstable/drm-lease: DRM lease protocol support

Philipp Zabel p.zabel at pengutronix.de
Thu Aug 23 06:49:13 UTC 2018


On Mon, 2018-08-20 at 23:00 +0300, Marius Vlad wrote:
[...]
> +  <interface name="zwp_kms_lease_request_v1" version="1">
> +    <description summary="lease request object">
> +      This interface is used for managing zwp_kms_lease_v1 object. It is used
> +      to create a zwp_kms_lease_v1 object (the actual lease object) and also to
> +      revoke the lease.
> +    </description>
> +
> +    <request name="destroy" type="destructor">
> +      <description summary="destroys the lease request object">
> +        This has no effect on any remaining objects created through this
> +        interface.
> +      </description>
> +    </request>
> +
> +  <request name="create">
> +    <description summary="create">
> +      Create a lease using the connector output name received in zwp_kms_lease_manager_v1::connectors.
> +      Any attempt to use an incorrect connector name will reswult in zwp_kms_lease_request_v1::failed.
> +    </description>
> +    <arg name="connector" type="string" summary="connector output name"/>

Instead of submitting the connector identification as an argument to the
create request, would adding a separate add_connector request be more
extensible?

That would allow to request a single lease for multiple connectors,
or to add a mechanism to request adding overlay planes to the lease.

regards
Philipp


More information about the wayland-devel mailing list