main/extensions: Create a context-less set_extensions function
authorJordan Justen <jordan.l.justen@intel.com>
Sun, 8 Jun 2014 03:12:20 +0000 (20:12 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Mon, 16 Jun 2014 16:54:52 +0000 (09:54 -0700)
commit8be64fb570b15be1f2daf3545b5e9c3299704914
tree337d36855630b0b917c7376578637eace7fea390
parentf2280eeba5599ae3b0d3a8ef188be0590bf78e69
main/extensions: Create a context-less set_extensions function

We will add new gl_extensions structures that capture the environment
variable extension overrides and are available early in context
creation.

This will allow a driver to take actions during its initialization
based on the extension overrides.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/extensions.c