disable debug printfs
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 1 Nov 2006 18:48:28 +0000 (18:48 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 1 Nov 2006 18:48:28 +0000 (18:48 +0000)
src/mesa/drivers/dri/i915tex/i915_context.c
src/mesa/drivers/dri/i915tex/intel_screen.c

index 924de169c74bf8395a5b8b9d6212672556518923..4cbe29d79d6f5aae7af1f4fdbdf7887327ce6380 100644 (file)
@@ -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);
index c04831be1b152745a51815684608c842eef0f9f5..9bbfabbb8c36e1b5fb03e4f840a974ec9828febf 100644 (file)
@@ -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;