From d8137ca406c49c5393c38ab1db07111dbb866a82 Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Sun, 13 May 2007 16:58:20 +0200 Subject: i915tex: Silence remaining HWZ debugging output by default. --- src/mesa/drivers/dri/i915tex/intel_hwz.c | 8 +++++--- src/mesa/drivers/dri/i915tex/intel_ioctl.c | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/mesa/drivers/dri/i915tex/intel_hwz.c b/src/mesa/drivers/dri/i915tex/intel_hwz.c index 76c2b175ea..fa70bd44e4 100644 --- a/src/mesa/drivers/dri/i915tex/intel_hwz.c +++ b/src/mesa/drivers/dri/i915tex/intel_hwz.c @@ -277,7 +277,7 @@ static void hwz_set_prim( struct clip_render *render, break; } -// _mesa_printf("%s %d -> %x\n", __FUNCTION__, mode, hwz->hw_prim ); + DBG("%s %d -> %x\n", __FUNCTION__, mode, hwz->hw_prim ); if (hwz->intel->hw_reduced_prim != reduced_prim[mode]) { hwz->intel->hw_reduced_prim = reduced_prim[mode]; @@ -295,7 +295,8 @@ static void hwz_start_render( struct clip_render *render, GLboolean start_of_frame ) { struct hwz_render *hwz = hwz_render( render ); - _mesa_printf("%s\n", __FUNCTION__); + + DBG("%s\n", __FUNCTION__); assert(!hwz->started_binning); @@ -375,7 +376,8 @@ static void hwz_clear_rect( struct clip_render *render, static void hwz_destroy_context( struct clip_render *render ) { struct hwz_render *hwz = hwz_render( render ); - _mesa_printf("%s\n", __FUNCTION__); + + DBG("%s\n", __FUNCTION__); _mesa_free(hwz); } diff --git a/src/mesa/drivers/dri/i915tex/intel_ioctl.c b/src/mesa/drivers/dri/i915tex/intel_ioctl.c index 60b07ca7c1..a7393bb27a 100644 --- a/src/mesa/drivers/dri/i915tex/intel_ioctl.c +++ b/src/mesa/drivers/dri/i915tex/intel_ioctl.c @@ -185,7 +185,7 @@ intel_cliprect_hwz_ioctl(struct intel_context *intel, assert(intel->locked); assert(used); - _mesa_printf("%s used %d offset %x..%x nr_cliprects %d\n", + DBG("%s used %d offset %x..%x nr_cliprects %d\n", __FUNCTION__, used, start_offset, start_offset + used, intel->numClipRects); -- cgit v1.2.3