The mach64 people may find this a useful thing to do on their driver:

I've just recently done what John C. had always said we should be doing:  Keep
the debug 'printfs' compiled in all the time and be able to switch them on/off
from the command line.  This has been a huge help both tracking down bugs and
also optimizing for new applications (eg the viewperf tests).

On the tcl branch, I can turn mesa debug flags on like this:

MESA_DEBUG=api,texture ./gears

this will set MESA_VERBOSE to (MESA_VERBOSE_API|MESA_VERBOSE_TEXTURE)

Similarly,

RADEON_DEBUG=fallbacks,ioctls ./gears

will set RADEON_DEBUG to (DEBUG_FALLBACKS|DEBUG_IOCTLS)

The performance penalty for keeping the printfs compiled in seems insigificant
so far...

Keith

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to