Re: Any protocol documentation about premultiplied alpha?

2021-09-29 Thread Hoosier, Matt
I put together https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/180 . From: Simon Ser Sent: Wednesday, September 29, 2021 8:28:08 AM To: Hoosier, Matt Cc: Pekka Paalanen; wayland-devel@lists.freedesktop.org; Carsten Haitzler Subject: Re: Any protoc

Re: Any protocol documentation about premultiplied alpha?

2021-09-29 Thread Simon Ser
On Wednesday, September 29th, 2021 at 15:23, Hoosier, Matt wrote: > Would anybody be interested in some kind of comment inserted into the > documentation for wl_buffer that expresses this implicit expectation? Yeah, I think it would be nice to mention this. But still allow other protocols to ov

Re: Any protocol documentation about premultiplied alpha?

2021-09-29 Thread Hoosier, Matt
Thanks, Pekka/Carsten/Simon. I consider myself duly corrected ;) Apparently my snapshot of Weston wasn't rebased after the master -> main transition, that shader fragment file didn't exist, and I didn't encounter the comment. I admit I didn't recognize the glBlendFunc() clues that already exis

Re: Any protocol documentation about premultiplied alpha?

2021-09-29 Thread Pekka Paalanen
On Tue, 28 Sep 2021 13:16:36 + "Hoosier, Matt" wrote: > 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? Hi, yes, this is r