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

Issue 1408913002: Invalidate scrolling contents on scrolling contents layer only (Closed)

Created:
5 years, 2 months ago by Xianzhu
Modified:
5 years, 2 months ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Invalidate scrolling contents on scrolling contents layer only This is required for synchronized painting to avoid assertion failure caused by extra invalidation on the scrolling container layer (which has finished painting) when we paint the scrolling contents layer. BUG=536999 Committed: https://crrev.com/933aa408647976a45828676e6477fa5059d04e60 Cr-Commit-Position: refs/heads/master@{#354589}

Patch Set 1 #

Patch Set 2 : less change #

Patch Set 3 : NeedsRebaselines #

Total comments: 4

Patch Set 4 : Remove FIXMEs not applicable to spv2 #

Total comments: 2

Patch Set 5 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -6 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 2 3 4 chunks +9 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 12 (2 generated)
Xianzhu
About tests: https://storage.googleapis.com/chromium-layout-test-archives/mac_chromium_rel_ng/127097/layout-test-results/results.html The changes are all about removed object paint invalidation of scrolling contents ...
5 years, 2 months ago (2015-10-15 23:50:51 UTC) #2
chrishtr
https://codereview.chromium.org/1408913002/diff/40001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp File third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp (right): https://codereview.chromium.org/1408913002/diff/40001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp#newcode411 third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp:411: compositedLayerMapping->invalidateDisplayItemClientOnScrollingContentsLayer(displayItemClient, invalidationReason, previousPaintInvalidationRect, newPaintInvalidationRect); This conditional doesn't need to ...
5 years, 2 months ago (2015-10-16 00:55:38 UTC) #3
Xianzhu
https://codereview.chromium.org/1408913002/diff/40001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp File third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp (right): https://codereview.chromium.org/1408913002/diff/40001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp#newcode411 third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp:411: compositedLayerMapping->invalidateDisplayItemClientOnScrollingContentsLayer(displayItemClient, invalidationReason, previousPaintInvalidationRect, newPaintInvalidationRect); On 2015/10/16 00:55:38, chrishtr wrote: ...
5 years, 2 months ago (2015-10-16 17:38:05 UTC) #4
chrishtr
Ok let's see how it goes then. https://codereview.chromium.org/1408913002/diff/50001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp File third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp (right): https://codereview.chromium.org/1408913002/diff/50001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp#newcode410 third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp:410: if (this->displayItemClient() ...
5 years, 2 months ago (2015-10-16 17:44:14 UTC) #5
Xianzhu
https://codereview.chromium.org/1408913002/diff/50001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp File third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp (right): https://codereview.chromium.org/1408913002/diff/50001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp#newcode410 third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp:410: if (this->displayItemClient() != displayItemClient.displayItemClient() && isBox() && toLayoutBox(this)->usesCompositedScrolling()) On ...
5 years, 2 months ago (2015-10-16 17:52:06 UTC) #6
chrishtr
lgtm
5 years, 2 months ago (2015-10-16 17:54:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408913002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408913002/70001
5 years, 2 months ago (2015-10-16 17:55:49 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:70001)
5 years, 2 months ago (2015-10-16 20:59:36 UTC) #10
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/933aa408647976a45828676e6477fa5059d04e60 Cr-Commit-Position: refs/heads/master@{#354589}
5 years, 2 months ago (2015-10-16 21:00:41 UTC) #11
Xianzhu
5 years ago (2015-12-18 23:23:31 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:70001) has been created in
https://codereview.chromium.org/1533163002/ by wangxianzhu@chromium.org.

The reason for reverting is: The patch caused under-invalidation of some changed
content display items painting themselves on the main layer.

The patch was needed by synchronized painting in paint-invalidation-during-paint
mode. Now we plan to implement the mode in slimming paint v2 only which doesn't
have the main layer/contents layer problem..

Powered by Google App Engine
This is Rietveld 408576698