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

Issue 2346883003: Only paint the background onto the scrolling contents layer if we have a scrolling contents layer. (Closed)

Created:
4 years, 3 months ago by flackr
Modified:
4 years, 3 months ago
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only paint the background onto the scrolling contents layer if we have a scrolling contents layer. BUG=647169, 645949 TEST=CompositedLayerMappingTest.BackgroundPaintedIntoGraphicsLayerIfNotCompositedScrolling CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/dd59f478410b76764e227fe24642bae6f7b06b26 Cr-Commit-Position: refs/heads/master@{#419064}

Patch Set 1 #

Patch Set 2 : Rename to canPaintBackgroundOntoScrollingContentsLayer and remove border-radius check as this was t… #

Patch Set 3 : Remove obsolete border-radius test. #

Total comments: 2

Patch Set 4 : CompositedLayerMappingTest.BackgroundPaintedIntoGraphicsLayerIfNotCompositedScrolling #

Total comments: 2

Patch Set 5 : Add comment. #

Patch Set 6 : Use PaintLayerScrollableArea::usesCompositedScrolling #

Patch Set 7 : Merge with master #

Messages

Total messages: 25 (11 generated)
flackr
Hey, I've discovered the problem. It's that we can composite only the root layer of ...
4 years, 3 months ago (2016-09-15 17:58:26 UTC) #3
flackr
On 2016/09/15 at 17:58:26, flackr wrote: > Hey, > > I've discovered the problem. It's ...
4 years, 3 months ago (2016-09-15 18:05:30 UTC) #4
flackr
So I did a little more digging and it turns out this was the root ...
4 years, 3 months ago (2016-09-15 18:16:32 UTC) #6
Stephen Chennney
Makes sense. LGTM https://codereview.chromium.org/2346883003/diff/40001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/2346883003/diff/40001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#newcode304 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:304: && m_owningLayer.needsCompositedScrolling(); Indent. And add a ...
4 years, 3 months ago (2016-09-15 20:08:38 UTC) #9
chrishtr
https://codereview.chromium.org/2346883003/diff/60001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/2346883003/diff/60001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#newcode304 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:304: && m_owningLayer.needsCompositedScrolling(); It's PaintLayerScrollableArea::usesCompositedScrolling that is the most direct ...
4 years, 3 months ago (2016-09-15 20:15:47 UTC) #10
Stephen Chennney
On 2016/09/15 20:15:47, chrishtr wrote: > https://codereview.chromium.org/2346883003/diff/60001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp > File > third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp > (right): > > ...
4 years, 3 months ago (2016-09-15 20:21:27 UTC) #11
flackr
https://codereview.chromium.org/2346883003/diff/40001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/2346883003/diff/40001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#newcode304 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:304: && m_owningLayer.needsCompositedScrolling(); On 2016/09/15 at 20:08:37, Stephen Chennney wrote: ...
4 years, 3 months ago (2016-09-15 20:28:37 UTC) #12
Stephen Chennney
On 2016/09/15 20:28:37, flackr wrote: > https://codereview.chromium.org/2346883003/diff/40001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp > File > third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp > (right): > > ...
4 years, 3 months ago (2016-09-15 20:32:43 UTC) #13
chrishtr
lgtm
4 years, 3 months ago (2016-09-15 20:33:50 UTC) #14
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/2346883003/100001
4 years, 3 months ago (2016-09-15 20:38:57 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/129776) chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 3 months ago (2016-09-15 20:43:05 UTC) #19
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/2346883003/120001
4 years, 3 months ago (2016-09-15 21:12:43 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-16 01:09:41 UTC) #23
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 01:11:17 UTC) #25
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/dd59f478410b76764e227fe24642bae6f7b06b26
Cr-Commit-Position: refs/heads/master@{#419064}

Powered by Google App Engine
This is Rietveld 408576698