Author: fireball Date: Sat Dec 30 01:24:43 2006 New Revision: 25241
URL: http://svn.reactos.org/svn/reactos?rev=25241&view=rev Log: - Comment out the performance counting ("hits: xxx misses: yyy") part for the freetype lib.
Modified: trunk/reactos/subsystems/win32/win32k/objects/text.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/text.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/obj... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/objects/text.c (original) +++ trunk/reactos/subsystems/win32/win32k/objects/text.c Sat Dec 30 01:24:43 2006 @@ -1478,11 +1478,13 @@
if (CurrentEntry == &FontCacheListHead) { // DbgPrint("Miss! %x\n", FontEntry->Glyph); +/* Misses++; if (Misses>100) { DbgPrint ("Hits: %d Misses: %d\n", Hits, Misses); Hits = Misses = 0; } +*/ return NULL; }
@@ -1490,11 +1492,14 @@ InsertHeadList(&FontCacheListHead, CurrentEntry);
// DbgPrint("Hit! %x\n", FontEntry->Glyph); +/* Hits++; + if (Hits>100) { DbgPrint ("Hits: %d Misses: %d\n", Hits, Misses); Hits = Misses = 0; } +*/ return FontEntry->Glyph; }