Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1865)

Unified Diff: tests/PathOpsThreadedCommon.h

Issue 23542056: path ops work in progress (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: verbose + mutex around file number access Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/PathOpsSkpTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/PathOpsThreadedCommon.h
diff --git a/tests/PathOpsThreadedCommon.h b/tests/PathOpsThreadedCommon.h
index e6d3bed725c103dca2a1eb5a2c5ebb7142b793fd..ee9339065feb549af2950a511caa10bad9eb5705 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);
}
« no previous file with comments | « tests/PathOpsSkpTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698