Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: tools/bbh_shootout.cpp

Issue 194563003: Fix linking errors on android builds due to cdd0f92b1ac (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bbh_shootout.cpp
diff --git a/tools/bbh_shootout.cpp b/tools/bbh_shootout.cpp
index 0b5c018b6ebef325599604aa3be1cd021a790fe2..8d9ab63b6f2257f56e1ea829f7ec11d4e4f9b0bc 100644
--- a/tools/bbh_shootout.cpp
+++ b/tools/bbh_shootout.cpp
@@ -22,7 +22,7 @@ static const int kBBoxTypeCount = sk_tools::PictureRenderer::kLast_BBoxHierarchy
DEFINE_string2(skps, r, "", "The list of SKPs to benchmark.");
-DEFINE_string(bbh, "", "The set of bbox types to test. If empty, all are tested. "
+DEFINE_string(bb_types, "", "The set of bbox types to test. If empty, all are tested. "
"Should be one or more of none, quadtree, rtree, tilegrid.");
DEFINE_int32(record, 100, "Number of times to record each SKP.");
DEFINE_int32(playback, 1, "Number of times to playback each SKP.");
@@ -87,8 +87,8 @@ int tool_main(int argc, char** argv) {
SkAutoGraphics ag;
bool includeBBoxType[kBBoxTypeCount];
for (int bBoxType = 0; bBoxType < kBBoxTypeCount; ++bBoxType) {
- includeBBoxType[bBoxType] = (FLAGS_bbh.count() == 0) ||
- FLAGS_bbh.contains(kBBoxHierarchyTypeNames[bBoxType]);
+ includeBBoxType[bBoxType] = (FLAGS_bb_types.count() == 0) ||
+ FLAGS_bb_types.contains(kBBoxHierarchyTypeNames[bBoxType]);
}
// go through all the pictures
SkTArray<Measurement> measurements;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698