Poor v-sync quality in Android Webview
Reported by
a...@scirra.com,
Mar 16 2018
|
|||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36 Steps to reproduce the problem: 1. Visit https://www.scirra.com/labs/endless-runner/ in Chrome for Android 2. Observe smoothness of scrolling 3. Load the same URL in an Android Webview What is the expected behavior? Smooth animation just like in Chrome for Android. What went wrong? Janky animation dropping lots of frames, even though the FPS measurement is still close to 60. Did this work before? N/A Does this work in other browsers? Yes Chrome version: 65.0.3325.162 Channel: stable OS Version: 10.0 Flash Version: This can make HTML5 games wrapped in Cordova look bad. Here's a debug APK that also contains the test: https://www.dropbox.com/s/lmrbdbx84e0e60n/Endless%20runner.android.debug.apk?dl=0
,
Mar 19 2018
,
Mar 19 2018
As per comment#1 from the reporter, seems the issue is related to Android OS, adding appropriate OS label for further triaging.
,
Mar 20 2018
,
Mar 21 2018
ash@ -- Thanks for reporting this issue. Tested on latest Chrome #65.0.3325.109 on HTC 10 Android 8.0.0 and couldn't observe any laggy while using the URL provided - https://www.scirra.com/labs/endless-runner/ And observed 57-58 FPS without any jankiness. Attached screen cast for reference. Could you please let us know what is the expected value and screen cast of the behavior observed and let us know if any prerequisites are to be followed. Thanks!
,
Mar 21 2018
Did you test the URL in the Android webview? The problem does not occur in Chrome itself, only the webview.
,
Mar 21 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Mar 21 2018
,
Mar 21 2018
worth checking build again after https://chromium.googlesource.com/chromium/src.git/+/989dd34c86ee3a462c467d0c4200faa9046fa496 67.0.3367.0 or later
,
Mar 21 2018
I tried swapping the webview to use Chrome Canary 67.0.3376.0 on the device, and it does indeed look much more smooth!
,
Mar 22 2018
,
Mar 22 2018
cool, +jamwalla, your CL helped with webgl performance
,
Jun 27 2018
,
Jul 25
,
Jul 31
> I tried swapping the webview to use Chrome Canary 67.0.3376.0 on the device, and it does indeed look much more smooth! ash@ Does this mean the issue is resolved? Tentatively marking this as fixed, but we can reopen if this is insufficient. boliu@ any obvious work WebView needs to do here, or did jamwalla@ handle everything?
,
Jul 31
|
|||||||||||||
►
Sign in to add a comment |
|||||||||||||
Comment 1 by a...@scirra.com
, Mar 16 2018