diff options
author | Keith Packard <keithp@keithp.com> | 2014-04-01 21:15:42 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-04-03 13:07:51 -0700 |
commit | 5b76b3978d792c92b23a691204b473209782476e (patch) | |
tree | 733e4c5ad6bebc5f67b630f5c2647fbc763483e1 /glamor/glamor_priv.h | |
parent | 3c2c59eed3c68c0e5a93c38cf01eedad015e3157 (diff) |
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>
Diffstat (limited to 'glamor/glamor_priv.h')
-rw-r--r-- | glamor/glamor_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h index 4c305abfc..36f9b7108 100644 --- a/glamor/glamor_priv.h +++ b/glamor/glamor_priv.h @@ -205,6 +205,7 @@ typedef struct glamor_screen_private { Bool yInverted; unsigned int tick; enum glamor_gl_flavor gl_flavor; + int glsl_version; int has_pack_invert; int has_fbo_blit; int has_map_buffer_range; |