|
|
Chromium Code Reviews|
Created:
4 years ago by hubbe Modified:
4 years ago CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, pdr+graphicswatchlist_chromium.org, jbroman, Justin Novosad, Rik, f(malita), asvitkine+watch_chromium.org, blink-reviews, danakj+watch_chromium.org, ajuma+watch_chromium.org, Stephen Chennney, rwlbuis, ccameron Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Descriptioncolor: Add histograms for gamut
Add histograms recording color gamut information about images and screens.
BUG=667431
Committed: https://crrev.com/487d13845d53146564b64659c9a9611c93e23e22
Cr-Commit-Position: refs/heads/master@{#438715}
Patch Set 1 #Patch Set 2 : add ProPhoto + bugfix #
Total comments: 2
Patch Set 3 : fix GamutEnd #Patch Set 4 : merged #
Messages
Total messages: 48 (27 generated)
The CQ bit was checked by hubbe@chromium.org to run a CQ dry run
hubbe@chromium.org changed reviewers: + kbr@chromium.org
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by hubbe@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
hubbe@chromium.org changed reviewers: + msarett@chromium.org
https://codereview.chromium.org/2567983004/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.h (right): https://codereview.chromium.org/2567983004/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.h:62: GamutEnd = GamutBT2020 + 1, GamutEnd looks incorrectly computed. Why not just leave its value undefined, so that it's implicitly GamutUltraWide + 1?
Description was changed from ========== color: Add historgrams for gamut Add histograms recording color gamut information about images and screens. ========== to ========== color: Add histograms for gamut Add histograms recording color gamut information about images and screens. ==========
Also, could you please reference a bug ID?
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
Description was changed from ========== color: Add histograms for gamut Add histograms recording color gamut information about images and screens. ========== to ========== color: Add histograms for gamut Add histograms recording color gamut information about images and screens. BUG=44872 ==========
The CQ bit was checked by hubbe@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Added BUG https://codereview.chromium.org/2567983004/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.h (right): https://codereview.chromium.org/2567983004/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.h:62: GamutEnd = GamutBT2020 + 1, On 2016/12/13 01:45:52, Ken Russell wrote: > GamutEnd looks incorrectly computed. Why not just leave its value undefined, so > that it's implicitly GamutUltraWide + 1? Done.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
Issue 44872 has been closed as a duplicate. Could you refer to an open bug (presumably Issue 667431?) Thanks. LGTM with that change.
Description was changed from ========== color: Add histograms for gamut Add histograms recording color gamut information about images and screens. BUG=44872 ========== to ========== color: Add histograms for gamut Add histograms recording color gamut information about images and screens. BUG=667431 ==========
The CQ bit was checked by hubbe@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
Cool, glad we're measuring this! lgtm
ccameron@chromium.org changed reviewers: + ccameron@chromium.org
Could we histogram the continuous variable instead?
On 2016/12/13 16:56:41, ccameron (OOO til 12-19) wrote: > Could we histogram the continuous variable instead? How accurate are those histograms? I'd worry that we wouldn't see the difference between AdobeRGB and P3, as the cutoff has to be in the right place.
hubbe@chromium.org changed reviewers: + rkaplow@chromium.org
+rkaplow for histograms.xml
hubbe@chromium.org changed reviewers: + jwd@chromium.org
+ jwd for histograms.xml
lgtm enum version looks good. you could make a numeric histogram that tracks the continuous variable - there's flexibility in how the buckets are set, so you could make sure you had enough buckets that it was clearly defined (for example linear with enough buckets such that there would be no overlap).
On 2016/12/14 20:54:10, rkaplow wrote: > lgtm > > enum version looks good. > > you could make a numeric histogram that tracks the continuous variable - there's > flexibility in how the buckets are set, so you could make sure you had enough > buckets that it was clearly defined (for example linear with enough buckets such > that there would be no overlap). I did think about it some more, and while it's tempting, I think it makes the data harder to use. The value of the variable uses a completely made-up scale, so it's not really possible to look up what the values mean anywhere, you just have to Know.
The CQ bit was checked by hubbe@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lgtm in that case giving a clear definition client side and using that as you did seems simplest and best, so L G T M
The CQ bit was unchecked by commit-bot@chromium.org
Failed to apply patch for
third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp:
While running git apply --index -p1;
error: patch failed:
third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp:35
error: third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp: patch
does not apply
Patch: third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp
Index: third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp
b/third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp
index
10969e12369f813e18fee2c1787079da3769ce82..4a2c359b175ea89dad2c75a6f693a5a9c412d4dc
100644
--- a/third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp
@@ -35,7 +35,7 @@ void ColorBehavior::setGlobalTargetColorProfile(
SkColorSpace::MakeICC(profile.data(), profile.size()).release();
// UMA statistics.
- BitmapImageMetrics::countOutputGamma(gTargetColorSpace);
+ BitmapImageMetrics::countOutputGammaAndGamut(gTargetColorSpace);
}
// static
The CQ bit was checked by hubbe@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from kbr@chromium.org, msarett@chromium.org, rkaplow@chromium.org Link to the patchset: https://codereview.chromium.org/2567983004/#ps60001 (title: "merged")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 60001, "attempt_start_ts": 1481760461497470,
"parent_rev": "0c45985a01a606db1b4e08ba26575721e074e8bc", "commit_rev":
"f867dc308c9bc0ec6e0874d1e3b939653a2d4f0e"}
Message was sent while issue was closed.
Description was changed from ========== color: Add histograms for gamut Add histograms recording color gamut information about images and screens. BUG=667431 ========== to ========== color: Add histograms for gamut Add histograms recording color gamut information about images and screens. BUG=667431 Review-Url: https://codereview.chromium.org/2567983004 ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== color: Add histograms for gamut Add histograms recording color gamut information about images and screens. BUG=667431 Review-Url: https://codereview.chromium.org/2567983004 ========== to ========== color: Add histograms for gamut Add histograms recording color gamut information about images and screens. BUG=667431 Committed: https://crrev.com/487d13845d53146564b64659c9a9611c93e23e22 Cr-Commit-Position: refs/heads/master@{#438715} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/487d13845d53146564b64659c9a9611c93e23e22 Cr-Commit-Position: refs/heads/master@{#438715} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
