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

Unified Diff: tools/bench_record.cpp

Issue 327533002: bench_record: No need for --flags if there are no RecordingFlags anymore. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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/bench_record.cpp
diff --git a/tools/bench_record.cpp b/tools/bench_record.cpp
index 271597f52a3a13dbc711091421447ac093d8b97e..025127e4c28f0e8260fc1ab717156840ece2a401 100644
--- a/tools/bench_record.cpp
+++ b/tools/bench_record.cpp
@@ -25,7 +25,6 @@ __SK_FORCE_IMAGE_DECODER_LINKING;
DEFINE_string2(skps, r, "skps", "Directory containing SKPs to read and re-record.");
DEFINE_int32(loops, 900, "Number of times to re-record each SKP.");
-DEFINE_int32(flags, 0, "RecordingFlags to use.");
DEFINE_bool(endRecording, true, "If false, don't time SkPicture::endRecording()");
DEFINE_int32(nullSize, 1000, "Pretend dimension of null source picture.");
DEFINE_int32(tileGridSize, 512, "Set the tile grid size. Has no effect if bbh is not set to tilegrid.");
@@ -78,7 +77,7 @@ static void bench_record(SkPicture* src, const char* name, SkBBHFactory* bbhFact
SkDELETE(recording.releasePlayback());
} else {
SkPictureRecorder recorder;
- SkCanvas* canvas = recorder.beginRecording(width, height, bbhFactory, FLAGS_flags);
+ SkCanvas* canvas = recorder.beginRecording(width, height, bbhFactory);
if (NULL != src) {
src->draw(canvas);
}
« 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