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

Issue 2893243003: color: Add ColorCanvasExtensions runtime flag (Closed)

Created:
3 years, 7 months ago by ccameron
Modified:
3 years, 7 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, blink-reviews-html_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, blink-reviews-api_chromium.org, dglazkov+blink, Rik, darin-cc_chromium.org, dshwang, blink-reviews, blink-reviews-frames_chromium.org, kinuko+watch, zakerinasab
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

color: Add ColorCanvasExtensions runtime flag These features being developed behind --enable-color-correct-rendering and --enable-experimental-canvas-features. We're turning on --enable-color-correct-rendering for all layout tests, some of which also use --enable-experimental-canvas-features, but do not want to opt in to new canvas behaviors (at least yet). To avoid this, use the Blink feature flag ColorCanvasExtensions. While we're in the neighborhood, pull out the uses of the flag --enable-color-correct-rendering-default-mode and related code. BUG=724733 Review-Url: https://codereview.chromium.org/2893243003 Cr-Commit-Position: refs/heads/master@{#474921} Committed: https://chromium.googlesource.com/chromium/src/+/b1e300b0f88b6a65a87c9b27cd3e327499c25e86

Patch Set 1 #

Patch Set 2 : Fix logic error in ImageBitmap #

Total comments: 4

Patch Set 3 : Rebase #

Patch Set 4 : Remove extra flag cause we can use --enable-blink-features #

Patch Set 5 : Remove runtime features too #

Patch Set 6 : Rebase and resolve #

Patch Set 7 : Make not-experimental #

Patch Set 8 : Update webkit_unit_tests to use new flags #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -195 lines) Patch
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M content/public/common/common_param_traits_macros.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 1 chunk +0 lines, -7 lines 0 comments Download
M content/public/common/web_preferences.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/VirtualTestSuites View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmap.cpp View 1 5 chunks +9 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp View 1 2 3 4 5 6 7 4 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/ImageData.cpp View 3 chunks +3 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp View 2 chunks +1 line, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp View 1 2 3 4 5 6 7 7 chunks +10 lines, -99 lines 0 comments Download
M third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 View 1 2 3 4 5 6 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebRuntimeFeatures.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/public/platform/WebRuntimeFeatures.h View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 54 (31 generated)
ccameron
ptal -- this is needed to start enabling color-correct-rendering for layout tests
3 years, 7 months ago (2017-05-22 21:59:23 UTC) #2
Justin Novosad
Thanks for the drive-by clean-ups. https://codereview.chromium.org/2893243003/diff/20001/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp File third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp (left): https://codereview.chromium.org/2893243003/diff/20001/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp#oldcode1166 third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp:1166: TEST_F(CanvasRenderingContext2DTest, Why is this ...
3 years, 7 months ago (2017-05-23 19:20:28 UTC) #7
Justin Novosad
cc: zakerinasab (FYI)
3 years, 7 months ago (2017-05-23 19:21:09 UTC) #8
ccameron
Thanks -- updated comments WRT tests https://codereview.chromium.org/2893243003/diff/20001/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp File third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp (left): https://codereview.chromium.org/2893243003/diff/20001/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp#oldcode1166 third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp:1166: TEST_F(CanvasRenderingContext2DTest, On 2017/05/23 ...
3 years, 7 months ago (2017-05-23 19:23:49 UTC) #9
Justin Novosad
lgtm
3 years, 7 months ago (2017-05-23 20:57:56 UTC) #16
ccameron
+tsepez for IPC (renamed variable) +pdr for WebKit/Source/web and WebKit/public OWNER +avi for content/ OWNER
3 years, 7 months ago (2017-05-23 21:00:36 UTC) #18
Avi (use Gerrit)
lgtm
3 years, 7 months ago (2017-05-23 21:05:12 UTC) #19
Tom Sepez
lgtm RS
3 years, 7 months ago (2017-05-23 22:02:26 UTC) #20
pdr.
Two quick questions: ExperimentalCanvasFeatures is listed as "test" which should mean it's already on for ...
3 years, 7 months ago (2017-05-23 22:50:41 UTC) #23
ccameron
On 2017/05/23 22:50:41, pdr (OOO Jury Duty). wrote: > Two quick questions: > > ExperimentalCanvasFeatures ...
3 years, 7 months ago (2017-05-23 23:18:55 UTC) #24
ccameron
+dglazkov@ 'cause pdr@ vanished for jury duty. dglazkov, can you OWNER third_party/WebKit/Source/web/ and third_party/WebKit/Source/web/?
3 years, 7 months ago (2017-05-24 23:15:51 UTC) #27
haraken
On 2017/05/24 23:15:51, ccameron wrote: > +dglazkov@ 'cause pdr@ vanished for jury duty. > > ...
3 years, 7 months ago (2017-05-24 23:47:45 UTC) #28
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/2893243003/80001
3 years, 7 months ago (2017-05-24 23:50:44 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xcode-clang/builds/107222) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 7 months ago (2017-05-24 23:53:57 UTC) #33
pdr.
On 2017/05/24 at 23:15:51, ccameron wrote: > +dglazkov@ 'cause pdr@ vanished for jury duty. > ...
3 years, 7 months ago (2017-05-25 00:06:55 UTC) #34
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/2893243003/100001
3 years, 7 months ago (2017-05-25 00:14:00 UTC) #37
commit-bot: I haz the power
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_ng/builds/462364)
3 years, 7 months ago (2017-05-25 02:13:50 UTC) #39
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/2893243003/120001
3 years, 7 months ago (2017-05-25 19:34:48 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/464798)
3 years, 7 months ago (2017-05-25 21:39:13 UTC) #44
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/2893243003/140001
3 years, 7 months ago (2017-05-25 23:06:34 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/465079)
3 years, 7 months ago (2017-05-26 02:51:06 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/2893243003/140001
3 years, 7 months ago (2017-05-26 03:36:33 UTC) #51
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 05:24:49 UTC) #54
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/b1e300b0f88b6a65a87c9b27cd3e...

Powered by Google App Engine
This is Rietveld 408576698