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

Issue 2359843003: Turning on clip anti-aliasing by default in Chrome. (Closed)

Created:
4 years, 3 months ago by zakerinasab
Modified:
4 years, 2 months ago
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org, mlamouri+watch-content_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Removing run-time flag "--enable-2d-canvas-clip-aa". Setting the default behavior to anti-aliasing 2D canvas clips. Adding run-time flag "--disable-2d-canvas-clip-aa". BUG=424291 Committed: https://crrev.com/20ebca037955834a66e956a2dae71daef7884d25 Cr-Commit-Position: refs/heads/master@{#421198}

Patch Set 1 : Enabling clip anti-aliasing by default. #

Patch Set 2 : Adding --disable-2d-canvas-clip-aa flag. #

Patch Set 3 : Adding the layout test. #

Total comments: 3

Patch Set 4 : Addressing comments from patch set 3. #

Total comments: 2

Patch Set 5 : Addressing comments. #

Total comments: 2

Patch Set 6 : Addressing comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -7 lines) Patch
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/content_switches.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/common/web_preferences.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/fast/canvas/canvas-2d-clip-anti-aliasing.html View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Settings.in View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (7 generated)
zakerinasab
New patch is submitted. This patch activates anti-aliasing for canvas 2d clips by default, and ...
4 years, 3 months ago (2016-09-21 21:06:05 UTC) #3
Justin Novosad
https://codereview.chromium.org/2359843003/diff/40001/content/public/common/web_preferences.cc File content/public/common/web_preferences.cc (right): https://codereview.chromium.org/2359843003/diff/40001/content/public/common/web_preferences.cc#newcode114 content/public/common/web_preferences.cc:114: antialiased_clips_2d_canvas_disabled(false), instead of changing the name, initialize this to ...
4 years, 3 months ago (2016-09-21 21:27:02 UTC) #4
zakerinasab
On 2016/09/21 21:27:02, Justin Novosad wrote: > https://codereview.chromium.org/2359843003/diff/40001/content/public/common/web_preferences.cc > File content/public/common/web_preferences.cc (right): > > https://codereview.chromium.org/2359843003/diff/40001/content/public/common/web_preferences.cc#newcode114 ...
4 years, 3 months ago (2016-09-22 14:10:23 UTC) #5
xlai (Olivia)
https://codereview.chromium.org/2359843003/diff/40001/third_party/WebKit/Source/core/frame/Settings.in File third_party/WebKit/Source/core/frame/Settings.in (right): https://codereview.chromium.org/2359843003/diff/40001/third_party/WebKit/Source/core/frame/Settings.in#newcode90 third_party/WebKit/Source/core/frame/Settings.in:90: antialiasedClips2dCanvasDisabled initial=false On 2016/09/21 21:27:02, Justin Novosad wrote: > ...
4 years, 3 months ago (2016-09-22 14:11:35 UTC) #6
zakerinasab
New patch submitted.
4 years, 3 months ago (2016-09-22 19:00:19 UTC) #7
Justin Novosad
https://codereview.chromium.org/2359843003/diff/60001/third_party/WebKit/LayoutTests/fast/canvas/canvas-2d-clip-anti-aliasing.html File third_party/WebKit/LayoutTests/fast/canvas/canvas-2d-clip-anti-aliasing.html (right): https://codereview.chromium.org/2359843003/diff/60001/third_party/WebKit/LayoutTests/fast/canvas/canvas-2d-clip-anti-aliasing.html#newcode29 third_party/WebKit/LayoutTests/fast/canvas/canvas-2d-clip-anti-aliasing.html:29: // junction of the third and fourth segments of ...
4 years, 3 months ago (2016-09-22 19:15:18 UTC) #8
zakerinasab
New patch submitted.
4 years, 3 months ago (2016-09-22 19:54:35 UTC) #9
Justin Novosad
https://codereview.chromium.org/2359843003/diff/80001/third_party/WebKit/LayoutTests/fast/canvas/canvas-2d-clip-anti-aliasing.html File third_party/WebKit/LayoutTests/fast/canvas/canvas-2d-clip-anti-aliasing.html (right): https://codereview.chromium.org/2359843003/diff/80001/third_party/WebKit/LayoutTests/fast/canvas/canvas-2d-clip-anti-aliasing.html#newcode51 third_party/WebKit/LayoutTests/fast/canvas/canvas-2d-clip-anti-aliasing.html:51: }, 'canvas-2d-clip-anti-aliasing should not return any error'); This string ...
4 years, 3 months ago (2016-09-22 19:56:48 UTC) #10
zakerinasab
New patch submitted. https://codereview.chromium.org/2359843003/diff/80001/third_party/WebKit/LayoutTests/fast/canvas/canvas-2d-clip-anti-aliasing.html File third_party/WebKit/LayoutTests/fast/canvas/canvas-2d-clip-anti-aliasing.html (right): https://codereview.chromium.org/2359843003/diff/80001/third_party/WebKit/LayoutTests/fast/canvas/canvas-2d-clip-anti-aliasing.html#newcode51 third_party/WebKit/LayoutTests/fast/canvas/canvas-2d-clip-anti-aliasing.html:51: }, 'canvas-2d-clip-anti-aliasing should not return any ...
4 years, 3 months ago (2016-09-22 20:09:24 UTC) #11
Justin Novosad
lgtm for third_part/WebKit/*
4 years, 3 months ago (2016-09-22 20:42:33 UTC) #12
zakerinasab
On 2016/09/22 20:42:33, Justin Novosad wrote: > lgtm for third_part/WebKit/* +ccameron@chromium.org for content/browser/renderer_host/ +dcheng@chromium.org for ...
4 years, 3 months ago (2016-09-22 20:57:20 UTC) #13
zakerinasab
+ccameron@chromium.org for content/browser/renderer_host/ +dcheng@chromium.org for content/public/common/ +esprehn@chromium.org for content/renderer/
4 years, 3 months ago (2016-09-22 20:59:34 UTC) #15
ccameron
lgtm
4 years, 3 months ago (2016-09-22 21:00:16 UTC) #16
dcheng
I don't think I'm an owner for any files in this CL?
4 years, 3 months ago (2016-09-22 21:25:01 UTC) #17
zakerinasab
+pfeldman@chromium.org, please take a look at content/.
4 years, 3 months ago (2016-09-23 13:37:07 UTC) #19
pfeldman
lgtm
4 years, 2 months ago (2016-09-26 23:13:04 UTC) #20
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/2359843003/100001
4 years, 2 months ago (2016-09-27 13:06:06 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-09-27 14:22:59 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 14:25:00 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/20ebca037955834a66e956a2dae71daef7884d25
Cr-Commit-Position: refs/heads/master@{#421198}

Powered by Google App Engine
This is Rietveld 408576698