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

Issue 2345403003: Add background attachment fixed main thread scrolling reason [spv2] (Closed)

Created:
4 years, 3 months ago by pdr.
Modified:
4 years, 3 months ago
Reviewers:
ajuma, chrishtr, trchen
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, f(malita), jbroman, jchaffraix+rendering, Justin Novosad, leviw+renderwatch, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add background attachment fixed main thread scrolling reason [spv2] This patch adds main thread scrolling reasons to blink's scroll nodes and plumbs them to the compositor. The approach taken in this patch is to match the semantics of cc's scroll_tree so that main thread scrolling reasons are propagated up the scroll tree. Incremental updates are not yet possible but TODOs and tests have been updated to ensure the main thread scroll reasons are recomputed. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel BUG=644514 Committed: https://crrev.com/6da0810c8c2362fc73d911750400ccd5c33cd6ca Cr-Commit-Position: refs/heads/master@{#419614}

Patch Set 1 #

Patch Set 2 : Minor cleanup #

Total comments: 4

Patch Set 3 : Generalize the setters and getters for main thread reasons #

Total comments: 1

Patch Set 4 : Update test that was written for PaintArtifactCompositor's reasons update #

Messages

Total messages: 26 (14 generated)
pdr.
4 years, 3 months ago (2016-09-17 05:00:49 UTC) #3
ajuma
https://codereview.chromium.org/2345403003/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp (right): https://codereview.chromium.org/2345403003/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp#newcode2048 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp:2048: EXPECT_FALSE(overflowB->layoutObject()->objectPaintProperties()->scroll()->hasBackgroundAttachmentFixedMainThreadScrollingReason()); Should overflowB also have a main-thread scrolling reason?
4 years, 3 months ago (2016-09-19 14:38:02 UTC) #4
chrishtr
https://codereview.chromium.org/2345403003/diff/20001/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.h File third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.h (right): https://codereview.chromium.org/2345403003/diff/20001/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.h#newcode78 third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.h:78: void setBackgroundAttachmentFixedMainThreadScrollingReason() How about: void addMainThreadScrollingReason(MainThreadScrollingReason reason) { m_mainThreadScrollingReasons ...
4 years, 3 months ago (2016-09-19 17:00:12 UTC) #5
pdr.
https://codereview.chromium.org/2345403003/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp (right): https://codereview.chromium.org/2345403003/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp#newcode2048 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp:2048: EXPECT_FALSE(overflowB->layoutObject()->objectPaintProperties()->scroll()->hasBackgroundAttachmentFixedMainThreadScrollingReason()); On 2016/09/19 at 14:38:02, ajuma wrote: > Should ...
4 years, 3 months ago (2016-09-19 20:25:50 UTC) #6
ajuma
On 2016/09/19 20:25:50, pdr. wrote: > https://codereview.chromium.org/2345403003/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp > File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp > (right): > > https://codereview.chromium.org/2345403003/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp#newcode2048 ...
4 years, 3 months ago (2016-09-19 20:31:06 UTC) #9
chrishtr
lgtm
4 years, 3 months ago (2016-09-19 20:32:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2345403003/40001
4 years, 3 months ago (2016-09-19 20:39:57 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/298858)
4 years, 3 months ago (2016-09-19 21:21:05 UTC) #15
pdr.
https://codereview.chromium.org/2345403003/diff/40001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp File third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp (right): https://codereview.chromium.org/2345403003/diff/40001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp#newcode621 third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp:621: // The main thread scrolling bits from scrollNodeB should ...
4 years, 3 months ago (2016-09-19 21:36:45 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2345403003/60001
4 years, 3 months ago (2016-09-20 00:44:39 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-20 00:51:13 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 00:55:14 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6da0810c8c2362fc73d911750400ccd5c33cd6ca
Cr-Commit-Position: refs/heads/master@{#419614}

Powered by Google App Engine
This is Rietveld 408576698