DescriptionMove page scale ownership to LayerTreeImpl.
Page scale is conceptually very similar to scroll offset, just
multiplicative instead of additive. It has the exact same problems of
state synchronization between WebKit and the CC impl thread, and the
solution is also the same. In this patch I closely imitated the three-way
sentScrollDelta logic. I also deleted PinchZoomViewport and moved
everything to LayerTreeImpl because it turned out there was almost no
logic that could be isolated there.
This resolves many graphical glitches, including the white flashes and
blurriness while pinching or double-tap zooming, and the jumping around
during navigation.
NOTRY=true
BUG=171914
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=179607
Patch Set 1 #
Total comments: 13
Patch Set 2 : Apply code review comments #Patch Set 3 : Rebase to 179483 #Patch Set 4 : Rebase to 179503 #
Messages
Total messages: 7 (0 generated)
|