Scrolling janks on android after opening app |
|||
Issue descriptionChrome Version: 61.0.3129.3, with chrome home enabled. OS: Android What steps will reproduce the problem? (1) Open Chrome app, load a page, scroll to bottom. (2) Exit chrome app. (3) Open Chrome app again, fling-scroll upwards. (4) Notice degraded 30fps scrolling. (5) Scroll downwards again, notice normal scrolling at 60fps. Attached a trace, this seems to be related to our new DisplayScheduler logic for early deadlines. For some reason, the DisplayScheduler seems to ignore SurfaceDamageExpected for the RenderWidget's surface after restoring the app. When the surface changes (due to home bar sliding away and the resulting size change), the SurfaceDamageExpected for the new surface is honored. Trace attached, will debug a bit further.
,
Jun 20 2017
,
Jun 20 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/18478f664a4e90a0416f782902c8d7a292cf355b commit 18478f664a4e90a0416f782902c8d7a292cf355b Author: Eric Seckler <eseckler@chromium.org> Date: Tue Jun 20 20:18:10 2017 [cc] Track surface state without OnSurfaceCreated in DisplayScheduler. OnSurfaceCreated is not called for pre-existing surfaces. This leads to the DisplayScheduler ignoring expected surface damage. This patch removes the use of OnSurfaceCreated and initializes tracking state in OnSurfaceDamageExpected instead. Bug: 734942 , 697086 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: I737293e3b72202aa5fc7fdb4dd6aab4937aabea7 Reviewed-on: https://chromium-review.googlesource.com/541278 Commit-Queue: Eric Seckler <eseckler@chromium.org> Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> Cr-Commit-Position: refs/heads/master@{#480929} [modify] https://crrev.com/18478f664a4e90a0416f782902c8d7a292cf355b/cc/surfaces/compositor_frame_sink_support.cc [modify] https://crrev.com/18478f664a4e90a0416f782902c8d7a292cf355b/cc/surfaces/display_scheduler.cc [modify] https://crrev.com/18478f664a4e90a0416f782902c8d7a292cf355b/cc/surfaces/display_scheduler_unittest.cc
,
Jun 21 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by eseckler@chromium.org
, Jun 20 2017