suppress font-purge messages

git-svn-id: http://skia.googlecode.com/svn/trunk@2623 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2011-11-08 14:59:38 +00:00
parent 6c99633f73
commit 8923c6cfd5

View 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