Commit Graph

13 Commits

Author SHA1 Message Date
José Fonseca e8c6ea4f60 gallium: Simple cross platform get-opt system.
Uses getenv on Linux, and a memory mapped text file on Windows.

It supports boolean options, flags, and plain strings.
2008-03-24 22:31:36 +00:00
José Fonseca dd51365acd gallium: cleanup p_debug
Now debug_printf is disabled on release builds. Use debug_error or
_debug_printf to output messages on release versions.
2008-03-24 22:31:36 +00:00
José Fonseca 48ef11d308 gallium: Remove the debug_mask_* stuff.
Overcomplex and not much different from using a global variable...
2008-03-23 18:57:35 +00:00
Keith Whitwell a88202d3b0 gallium: add debug facility to dump random blobs as hex 2008-03-20 13:10:32 +00:00
José Fonseca e08501b457 gallium: Add generic enum and flags dumping utility functions. 2008-03-19 16:42:19 +00:00
Keith Whitwell b0d5519b44 gallium: make the windows config function more readable with 80-ish columns 2008-03-13 18:10:26 +00:00
José Fonseca a2ea51ed82 gallium: Change assert behavior on runtime (Mark Mueller). 2008-03-12 15:02:50 +00:00
José Fonseca 45c5989511 gallium: Conditional debugging output.
Generalize the conditional debugging output code found trhought the gallium
drivers.
2008-03-12 00:27:52 +00:00
José Fonseca 3102268154 gallium: Use hardcoded breakpoints on x86 targets. 2008-03-10 21:18:00 +00:00
José Fonseca b721bc8792 gallium: WinCE portability fixes. 2008-03-10 14:00:13 +00:00
José Fonseca b1922de9f3 gallium: Use custom vsnprintf in WINDDK.
EngDebugPrint does not handle float point arguments, so we need to use
our own vsnprintf implementation.
2008-03-05 11:39:11 +01:00
Keith Whitwell 689e1c5d50 win32: don't prepend all debug with gallium3d 2008-03-03 17:50:10 +01:00
José Fonseca 92fcbf6e7b Code reorganization: s/aux/auxiliary/.
"aux" is a reserved name on Windows (X_X)
2008-02-15 20:07:18 +09:00
Renamed from src/gallium/aux/util/p_debug.c (Browse further)