User:Joel Reymont/Android Notes: Difference between revisions

Line 5: Line 5:
= Current status =
= Current status =


== October 7, 2009 ==
== October 12, 2009 ==
 
Via Chris Lord...
 
The [http://hg.mozilla.org/incubator/offscreen headless branch of Mozilla that we work on] renders to system memory and it is up to the embedder to get this to a texture however they like. We have our own embedding library that uses this with Clutter
[http://git.clutter-project.org/?r=clutter-mozembed clutter-mozembed] and we just upload each changed region to the texture.
 
A possible speed-up is to use a shared memory pixmap and texture-from-pixmap (or whatever the platform's equivalent is), which
would remove the need to copy from system to video memory.
 
I wrote a (now out-dated, but still relevant) [http://chrislord.net/blog/Software/building-moblin-web-browser.enlighten guide on building the Moblin browser components] on my blog. There's also a [http://chrislord.net/files/moz-headless-screenshot.c short demo application I wrote] that just uses mozilla-headless alone to take a screenshot of a web-page.
 
Unfortunately, there is no documentation beyond the standard Mozilla documentation and the source-code (and the above-mentioned links).
 
I think the easiest way to port Firefox to android would be to write an android-backend (which could well be based on our headless backend) - I didn't think that the Android native development kit was fully featured enough to allow something like this though?


= Previous statuses =
= Previous statuses =
109

edits