aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-06-09 08:04:15 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-09 08:04:15 -0700
commit00dfb9ea7b2b461da4e1ed8834489be595b65f04 (patch)
treedd131c09b95cf716883abacb066cfe5424c3fedc /tools
parent4cbf8e3dce10ef0d06e5ef95ea88b084bbad2553 (diff)
bench_record: No need for --flags if there are no RecordingFlags anymore.
BUG=skia: R=robertphillips@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/327533002
Diffstat (limited to 'tools')
-rw-r--r--tools/bench_record.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/bench_record.cpp b/tools/bench_record.cpp
index 271597f52a..025127e4c2 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);
}