glx: Import glxvnd server module (v2)

Graphics / X.Org / X.Org Server - Kyle Brenneman [nvidia.com] - 14 February 2018 22:04 EST

This is based on an out-of-tree module written by Kyle:

https://github.com/kbrenneman/libglvnd/tree/server-libglx

I (ajax) did a bunch of cosmetic fixes, ported it off xfree86 API, added request length checks, and fixed a minor bug or two.

v2: Use separate functions to set/get a context tag's private data, and call the backend's MakeCurrent when a client disconnects to unbind the context. (Kyle Brenneman)

8753218be glx: Import glxvnd server module (v2)
glx/Makefile.am | 8 +-
glx/meson.build | 21 ++
glx/vnd_dispatch_stubs.c | 525 +++++++++++++++++++++++++++++++++++++++++++++++
glx/vndcmds.c | 483 +++++++++++++++++++++++++++++++++++++++++++
glx/vndext.c | 306 +++++++++++++++++++++++++++
glx/vndserver.h | 119 +++++++++++
glx/vndservermapping.c | 196 ++++++++++++++++++
glx/vndservervendor.c | 91 ++++++++
glx/vndservervendor.h | 68 ++++++
include/Makefile.am | 1 +
include/glxvndabi.h | 307 +++++++++++++++++++++++++++
include/meson.build | 1 +
12 files changed, 2125 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share