Problem with offscreen rendering, texture in a 3D ogre application

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem with offscreen rendering, texture in a 3D ogre application

hummelebop
Hello,

XULRUNNER APPLICATION, last mozilla-central nightly, in a C++ XPCOM Component on msWindows MSVC10.

I'm working on a wrapper for Mozilla Gecko that allows a developper to manage multiple 'browsers' and render their contents to a texture for ogre3D.
(See https://bugzilla.mozilla.org/show_bug.cgi?id=718985)

I am rendering via RenderDocument (nsIDOMWindowUtils) and MozAfterPaint event.

There is a strange problem : I'm working with browsers in hidden windows...

When the window is hidden or offscreen, the application is slow for create rendering texture.
When Browsers windows are showed and visible in monitor screen, that's work fine and this is really fast.

What do you think about that ?

Regards
_______________________________________________
dev-embedding mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-embedding