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

Issue 2708403003: Implement canvas color space IDL format for 2D canvas (Closed)

Created:
3 years, 10 months ago by zakerinasab
Modified:
3 years, 10 months ago
CC:
chromium-reviews, dshwang, ajuma+watch-canvas_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, Rik, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement canvas color space IDL format for 2D canvas This patch updates the previous implementation of the canvas color space to match the latest changes of the proposal in https://github.com/WICG/canvas-color-space/blob/master/CanvasColorSpaceProposal.md BUG=634542 Review-Url: https://codereview.chromium.org/2708403003 Cr-Commit-Position: refs/heads/master@{#453052} Committed: https://chromium.googlesource.com/chromium/src/+/d0b25b0a993e6623ddf9deb789cbd6f9ae35435d

Patch Set 1 #

Patch Set 2 : Corrections #

Patch Set 3 : Corrections #

Patch Set 4 : Fixing layout test failures #

Total comments: 8

Patch Set 5 : Addressing comments #

Patch Set 6 : Addressing GPU pixel test failures #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -141 lines) Patch
M content/test/data/gpu/pixel_canvas_display_linear-rgb.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-getImageData-linear-rgb.html View 3 chunks +3 lines, -3 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-getImageData-rec-2020.html View 1 chunk +0 lines, -43 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/canvas/canvas-getImageData-rec2020.html View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/color-space/display_linear-rgb.html View 1 chunk +1 line, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/virtual/color_space/fast/canvas/color-space/canvas-colorSpace-attribute.html View 1 2 1 chunk +0 lines, -18 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/color_space/fast/canvas/color-space/canvas-colorspace-arguments.html View 1 2 3 4 1 chunk +59 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasContextCreationAttributes.idl View 1 3 4 1 chunk +15 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h View 1 2 3 chunks +13 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp View 1 2 3 4 5 chunks +47 lines, -22 lines 0 comments Download
D third_party/WebKit/Source/modules/canvas2d/Canvas2DContextAttributes.idl View 1 chunk +0 lines, -33 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp View 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DSettings.idl View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp View 1 2 3 4 4 chunks +16 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
zakerinasab
Patch uploaded to update the color managed canvas 2D code to match the new changes ...
3 years, 10 months ago (2017-02-23 17:46:25 UTC) #4
Justin Novosad
https://codereview.chromium.org/2708403003/diff/60001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/2708403003/diff/60001/third_party/WebKit/LayoutTests/TestExpectations#newcode769 third_party/WebKit/LayoutTests/TestExpectations:769: # Layout tests from fast/cavnas/color-space only pass on virtual/color_space ...
3 years, 10 months ago (2017-02-23 18:48:13 UTC) #5
zakerinasab
Comments addressed. New patch uploaded. PTAL. https://codereview.chromium.org/2708403003/diff/60001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/2708403003/diff/60001/third_party/WebKit/LayoutTests/TestExpectations#newcode769 third_party/WebKit/LayoutTests/TestExpectations:769: # Layout tests ...
3 years, 10 months ago (2017-02-23 20:22:33 UTC) #6
Justin Novosad
So far so good. Will take another look once you've addressed the failing tests.
3 years, 10 months ago (2017-02-23 21:51:32 UTC) #7
zakerinasab
On 2017/02/23 21:51:32, Justin Novosad wrote: > So far so good. Will take another look ...
3 years, 10 months ago (2017-02-24 17:47:08 UTC) #8
Justin Novosad
lgtm Please file a bug for moving the test out of virtual/color_space once color correct ...
3 years, 10 months ago (2017-02-24 18:16:44 UTC) #9
zakerinasab
On 2017/02/24 18:16:44, Justin Novosad wrote: > lgtm > > Please file a bug for ...
3 years, 10 months ago (2017-02-24 18:19:53 UTC) #10
haraken
LGTM
3 years, 10 months ago (2017-02-24 23:56:16 UTC) #12
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/2708403003/100001
3 years, 10 months ago (2017-02-25 01:59:41 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-02-25 02:47:02 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/d0b25b0a993e6623ddf9deb789cb...

Powered by Google App Engine
This is Rietveld 408576698