diff options
author | Adam Jackson <ajax@redhat.com> | 2016-01-20 15:43:10 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-01-21 10:11:07 -0500 |
commit | bc415fb1e0031ad23bda6e9c3f4664532876a0e5 (patch) | |
tree | b6c0a1e26f5c88f822724437cb80322a5ad92757 /glamor | |
parent | 49aa5e3ea4eecea0562c05a4e52962985a56e510 (diff) |
glx: Fix GLX_EXT_create_context_es2_profile support
As of v4 of this extension, any GLES version number may be requested (to
enable GLES3 and later). To comply with this, simply remove the API
version checks and leave it to the DRI driver to validate. This happens
to also enable using GLES1 in direct contexts, so if that's the dire
situation you find yourself in, your client driver at least stands a
chance of working.
v4 also specifies that both extension strings should be advertised for
compatibility with clients written against v1 of the extension spec, so
add the es_profile bit to the extension list and enable it whenever we
would enable es2_profile.
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'glamor')
0 files changed, 0 insertions, 0 deletions