diff options
author | mtklein <mtklein@chromium.org> | 2016-02-29 07:38:01 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-29 07:38:01 -0800 |
commit | 409d470a4973e2ba9f95983b9820931adcf7cd73 (patch) | |
tree | 9a792b69d5cd4a26a95175460aad7ec148fc115a /dm/DMJsonWriter.h | |
parent | f236ee4e44662e519db4b4997eee5d2bc8543f9c (diff) |
Add gamma_correct option field to dm.json
E.g.
{
"max_rss_MB" : 23,
"results" : [
{
"key" : {
"config" : "pdf",
"name" : "gamma",
"source_type" : "gm"
},
"md5" : "c5dfb531f4d76c77c3305b6a04733262",
"options" : {
"ext" : "pdf",
"gamma_correct" : false
}
},
{
"key" : {
"config" : "8888",
"name" : "gamma",
"source_type" : "gm"
},
"md5" : "6177860ed24106446d3a9087527e67bf",
"options" : {
"ext" : "png",
"gamma_correct" : false
}
},
{
"key" : {
"config" : "f16",
"name" : "gamma",
"source_type" : "gm"
},
"md5" : "213f80145953ecd4c71e0612447b2ad9",
"options" : {
"ext" : "png",
"gamma_correct" : true
}
}
]
}
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1741973002
Review URL: https://codereview.chromium.org/1741973002
Diffstat (limited to 'dm/DMJsonWriter.h')
-rw-r--r-- | dm/DMJsonWriter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dm/DMJsonWriter.h b/dm/DMJsonWriter.h index 67c9cf6a1a..68e27a54b1 100644 --- a/dm/DMJsonWriter.h +++ b/dm/DMJsonWriter.h @@ -29,6 +29,7 @@ public: SkString sourceOptions; // "image", "codec", "subset", "scanline" SkString md5; // In ASCII, so 32 bytes long. SkString ext; // Extension of file we wrote: "png", "pdf", ... + bool gammaCorrect; // Old configs are not gamma correct, some new ones are. }; /** |