Thomas Philipakis home

Honeycomb, WebViews, Hardware Acceleration?

20 May 2011 – Paris

Q: How the hell can I activate hardware acceleration on my Honeycomb app project?

A:

Q: I have two hardware accelerated webviews displayed. One is bad enough already, but with two on the screen there are so many artifacts and so much flickering that my eyes bleed. Why god why?

A: I don’t know exactly why. My gut feeling says it’s some sort of threadey-wimey stuff under the webview hood, for lack of a better explanation. Deactivating hardware acceleration on all but the most complex webview did the trick for me.

Q: How the hell can I deactivate hardware acceleration on one of my views?

A: here’s how I did it:

and of course don’t forget to add the internet access permission

Fork me on GitHub