From 56a1c10bb8cc957caa9ebc3723b4692a522a02f5 Mon Sep 17 00:00:00 2001 From: Jimmy Berry Date: Mon, 9 Nov 2015 23:20:37 -0600 Subject: gallium/hud: control visibility at startup and runtime. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - env GALLIUM_HUD_VISIBLE: control default visibility - env GALLIUM_HUD_SIGNAL_TOGGLE: toggle visibility via signal Signed-off-by: Marek Olšák --- docs/envvars.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/envvars.html') diff --git a/docs/envvars.html b/docs/envvars.html index bdfe9991a6c..530bbb78696 100644 --- a/docs/envvars.html +++ b/docs/envvars.html @@ -179,6 +179,12 @@ Mesa EGL supports different sets of environment variables. See the
  • 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. +
  • GALLIUM_HUD_VISIBLE - control default visibility, defaults to true. +
  • GALLIUM_HUD_TOGGLE_SIGNAL - toggle visibility via user specified signal. + Especially useful to toggle hud at specific points of application and + disable for unencumbered viewing the rest of the time. For example, set + GALLIUM_HUD_VISIBLE to false and GALLIUM_HUD_SIGNAL_TOGGLE to 10 (SIGUSR1). + Use kill -10 to toggle the hud as desired.
  • GALLIUM_LOG_FILE - specifies a file for logging all errors, warnings, etc. rather than stderr.
  • GALLIUM_PRINT_OPTIONS - if non-zero, print all the Gallium environment -- cgit v1.2.3