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

Corbin Simpson mostawesomedude at gmail.com
Thu Aug 5 19:50:48 PDT 2010


Agreed to all of the above. Libraries, even debug builds, should stay silent
by default. We can (and should!) just doc the various env vars instead,
IMHO.

Sending from a mobile, pardon the brevity. ~ C.

On Aug 5, 2010 6:20 PM, "Dave Airlie" <airlied at gmail.com> wrote:
> On Fri, Aug 6, 2010 at 11:17 AM, Jakob Bornecrantz <wallbraker at gmail.com>
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.
>
> ACK.
>
> I'm all for this, I think mesa also does some output which really, not
> something we should be seeing unless we ask for it.
>
> Dave.
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100805/2dfea6ef/attachment.html>


More information about the mesa-dev mailing list