Commit Graph

25 Commits

Author SHA1 Message Date
José Fonseca
1da0a13389 util: Dump surfaces to BMP.
This allows quick inspection of surfaces in mass scale.
2008-09-08 22:21:33 +09:00
José Fonseca
72a5e47978 gallium: New function to dump surfaces. 2008-08-07 18:58:29 +01:00
José Fonseca
e8b52b3f56 gallium: Drop deprecated __MSC__ macro. 2008-06-24 13:56:41 +09:00
José Fonseca
23422d603a gallium: Implement debug_get_num_option.
For numeric options.
2008-06-12 10:56:04 +09:00
José Fonseca
55d29a8d48 gallium: Windows CE portability fixes. 2008-05-28 16:13:24 +09:00
José Fonseca
345eb7fb70 gallium: Poor-man profiler for win32 kernel. 2008-05-24 19:25:33 +09:00
José Fonseca
a6ad492774 gallium: Simple facility to dump and view images for debugging. 2008-05-07 04:51:55 +09:00
Zack Rusin
0d80f407f1 silence p_debug.h:63: warning: ISO C forbids forward references to ‘enum’ types 2008-04-29 17:21:10 -04:00
Brian Paul
fce5951b56 gallium: declare pipe_format enum to silence warnings 2008-04-29 14:39:42 -06:00
Keith Whitwell
9bfe1a3d50 gallium: add debug_print_format() make it easier to print format error messages 2008-04-29 20:48:14 +01:00
José Fonseca
4e2127b0e5 gallium: Allow to debug memory leaks in nested scopes. 2008-04-08 12:04:03 +09:00
Brian
d355eee5ca gallium: silence unused var warning 2008-03-27 15:27:31 -06:00
José Fonseca
331a56136e Fix typo 2008-03-25 17:47:39 +00:00
Brian
4654803e25 gallium: fix a few bugs, warnings in the p_debug code
added missing _ to a _debug_printf() call.
2008-03-24 18:49:56 -06:00
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