aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
authorGravatar herb <herb@google.com>2016-05-27 10:57:58 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-27 10:57:58 -0700
commitca1ec03c5c8db26e07a931415e9592d8e1966da0 (patch)
tree74bb473018d0d49859147bd19ce9d59e7cd38348 /bench
parent785a5b941a4d74a1f272729fe8dca55c6eda6bb8 (diff)
Move forceSRGB to SkCommonFlags.
This fixes a duplicate symbol problem with the iOS build. Add common forceSRGB flag. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2019073002 Review-Url: https://codereview.chromium.org/2019073002
Diffstat (limited to 'bench')
-rw-r--r--bench/nanobench.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index 6af54d830f..55ef34e79d 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -123,8 +123,6 @@ DEFINE_string(sourceType, "",
DEFINE_string(benchType, "",
"Apply usual --match rules to bench type: micro, recording, playback, skcodec, etc.");
-DEFINE_bool(forceSRGB, false, "Force SRGB for imageinfos");
-
static double now_ms() { return SkTime::GetNSecs() * 1e-6; }
static SkString humanize(double ms) {