[Wayland-bugs] [Bug 762120] [Wayland] Black content when using testfilechooser auto completer

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 16 05:16:57 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=762120

--- Comment #1 from Jonas Ã…dahl <jadahl at gmail.com> ---
Created attachment 321340
  --> https://bugzilla.gnome.org/attachment.cgi?id=321340&action=edit
wayland: Handle after-paint invocations when nothing was painted

If a after-paint was scheduled but nothing was painted, for example when
the it was scheduled by a subsurface wanting to update its position,
we'd still try to read back from the backfill cairo surface and update
the committed cairo surface reference even though no buffer was
attached.

Fix this by adding a new state, 'pending_buffer_attached', which is only
true if a buffer was attached during frame. Only when this is true will
the backfill be read back and the committed cairo surface reference be
updated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160216/1cff683d/attachment.html>


More information about the wayland-bugs mailing list