[PATCH 1/3] wayland: Add wl_output name event

Wang, Quanxian quanxian.wang at intel.com
Tue Mar 18 19:04:29 PDT 2014

>-----Original Message-----
>From: Bryce W. Harrington [mailto:b.harrington at samsung.com]
>Sent: Wednesday, March 19, 2014 10:01 AM
>To: Wang, Quanxian
>Cc: wayland-devel at lists.freedesktop.org; jason at jlekstrand.net
>Subject: Re: [PATCH 1/3] wayland: Add wl_output name event
>On Wed, Mar 19, 2014 at 01:54:13AM +0000, Wang, Quanxian wrote:
>> [Wang, Quanxian] Thanks Bryce.
>> >I glanced at the other patches and they look technically correct, but
>> >I think what might be missing here is a stronger justification about why this is
>> [Wang, Quanxian] name is one property of output which is assigned
>> detected by backend. In compositor, it is visible. Why is it assigned
>> as a name in compositor? I think display it in compositor logs will be
>> one of reason. Therefore the same thing in client.  At the same time,
>> it provides a good communication with compositor as a choice. Client
>> could take it as a parameter to communicate with compositor, instead
>> of only by wl_output object. I like your word 'human-readable'
>> especially for client. Give client a choice to communicate with
>> compositor without wl_output object, and also give client a choice to
>> display human-readable name in log which is visible to customer.
>> Currently I am designing weston randr protocol, customer(admin or
>> developer) could input a char name to stand for an output from command
>> line. It is just one usage. Anyway, name of output
>That's a good example to include for justification; maybe include mention of the
>randr use case in your commit message.
[Wang, Quanxian] Got it. Thanks
>> should be visible for both of compositor and client.
>> >> +      </description>
>> >> +      <arg name="name" type="string" summary="name of output"/>
>> >> +    </event>
>> >>    </interface>
>> >>
>> >>    <interface name="wl_region" version="1">
>> >> --
>> >>
>> >>
>> >> _______________________________________________
>> >> wayland-devel mailing list
>> >> wayland-devel at lists.freedesktop.org
>> >> http://lists.freedesktop.org/mailman/listinfo/wayland-devel

More information about the wayland-devel mailing list