[Mesa-dev] [Bug 95079] GLX and OpenGL should be separated
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Apr 25 14:44:24 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=95079
--- Comment #3 from Cédric Legrand <legrand.cedric.01 at gmail.com> ---
I'm sorry if I'm wrong, I don't know a lot of things about OpenGL
implementation, but here are the facts:
* Wayland EGL won't create an OpenGL context. All OpenGL functions are NULL
when I try, only OpenGL ES is working. From the Wayland FAQ, this is because
Linux OpenGL implementation is bound to GLX
(https://wayland.freedesktop.org/faq.html#heading_toc_j_12).
* Mesa is only providing a libGL for both APIs
* Nvidia is providing separated libraries with what seems to be a wrapper (I
think for the historical reasons you are talking about), as I described in my
first post.
I must admit that I don't know if the problem comes from the standards, the
implementation or Wayland design, nor why exactly Nvidia did it this way.
By the way, as I see it, having them split would allow package maintainers to
provide a version of Mesa without libX11 dependency. At the moment, libX11 is
almost required, even on a Wayland/Mir system, but this will become less and
less the case over time, until the day both worlds will be totally separated
(and maybe X11 considered as deprecated). This day, Mesa maintainers would have
to ship two versions of the package: a mesa-gl without GLX, and a
mesa-gl-compat with GLX, conflicting each other. With a split, libGL would be
either a symlink to libOpenGL or a wrapper around libGLX and libOpenGL.
> One can use OpenGL even if libGL is not present on the system
Seems difficult, isn't actually libGL the OpenGL provider?
As I said, I'm not turned into this, so I may be totally wrong. In this case, I
would appreciate to know what I got wrong.
PS: I'm sorry if my English is not perfect, as my name stands I'm a Frenchie...
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160425/7b1991e1/attachment.html>
More information about the mesa-dev
mailing list