hud: add GALLIUM_HUD_SCALE

Scale hud by an integer factor, for high DPI displays.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3931>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3931>
This commit is contained in:
Jonathan Marek
2020-01-20 21:16:13 -05:00
committed by Marge Bot
parent 0ee76b90d5
commit 31a7815785
2 changed files with 13 additions and 8 deletions

View File

@@ -397,6 +397,8 @@ Mesa EGL supports different sets of environment variables. See the
<code>GALLIUM_HUD_TOGGLE_SIGNAL</code> to <code>10</code>
(<code>SIGUSR1</code>).
Use <code>kill -10 &lt;pid&gt;</code> to toggle the hud as desired.</dd>
<dt><code>GALLIUM_HUD_SCALE</code></dt>
<dd>Scale hud by an integer factor, for high DPI displays. Default is 1.</dd>
<dt><code>GALLIUM_HUD_DUMP_DIR</code></dt>
<dd>specifies a directory for writing the displayed hud values into files.</dd>
<dt><code>GALLIUM_DRIVER</code></dt>