After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788197 - wayland/surface: Send buffer release events immediately
wayland/surface: Send buffer release events immediately
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: wayland
unspecified
Other All
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2017-09-26 15:30 UTC by Jonas Ådahl
Modified: 2017-09-28 14:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
wayland/surface: Send buffer release events immediately (1.10 KB, patch)
2017-09-26 15:30 UTC, Jonas Ådahl
committed Details | Review

Description Jonas Ådahl 2017-09-26 15:30:53 UTC
See the patch for details, or
https://lists.freedesktop.org/archives/wayland-devel/2017-September/035147.html
for even more.
Comment 1 Jonas Ådahl 2017-09-26 15:30:58 UTC
Created attachment 360462 [details] [review]
wayland/surface: Send buffer release events immediately

Just queuing the buffer release event is prone to starvation, so send
the release immediately. See
https://lists.freedesktop.org/archives/wayland-devel/2017-September/035147.html
for more detailed explanation.
Comment 2 Rui Matos 2017-09-27 17:51:48 UTC
Review of attachment 360462 [details] [review]:

++ should it go to the stable branch too? from the wayland-devel discussion it seems like a useful and low risk fix
Comment 3 Jonas Ådahl 2017-09-27 18:10:28 UTC
We haven't branched yet have we? Either way, yes it should be pretty safe and I think this can even land on .24 as well.
Comment 4 Jonas Ådahl 2017-09-28 13:58:36 UTC
Attachment 360462 [details] pushed as 4e7405a - wayland/surface: Send buffer release events immediately
Comment 5 Jonas Ådahl 2017-09-28 14:00:31 UTC
Backported to the 3.24 branch.