DescriptionDefer scroll status determination until scrolling has occurred
As of M38, the first touchmove in a sequence is no longer special; it
can be preventDefault'ed while allowing future scrolling. One side
effect of this is that GestureScrollBegin may be forwarded to the
compositor even if the page consumes the remainder of the touch
sequence. This in turn caused the scheduler to enter smoothness priority
mode, interfering with optimal touch event dispatch.
As a workaround, tweak the semantics of |LTHI::IsCurrentlyScrolling()|
to indicate both that there is an actively scrolling layer and that
scrolling has occurred, renaming to |IsActivelyScrolling()|. Also stop
throttling touch event acks on the renderer main thread as there is no
current evidence that this feature improves touch interaction, and it
may unintentionally bump the scheduler out of smoothness mode.
BUG=426621
Committed: https://crrev.com/16dde6e3648b8d67675846bd74c8a99b732269fd
Cr-Commit-Position: refs/heads/master@{#301001}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Updates #
Total comments: 2
Messages
Total messages: 15 (4 generated)
|