[Wayland-bugs] [Bug 75303] Protocol: wl_buffer.release is racy
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Sep 16 23:10:15 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=75303
--- Comment #5 from Pekka Paalanen <ppaalanen at gmail.com> ---
(In reply to Bill Spitzak from comment #4)
> Could the buffer release include some kind of serial number indicating which
> attach was the last one done to the buffer?
We cannot change the signature of the release event, and we cannot add another
event to wl_buffer because wl_buffer has several unrelated factories, which
makes extending wl_buffer interface in particular impossible. Using serials
would also require extending wl_surface.attach somehow carry a serial in the
first place.
Client side reference counting, that is, for every committed attach there will
be a release, seems like the preferred solution to me at the moment.
I've forgot the details related to the possibility of implementing
wl_proxy_get_version(), but from what I recall, it should be perfectly doable
since we already have runtime object version inheritance in libwayland-client
(don't we?).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150917/15d87441/attachment.html>
More information about the wayland-bugs
mailing list