diff options
author | egdaniel <egdaniel@google.com> | 2016-06-17 15:11:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-17 15:11:46 -0700 |
commit | 802acec1876bb647aaab1bbcfd97748bba54da8f (patch) | |
tree | 0016427a547439bc8403ff92079c635607db869b /tools | |
parent | 992a22d2e9f976f801c5de06c37f013293f11a82 (diff) |
Revert of More removal of SkColorProfileType... (patchset #2 id:20001 of https://codereview.chromium.org/2071393002/ )
Reason for revert:
This was still used in chrome
Original issue's description:
> More removal of SkColorProfileType...
>
> Scrub GMs. Remove the gDefaultProfile thing (it's unused now), along with
> the command line flag that was setting it in DM and nanobench.
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2071393002
>
> Committed: https://skia.googlesource.com/skia/+/944876f2745a62a839e49275daf93a0329372e67
TBR=msarett@google.com,reed@google.com,bsalomon@google.com,brianosman@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review-Url: https://codereview.chromium.org/2074103004
Diffstat (limited to 'tools')
-rw-r--r-- | tools/flags/SkCommonFlags.cpp | 2 | ||||
-rw-r--r-- | tools/flags/SkCommonFlags.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tools/flags/SkCommonFlags.cpp b/tools/flags/SkCommonFlags.cpp index 1caffd54d6..3da5efebc5 100644 --- a/tools/flags/SkCommonFlags.cpp +++ b/tools/flags/SkCommonFlags.cpp @@ -13,6 +13,8 @@ DEFINE_bool(cpu, true, "master switch for running CPU-bound work."); DEFINE_bool(dryRun, false, "just print the tests that would be run, without actually running them."); +DEFINE_bool(forceSRGB, false, "Force SRGB for imageinfos"); + DEFINE_bool(gpu, true, "master switch for running GPU-bound work."); DEFINE_string(images, "", "List of images and/or directories to decode. A directory with no images" diff --git a/tools/flags/SkCommonFlags.h b/tools/flags/SkCommonFlags.h index ddd0fc89e0..b7eaca4eba 100644 --- a/tools/flags/SkCommonFlags.h +++ b/tools/flags/SkCommonFlags.h @@ -14,6 +14,7 @@ DECLARE_bool(cpu); DECLARE_bool(dryRun); +DECLARE_bool(forceSRGB); DECLARE_bool(gpu); DECLARE_string(images); DECLARE_string(colorImages); |