mogoweb / chromium_webview

Android WebView wrapper based on chromium
http://mogoweb.github.com
BSD 3-Clause "New" or "Revised" License
514 stars 160 forks source link

Poor performance #31

Open martinswacke opened 9 years ago

martinswacke commented 9 years ago

Hello, I experience serous performance issue running chromium_webview on HTC One M7 Android version 5.02. The native WebView performs (scrolling, navigating) much faster than chromium_webview.

I played with android:hardwareAccelerated value. I turn it to true/false but it seems that it does not have any effect. Can you please advise how to improve scrolling/navigating performance of chromium_webview? Thanks in advance!

P.S. I am talking about branch master. I also tried dev_2062 but it crashes on my phone on this line: setNewAwContents(nativeInit(mBrowserContext)); AwContents.java (line 605)

mogoweb commented 9 years ago

Sorry, the architecture of Android 5.0 has changed fantastically so I turn off hardware accelerated for Android 5.0。The dev_2062 branch is under development.

martinswacke commented 9 years ago

Hello, thank you for your response. Can you please advise how to turn hardware acceleration on? I understand that chromium_webview is a voluntary project but can you tell any estimate when dev_2062 will be operational?

mogoweb commented 9 years ago

@martinswacke You'd better use system WebView on Android 5.0. dev_2062 is more difficult than I estimate, I cannot figure out when it can be done.