I spent some time reading and investigating on this. Bear with me, I am doing Kodi development in my spare time and may not be up-to-date on all platforms. Seems Wayland is much better suited to serve as reference platform as X11 does. Is that correct? If so I don't request OML_sync_control for EGL. Don't waste resources and let the old crap die.
Rainer
On Tue, Jun 21, 2016 at 7:15 AM, Rainer Hochecker fernetmenta@kodi.tv wrote:
Thanks for clarification. That changes my view on Wayland.
Cheers, Rainer
On Tue, Jun 21, 2016 at 7:01 AM, Daniel Stone daniel@fooishbar.org wrote:
Hi,
On 21 June 2016 at 14:57, Rainer Hochecker fernetmenta@kodi.tv wrote:
Are you saying that this is outdated: https://wayland.freedesktop.org/faq.html#heading_toc_j_12
A more subtle point is that libGL.so includes the GLX symbols, so
linking to
that library will pull in all the X dependencies. This means that we
can't
link to full GL without pulling in the client side of X, so we're using GLES2 for now. Longer term, we'll need a way to use full GL under
Wayland.
Badly worded, really.
libGL.so includes the GLX API entrypoints, so your libGL will link to X11. For that reason - and because there's no need for it to use full GL - Weston uses GLES2 for its own composition. For clients, if you don't care about this, then you can use libGL + EGL (this has always worked), or there's also libglvnd's libOpenGL (this is new). Given that, it should be reworded.
Cheers, Daniel