mesa/src
Robert Ellison 23ad86cfb9 Mesa: allow suppression of debug messages in a debug build
For testing, it's very useful to be able to test on a debug build,
while suppressing the debug messages (messages that are by default
suppressed in a release build), in order to see the same behavior
that users of release builds will see.

For example, the "piglit" test suite will flag an error on
programs that produce unexpected output, which means that a
debug build will always fail due to the extra debug messages.

This change introduces a new value to the MESA_DEBUG
environment variable.  In a debug build, explicitly setting MESA_DEBUG
to "0" will suppress all debug messages (both from _mesa_debug() and
from _mesa_warning()).  (The former behavior was that debug
messages were never suppressed in debug builds.)

Behavior of non-debug builds has not changed.  In such a build,
_mesa_debug() messages are always suppressed, and _mesa_warning()
messages will be suppressed unless MESA_DEBUG is set *to any value*.
2009-04-08 11:10:46 -06:00
..
driclient g3dvl: Fix some memory leaks. 2009-01-10 13:52:06 -05:00
egl egl: Fix newline typo in Makefiles 2009-03-26 19:20:11 +00:00
gallium python/retrace: Allow to specify the range of calls of interest. 2009-04-08 16:26:06 +01:00
glew glew: fix GLEW_LIB_NAME 2009-03-25 09:01:01 -06:00
glu Merge commit 'origin/master' into gallium-0.2 2009-01-06 08:15:54 -07:00
glut glut: Use the official WGL functions. 2009-02-10 11:51:46 +00:00
glw Merge commit 'origin/master' into gallium-0.2 2008-12-15 11:16:03 +00:00
glx glx: remove unused local var in determineTextureFormat() 2009-04-03 09:07:04 -06:00
mesa Mesa: allow suppression of debug messages in a debug build 2009-04-08 11:10:46 -06:00
xvmc g3dvl: Return BadAlloc if we can't create an XvMC surface. 2009-01-18 21:40:10 -05:00
Makefile Create $(TOP)/$(LIB_DIR) for install, too 2008-06-23 08:14:49 -06:00
SConscript glew: Initial import. 2009-01-23 12:32:35 +00:00