[Wayland-bugs] [Bug 78190] protocol: Reporting damage in surface coordinates doesn't work with EGL

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 8 05:11:53 PDT 2014


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

--- Comment #16 from Jason Ekstrand <jason at jlekstrand.net> ---
(In reply to Daniel Stone from comment #15)
> (In reply to Jason Ekstrand from comment #14)
> > I was under the impression that we had a pile of unfixable
> > never-going-to-bee-patched EGL implementations floating around that we
> > needed to work around.  If that's not a huge issue than adding a
> > buffer_damage request is fine
> 
> Not really, no. The only one which fits that bill (implements
> SwapBuffersWithDamage and is known to not always send infinite damage) is
> PowerVR. However, the PVR implementations are third-party, not distributed
> by Imagination themselves, so I think breaking those is completely fine:
> we're not going to break anything by upgrading that no-one can fix.

What about just eglSwapBuffers with finite damage?  Even those are broken
because, if you do a 90-degree transformation on a non-square surface, your
damage will not fill the surface.  For instance, on a 300x400 buffer with a
surface transform of 90, you have a surface that's 400x300 and since you damage
the buffer size, it gets clipped to 300x300.

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


More information about the wayland-bugs mailing list