Hello, we are using an old embedded 1.5 FF/XULRunner in our eyetracked web browser. Now it's time for an update to FF3... but I see that the nsIViewManager::RenderOffscreen function exists no more, has been moved to nsIPresShell, renamed to RenderDocument and now gets a gfxContext instead of an "old" rendering context, so no more Lock etc etc. Moreover, the old DocumentViewerImpl::DumpContentToPPM(const char*) seems defined but not implemented since the change from the rendering context to the gfxContext, so I cannot use it as an example.
Has anybody a snippet of how to use this new RenderDocument and get the pixels? All our application relies on grabbing textures of HTML pages and displaying them via OpenGL (we have completely rebuilt the interface, "normal" interfaces are not suitable for use with eyetrackers). Thanks in advance, Aaron _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
