[Wayland-bugs] [Bug 761312] memory leak
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Tue Feb 2 01:40:46 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=761312
--- Comment #21 from Jonas Ã…dahl <jadahl at gmail.com> ---
I'd assume I can't touch a texture until after swapping. In any way, if a
commit replaces a buffer before the swap, the previous buffer should be
released immediately anyway, and the new buffer should be the one that is drawn
the coming frame.
And I also assume you can't release a buffer that is drawn using a hw-plane
until after a flip. If the flow is commit -> draw -> flip -> commit, I assume
we can release such buffers on the second commit, but if its commit -> draw ->
commit -> flip, we'd need to wait with releasing until after the flip. But I
guess that won't happen since we always flip directy after drawing (?).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20160202/dbd8d57b/attachment.html>
More information about the wayland-bugs
mailing list