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

Issue 815933006: Change all uses of the RoundedRect class to use FloatRoundedRect instead. (Closed)

Created:
6 years ago by chrishtr
Modified:
5 years, 11 months ago
Reviewers:
trchen
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-rendering, Rik, danakj, Dominik Röttsches, krit, eae+blinkwatch, enne (OOO), f(malita), jbroman, jchaffraix+rendering, leviw+renderwatch, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Change all uses of the RoundedRect class to use FloatRoundedRect instead. This is step 1 of subpixel positioning of rounded rects. That will in turn allow us to get rid of most of the bleed-avoidance code in BoxDecorationData. And that code is not Slimming Paint compatible (see the referenced bug). The CL also gets rid of duplicate code between the two classes. BUG=382491 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187752

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -626 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 1 chunk +26 lines, -0 lines 0 comments Download
M Source/core/paint/BoxClipper.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/paint/BoxPainter.h View 3 chunks +10 lines, -9 lines 0 comments Download
M Source/core/paint/BoxPainter.cpp View 1 2 3 4 5 36 chunks +71 lines, -69 lines 0 comments Download
M Source/core/paint/LayerClipRecorder.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/paint/LayerClipRecorder.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/paint/PartPainter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/paint/ReplacedPainter.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/HitTestLocation.h View 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/rendering/HitTestLocation.cpp View 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBox.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumMac.mm View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/shapes/BoxShapeTest.cpp View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/rendering/shapes/Shape.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/rendering/shapes/Shape.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/shapes/ShapeOutsideInfo.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/style/RenderStyle.h View 2 chunks +3 lines, -4 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.cpp View 1 4 chunks +9 lines, -10 lines 0 comments Download
M Source/platform/blink_platform.gypi View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
M Source/platform/geometry/FloatRoundedRect.h View 1 2 3 6 chunks +26 lines, -3 lines 0 comments Download
M Source/platform/geometry/FloatRoundedRect.cpp View 1 2 3 4 5 6 7 3 chunks +127 lines, -0 lines 0 comments Download
D Source/platform/geometry/RoundedRect.h View 1 2 1 chunk +0 lines, -132 lines 0 comments Download
D Source/platform/geometry/RoundedRect.cpp View 1 2 1 chunk +0 lines, -247 lines 0 comments Download
D Source/platform/geometry/RoundedRectTest.cpp View 1 2 3 1 chunk +0 lines, -83 lines 0 comments Download
M Source/platform/graphics/GraphicsContext.h View 6 chunks +12 lines, -10 lines 0 comments Download
M Source/platform/graphics/GraphicsContext.cpp View 1 2 3 12 chunks +16 lines, -17 lines 0 comments Download
M Source/platform/graphics/GraphicsContextTest.cpp View 2 chunks +5 lines, -5 lines 0 comments Download
M Source/platform/graphics/Path.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/platform/graphics/Path.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/paint/ClipDisplayItem.h View 4 chunks +3 lines, -4 lines 0 comments Download
M Source/platform/graphics/paint/ClipDisplayItem.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/platform/graphics/paint/ClipRecorder.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M Source/platform/graphics/paint/FloatClipDisplayItem.cpp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 24 (10 generated)
chrishtr
https://codereview.chromium.org/815933006/diff/40001/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/815933006/diff/40001/LayoutTests/TestExpectations#newcode1 LayoutTests/TestExpectations:1: crbug.com/382491 fast/borders/border-radius-constraints.html [ NeedsRebaseline ] These are all very ...
6 years ago (2014-12-22 23:28:17 UTC) #2
trchen
LGTM. Looks like it is only clerical change. Is the performance impact for switching from ...
6 years ago (2014-12-22 23:32:59 UTC) #3
chrishtr
On 2014/12/22 at 23:32:59, trchen wrote: > LGTM. Looks like it is only clerical change. ...
5 years, 12 months ago (2014-12-23 18:05:14 UTC) #4
danakj
On Tue, Dec 23, 2014 at 10:05 AM, <chrishtr@chromium.org> wrote: > On 2014/12/22 at 23:32:59, ...
5 years, 12 months ago (2014-12-23 18:19:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815933006/140001
5 years, 12 months ago (2014-12-24 02:10:30 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/36640)
5 years, 12 months ago (2014-12-24 04:43:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815933006/140001
5 years, 12 months ago (2014-12-24 19:48:17 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/36711)
5 years, 12 months ago (2014-12-24 22:15:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815933006/160001
5 years, 12 months ago (2014-12-24 23:24:45 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/103381)
5 years, 12 months ago (2014-12-24 23:29:35 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815933006/160001
5 years, 12 months ago (2014-12-25 05:35:33 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_compile_dbg/builds/30848) win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/43759) win_gpu ...
5 years, 12 months ago (2014-12-25 05:40:51 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815933006/160001
5 years, 11 months ago (2014-12-29 18:13:51 UTC) #23
commit-bot: I haz the power
5 years, 11 months ago (2014-12-29 19:01:53 UTC) #24
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187752

Powered by Google App Engine
This is Rietveld 408576698