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

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to