[Mesa-dev] [PATCH] docs: document MESA_GLES_VERSION_OVERRIDE envvar
Brian Paul
brianp at vmware.com
Sat Feb 13 18:18:53 UTC 2016
On 02/13/2016 11:12 AM, Alejandro PiƱeiro wrote:
> ---
>
> Placed under "Core Mesa environment variables" as I didn't find any
> better place. The text is a summarized version of
> MESA_GL_VERSION_OVERRIDE documentation. I hope not be forgetting
> something specific of this envvar.
>
> docs/envvars.html | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/docs/envvars.html b/docs/envvars.html
> index ba83335..5a05d17 100644
> --- a/docs/envvars.html
> +++ b/docs/envvars.html
> @@ -91,6 +91,15 @@ This is only valid for versions >= 3.0.
> <li> Mesa may not really implement all the features of the given version.
> (for developers only)
> </ul>
> +<li>MESA_GLES_VERSION_OVERRIDE - changes the value returned by
> +glGetString(GL_VERSION) and possibly the GL API type for OpenGL ES.
I think you could drop "and possibly the GL API type" since there's no
core/compat profiles.
> +<ul>
> +<li> The format should be MAJOR.MINOR
> +<li> In opposite to MESA_GL_VERSION_OVERRIDE, there is no such thing as compatibility or forward-compatible. FC is a wrong suffix for this case.
I think you could simply omit that line too.
> +<li> Examples: 2.0, 3.0, 3.1
> +<li> Mesa may not really implement all the features of the given version.
> +(for developers only)
> +</ul>
> <li>MESA_GLSL_VERSION_OVERRIDE - changes the value returned by
> glGetString(GL_SHADING_LANGUAGE_VERSION). Valid values are integers, such as
> "130". Mesa will not really implement all the features of the given language version
>
-Brian
More information about the mesa-dev
mailing list