suppress font-purge messages
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 8 Nov 2011 14:59:38 +0000 (14:59 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 8 Nov 2011 14:59:38 +0000 (14:59 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@2623 2bbb7eff-a529-9590-31e7-b0007b416f81

gm/gmmain.cpp

index 99b1584..4e9ed90 100644 (file)
@@ -23,6 +23,8 @@
 #include "SkStream.h"
 #include "SkRefCnt.h"
 
+extern bool gSkSuppressFontCachePurgeSpew;
+
 #ifdef SK_SUPPORT_PDF
     #include "SkPDFDevice.h"
     #include "SkPDFDocument.h"
@@ -565,6 +567,8 @@ GrContext* GetGr() {
 
 int main(int argc, char * const argv[]) {
     SkAutoGraphics ag;
+    // we don't need to see this during a run
+    gSkSuppressFontCachePurgeSpew = true;
 
     const char* writePath = NULL;   // if non-null, where we write the originals
     const char* readPath = NULL;    // if non-null, were we read from to compare