Mesa (master): docs: document GALLIUM_HUD and LIBGL_SHOW_FPS

Marek Olšák mareko at kemper.freedesktop.org
Thu May 9 21:28:38 UTC 2013


Module: Mesa
Branch: master
Commit: dd6152b6cacb869d6db028656927ea2af168448d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd6152b6cacb869d6db028656927ea2af168448d

Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Mar 26 03:19:10 2013 +0100

docs: document GALLIUM_HUD and LIBGL_SHOW_FPS

---

 docs/envvars.html |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/docs/envvars.html b/docs/envvars.html
index 5d855c6..389da62 100644
--- a/docs/envvars.html
+++ b/docs/envvars.html
@@ -32,6 +32,8 @@ sometimes be useful for debugging end-user issues.
 <li>LIBGL_ALWAYS_INDIRECT - forces an indirect rendering context/connection.
 <li>LIBGL_ALWAYS_SOFTWARE - if set, always use software rendering
 <li>LIBGL_NO_DRAWARRAYS - if set do not use DrawArrays GLX protocol (for debugging)
+<li>LIBGL_SHOW_FPS - print framerate to stdout based on the number of glXSwapBuffers
+    calls per second.
 </ul>
 
 
@@ -144,6 +146,9 @@ Mesa EGL supports different sets of environment variables.  See the
 <h2>Gallium environment variables</h2>
 
 <ul>
+<li>GALLIUM_HUD - draws various information on the screen, like framerate,
+    cpu load, driver statistics, performance counters, etc.
+    Set GALLIUM_HUD=help and run e.g. glxgears for more info.
 <li>GALLIUM_LOG_FILE - specifies a file for logging all errors, warnings, etc.
     rather than stderr.
 <li>GALLIUM_PRINT_OPTIONS - if non-zero, print all the Gallium environment




More information about the mesa-commit mailing list