[PATCH] glx: don't force version == 2.0 for ES2 GLX context creation
ajax at nwnk.net
Wed Jan 20 11:47:17 PST 2016
On Tue, 2016-01-19 at 10:06 -0500, Ilia Mirkin wrote:
> dEQP tests request a specific version. The EXT spec has been updated to
> allow other versions, so allow anything >= 2.0 to be requested.
(Comic book guy voice) Actually...
> case GLX_CONTEXT_ES2_PROFILE_BIT_EXT:
The spec says:
> Accepted as a bit in the attribute value for
> GLX_CONTEXT_PROFILE_MASK_ARB in <*attrib_list>:
> GLX_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004
> GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
And that, strictly speaking, we should be exposing both the
_es2_profile and _es_profile strings. So I think this is only correct
if no Mesa driver could create an ES1 profile, and I'm pretty sure
that's not the case.
More information about the xorg-devel