mesa: call _mesa_make_extension_string only as needed
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 6 Nov 2017 15:33:52 +0000 (15:33 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 16 Nov 2017 14:07:14 +0000 (14:07 +0000)
commit167e958a87d53614e6bbb78b09bafcea17335b4b
tree9c344a4631d06276cb9df6014fc7455cfb5ba165
parentba8a347f932f966422a5e156e54e8d05b664cf44
mesa: call _mesa_make_extension_string only as needed

As of previous commit we removed the extension overrides from this
function.

Thus we no longer need to call it during MakeCurrent, so we can
construct the extensions string when needed - _mesa_GetString.

This commit effectively reverts a879d14ecf8 ("mesa: initialize extension
string when context is first bound")

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/context.c
src/mesa/main/getstring.c