diff options
author | Owen Taylor <otaylor@huygens.home.fishsoup.net> | 2008-04-28 21:00:55 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2008-04-28 21:00:55 +0200 |
commit | 13fd2256300b61d88b840952d838f834523f5dd7 (patch) | |
tree | cf0dcb5bb2f05cbbf6119efc33cd2d1871736357 /exa | |
parent | fcb5949928f1c27f67f40c094c3c673786574422 (diff) |
EXA: Clean up debug messages
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa_glyphs.c | 3 | ||||
-rw-r--r-- | exa/exa_priv.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/exa/exa_glyphs.c b/exa/exa_glyphs.c index 851e43917..27ecd4a42 100644 --- a/exa/exa_glyphs.c +++ b/exa/exa_glyphs.c @@ -260,11 +260,9 @@ exaGlyphCacheHashLookup(ExaGlyphCachePtr cache, return -1; if (memcmp(pGlyph->sha1, cache->glyphs[entryPos].sha1, sizeof(pGlyph->sha1)) == 0){ - DBG_GLYPH_CACHE((" found entry at %d\n", slot)); return entryPos; } - DBG_GLYPH_CACHE((" lookup linear probe bumpalong\n")); slot--; if (slot < 0) slot = cache->hashSize - 1; @@ -284,7 +282,6 @@ exaGlyphCacheHashInsert(ExaGlyphCachePtr cache, while (TRUE) { /* hash table can never be full */ if (cache->hashEntries[slot] == -1) { - DBG_GLYPH_CACHE((" inserting entry at %d\n", slot)); cache->hashEntries[slot] = pos; return; } diff --git a/exa/exa_priv.h b/exa/exa_priv.h index 8a17f6590..f3b72ae66 100644 --- a/exa/exa_priv.h +++ b/exa/exa_priv.h @@ -61,7 +61,7 @@ #define DEBUG_MIGRATE 0 #define DEBUG_PIXMAP 0 #define DEBUG_OFFSCREEN 0 -#define DEBUG_GLYPH_CACHE 1 +#define DEBUG_GLYPH_CACHE 0 #if DEBUG_TRACE_FALL #define EXA_FALLBACK(x) \ |