summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915tex
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-11-01 18:48:28 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-11-01 18:48:28 +0000
commit4db0c89d25d776f7d68a34fa9e489ce0294dacd3 (patch)
treed6ece46de529e7e31bb49a760e5b897bf8c3f63a /src/mesa/drivers/dri/i915tex
parent361d137587d1b7a6a18ddc33c7862ff5e6ddd648 (diff)
disable debug printfs
Diffstat (limited to 'src/mesa/drivers/dri/i915tex')
-rw-r--r--src/mesa/drivers/dri/i915tex/i915_context.c3
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_screen.c8
2 files changed, 7 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i915tex/i915_context.c b/src/mesa/drivers/dri/i915tex/i915_context.c
index 924de169c7..4cbe29d79d 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 c04831be1b..9bbfabbb8c 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;