[PATCH xserver 0/8] Advertise GLX 1.4 for all DDXes

Adam Jackson ajax at redhat.com
Mon Mar 21 20:29:38 UTC 2016


This is _mostly_ cleanup, but it does have some semantic changes. It seems CGL
does not actually have a MakeCurrent call that lets you specify separate read
and draw surfaces, so that's never in fact worked, and as a result xquartz
technically can't even implement GLX 1.3 (or EGL!). But I suspect zero people
have noticed this since it's a bit of a niche feature. So this changes things
to throw an error in that corner case.

Having done that, we do the same for xwin when the corresponding WGL extension
is absent. After which, all the GLX engines support enough stuff that we can
enable 1.4 across the board. Only took ten years!

 glx/extension_string.c   |  2 +-
 glx/glxcmds.c            | 11 ++-----
 glx/glxdri2.c            | 21 -------------
 glx/glxdriswrast.c       |  6 ----
 glx/glxext.c             |  2 --
 glx/glxscreens.c         | 32 +-------------------
 glx/glxscreens.h         | 11 -------
 glx/glxserver.h          |  3 --
 hw/xquartz/GL/indirect.c | 11 ++-----
 hw/xwin/glx/indirect.c   | 77 +++++++++++++-----------------------------------
 10 files changed, 29 insertions(+), 147 deletions(-)

- ajax



More information about the xorg-devel mailing list