st/mesa: compute supported GL versions at DRIscreen creation
authorMarek Olšák <marek.olsak@amd.com>
Sun, 3 Aug 2014 03:36:23 +0000 (05:36 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 11 Aug 2014 19:53:57 +0000 (21:53 +0200)
commit718d4b97efc5792c09b824c909d1ec2998738c02
tree28682873d28ef386eca5f5f5b31ef23258b706f3
parentfceadfe7ef01637daf17624e2d7f961d85625845
st/mesa: compute supported GL versions at DRIscreen creation

This computes all GL versions before any context is created.
It's a requirement for GLX_MESA_query_renderer.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/state_tracker/st_manager.c