I'm a developer on Second Life (www.secondlife.com) a general purpose 3D online virtual world. We're cross platform Windows/Mac, and hope to build for Linux down the line.
We're trying to build a feature where web pages are rendered into OpenGL textures, then displayed on object surfaces in the 3D world. If we can get a web page rendered into any sort of in-memory bitmap, we can handle displaying it.
I've got the FF103 source building and running, and can make trivial changes to it.
Right now we're pursuing two lines of investigation:
1) The Crystalspace membuf patch at: http://interreality.org/projects/crystalzilla
This patch adds a new toolkit called "membuf" which seems to do exactly what we want -- render to offscreen bitmap. Unfortunately, it seems to work on Linux only -- building Firefox on Windows with --enable-toolkit=membuf doesn't try to build the membuf directory, and --enable-default-toolkit=membuf fails to build because Windows-specific files aren't found.
Additionally, membuf relies on another library called allegro that has its own exciting build issues. :-)
2) roc's patch to do offscreen rendering for visual regression testing: http://weblogs.mozillazine.org/roc/archives/2005/03/visual_regressi.html
Unfortunately, I'm trying to work on the FF103 codebase, not the HEAD. I'm trying to apply his patch by hand, but there are some interface changes between FF103 and HEAD that confuse me. For example, roc's code references "arena pools" in nsViewManager::RenderOffscreen when it calls BuildRenderingDisplayList(), but BuildRenderingDisplayList() in FF103 doesn't have an arena pool parameter.
Do either of these methods seem doomed? Is there a better way?
Thanks,
James Cook [EMAIL PROTECTED] _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
