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

Issue 399733002: Make sure we set "should flatten transform" correctly. (Closed)

Created:
6 years, 5 months ago by Ian Vollick
Modified:
6 years, 5 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Make sure we set "should flatten transform" correctly. The bookkeeping for this property has gotten a little stale, and it's prevented transforms from propagating in some cases. This CL ensures that we use the same code everywhere for updating should-flatten-transform on all applicable layers, and that we call it at the right times. BUG=None Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178400

Patch Set 1 #

Patch Set 2 : . #

Total comments: 1

Patch Set 3 : . #

Total comments: 5

Patch Set 4 : Remove redundant call to updateShouldFlattenTransform #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -115 lines) Patch
M LayoutTests/TestExpectations View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
A + LayoutTests/platform/linux/compositing/overflow/accelerated-overflow-scroll-should-not-affect-perspective-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + LayoutTests/platform/linux/compositing/overflow/clear-scroll-parent-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/compositing/overflow/composited-scrolling-paint-phases-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + LayoutTests/platform/linux/compositing/overflow/scroll-parent-absolute-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/linux/compositing/overflow/scroll-parent-with-non-stacking-context-composited-ancestor-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/compositing/overflow/scrolling-without-painting-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/linux/compositing/overflow/selection-gaps-after-removing-scrolling-contents-expected.txt View 1 2 5 chunks +7 lines, -5 lines 0 comments Download
M LayoutTests/platform/linux/compositing/overflow/selection-gaps-toggling-expected.txt View 1 2 4 chunks +6 lines, -4 lines 0 comments Download
M LayoutTests/platform/linux/compositing/overflow/selection-gaps-toggling-with-scrolling-contents-expected.txt View 1 2 4 chunks +4 lines, -3 lines 0 comments Download
M LayoutTests/platform/linux/compositing/overflow/textarea-scroll-touch-expected.txt View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
A + LayoutTests/platform/linux/compositing/overflow/universal-accelerated-overflow-scroll-expected.txt View 1 2 12 chunks +12 lines, -12 lines 0 comments Download
A + LayoutTests/platform/linux/compositing/overflow/updating-scrolling-content-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/compositing/squashing/composited-bounds-for-negative-z-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/compositing/update-paint-phases-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/accelerated-overflow-scroll-should-not-affect-perspective-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/clear-scroll-parent-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/composited-scrolling-paint-phases-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/content-gains-scrollbars-expected.txt View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
A + LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/overflow-auto-with-touch-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/overflow-auto-with-touch-toggle-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/overflow-overlay-with-touch-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/overflow-scrollbar-layers-expected.txt View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
A + LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/scroll-parent-absolute-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/scroll-parent-with-non-stacking-context-composited-ancestor-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/scrolling-content-clip-to-viewport-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/scrolling-without-painting-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/selection-gaps-after-removing-scrolling-contents-expected.txt View 1 2 5 chunks +7 lines, -5 lines 0 comments Download
M LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/selection-gaps-toggling-expected.txt View 1 2 4 chunks +6 lines, -4 lines 0 comments Download
M LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/selection-gaps-toggling-with-scrolling-contents-expected.txt View 1 2 4 chunks +4 lines, -3 lines 0 comments Download
M LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/textarea-scroll-touch-expected.txt View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
A + LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/universal-accelerated-overflow-scroll-expected.txt View 1 2 12 chunks +12 lines, -12 lines 0 comments Download
A + LayoutTests/platform/linux/virtual/gpu/compositedscrolling/overflow/updating-scrolling-content-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/virtual/softwarecompositing/overflow/accelerated-overflow-scroll-should-not-affect-perspective-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + LayoutTests/platform/linux/virtual/softwarecompositing/overflow/clear-scroll-parent-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/virtual/softwarecompositing/overflow/composited-scrolling-paint-phases-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + LayoutTests/platform/linux/virtual/softwarecompositing/overflow/scroll-parent-absolute-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/linux/virtual/softwarecompositing/overflow/scroll-parent-with-non-stacking-context-composited-ancestor-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/virtual/softwarecompositing/overflow/scrolling-content-clip-to-viewport-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/virtual/softwarecompositing/overflow/scrolling-without-painting-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/linux/virtual/softwarecompositing/overflow/selection-gaps-after-removing-scrolling-contents-expected.txt View 1 2 5 chunks +7 lines, -5 lines 0 comments Download
M LayoutTests/platform/linux/virtual/softwarecompositing/overflow/selection-gaps-toggling-expected.txt View 1 2 4 chunks +6 lines, -4 lines 0 comments Download
M LayoutTests/platform/linux/virtual/softwarecompositing/overflow/selection-gaps-toggling-with-scrolling-contents-expected.txt View 1 2 4 chunks +4 lines, -3 lines 0 comments Download
M LayoutTests/platform/linux/virtual/softwarecompositing/overflow/textarea-scroll-touch-expected.txt View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
A + LayoutTests/platform/linux/virtual/softwarecompositing/overflow/universal-accelerated-overflow-scroll-expected.txt View 1 2 12 chunks +12 lines, -12 lines 0 comments Download
A + LayoutTests/platform/linux/virtual/softwarecompositing/overflow/updating-scrolling-content-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/virtual/softwarecompositing/squashing/composited-bounds-for-negative-z-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/linux/virtual/softwarecompositing/update-paint-phases-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/compositing/CompositedLayerMapping.cpp View 1 2 3 4 chunks +24 lines, -14 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Ian Vollick
6 years, 5 months ago (2014-07-17 15:39:01 UTC) #1
chrishtr
Is there a bug this CL fixes?
6 years, 5 months ago (2014-07-17 17:37:46 UTC) #2
Ian Vollick
On 2014/07/17 17:37:46, chrishtr wrote: > Is there a bug this CL fixes? Yup. I ...
6 years, 5 months ago (2014-07-17 17:45:01 UTC) #3
chrishtr
Filing a bug is not necessary, but could you include one of the changed platform ...
6 years, 5 months ago (2014-07-17 17:47:01 UTC) #4
hartmanng
lgtm
6 years, 5 months ago (2014-07-17 17:52:22 UTC) #5
abarth-chromium
https://codereview.chromium.org/399733002/diff/50001/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/399733002/diff/50001/LayoutTests/TestExpectations#newcode170 LayoutTests/TestExpectations:170: #Bug(vollick) virtual/softwarecompositing/update-paint-phases.html [ NeedsRebaseline ] Did you meant to ...
6 years, 5 months ago (2014-07-17 18:11:01 UTC) #6
Ian Vollick
On 2014/07/17 18:11:01, abarth wrote: > https://codereview.chromium.org/399733002/diff/50001/LayoutTests/TestExpectations > File LayoutTests/TestExpectations (right): > > https://codereview.chromium.org/399733002/diff/50001/LayoutTests/TestExpectations#newcode170 > ...
6 years, 5 months ago (2014-07-17 18:17:00 UTC) #7
Ian Vollick
On 2014/07/17 17:47:01, chrishtr wrote: > Filing a bug is not necessary, but could you ...
6 years, 5 months ago (2014-07-17 19:10:13 UTC) #8
abarth-chromium
(Looks fine to me, but hartmanng is a better reviewer than me, so I'm deferring ...
6 years, 5 months ago (2014-07-17 20:05:18 UTC) #9
chrishtr
https://codereview.chromium.org/399733002/diff/70001/Source/core/rendering/compositing/CompositedLayerMapping.cpp File Source/core/rendering/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/399733002/diff/70001/Source/core/rendering/compositing/CompositedLayerMapping.cpp#newcode1154 Source/core/rendering/compositing/CompositedLayerMapping.cpp:1154: updateShouldFlattenTransform(); Is this call needed? Why isn't the other ...
6 years, 5 months ago (2014-07-17 20:07:33 UTC) #10
Ian Vollick
https://codereview.chromium.org/399733002/diff/70001/Source/core/rendering/compositing/CompositedLayerMapping.cpp File Source/core/rendering/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/399733002/diff/70001/Source/core/rendering/compositing/CompositedLayerMapping.cpp#newcode1154 Source/core/rendering/compositing/CompositedLayerMapping.cpp:1154: updateShouldFlattenTransform(); On 2014/07/17 20:07:32, chrishtr wrote: > Is this ...
6 years, 5 months ago (2014-07-17 20:30:15 UTC) #11
chrishtr
https://codereview.chromium.org/399733002/diff/70001/Source/core/rendering/compositing/CompositedLayerMapping.cpp File Source/core/rendering/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/399733002/diff/70001/Source/core/rendering/compositing/CompositedLayerMapping.cpp#newcode1273 Source/core/rendering/compositing/CompositedLayerMapping.cpp:1273: f(mapping->scrollingBlockSelectionLayer()); On 2014/07/17 20:30:15, Ian Vollick wrote: > On ...
6 years, 5 months ago (2014-07-17 20:38:40 UTC) #12
Ian Vollick
The CQ bit was checked by vollick@chromium.org
6 years, 5 months ago (2014-07-17 20:39:45 UTC) #13
Ian Vollick
The CQ bit was unchecked by vollick@chromium.org
6 years, 5 months ago (2014-07-17 20:39:46 UTC) #14
Ian Vollick
The CQ bit was checked by vollick@chromium.org
6 years, 5 months ago (2014-07-17 20:52:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/399733002/90001
6 years, 5 months ago (2014-07-17 20:52:23 UTC) #16
chrishtr
lgtm
6 years, 5 months ago (2014-07-17 20:53:28 UTC) #17
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 22:23:09 UTC) #18
Message was sent while issue was closed.
Change committed as 178400

Powered by Google App Engine
This is Rietveld 408576698