[Wayland-bugs] [Bug 84117] Weston calls eglCreateImageKHR/eglDestroyImageKHR every frame

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 22 00:47:49 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84117

--- Comment #2 from Sunny <sjwlaoda at 163.com> ---
(In reply to comment #1)
> 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?

thanks for your quick response. the "frame" I mentioned is attach+commits as
you described.

-- 
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/a80eb0c8/attachment.html>


More information about the wayland-bugs mailing list