diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2007-08-10 09:58:17 +0100 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2007-08-10 10:15:31 +0100 |
commit | cb2d95ba68affe665619cc0ec7b74fd0aaae7fc2 (patch) | |
tree | 900bb15edc1cc39986315f8d4bd2452ad18fd414 /src/mesa/pipe/i915simple/i915_blit.c | |
parent | af25ca6e69cef93e19bfb118111ffbaedf354f03 (diff) |
Add a printf method to winsys and use for all debugging.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_blit.c')
-rw-r--r-- | src/mesa/pipe/i915simple/i915_blit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/pipe/i915simple/i915_blit.c b/src/mesa/pipe/i915simple/i915_blit.c index c4eafa71d4..4fc216dd33 100644 --- a/src/mesa/pipe/i915simple/i915_blit.c +++ b/src/mesa/pipe/i915simple/i915_blit.c @@ -36,6 +36,7 @@ #include "i915_reg.h" #include "i915_batch.h" +#define FILE_DEBUG_FLAG DEBUG_BLIT void i915_fill_blit(struct i915_context *i915, @@ -102,7 +103,8 @@ i915_copy_blit( struct i915_context *i915, BATCH_LOCALS; - printf("%s src:buf(%p)/%d+%d %d,%d dst:buf(%p)/%d+%d %d,%d sz:%dx%d\n", + DBG(i915, + "%s src:buf(%p)/%d+%d %d,%d dst:buf(%p)/%d+%d %d,%d sz:%dx%d\n", __FUNCTION__, src_buffer, src_pitch, src_offset, src_x, src_y, dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); |