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

Issue 475553002: Squashed fixed position layers shouldn't flicker while scrolling (Closed)

Created:
6 years, 4 months ago by abarth-chromium
Modified:
6 years, 4 months ago
Reviewers:
Ian Vollick, chrishtr
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, kenneth.christiansen, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Squashed fixed position layers shouldn't flicker while scrolling We were correctly squashing fixed position layers together, but we weren't setting the correct position constraint on the squashing layer. Instead, we were setting the constraint on the main graphics layer directly, which meant the compositor incorrectly scrolled the squashed fixed position layer instead of keeping it stuck to the viewport. R=vollick@chromium.org BUG=402819 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180225

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -14 lines) Patch
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/rendering/compositing/CompositedLayerMapping.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/compositing/CompositedLayerMapping.cpp View 1 3 chunks +5 lines, -11 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
abarth-chromium
6 years, 4 months ago (2014-08-13 22:06:02 UTC) #1
abarth-chromium
+chrishtr because this touches on squashing
6 years, 4 months ago (2014-08-13 22:06:27 UTC) #2
Ian Vollick
Cool. LGTM. https://codereview.chromium.org/475553002/diff/1/Source/core/page/scrolling/ScrollingCoordinator.cpp File Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/475553002/diff/1/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode215 Source/core/page/scrolling/ScrollingCoordinator.cpp:215: GraphicsLayer* mainLayer = compositedLayerMapping->childForSuperlayers(); I really like ...
6 years, 4 months ago (2014-08-13 22:29:20 UTC) #3
abarth-chromium
I think there's a further improvement we can make in FrameView::scrollContentsFastPath after this CL lands, ...
6 years, 4 months ago (2014-08-13 22:32:49 UTC) #4
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 4 months ago (2014-08-13 22:33:01 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/475553002/1
6 years, 4 months ago (2014-08-13 22:34:09 UTC) #6
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 4 months ago (2014-08-13 23:07:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/475553002/20001
6 years, 4 months ago (2014-08-13 23:08:05 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (20001) as 180225
6 years, 4 months ago (2014-08-14 03:33:44 UTC) #9
chrishtr
Did a test come in separately?
6 years, 4 months ago (2014-08-18 23:09:52 UTC) #10
abarth-chromium
On 2014/08/18 at 23:09:52, chrishtr wrote: > Did a test come in separately? I couldn't ...
6 years, 4 months ago (2014-08-18 23:27:35 UTC) #11
chrishtr
6 years, 4 months ago (2014-08-19 21:28:42 UTC) #12
Message was sent while issue was closed.
On 2014/08/18 at 23:27:35, abarth wrote:
> On 2014/08/18 at 23:09:52, chrishtr wrote:
> > Did a test come in separately?
> 
> I couldn't figure out how to construct a test for this case.  The problem is
that the main thread comes in and fixes things, so you need to somehow see the
state of the world after the compositor moves things around but before the main
thread fixes the problem.
> 
> Do you have any thoughts on an approach for a test?  I'm happy to write one if
you have some ideas.

I agree it's hard. No great ideas from me.

Powered by Google App Engine
This is Rietveld 408576698