glx: update to updated version of EXT_create_context_es2_profile
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 19 Jan 2016 15:07:04 +0000 (10:07 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 3 Feb 2016 20:44:51 +0000 (15:44 -0500)
commit5ac7f0433b17acc6587b87ce25adb6975c04eb27
tree6bc371b5a3501cbefc47543917d0b3fc95dd592c
parentad0e48e518cc9afa0ab5678a91696f4bee49abb6
glx: update to updated version of EXT_create_context_es2_profile

The EXT spec has been updated to:
 - logically combine the es2_profile and es_profile exts
 - allow any legal version to be requested

dEQP tests request a specific ES version when using GLX, so this allows
dEQP upstream to run against GLX with the appropriate X server patch
(which had similar disabling logic).

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Matt Turner <mattst88@gmail.com> (v1)
Reviewed-by: Adam Jackson <ajax@redhat.com> (v3)
v1 -> v2:
 - distinguish between DRI_API_GLES{,2,3}
 - add GLX_EXT_create_context_es_profile client-side support
v2 -> v3:
 - fix error in computing mask
src/glx/dri2_glx.c
src/glx/dri3_glx.c
src/glx/dri_common.c
src/glx/drisw_glx.c
src/glx/glxextensions.c
src/glx/glxextensions.h