diff options
Diffstat (limited to 'tests/PathOpsThreadedCommon.h')
-rw-r--r-- | tests/PathOpsThreadedCommon.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/PathOpsThreadedCommon.h b/tests/PathOpsThreadedCommon.h index 54586d95cc..8fe573f722 100644 --- a/tests/PathOpsThreadedCommon.h +++ b/tests/PathOpsThreadedCommon.h @@ -8,6 +8,8 @@ #define PathOpsThreadedCommon_DEFINED #include "SkGraphics.h" +#include "SkPath.h" +#include "SkString.h" #include "SkTDArray.h" #define PATH_STR_SIZE 512 @@ -23,11 +25,14 @@ struct PathOpsThreadState { unsigned char fB; unsigned char fC; unsigned char fD; - char* fPathStr; + SkString fPathStr; const char* fKey; char fSerialNo[256]; skiatest::Reporter* fReporter; SkBitmap* fBitmap; + + void outputProgress(const char* pathStr, SkPath::FillType); + void outputProgress(const char* pathStr, SkPathOp); }; class PathOpsThreadedTestRunner { |