[Mesa-dev] [PATCH] Rename R300_NO_TCL envvar to RADEON_NO_TCL
Marek Olšák
maraeo at gmail.com
Mon Jan 30 11:11:14 PST 2012
This looks good to me.
Marek
On Mon, Jan 30, 2012 at 8:04 PM, Matt Turner <mattst88 at gmail.com> wrote:
> The envvar works for R100 and R200 too, and the classic R300 driver
> doesn't even exist anymore.
>
> "RADEON_NO_TCL" is already mentioned in the code and is the same envvar
> used for the R300g driver.
> ---
> docs/envvars.html | 4 ++--
> src/mesa/drivers/dri/radeon/radeon_screen.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/docs/envvars.html b/docs/envvars.html
> index 5a98884..a64e2ee 100644
> --- a/docs/envvars.html
> +++ b/docs/envvars.html
> @@ -100,10 +100,10 @@ See the <A HREF="xlibdriver.html">Xlib software driver page</A> for details.
> </ul>
>
>
> -<h2>Radeon R300 driver environment variables (non-Gallium)</h2>
> +<h2>Radeon driver environment variables (radeon, r200, and r300g)</h2>
>
> <ul>
> -<li>R300_NO_TCL - if set, disable hardware-accelerated Transform/Clip/Lighting.
> +<li>RADEON_NO_TCL - if set, disable hardware-accelerated Transform/Clip/Lighting.
> </ul>
>
>
> diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c
> index bfbf45a..1f60f2a 100644
> --- a/src/mesa/drivers/dri/radeon/radeon_screen.c
> +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c
> @@ -514,7 +514,7 @@ radeonCreateScreen2(__DRIscreen *sPriv)
> if (ret == -1)
> return NULL;
>
> - if (getenv("R300_NO_TCL"))
> + if (getenv("RADEON_NO_TCL"))
> screen->chip_flags &= ~RADEON_CHIPSET_TCL;
>
> i = 0;
> --
> 1.7.3.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list