[Mesa-dev] [PATCH mesa 03/10] egl+glx: turn LIBGL_ALWAYS_SOFTWARE into a boolean
Emil Velikov
emil.l.velikov at gmail.com
Fri Sep 8 13:33:44 UTC 2017
Hi Eric,
On 8 September 2017 at 13:40, Eric Engestrom <eric.engestrom at imgtec.com> wrote:
> Instead of setting based on set/unset, allow users to use boolean values.
> In the docs, use `ALWAYS=true` instead of `ALWAYS=1` as it's clearer IMO.
>
I'm a bit weary about this series. In the past we had cases where
people will set the variable to empty string and/or 0 and expect
things to work.
IIRC the older Intel QA team was using it, not sure about now. Either
way it's great to confirm with a few people before pushing this.
That aside, env_var_as_boolean() treats 'yes', '1' and 'true' in
identical manner. Perhaps we can state what a "boolean variable" is
and use that reference through the documentation?
-Emil
More information about the mesa-dev
mailing list