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

Issue 865353002: Implement clip and scroll DisplayItems for PartPainter (Closed)

Created:
5 years, 11 months ago by trchen
Modified:
5 years, 11 months ago
Reviewers:
chrishtr, Xianzhu
CC:
blink-reviews, blink-reviews-paint_chromium.org, dshwang, slimming-paint-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Implement clip and scroll DisplayItems for PartPainter This CL implements clip and scroll DisplayItems for PartPainter for slimming paint. A new recorder RoundedInnerRectClipper is added as the slimming-paint version of BoxPainter::clipRoundedInnerRect. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188919

Patch Set 1 #

Total comments: 2

Patch Set 2 : de-dupe clipRoundedInnerRect #

Total comments: 5

Patch Set 3 : amend one missing early out in PartPainter #

Total comments: 9

Patch Set 4 : updated #

Patch Set 5 : amend one missing line in PartPainter #

Patch Set 6 : remove stray context->save #

Patch Set 7 : fix displayItemTypeForClipping unreachable failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -84 lines) Patch
M Source/core/core.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M Source/core/paint/BoxPainter.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/paint/BoxPainter.cpp View 1 5 chunks +4 lines, -37 lines 0 comments Download
M Source/core/paint/PartPainter.cpp View 1 2 3 4 4 chunks +22 lines, -25 lines 0 comments Download
M Source/core/paint/ReplacedPainter.cpp View 1 2 3 4 5 2 chunks +22 lines, -21 lines 0 comments Download
A Source/core/paint/RoundedInnerRectClipper.h View 1 2 3 4 5 6 1 chunk +35 lines, -0 lines 0 comments Download
A Source/core/paint/RoundedInnerRectClipper.cpp View 1 2 3 4 5 6 1 chunk +72 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
trchen
Hello reviewers, this CL enables non-composited iframe scrolling for slimming paint. PTAL. Thanks. https://codereview.chromium.org/865353002/diff/1/Source/core/frame/FrameView.cpp File ...
5 years, 11 months ago (2015-01-22 23:47:57 UTC) #2
chrishtr
https://codereview.chromium.org/865353002/diff/1/Source/core/paint/ContentBoxRadiusClipper.cpp File Source/core/paint/ContentBoxRadiusClipper.cpp (right): https://codereview.chromium.org/865353002/diff/1/Source/core/paint/ContentBoxRadiusClipper.cpp#newcode43 Source/core/paint/ContentBoxRadiusClipper.cpp:43: if (roundedContentBox.isRenderable()) { I don't get it. Where is ...
5 years, 11 months ago (2015-01-23 05:07:12 UTC) #4
chrishtr
On 2015/01/23 at 05:07:17, chrishtr wrote: > The CQ bit was unchecked by chrishtr@chromium.org Accidental ...
5 years, 11 months ago (2015-01-23 05:07:30 UTC) #6
trchen
On 2015/01/23 05:07:12, chrishtr wrote: > https://codereview.chromium.org/865353002/diff/1/Source/core/paint/ContentBoxRadiusClipper.cpp > File Source/core/paint/ContentBoxRadiusClipper.cpp (right): > > https://codereview.chromium.org/865353002/diff/1/Source/core/paint/ContentBoxRadiusClipper.cpp#newcode43 > ...
5 years, 11 months ago (2015-01-23 05:16:08 UTC) #7
chrishtr
On 2015/01/23 at 05:16:08, trchen wrote: > On 2015/01/23 05:07:12, chrishtr wrote: > > https://codereview.chromium.org/865353002/diff/1/Source/core/paint/ContentBoxRadiusClipper.cpp ...
5 years, 11 months ago (2015-01-23 18:18:44 UTC) #8
chrishtr
https://codereview.chromium.org/865353002/diff/20001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/865353002/diff/20001/Source/core/frame/FrameView.cpp#newcode1391 Source/core/frame/FrameView.cpp:1391: if (RuntimeEnabledFeatures::slimmingPaintEnabled()) { Remove this now right? https://codereview.chromium.org/865353002/diff/20001/Source/core/paint/BoxPainter.cpp File ...
5 years, 11 months ago (2015-01-23 23:35:34 UTC) #9
trchen
https://codereview.chromium.org/865353002/diff/20001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/865353002/diff/20001/Source/core/frame/FrameView.cpp#newcode1391 Source/core/frame/FrameView.cpp:1391: if (RuntimeEnabledFeatures::slimmingPaintEnabled()) { On 2015/01/23 23:35:33, chrishtr wrote: > ...
5 years, 11 months ago (2015-01-23 23:40:43 UTC) #10
trchen
https://codereview.chromium.org/865353002/diff/40001/Source/core/paint/BoxPainter.cpp File Source/core/paint/BoxPainter.cpp (right): https://codereview.chromium.org/865353002/diff/40001/Source/core/paint/BoxPainter.cpp#newcode340 Source/core/paint/BoxPainter.cpp:340: OwnPtr<RoundedInnerRectClipper> clipToBorder; s/the save scope/the same scope/
5 years, 11 months ago (2015-01-23 23:41:22 UTC) #11
chrishtr
I assume you're working on those comments now? On 2015/01/23 at 23:40:43, trchen wrote: > ...
5 years, 11 months ago (2015-01-23 23:43:56 UTC) #12
trchen
https://codereview.chromium.org/865353002/diff/20001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/865353002/diff/20001/Source/core/frame/FrameView.cpp#newcode1391 Source/core/frame/FrameView.cpp:1391: if (RuntimeEnabledFeatures::slimmingPaintEnabled()) { On 2015/01/23 23:40:42, trchen wrote: > ...
5 years, 11 months ago (2015-01-23 23:48:00 UTC) #13
chrishtr
Looks good modulu my comments about where the save/restore was for the second call to ...
5 years, 11 months ago (2015-01-23 23:53:04 UTC) #14
trchen
On 2015/01/23 23:53:04, chrishtr wrote: > Looks good modulu my comments about where the save/restore ...
5 years, 11 months ago (2015-01-23 23:55:52 UTC) #15
chrishtr
On 2015/01/23 at 23:55:52, trchen wrote: > On 2015/01/23 23:53:04, chrishtr wrote: > > Looks ...
5 years, 11 months ago (2015-01-24 00:06:56 UTC) #16
chrishtr
lgtm
5 years, 11 months ago (2015-01-24 00:57:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/865353002/100001
5 years, 11 months ago (2015-01-24 01:02:55 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/865353002/120001
5 years, 11 months ago (2015-01-24 01:31:19 UTC) #21
commit-bot: I haz the power
5 years, 11 months ago (2015-01-24 02:46:19 UTC) #22
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=188919

Powered by Google App Engine
This is Rietveld 408576698