summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-05-13 16:58:20 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-05-13 16:58:20 +0200
commitd8137ca406c49c5393c38ab1db07111dbb866a82 (patch)
treed60877b2d1d8f361fdef6a745fc6438026e421c5
parent1e3154e8f660e1dcd9560942c62df13ed1709a77 (diff)
i915tex: Silence remaining HWZ debugging output by default.
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_hwz.c8
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_ioctl.c2
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);