Re: [Mesa-dev] gallium/hud: control visibility at startup and runtime.

2015-11-03 Thread Emil Velikov
Hello Jimmy, Please add your name to your git config. On 3 November 2015 at 10:43, boombatower wrote: > - env GALLIUM_HUD_VISIBLE: control default visibility > - env GALLIUM_HUD_SIGNAL_TOGGLE: toggle visibility via signal > --- > docs/envvars.html | 6 ++ > src/galliu

Re: [Mesa-dev] gallium/hud: control visibility at startup and runtime.

2015-11-03 Thread Eero Tamminen
On 11/03/2015 05:43 PM, Brian Paul wrote: On 11/03/2015 03:43 AM, boombatower wrote: - env GALLIUM_HUD_VISIBLE: control default visibility - env GALLIUM_HUD_SIGNAL_TOGGLE: toggle visibility via signal --- docs/envvars.html | 6 ++ src/gallium/auxiliary/hud/hud_conte

Re: [Mesa-dev] gallium/hud: control visibility at startup and runtime.

2015-11-03 Thread Brian Paul
On 11/03/2015 03:43 AM, boombatower wrote: - env GALLIUM_HUD_VISIBLE: control default visibility - env GALLIUM_HUD_SIGNAL_TOGGLE: toggle visibility via signal --- docs/envvars.html | 6 ++ src/gallium/auxiliary/hud/hud_context.c | 23 +++ 2 files

Re: [Mesa-dev] gallium/hud: control visibility at startup and runtime.

2015-11-03 Thread Marek Olšák
On Tue, Nov 3, 2015 at 11:43 AM, boombatower wrote: > - env GALLIUM_HUD_VISIBLE: control default visibility > - env GALLIUM_HUD_SIGNAL_TOGGLE: toggle visibility via signal > --- > docs/envvars.html | 6 ++ > src/gallium/auxiliary/hud/hud_context.c | 23 +

Re: [Mesa-dev] gallium/hud: control visibility at startup and runtime.

2015-11-03 Thread Eero Tamminen
Hi, This seems otherwise OK, but you should use sigaction() instead of signal() for portability (see NOTES section in the manual page). - Eero On 11/03/2015 12:43 PM, boombatower wrote: - env GALLIUM_HUD_VISIBLE: control default visibility - env GALLIUM_HUD_SIGNAL_TOGGLE: toggle vis

[Mesa-dev] gallium/hud: control visibility at startup and runtime.

2015-11-03 Thread boombatower
- env GALLIUM_HUD_VISIBLE: control default visibility - env GALLIUM_HUD_SIGNAL_TOGGLE: toggle visibility via signal --- docs/envvars.html | 6 ++ src/gallium/auxiliary/hud/hud_context.c | 23 +++ 2 files changed, 29 insertions(+) diff --git a/docs/en

Re: [Mesa-dev] gallium/hud: control visibility at startup and runtime.

2015-11-03 Thread Jimmy Berry
Some I managed to not end up with [PATCH] in subject or my coverletter. This is my first patch to mesa-dev. Hopefully, I have done everything correctly. I posed the idea about a week ago: Manipulate GALLIUM_HUD post-launch (interactively) http://lists.freedesktop.org/archives/mesa-dev/20