| Index: dm/DMQuiltTask.h
|
| diff --git a/dm/DMQuiltTask.h b/dm/DMQuiltTask.h
|
| index 56f322f067c68997b6516c32b949faa0fe143f95..5f6566237d746f735fb0f6e2f896ed880b8419e4 100644
|
| --- a/dm/DMQuiltTask.h
|
| +++ b/dm/DMQuiltTask.h
|
| @@ -14,15 +14,22 @@ namespace DM {
|
| class QuiltTask : public CpuTask {
|
|
|
| public:
|
| - QuiltTask(const Task& parent, // QuiltTask must be a child task. Pass its parent here.
|
| - skiagm::GM*, // GM to run through a picture. Takes ownership.
|
| - SkBitmap reference); // Bitmap to compare picture replay results to.
|
| + enum Mode {
|
| + kNormal_Mode,
|
| + kSkRecord_Mode,
|
| + };
|
| +
|
| + QuiltTask(const Task& parent, // QuiltTask must be a child task. Pass its parent here.
|
| + skiagm::GM*, // GM to run through a picture. Takes ownership.
|
| + SkBitmap reference, // Bitmap to compare picture replay results to.
|
| + Mode mode);
|
|
|
| virtual void draw() SK_OVERRIDE;
|
| virtual bool shouldSkip() const SK_OVERRIDE;
|
| virtual SkString name() const SK_OVERRIDE { return fName; }
|
|
|
| private:
|
| + const Mode fMode;
|
| const SkString fName;
|
| SkAutoTDelete<skiagm::GM> fGM;
|
| const SkBitmap fReference;
|
|
|