[Mesa-dev] [RFC] gallium: Make printing info on debug builds default off

Brian Paul brianp at vmware.com
Fri Aug 6 08:06:49 PDT 2010


On 08/05/2010 07:17 PM, Jakob Bornecrantz wrote:
> This commit silences the printing off most of the debug information
> when running debug builds. The big culprits are the the tgsi sanity
> checker that gets run on all shaders on debug. All the options. And
> finaly the cpu caps printer.
>
> This came after a discussion on #dri-devel that --enable-debug should
> just make it possible to use gdb and not print a ton of stuff to stderr.
>
> My only hesitation is turning of the debug options since its rather
> usefull to know which options you can play with.
>
> Comments, acks and nacks please.

I'm OK with this (I'll probably set a bunch of the env vars in my 
.bashrc file).

But as long as you're looking at env vars, can you please check that 
they're all listed/documented somewhere?  Maybe in src/gallium/docs/

Thanks.

-Brian


More information about the mesa-dev mailing list