Commit Graph

11 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
José Fonseca
732422f670 gallium: Memory debugging utilities.
There are no known tools for windows kernel memory debugging, so this is a
simple set of malloc etc wrappers.

Enabled by default on win32 debug builds
2008-03-23 18:38:31 +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
José Fonseca
d1ca951cc4 gallium: Convenience debug_warning function. 2008-03-18 17:20:56 +00:00
José Fonseca
8506e41dc0 gallium: Fix debug_mask_vprintf's example. 2008-03-13 10:23:02 +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
fc96aec9b7 gallium: Document debug_printf usage. 2008-03-08 17:36:19 +00:00
José Fonseca
b642730be9 Code reorganization: move files into their places.
This is in a separate commit to ensure renames are properly preserved.
2008-02-15 17:45:40 +09:00