[Wayland-bugs] [Bug 727452] Wayland windows with non-trivial alpha get new content drawn over old

Pekka Paalanen ppaalanen at gmail.com
Wed Apr 2 07:15:22 PDT 2014


On Wed,  2 Apr 2014 13:59:04 +0000 (UTC)
"gtk+" (bugzilla.gnome.org) <bugzilla at gnome.org> wrote:

> https://bugzilla.gnome.org/show_bug.cgi?id=727452
>   gtk+ | Backend: Wayland | 3.12.x
> 
> --- Comment #10 from Matthias Clasen <mclasen at redhat.com> 2014-04-02 13:58:59 UTC ---
> Hmm, I see the shadow problem with weston, but not with mutter-wayland. I guess
> the buffer handling is slightly different between the two ?
> 

How about the opaque region?

Weston optimizes all out from the opaque region by painting opaque and
non-opaque separately - opaque with blending disabled. If a region that
is marked opaque is not really opaque according to alpha channel, it
will render wrong.

But if the shadows are indeed only getting stronger, and not just a big
black block, it doesn't sound like an opaque region problem... unless
something has changed in weston.

So when the shadows grow stronger, I assume they stay as strong even if
you move the window, right? So it's really the client rendering
incorrectly, not Weston rendering incorrectly based on client's state?


Thanks,
pq


More information about the Wayland-bugs mailing list