Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Issue 2216073002: Color: Add ColorCorrectRendering flag (Closed)

Created:
4 years, 4 months ago by ccameron
Modified:
4 years, 4 months ago
CC:
chromium-reviews, blink-reviews-platform-graphics_chromium.org, jam, nasko+codewatch_chromium.org, kinuko+watch, rwlbuis, krit, drott+blinkwatch_chromium.org, dzhioev+watch_chromium.org, achuith+watch_chromium.org, dglazkov+blink, Rik, darin-cc_chromium.org, blink-reviews, ajuma+watch_chromium.org, blink-reviews-api_chromium.org, mlamouri+watch-content_chromium.org, dshwang, creis+watch_chromium.org, jbroman, pdr+graphicswatchlist_chromium.org, oshima+watch_chromium.org, Stephen Chennney, ajuma+watch-canvas_chromium.org, f(malita), danakj+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@decoder_profile
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Color: Add ColorCorrectRendering flag Re-use the ImageColorProfiles flag (except in the interface to testing internals). Hook this up to: - Remove QCMS color profiles from being baked into decoded images. - Tag decoded image SkBitmaps with their specified color profile. - Set canvas elements to be sRGB. Add support for enabling this feature in layout tests. Images with color profiles often appear blank with this flag, so don't add layout tests yet. BUG=44872 Committed: https://crrev.com/7c4df6c240fd6bbc5fbf622d503f470cd505c643 Cr-Commit-Position: refs/heads/master@{#411241}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove canvas part #

Total comments: 2

Patch Set 3 : Delete bunches more stuff #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -81 lines) Patch
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/common/common_param_traits_macros.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/content_switches.h View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M content/public/common/web_preferences.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/web_preferences.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 2 chunks +4 lines, -10 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M content/test/layouttest_support.cc View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/page/Page.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/Page.cpp View 1 2 3 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/testing/InternalSettings.h View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/testing/InternalSettings.cpp View 1 2 3 chunks +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/testing/InternalSettings.idl View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp View 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/ImageFrame.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp View 2 chunks +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebRuntimeFeatures.cpp View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 1 chunk +0 lines, -13 lines 0 comments Download
M third_party/WebKit/public/web/WebRuntimeFeatures.h View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/public/web/WebView.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 60 (32 generated)
ccameron
ptal (it's complaining about applying the patch in the tryjobs cause I haven't set up ...
4 years, 4 months ago (2016-08-04 22:57:52 UTC) #7
Justin Novosad
https://codereview.chromium.org/2216073002/diff/1/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp File third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp (right): https://codereview.chromium.org/2216073002/diff/1/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp#newcode67 third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp:67: colorSpace = SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named); Actually, could you leave this part ...
4 years, 4 months ago (2016-08-05 00:17:06 UTC) #8
ccameron
https://codereview.chromium.org/2216073002/diff/1/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp File third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp (right): https://codereview.chromium.org/2216073002/diff/1/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp#newcode67 third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp:67: colorSpace = SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named); On 2016/08/05 00:17:06, junov (slow until ...
4 years, 4 months ago (2016-08-05 00:39:49 UTC) #9
Justin Novosad
lgtm
4 years, 4 months ago (2016-08-05 01:02:23 UTC) #10
ccameron
OWNER stamps: oshima: chrome/browser/chromeos/ avi: content/
4 years, 4 months ago (2016-08-05 06:09:19 UTC) #12
Stephen Chennney
Would you mind briefly explaining why this is something that users might want to change ...
4 years, 4 months ago (2016-08-05 13:24:27 UTC) #14
oshima
c/b/chromeos lgtm
4 years, 4 months ago (2016-08-05 14:21:12 UTC) #15
Justin Novosad
On 2016/08/05 13:24:27, Stephen Chennney wrote: > Would you mind briefly explaining why this is ...
4 years, 4 months ago (2016-08-05 21:29:25 UTC) #16
ccameron
Adding avi@ for content/ stamp
4 years, 4 months ago (2016-08-08 22:42:03 UTC) #18
Avi (use Gerrit)
lgtm content stamp
4 years, 4 months ago (2016-08-09 00:15:46 UTC) #19
dcheng
https://codereview.chromium.org/2216073002/diff/20001/third_party/WebKit/Source/core/page/Page.cpp File third_party/WebKit/Source/core/page/Page.cpp (right): https://codereview.chromium.org/2216073002/diff/20001/third_party/WebKit/Source/core/page/Page.cpp#newcode296 third_party/WebKit/Source/core/page/Page.cpp:296: void Page::resetDeviceColorProfileForTesting() Drive-by: do we still need this method ...
4 years, 4 months ago (2016-08-09 01:34:30 UTC) #20
ccameron
https://codereview.chromium.org/2216073002/diff/20001/third_party/WebKit/Source/core/page/Page.cpp File third_party/WebKit/Source/core/page/Page.cpp (right): https://codereview.chromium.org/2216073002/diff/20001/third_party/WebKit/Source/core/page/Page.cpp#newcode296 third_party/WebKit/Source/core/page/Page.cpp:296: void Page::resetDeviceColorProfileForTesting() On 2016/08/09 01:34:30, dcheng (OOO Aug 1 ...
4 years, 4 months ago (2016-08-09 02:59:21 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2216073002/40001
4 years, 4 months ago (2016-08-09 03:00:12 UTC) #31
commit-bot: I haz the power
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_presubmit/builds/233493)
4 years, 4 months ago (2016-08-09 03:06:26 UTC) #33
ccameron
Adding pdr@ to OWNER WebKit public/web parts
4 years, 4 months ago (2016-08-09 06:17:23 UTC) #35
pdr.
On 2016/08/09 at 06:17:23, ccameron wrote: > Adding pdr@ to OWNER WebKit public/web parts LGTM
4 years, 4 months ago (2016-08-09 23:23:04 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2216073002/40001
4 years, 4 months ago (2016-08-09 23:25:35 UTC) #38
commit-bot: I haz the power
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_presubmit/builds/234390)
4 years, 4 months ago (2016-08-09 23:35:41 UTC) #40
ccameron
Adding inferno for traits_macros OWNER
4 years, 4 months ago (2016-08-10 00:28:28 UTC) #42
aarya
4 years, 4 months ago (2016-08-10 04:48:02 UTC) #44
Tom Sepez
traits LGTM.
4 years, 4 months ago (2016-08-10 17:29:32 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2216073002/40001
4 years, 4 months ago (2016-08-10 17:54:43 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/49695) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-10 17:57:48 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2216073002/60001
4 years, 4 months ago (2016-08-10 19:33:16 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/120185)
4 years, 4 months ago (2016-08-10 21:37:57 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2216073002/60001
4 years, 4 months ago (2016-08-11 00:41:07 UTC) #56
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-11 03:03:43 UTC) #58
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 03:05:39 UTC) #60
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7c4df6c240fd6bbc5fbf622d503f470cd505c643
Cr-Commit-Position: refs/heads/master@{#411241}

Powered by Google App Engine
This is Rietveld 408576698