[Wayland-bugs] [Bug 761312] memory leak
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Tue Feb 2 09:00:40 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=761312
--- Comment #24 from Daniel Stone <daniel at fooishbar.org> ---
(In reply to Jasper St. Pierre from comment #20)
> Is it even possible to know when the GPU is done with an imported buffer in
> OpenGL, except until after swap?
It's not even finished after swap; that's just when it gets scheduled. glFinish
or EGL Sync objects will tell you, but in practical terms, Weston demands that
the kernel synchronise rendering in FIFO receive order, and that SwapBuffers
flush rendering, so it's safe to release it after having called SwapBuffers on
the last frame you'll use it for.
Having surfaces directly scanned out of course complicates things and demands
you wait for flip-complete events from KMS, but luckily you dodged that bullet,
so.
--
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/6333e5fb/attachment-0001.html>
More information about the wayland-bugs
mailing list