On Thursday, November 15, 2018 2:00 AM, Scott Anderson 
<scott.ander...@collabora.com> wrote:
> > +    <event name="blending_equation">
> > +      <description summary="supported blending equations">
> > +        This event advertises the blending equations that the server
> > +        supports. All the supported blending equations are advertised once
> > +        when the client binds to this interface. A roundtrip after binding
> > +        guarantees that the client has received all supported blending
> > +        equations.
> > +
> > +        For the definition of the blending equations, see the
> > +        zwp_blending_v1.blending_equation enum.
> > +
> > +        The server must always advertise the 'none' blending equation.
>
> Would it make sense to require the server to advertise 'none' last, so
> clients can treat it as an end-of-list?

I'm not a fan of this idea. If it is really needed, a "done" event would be
better. However, the list is advertised once on bind and doesn't change, so I
don't think this is necessary. Just making clients do a roundtrip should be
enough (as it's done in other protocols like linux-dmabuf).
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to