From: Brian Paul Date: Wed, 1 Nov 2006 18:48:28 +0000 (+0000) Subject: disable debug printfs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4db0c89d25d776f7d68a34fa9e489ce0294dacd3;p=mesa.git disable debug printfs --- diff --git a/src/mesa/drivers/dri/i915tex/i915_context.c b/src/mesa/drivers/dri/i915tex/i915_context.c index 924de169c74..4cbe29d79d6 100644 --- a/src/mesa/drivers/dri/i915tex/i915_context.c +++ b/src/mesa/drivers/dri/i915tex/i915_context.c @@ -114,7 +114,8 @@ i915CreateContext(const __GLcontextModes * mesaVis, if (!i915) return GL_FALSE; - _mesa_printf("\ntexmem-0-3 branch\n\n"); + if (0) + _mesa_printf("\ntexmem-0-3 branch\n\n"); i915InitVtbl(i915); i915InitMetaFuncs(i915); diff --git a/src/mesa/drivers/dri/i915tex/intel_screen.c b/src/mesa/drivers/dri/i915tex/intel_screen.c index c04831be1b1..9bbfabbb8c3 100644 --- a/src/mesa/drivers/dri/i915tex/intel_screen.c +++ b/src/mesa/drivers/dri/i915tex/intel_screen.c @@ -88,7 +88,8 @@ intelMapScreenRegions(__DRIscreenPrivate * sPriv) _mesa_warning(NULL, "no front buffer handle in intelMapScreenRegions!"); } - _mesa_printf("Back 0x%08x ", intelScreen->back.handle); + if (0) + _mesa_printf("Back 0x%08x ", intelScreen->back.handle); if (drmMap(sPriv->fd, intelScreen->back.handle, intelScreen->back.size, @@ -97,7 +98,8 @@ intelMapScreenRegions(__DRIscreenPrivate * sPriv) return GL_FALSE; } - _mesa_printf("Depth 0x%08x ", intelScreen->depth.handle); + if (0) + _mesa_printf("Depth 0x%08x ", intelScreen->depth.handle); if (drmMap(sPriv->fd, intelScreen->depth.handle, intelScreen->depth.size, @@ -432,7 +434,7 @@ intelInitDriver(__DRIscreenPrivate * sPriv) intelScreen->sarea_priv_offset = gDRIPriv->sarea_priv_offset; - if (1) + if (0) intelPrintDRIInfo(intelScreen, sPriv, gDRIPriv); intelScreen->drmMinor = sPriv->drmMinor;