glx: Store the context vtable on the glx screen
authorAdam Jackson <ajax@redhat.com>
Fri, 6 Aug 2021 21:53:38 +0000 (17:53 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 18 Aug 2021 21:11:02 +0000 (21:11 +0000)
commitbfad9e75c0421b6665e35ee9731a71bd50366c68
tree24d3b9f57fa795b991501c69c8967941ba5f5c2e
parent145992890caeb24c02bd358f7a96dc1d8b730626
glx: Store the context vtable on the glx screen

Again this is rewriting part of driX_create_context_attribs to be
caller-agnostic, so that we can eventually unify it among the DRI
backends.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12456>
src/glx/dri2_glx.c
src/glx/dri3_glx.c
src/glx/drisw_glx.c
src/glx/glxclient.h