dri: Allow config options to be passed to the loader through extensions.
authorEric Anholt <eric@anholt.net>
Wed, 26 Jun 2013 22:15:57 +0000 (15:15 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 24 Oct 2013 21:04:20 +0000 (14:04 -0700)
commitcf5d8fc310dbf59a61e4859b79219b3ac3b223ac
tree7b9e509193702046b0c01a7af1bc272699091f8e
parent80806c98ef9892abb225965f29027c9b201749ec
dri: Allow config options to be passed to the loader through extensions.

Turns out already we have this nice mechanism for providing optional
things from the driver to the loader, and I was going to have to rename
the public global symbol to avoid conflicts when doing megadrivers.

While the former __driConfigOptions is technically loader interface, this
is the only loader that made use of that symbol.  Continue paying
attention to it if we can't find the new option, to retain compatibility
with old drivers.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
include/GL/internal/dri_interface.h
src/glx/dri_glx.c