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

Hardware Acceleration #17

Closed hope4555 closed 9 years ago

hope4555 commented 10 years ago

Hello When using the Test projects supplied and setting the Hardware Acceleration to true in the manifest, the webview will show a black screen

didlich commented 10 years ago

first of all, nice project, hopefully this work will not fade out like others also trying to make chromium-view usable

but I noticed also the same behaviour setting android:hardwareAccelerated="true"

my debug log shows: 03-15 21:35:44.976: W/AwContents(24658): nativeOnDraw failed; clearing to background color. all the time when I am touching the screen

this behaviour seems to be known with chromium: http://stackoverflow.com/questions/20675554/webview-rendering-issue-in-android-kitkat

didlich commented 10 years ago

in the meantime I found the related Issue here: https://github.com/mogoweb/chromium_webview/issues/4

mogoweb commented 10 years ago

hardware accelerated not supported yet. As in Android AOSP, the chromium based WebView use some Android AOSP source that not available in Android SDK/NDK. I have no idea to solve it.

mogoweb commented 9 years ago

hardware accelerated canvas is enabled by default.