glamor: Compute supported GLSL version and save in screen private
authorKeith Packard <keithp@keithp.com>
Wed, 2 Apr 2014 04:15:42 +0000 (21:15 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 3 Apr 2014 20:07:51 +0000 (13:07 -0700)
commit5b76b3978d792c92b23a691204b473209782476e
tree733e4c5ad6bebc5f67b630f5c2647fbc763483e1
parent3c2c59eed3c68c0e5a93c38cf01eedad015e3157
glamor: Compute supported GLSL version and save in screen private

This currently computes the GLSL version in a fairly naïve fashion,
and leaves that in the screen private for other users. This will let
us update the version computation in one place later on.

v2: Drop an accidental rebase-squashed hunk (change by anholt).

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
glamor/glamor.c
glamor/glamor_priv.h
glamor/glamor_program.c