glxglvnddispatch: Add missing dispatch for GetDriverConfig
authorHans de Goede <hdegoede@redhat.com>
Mon, 20 Mar 2017 07:41:26 +0000 (08:41 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 17 May 2017 18:02:18 +0000 (20:02 +0200)
commit84f764a7591715104b28c035c837ce9fd86157ad
tree66f0da85d15684053d8f78582e22c74a6421c778
parentdce41f7728913aecaecbc318889cabd6dda9d8db
glxglvnddispatch: Add missing dispatch for GetDriverConfig

Together with some fixes to xdriinfo this fixes xdriinfo not working
with glvnd.

Since apps (xdriinfo) expect GetDriverConfig to work without going to
need through the dance to setup a glxcontext (which is a reasonable
expectation IMHO), the dispatch for this ends up significantly different
then any other dispatch function.

This patch gets the job done, but I'm not really happy with how this
patch turned out, suggestions for a better fix are welcome.

Cc: Kyle Brenneman <kbrenneman@nvidia.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: mesa-stable@lists.freedesktop.org
src/glx/g_glxglvnddispatchfuncs.c
src/glx/g_glxglvnddispatchindices.h