summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2017-09-08 11:52:01 +0100
committerEric Engestrom <eric.engestrom@imgtec.com>2017-09-12 13:53:11 +0100
commit5c68ea29f31283768c8e1b631eb812d1e74cb5c3 (patch)
treef37325b713cf841ac49ea6e0cb372b5619473d1d /docs
parentf4a9d205d8a6474defa86dc4f12b7e63e61a49d9 (diff)
egl+glx: turn LIBGL_ALWAYS_SOFTWARE into a boolean
Instead of setting based on set/unset, allow users to use boolean values. In the docs, use `ALWAYS=true` instead of `ALWAYS=1` as it's clearer IMO. Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/envvars.html4
-rw-r--r--docs/releasing.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/envvars.html b/docs/envvars.html
index ca553e5397..b70528fa46 100644
--- a/docs/envvars.html
+++ b/docs/envvars.html
@@ -30,7 +30,7 @@ sometimes be useful for debugging end-user issues.
If set to 'verbose' additional information will be printed.
<li>LIBGL_DRIVERS_PATH - colon-separated list of paths to search for DRI drivers
<li>LIBGL_ALWAYS_INDIRECT - forces an indirect rendering context/connection.
-<li>LIBGL_ALWAYS_SOFTWARE - if set, always use software rendering
+<li>LIBGL_ALWAYS_SOFTWARE - if set to `true`, 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.
@@ -240,7 +240,7 @@ Mesa EGL supports different sets of environment variables. See the
Use kill -10 <pid> to toggle the hud as desired.
<li>GALLIUM_HUD_DUMP_DIR - specifies a directory for writing the displayed
hud values into files.
-<li>GALLIUM_DRIVER - useful in combination with LIBGL_ALWAYS_SOFTWARE=1 for
+<li>GALLIUM_DRIVER - useful in combination with LIBGL_ALWAYS_SOFTWARE=true for
choosing one of the software renderers "softpipe", "llvmpipe" or "swr".
<li>GALLIUM_LOG_FILE - specifies a file for logging all errors, warnings, etc.
rather than stderr.
diff --git a/docs/releasing.html b/docs/releasing.html
index 930de0edef..66742b0bcb 100644
--- a/docs/releasing.html
+++ b/docs/releasing.html
@@ -483,12 +483,12 @@ Here is one solution that I've been using.
eval $__glxgears_cmd
eval $__es2info_cmd
eval $__es2gears_cmd
- export LIBGL_ALWAYS_SOFTWARE=1
+ export LIBGL_ALWAYS_SOFTWARE=true
eval $__glxinfo_cmd
eval $__glxgears_cmd
eval $__es2info_cmd
eval $__es2gears_cmd
- export LIBGL_ALWAYS_SOFTWARE=1
+ export LIBGL_ALWAYS_SOFTWARE=true
export GALLIUM_DRIVER=softpipe
eval $__glxinfo_cmd
eval $__glxgears_cmd