Index: bench/PicturePlaybackBench.cpp |
diff --git a/bench/PicturePlaybackBench.cpp b/bench/PicturePlaybackBench.cpp |
index a1f2daeca5d92d36b17a2c361e173792dc499fc3..1701d140d5cf3ace3f0f5a9453670cd63b24f68a 100644 |
--- a/bench/PicturePlaybackBench.cpp |
+++ b/bench/PicturePlaybackBench.cpp |
@@ -144,7 +144,7 @@ DEF_BENCH( return new PosTextPlaybackBench(false); ) |
// Chrome draws into small tiles with impl-side painting. |
// This benchmark measures the relative performance of our bounding-box hierarchies, |
// both when querying tiles perfectly and when not. |
-enum BBH { kNone, kRTree, kTileGrid }; |
+enum BBH { kNone, kRTree }; |
enum Mode { kTiled, kRandom }; |
class TiledPlaybackBench : public Benchmark { |
public: |
@@ -152,7 +152,6 @@ public: |
switch (fBBH) { |
case kNone: fName.append("_none" ); break; |
case kRTree: fName.append("_rtree" ); break; |
- case kTileGrid: fName.append("_tilegrid"); break; |
} |
switch (fMode) { |
case kTiled: fName.append("_tiled" ); break; |
@@ -164,12 +163,10 @@ public: |
virtual SkIPoint onGetSize() SK_OVERRIDE { return SkIPoint::Make(1024,1024); } |
virtual void onPreDraw() SK_OVERRIDE { |
- SkTileGridFactory::TileGridInfo info = { { 256, 256 }, {0,0}, {0,0} }; |
SkAutoTDelete<SkBBHFactory> factory; |
switch (fBBH) { |
case kNone: break; |
case kRTree: factory.reset(new SkRTreeFactory); break; |
- case kTileGrid: factory.reset(new SkTileGridFactory(info)); break; |
} |
SkPictureRecorder recorder; |
@@ -220,5 +217,3 @@ DEF_BENCH( return new TiledPlaybackBench(kNone, kRandom); ) |
DEF_BENCH( return new TiledPlaybackBench(kNone, kTiled ); ) |
DEF_BENCH( return new TiledPlaybackBench(kRTree, kRandom); ) |
DEF_BENCH( return new TiledPlaybackBench(kRTree, kTiled ); ) |
-DEF_BENCH( return new TiledPlaybackBench(kTileGrid, kRandom); ) |
-DEF_BENCH( return new TiledPlaybackBench(kTileGrid, kTiled ); ) |