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

Issue 1164713010: Invalidate non-composited subtree on needsPaintInvalidationLayer (Closed)

Created:
4 years, 11 months ago by Xianzhu
Modified:
4 years, 11 months ago
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-rendering, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Invalidate non-composited subtree on needsPaintInvalidationLayer This is important for slimming paint because invalidation of layer doesn't mean invalidation of all objects on the layer. Changed the layer tree walk to object tree walk. We may have the same performance concerns as we had when we changed invalidatePaintIncludingNonCompositingDescendants() from layer tree walk to object tree walk but we haven't observed performance degradation for that change. I believe this change will be similar. BUG=491993 TEST=fast/repaint/add-transform-repaint-descendants.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196534

Patch Set 1 #

Total comments: 4

Patch Set 2 : Update expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -33 lines) Patch
M LayoutTests/TestExpectations View 1 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/repaint/add-transform-repaint-descendants.html View 1 chunk +17 lines, -0 lines 0 comments Download
A LayoutTests/fast/repaint/add-transform-repaint-descendants-expected.html View 1 chunk +10 lines, -0 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 3 chunks +2 lines, -16 lines 0 comments Download
M Source/core/layout/LayoutObject.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/layout/LayoutObject.cpp View 1 2 chunks +17 lines, -1 line 0 comments Download
M Source/core/paint/DeprecatedPaintLayer.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayer.cpp View 1 2 chunks +1 line, -14 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Xianzhu
4 years, 11 months ago (2015-06-04 00:46:31 UTC) #2
trchen
https://codereview.chromium.org/1164713010/diff/1/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1164713010/diff/1/Source/core/frame/FrameView.cpp#newcode1348 Source/core/frame/FrameView.cpp:1348: layoutObject->setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); I'm not certain if this is needed. The ...
4 years, 11 months ago (2015-06-04 00:59:36 UTC) #3
Xianzhu
https://codereview.chromium.org/1164713010/diff/1/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1164713010/diff/1/Source/core/frame/FrameView.cpp#newcode1348 Source/core/frame/FrameView.cpp:1348: layoutObject->setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); On 2015/06/04 00:59:36, trchen wrote: > I'm not ...
4 years, 11 months ago (2015-06-04 01:49:56 UTC) #4
Xianzhu
On 2015/06/04 01:49:56, Xianzhu wrote: > For now there seems simple way to implement this. ...
4 years, 11 months ago (2015-06-04 02:02:05 UTC) #5
chrishtr
lgtm https://codereview.chromium.org/1164713010/diff/1/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1164713010/diff/1/Source/core/frame/FrameView.cpp#newcode1348 Source/core/frame/FrameView.cpp:1348: layoutObject->setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); On 2015/06/04 at 01:49:56, Xianzhu wrote: > ...
4 years, 11 months ago (2015-06-04 17:41:09 UTC) #6
Xianzhu
https://codereview.chromium.org/1164713010/diff/1/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1164713010/diff/1/Source/core/frame/FrameView.cpp#newcode1348 Source/core/frame/FrameView.cpp:1348: layoutObject->setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); On 2015/06/04 17:41:09, chrishtr wrote: > On 2015/06/04 ...
4 years, 11 months ago (2015-06-04 18:04:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1164713010/1
4 years, 11 months ago (2015-06-04 18:05:00 UTC) #9
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/65090)
4 years, 11 months ago (2015-06-04 20:00:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1164713010/20001
4 years, 11 months ago (2015-06-04 20:32:04 UTC) #14
commit-bot: I haz the power
4 years, 11 months ago (2015-06-04 22:26:27 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196534

Powered by Google App Engine
This is Rietveld 408576698