aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsThreadedCommon.h
diff options
context:
space:
mode:
authorGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-02 14:49:34 +0000
committerGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-02 14:49:34 +0000
commit7eaa53d8f7e48fd17d02b5e3bd91f90e9c1899ef (patch)
tree057de94d997d99e897c68157f7444fbca687ebf9 /tests/PathOpsThreadedCommon.h
parent77af6805e5faea1e2a5c0220098aec9082f3a6e5 (diff)
path ops work in progress
make more skps work remove edit files BUG= Review URL: https://codereview.chromium.org/23542056 git-svn-id: http://skia.googlecode.com/svn/trunk@11570 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PathOpsThreadedCommon.h')
-rw-r--r--tests/PathOpsThreadedCommon.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/PathOpsThreadedCommon.h b/tests/PathOpsThreadedCommon.h
index e6d3bed725..ee9339065f 100644
--- a/tests/PathOpsThreadedCommon.h
+++ b/tests/PathOpsThreadedCommon.h
@@ -7,6 +7,7 @@
#ifndef PathOpsThreadedCommon_DEFINED
#define PathOpsThreadedCommon_DEFINED
+#include "SkGraphics.h"
#include "SkRunnable.h"
#include "SkTDArray.h"
@@ -25,7 +26,7 @@ struct PathOpsThreadState {
unsigned char fD;
char* fPathStr;
const char* fKey;
- char fSerialNo[64];
+ char fSerialNo[256];
skiatest::Reporter* fReporter;
SkBitmap* fBitmap;
};
@@ -72,6 +73,7 @@ public:
fState.fBitmap = &bitmap;
char pathStr[PATH_STR_SIZE];
fState.fPathStr = pathStr;
+ SkGraphics::SetTLSFontCacheLimit(1 * 1024 * 1024);
(*fTestFun)(&fState);
}