[Mesa-dev] [RFC] Gallium debug options printing

Jakob Bornecrantz wallbraker at gmail.com
Thu Apr 22 14:28:57 PDT 2010


Hi José et al

So I got a bit annoyed at seeing the debug_get_*_option print outs
every single time it checks the value.

The first patch just adds another option to control if we print the
options or not.

The second adds helper defines so you can easily add functions which
only check the argument once.

The third uses this in various places.

Cheers Jakob.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gallium-Add-static-get-option-helpers.patch
Type: text/x-patch
Size: 1684 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100422/692886b3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-gallium-Add-option-to-not-print-options.patch
Type: text/x-patch
Size: 2726 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100422/692886b3/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-gallium-Convert-some-uses-of-get-option-to-static.patch
Type: text/x-patch
Size: 3422 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100422/692886b3/attachment-0002.bin>


More information about the mesa-dev mailing list