diff options
author | Jakob Bornecrantz <[email protected]> | 2009-03-12 15:37:13 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-03-12 16:35:43 +0100 |
commit | 53e5248b0a71b1e72b1a613046a1b3e5d145d072 (patch) | |
tree | 95f0bc0f450f099c8f1073794ba2e31a48a645c4 /src/gallium/drivers/trace/tr_dump.h | |
parent | 6aa6ae8cffd493fab8ef3174e9bfc6c9d72f8efb (diff) |
trace: Add dump util functions for wrapped pointers
Diffstat (limited to 'src/gallium/drivers/trace/tr_dump.h')
-rw-r--r-- | src/gallium/drivers/trace/tr_dump.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gallium/drivers/trace/tr_dump.h b/src/gallium/drivers/trace/tr_dump.h index 00543ee3b31..26409f26c66 100644 --- a/src/gallium/drivers/trace/tr_dump.h +++ b/src/gallium/drivers/trace/tr_dump.h @@ -37,6 +37,11 @@ #include "pipe/p_compiler.h" +struct pipe_buffer; +struct pipe_texture; +struct pipe_surface; +struct pipe_transfer; + boolean trace_dump_trace_begin(void); boolean trace_dump_enabled(void); void trace_dump_trace_end(void); @@ -63,7 +68,11 @@ void trace_dump_member_begin(const char *name); void trace_dump_member_end(void); void trace_dump_null(void); void trace_dump_ptr(const void *value); - +/* will turn a wrapped object into the real one and dump ptr */ +void trace_dump_buffer_ptr(struct pipe_buffer *_buffer); +void trace_dump_texture_ptr(struct pipe_texture *_texture); +void trace_dump_surface_ptr(struct pipe_surface *_surface); +void trace_dump_transfer_ptr(struct pipe_transfer *_transfer); /* * Code saving macros. |