summaryrefslogtreecommitdiffstats
path: root/docs/envvars.html
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-03-26 03:19:10 +0100
committerMarek Olšák <[email protected]>2013-05-09 23:28:05 +0200
commitdd6152b6cacb869d6db028656927ea2af168448d (patch)
tree9617f6252ccb8c7608c2191fd599f438c558b7cc /docs/envvars.html
parentdaa90f91ff2ea4b3b204f9e56e3223fded55972c (diff)
docs: document GALLIUM_HUD and LIBGL_SHOW_FPS
Diffstat (limited to 'docs/envvars.html')
-rw-r--r--docs/envvars.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/envvars.html b/docs/envvars.html
index 5d855c630d7..389da62e6e8 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