Android WebView

Android WebView
Nicolas Roard

Architecture WebKit
WebCore layout and JS core

JS benchmark in Jellybean on a Nexus is much faster

Reder loop
event > paint > draw
– for pictures you can represent the whole page without going back to webkit when scrolling or zooming
– software rendering issues though: dependent on the time spent traversing and rasterizing, no 3D CSS, limited support for plugins and video

Honeycomb and beyond
– tile content
– hardware rendering is scroll > draw uses a separate thread for paint to get a new tile

CSS Animations
– CSS property to animate HTML elements
– supported on webkit browsers
– On android hardware accelerated and faster than JS

Remainder of presentation is full of code examples and would be better to review the slides. I’ll post a link when it becomes available.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s