Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(7)

Issue 1159113003: [SP] Don't invalidate the whole scrolled tree (Closed)

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

Description

[SP] Don't invalidate the whole scrolled tree We added the whole-tree invalidation before we used ScrollRecorder for all modes because the cull rects of all scrolled contents were changed after scroll at that time. The whole-tree invalidation is longer needed. Also fixed a bug about scrolled offset compensation in non-composited scrolling path. We need to compensate the accumulated scroll offset from the root paint layer. BUG=492387 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196449

Patch Set 1 : UnderInvalidationChecking #

Patch Set 2 : Normal CL #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Better solution #

Total comments: 5

Patch Set 6 : NeedsRebaselines (see previous try result); Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -18 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayerPainter.cpp View 1 2 3 4 5 3 chunks +22 lines, -12 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayerPaintingInfo.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp View 1 chunk +1 line, -6 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
Xianzhu
We'll have crbug.com/496239 (not covered by current layout tests) with this CL. Will land the ...
4 years, 11 months ago (2015-06-03 17:56:12 UTC) #7
chrishtr
https://codereview.chromium.org/1159113003/diff/170001/Source/core/paint/DeprecatedPaintLayerPainter.cpp File Source/core/paint/DeprecatedPaintLayerPainter.cpp (right): https://codereview.chromium.org/1159113003/diff/170001/Source/core/paint/DeprecatedPaintLayerPainter.cpp#newcode648 Source/core/paint/DeprecatedPaintLayerPainter.cpp:648: if (!paintingInfo.scrollOffsetAccumulation.isZero()) { Can you explain more why we ...
4 years, 11 months ago (2015-06-03 18:46:09 UTC) #8
Xianzhu
https://codereview.chromium.org/1159113003/diff/170001/Source/core/paint/DeprecatedPaintLayerPainter.cpp File Source/core/paint/DeprecatedPaintLayerPainter.cpp (right): https://codereview.chromium.org/1159113003/diff/170001/Source/core/paint/DeprecatedPaintLayerPainter.cpp#newcode648 Source/core/paint/DeprecatedPaintLayerPainter.cpp:648: if (!paintingInfo.scrollOffsetAccumulation.isZero()) { On 2015/06/03 18:46:08, chrishtr wrote: > ...
4 years, 11 months ago (2015-06-03 19:07:00 UTC) #9
Xianzhu
https://codereview.chromium.org/1159113003/diff/170001/Source/core/paint/DeprecatedPaintLayerPainter.cpp File Source/core/paint/DeprecatedPaintLayerPainter.cpp (right): https://codereview.chromium.org/1159113003/diff/170001/Source/core/paint/DeprecatedPaintLayerPainter.cpp#newcode648 Source/core/paint/DeprecatedPaintLayerPainter.cpp:648: if (!paintingInfo.scrollOffsetAccumulation.isZero()) { On 2015/06/03 19:06:59, Xianzhu wrote: > ...
4 years, 11 months ago (2015-06-03 19:42:42 UTC) #10
chrishtr
lgtm
4 years, 11 months ago (2015-06-03 21:07:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1159113003/190001
4 years, 11 months ago (2015-06-03 21:08:22 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/64846)
4 years, 11 months ago (2015-06-03 22:02:26 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1159113003/190001
4 years, 11 months ago (2015-06-03 22:08:10 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/64870)
4 years, 11 months ago (2015-06-03 22:54:35 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1159113003/190001
4 years, 11 months ago (2015-06-04 00:25:36 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/64905)
4 years, 11 months ago (2015-06-04 01:13:16 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1159113003/190001
4 years, 11 months ago (2015-06-04 02:03:44 UTC) #25
commit-bot: I haz the power
4 years, 11 months ago (2015-06-04 03:24:15 UTC) #26
Message was sent while issue was closed.
Committed patchset #6 (id:190001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196449

Powered by Google App Engine
This is Rietveld 408576698