[Mesa-dev] [PATCH 2/2] mesa: load a user defined drirc file specified via an environment variable

Eric Anholt eric at anholt.net
Mon Mar 27 16:05:37 UTC 2017


Edmondo Tommasina <edmondo.tommasina at gmail.com> writes:

> Define a new MESA_USER_DRIRC environment variable to load a customized
> drirc file.
>
> When the variable is not defined, nothing changes and the ${HOME}/.drirc
> file will be loaded.
>
> If the variable is set to a file, this file will be loaded instead of
> the the ${HOME}/.drirc.
>
> Example: MESA_USER_DRIRC=~/glthread.drirc glxgears
>
> If the variable is set to nothing, it avoids to load the ${HOME}/.drirc
> file.
>
> Example: MESA_USER_DRIRC= glxgears

Could you extend the commit message to describe what problem is being
solved?  Why wouldn't you just customize your .drirc, since it's in your
homedir already?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170327/3ee84be5/attachment.sig>


More information about the mesa-dev mailing list