From: Keith Whitwell Date: Tue, 12 Sep 2006 14:27:57 +0000 (+0000) Subject: quieten debug X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1cb39d8bdb6707be2e44d38c52f44515bcbf16e;p=mesa.git quieten debug --- diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index ef4f1104848..f12fb4c7f3e 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -364,7 +364,7 @@ static GLboolean brw_try_draw_prims( GLcontext *ctx, UNLOCK_HARDWARE(intel); if (!retval) - _mesa_printf("%s failed\n", __FUNCTION__); + DBG("%s failed\n", __FUNCTION__); return retval; } diff --git a/src/mesa/drivers/dri/i965/bufmgr_fake.c b/src/mesa/drivers/dri/i965/bufmgr_fake.c index 40e92398836..8f182f3d877 100644 --- a/src/mesa/drivers/dri/i965/bufmgr_fake.c +++ b/src/mesa/drivers/dri/i965/bufmgr_fake.c @@ -1067,7 +1067,7 @@ void *bmMapBuffer( struct intel_context *intel, assert(intel->locked); if (!buf->block && !evict_and_alloc_block(intel, buf)) { - _mesa_printf("%s: alloc failed\n", __FUNCTION__); + DBG("%s: alloc failed\n", __FUNCTION__); bm->fail = 1; retval = NULL; } @@ -1083,7 +1083,7 @@ void *bmMapBuffer( struct intel_context *intel, } } else { - DBG("%s - set buf %d dirty\n", __FUNCTION__, buf->id); + DBG("%s - set buf %d dirty\n", __FUNCTION__, buf->id); set_dirty(intel, buf); if (buf->backing_store == 0) @@ -1227,7 +1227,7 @@ int bmValidateBuffers( struct intel_context *intel ) if (retval != 0) - _mesa_printf("%s failed\n", __FUNCTION__); + DBG("%s failed\n", __FUNCTION__); return retval; }