Re: [RFC wayland-protocols] Add alpha-compositing protocol
Hi Alexandros, On Tue, 8 Aug 2017 at 15:25, Alexandros Frantzis wrote: > This protocol specifies a set of interfaces used to control the alpha > compositing and blending of surface contents. > > It's based on the Chromium Wayland protocol of the same name ([1]), > with a few changes made to the blending_equation enumeration. > > [...] > > + > + > + An additional interface to a wl_surface object, which allows the > + client to specify the blending equation used for compositing and > + an alpha value applied to the whole surface. > + > + When the blending object is created its blending equation is > + 'none' and its alpha is 1.0, i.e., it's inactive by default. Clients > + can activate it by setting the blending equation and alpha value. This doesn't specify any interaction with per-pixel alpha values. Is it an additional step after per-pixel alpha, or does it replace per-pixel alpha? Beyond that, looks good to me. Cheers, Daniel ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel
Re: [RFC,wayland-protocols] Add alpha-compositing protocol
On Fri, Sep 07, 2018 at 04:02:24PM +0200, Gary Bisson wrote: > Hi Alexandros, All, > > On Tue, Aug 08, 2017 at 05:24:58PM +0300, Alexandros Frantzis wrote: > > This protocol specifies a set of interfaces used to control the alpha > > compositing and blending of surface contents. > > > > It's based on the Chromium Wayland protocol of the same name ([1]), > > with a few changes made to the blending_equation enumeration. > > > > A proof-of-concept implementation for Weston can be found at: > > > > https://git.collabora.com/cgit/user/alf/weston.git/log/?h=alpha-compositing-v1 > > > > [1] > > https://chromium.googlesource.com/chromium/src/+/master/third_party/wayland-protocols/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml > > Was there any feedback on this RFC? On top of Chromium, it seems that > NXP is now also using it for its i.MX processors [2]. So it would > definitely be great to have this protocol upstream. > > Note that NXP apparently modified this version of the patch a bit. > > Regards, > Gary > > [2] > https://source.codeaurora.org/external/imx/wayland-protocols-imx/commit/?id=799164a4 Hi Gary, thanks for bringing the i.MX version to my/our attention. I haven't received any feedback about this proposal so far, but I am happy to revive the upstreaming effort as soon as I do. To this end, I have also added Haihua Hu (from NXP) to the CC list for this thread. Thanks, Alexandros ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel
Re: [RFC,wayland-protocols] Add alpha-compositing protocol
Hi Alexandros, All, On Tue, Aug 08, 2017 at 05:24:58PM +0300, Alexandros Frantzis wrote: > This protocol specifies a set of interfaces used to control the alpha > compositing and blending of surface contents. > > It's based on the Chromium Wayland protocol of the same name ([1]), > with a few changes made to the blending_equation enumeration. > > A proof-of-concept implementation for Weston can be found at: > > https://git.collabora.com/cgit/user/alf/weston.git/log/?h=alpha-compositing-v1 > > [1] > https://chromium.googlesource.com/chromium/src/+/master/third_party/wayland-protocols/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml Was there any feedback on this RFC? On top of Chromium, it seems that NXP is now also using it for its i.MX processors [2]. So it would definitely be great to have this protocol upstream. Note that NXP apparently modified this version of the patch a bit. Regards, Gary [2] https://source.codeaurora.org/external/imx/wayland-protocols-imx/commit/?id=799164a4 ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel