[Mesa-dev] [PATCH] docs: document MESA_GLES_VERSION_OVERRIDE envvar

Alejandro PiƱeiro apinheiro at igalia.com
Sat Feb 13 18:12:49 UTC 2016


---

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.
+<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.
+<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
-- 
2.5.0



More information about the mesa-dev mailing list