summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-03-20 13:10:32 +0000
committerKeith Whitwell <[email protected]>2008-03-20 13:10:32 +0000
commita88202d3b02a24a3bfff95c5e375ead44dae4c5e (patch)
treeaed505415e9dbaba151e1a186384178a74a6b862 /src/gallium/include/pipe
parent122ed506f4b808503b230bade421018614dbe696 (diff)
gallium: add debug facility to dump random blobs as hex
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_debug.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_debug.h b/src/gallium/include/pipe/p_debug.h
index e924c1ef606..14f8056924d 100644
--- a/src/gallium/include/pipe/p_debug.h
+++ b/src/gallium/include/pipe/p_debug.h
@@ -73,6 +73,14 @@ extern "C" {
*/
void debug_printf(const char *format, ...);
+
+/* Dump a blob in hex to the same place that debug_printf sends its
+ * messages:
+ */
+void debug_print_blob( const char *name,
+ const void *blob,
+ unsigned size );
+
/**
* @sa debug_printf
*/