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

Issue 2496913003: Display linear-srgb color managed canvas (Closed)

Created:
4 years, 1 month ago by zakerinasab
Modified:
4 years, 1 month ago
CC:
chromium-reviews, blink-reviews-html_chromium.org, creis+watch_chromium.org, ajuma+watch-canvas_chromium.org, nasko+codewatch_chromium.org, jam, dglazkov+blink, Rik, darin-cc_chromium.org, dshwang, blink-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Display linear-srgb color managed canvas When the canvas is tagged with linear-tgb color space, it is not displayed. This CL fixes this problem for software path and accelerated path and also the layout tests. BUG=657946 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/1837b16f64c579bc60b2e3ae512de9ee75f36836 Cr-Commit-Position: refs/heads/master@{#433229}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressing layout test issue #

Total comments: 2

Patch Set 3 : Addressing comments. #

Patch Set 4 : Cleanup #

Patch Set 5 : Addressing comments. #

Patch Set 6 : Setting the layout test to fail on Mac. #

Total comments: 5

Patch Set 7 : Addressing comments. #

Patch Set 8 : Removing Failure lines from TestExpectations #

Messages

Total messages: 40 (14 generated)
zakerinasab
New patch submitted. PTAL.
4 years, 1 month ago (2016-11-11 18:52:46 UTC) #3
Justin Novosad
https://codereview.chromium.org/2496913003/diff/1/cc/resources/resource.h File cc/resources/resource.h (right): https://codereview.chromium.org/2496913003/diff/1/cc/resources/resource.h#newcode25 cc/resources/resource.h:25: if (cmd->HasSwitch(switches::kEnableColorCorrectRendering)) Calling HasSwitch is an expensive check. You ...
4 years, 1 month ago (2016-11-11 19:10:30 UTC) #4
Justin Novosad
lgtm for third_party/WebKit
4 years, 1 month ago (2016-11-11 19:11:06 UTC) #5
ccameron
Hi, sorry for leaving so many traps here for other platforms (Mac is unusual in ...
4 years, 1 month ago (2016-11-11 20:00:44 UTC) #6
ccameron
Part of the issue here is that Aura (Linux+Windows) should specify a screen's ICC profile ...
4 years, 1 month ago (2016-11-12 04:30:12 UTC) #7
ccameron
On 2016/11/12 04:30:12, ccameron wrote: > Part of the issue here is that Aura (Linux+Windows) ...
4 years, 1 month ago (2016-11-14 22:17:49 UTC) #8
zakerinasab
On 2016/11/14 22:17:49, ccameron wrote: > On 2016/11/12 04:30:12, ccameron wrote: > > Part of ...
4 years, 1 month ago (2016-11-15 14:45:02 UTC) #9
zakerinasab
New patch submitted. PTAL. https://codereview.chromium.org/2496913003/diff/1/cc/resources/resource.h File cc/resources/resource.h (right): https://codereview.chromium.org/2496913003/diff/1/cc/resources/resource.h#newcode25 cc/resources/resource.h:25: if (cmd->HasSwitch(switches::kEnableColorCorrectRendering)) On 2016/11/11 19:10:30, ...
4 years, 1 month ago (2016-11-16 20:13:59 UTC) #12
ccameron
I think that the LayerTreeHostImpl part doesn't need to be changed. In particular, the LayerTreeHostImpl ...
4 years, 1 month ago (2016-11-16 20:26:22 UTC) #13
zakerinasab
On 2016/11/16 20:26:22, ccameron wrote: > I think that the LayerTreeHostImpl part doesn't need to ...
4 years, 1 month ago (2016-11-17 16:15:53 UTC) #16
zakerinasab
New patch submitted. PTAL. We still have issue with layout tests on Mac.
4 years, 1 month ago (2016-11-17 16:17:11 UTC) #17
ccameron
This LGTM despite the failures -- I suspect that they are related to the fact ...
4 years, 1 month ago (2016-11-17 21:26:58 UTC) #19
ccameron
On 2016/11/17 21:26:58, ccameron wrote: > This LGTM despite the failures -- I suspect that ...
4 years, 1 month ago (2016-11-17 21:27:21 UTC) #20
Justin Novosad
https://codereview.chromium.org/2496913003/diff/180001/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp File third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp (left): https://codereview.chromium.org/2496913003/diff/180001/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp#oldcode27 third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp:27: Please revert this whitespace change
4 years, 1 month ago (2016-11-17 21:37:06 UTC) #23
zakerinasab
On 2016/11/17 21:37:06, Justin Novosad wrote: > https://codereview.chromium.org/2496913003/diff/180001/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp > File third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp > (left): > > ...
4 years, 1 month ago (2016-11-17 21:40:01 UTC) #24
Justin Novosad
https://codereview.chromium.org/2496913003/diff/180001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/2496913003/diff/180001/third_party/WebKit/LayoutTests/TestExpectations#newcode379 third_party/WebKit/LayoutTests/TestExpectations:379: crbug.com/657946 fast/canvas/color-space/canvas-colorSpace-attribute.html [ Failure ] How come this test ...
4 years, 1 month ago (2016-11-17 21:40:12 UTC) #25
sadrul
stamp lgtm https://codereview.chromium.org/2496913003/diff/180001/content/browser/web_contents/web_contents_view_aura.cc File content/browser/web_contents/web_contents_view_aura.cc (right): https://codereview.chromium.org/2496913003/diff/180001/content/browser/web_contents/web_contents_view_aura.cc#newcode671 content/browser/web_contents/web_contents_view_aura.cc:671: gfx::ICCProfile::FromColorSpace(gfx::ColorSpace::CreateSRGB()); {}?
4 years, 1 month ago (2016-11-17 21:42:43 UTC) #27
Justin Novosad
On 2016/11/17 21:40:12, Justin Novosad wrote: > https://codereview.chromium.org/2496913003/diff/180001/third_party/WebKit/LayoutTests/TestExpectations > File third_party/WebKit/LayoutTests/TestExpectations (right): > > https://codereview.chromium.org/2496913003/diff/180001/third_party/WebKit/LayoutTests/TestExpectations#newcode379 ...
4 years, 1 month ago (2016-11-17 21:44:40 UTC) #28
Justin Novosad
On 2016/11/17 21:40:12, Justin Novosad wrote: > https://codereview.chromium.org/2496913003/diff/180001/third_party/WebKit/LayoutTests/TestExpectations > File third_party/WebKit/LayoutTests/TestExpectations (right): > > https://codereview.chromium.org/2496913003/diff/180001/third_party/WebKit/LayoutTests/TestExpectations#newcode379 ...
4 years, 1 month ago (2016-11-17 21:44:43 UTC) #29
xidachen
As discussed yesterday, please put this layout under the virtual/color_space/fast/canvas/color_space folder, in this case, the ...
4 years, 1 month ago (2016-11-18 13:56:58 UTC) #30
zakerinasab
New patch submitted. Extra failures removed from TestExpectations. https://codereview.chromium.org/2496913003/diff/180001/content/browser/web_contents/web_contents_view_aura.cc File content/browser/web_contents/web_contents_view_aura.cc (right): https://codereview.chromium.org/2496913003/diff/180001/content/browser/web_contents/web_contents_view_aura.cc#newcode671 content/browser/web_contents/web_contents_view_aura.cc:671: gfx::ICCProfile::FromColorSpace(gfx::ColorSpace::CreateSRGB()); ...
4 years, 1 month ago (2016-11-18 14:38:27 UTC) #31
Justin Novosad
lgtm
4 years, 1 month ago (2016-11-18 14:58:55 UTC) #32
xidachen
lgtm
4 years, 1 month ago (2016-11-18 15:00:17 UTC) #33
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/2496913003/240001
4 years, 1 month ago (2016-11-18 15:37:50 UTC) #36
commit-bot: I haz the power
Committed patchset #8 (id:240001)
4 years, 1 month ago (2016-11-18 17:40:56 UTC) #38
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 17:45:28 UTC) #40
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/1837b16f64c579bc60b2e3ae512de9ee75f36836
Cr-Commit-Position: refs/heads/master@{#433229}

Powered by Google App Engine
This is Rietveld 408576698