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

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to