Re: Any protocol documentation about premultiplied alpha?

2021-09-28 Thread Carsten Haitzler
On Tue, 28 Sep 2021 13:16:36 + "Hoosier, Matt" said: premultiplpied is the base assumption. you don't need shaders to deal with it - the gl blend func does... the only time you want a shader to deal with "premultiplied" is if the source buffer is NOT premultiplied - you now have to do the ext

Re: Any protocol documentation about premultiplied alpha?

2021-09-28 Thread Simon Ser
Both Wayland and KMS assume pre-multiplied alpha.

Any protocol documentation about premultiplied alpha?

2021-09-28 Thread Hoosier, Matt
Hi there, Is there any definitive word about whether or not clients should be expected or allowed to premultiply alpha the alpha channels in the normal EGL and linux-dmabuf buffers they send to a compositor? I have never seen this practice used with Wayland -- the shaders in the gl-renderer