[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
Mon May 5 07:07:50 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=78190
--- Comment #3 from Jason Ekstrand <jason at jlekstrand.net> ---
Pekka,
Yes, as you mentioned, the EGL api is not versioned, so we can't really change
it; at least not easily. Also, it has the same problem as some of the other
options of simply pushing the problem back into EGL. If we do that, then we
are waiting on EGL implementations to fix our problem for us and some of them
probably never will. Also, thanks to the lack of versioning, the clien't can't
realy know if the EGL implementation supports it.
Also, for what it's worth, I don't think making eglSwapBuffersWithDamageEXT
take damage in surface coordinates makes sense. It intentionally uses the same
coordinate system as glViewport, glReadPixels, and friends which are all
inherently in buffer coordinates (or flipped buffer coordinates if you prefer).
It's an EGL call and EGL doesn't know about surface transforms. Having
eglSwapBuffersWithDamageEXT work in flipped window-system-specific surface
coordiantes just adds to the proliferation of coordinate systems.
--
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/20140505/7341d8f0/attachment.html>
More information about the Wayland-bugs
mailing list