[Wayland-bugs] [Bug 84117] Weston calls eglCreateImageKHR/eglDestroyImageKHR every frame
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Sep 21 23:12:42 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=84117
--- Comment #1 from Pekka Paalanen <ppaalanen at gmail.com> ---
Yeah, I seem to recall noticing this while looking at the code in the past too,
and I agree it should be fixed. The DRM backend may have additional similar
issues when using overlays or direct scanout, which actually causes re-doing
the work every output frame, not just every input frame.
I always forget what the EGL image extension specs say about content
guarantees, but obviously we should avoid unneeded work when possible. So, we
should verify if we can keep the EGLImage around while the client re-uses it as
long as the wl_buffer exists. If that is guaranteed to work, we probably need
some renderer-specific state attached to weston_buffer to implement the fix.
(Note: mind the renderer hand-over.)
By "frame" you do mean every frame the client attach+commits that actually gets
into output repaint, right? Not every frame the compositor paints?
--
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/20140922/94f385c3/attachment.html>
More information about the wayland-bugs
mailing list