[Mesa-dev] Manipulate GALLIUM_HUD post-launch (interactively)

Marek Olšák maraeo at gmail.com
Thu Oct 29 02:59:56 PDT 2015


On Wed, Oct 28, 2015 at 10:24 PM, Jimmy Berry <jimmy at boombatower.com> wrote:
> I have found myself desiring the ability to manipulate the GALLIUM_HUD
> variable while an application is running. At the most basic simply
> being able to toggle the hud on and off would be great. Otherwise, one
> has to relaunch an application and get back to the same state which
> may not always be trivial.
>
> Obviously there are a lot of other possibilities for such a mechanism
> even manipulating other variables interactively.
>
> I discussed the idea with imirkin_ on #dri-devel who agreed that
> something like a socket interface would be a reasonable way to
> approach the problem, but suggested I toss out the idea on the mailing
> list to acquire more thoughts.
>
> I have extensive development experience, but none in the kernel nor
> mesa space. If desirable I would be interested in attempting to
> implement this idea.

Hi,

You don't need any kernel experience. Some Gallium experience may be
required, but not much. See the HUD source code. I guess you've found
it already. There is a list of panes you can change at runtime you
want.

Marek


More information about the mesa-dev mailing list