Index: dm/DMQuiltTask.h |
diff --git a/dm/DMQuiltTask.h b/dm/DMQuiltTask.h |
index 1bc6a27478791c12af74119e5160dcb88e72c26b..79d82166f7a66f9d45fc29f601360f25a4070d51 100644 |
--- a/dm/DMQuiltTask.h |
+++ b/dm/DMQuiltTask.h |
@@ -12,27 +12,30 @@ |
namespace DM { |
class QuiltTask : public CpuTask { |
- |
public: |
- enum Mode { |
- kNoBBH_Mode, |
- kRTree_Mode, |
- kQuadTree_Mode, |
- kTileGrid_Mode, |
- kSkRecord_Mode, // Currently uses no BBH. |
+ enum BBH { |
+ kNone_BBH, |
+ kRTree_BBH, |
+ kQuadTree_BBH, |
+ kTileGrid_BBH, |
+ }; |
+ enum Backend { |
+ kDefault_Backend, |
+ kSkRecord_Backend, |
}; |
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); |
+ BBH, Backend); |
virtual void draw() SK_OVERRIDE; |
virtual bool shouldSkip() const SK_OVERRIDE; |
virtual SkString name() const SK_OVERRIDE { return fName; } |
private: |
- const Mode fMode; |
+ const BBH fBBH; |
+ const Backend fBackend; |
const SkString fName; |
SkAutoTDelete<skiagm::GM> fGM; |
const SkBitmap fReference; |