Index: bench/RTreeBench.cpp |
diff --git a/bench/RTreeBench.cpp b/bench/RTreeBench.cpp |
index 2d86c2d42a84104c2f6abc5d8beb9312ec9a6618..6991b3fb87ae296541251c289648c7c65867e333 100644 |
--- a/bench/RTreeBench.cpp |
+++ b/bench/RTreeBench.cpp |
@@ -34,8 +34,12 @@ public: |
if (fBulkLoad) { |
fName.append("_bulk"); |
} |
- fIsRendering = false; |
} |
+ |
+ virtual bool isSuitableFor(Backend backend) SK_OVERRIDE { |
+ return backend == kNonRendering_Backend; |
+ } |
+ |
virtual ~BBoxBuildBench() { |
fTree->unref(); |
} |
@@ -84,8 +88,12 @@ public: |
if (fBulkLoad) { |
fName.append("_bulk"); |
} |
- fIsRendering = false; |
} |
+ |
+ virtual bool isSuitableFor(Backend backend) SK_OVERRIDE { |
+ return backend == kNonRendering_Backend; |
+ } |
+ |
virtual ~BBoxQueryBench() { |
fTree->unref(); |
} |