Index: dm/DMReplayTask.h |
diff --git a/dm/DMReplayTask.h b/dm/DMReplayTask.h |
index 78bef0dfd8aae9399d1694e0066e24472188b088..de28172000d6eba391554e3ad0ac57543583be79 100644 |
--- a/dm/DMReplayTask.h |
+++ b/dm/DMReplayTask.h |
@@ -14,20 +14,24 @@ namespace DM { |
class ReplayTask : public CpuTask { |
public: |
+ enum Mode { |
+ kNormal_Mode, |
+ kRTree_Mode, |
+ }; |
ReplayTask(const Task& parent, // ReplayTask 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. |
- bool useRTree); // Record with an RTree? |
+ Mode); |
virtual void draw() SK_OVERRIDE; |
virtual bool shouldSkip() const SK_OVERRIDE; |
virtual SkString name() const SK_OVERRIDE { return fName; } |
private: |
+ const bool fUseRTree; |
const SkString fName; |
SkAutoTDelete<skiagm::GM> fGM; |
const SkBitmap fReference; |
- const bool fUseRTree; |
}; |
} // namespace DM |