gnash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash] plugin update


From: Rob Savoye
Subject: [Gnash] plugin update
Date: Thu, 02 Mar 2006 14:38:30 -0700
User-agent: Thunderbird 1.5 (X11/20051025)

Progress on the plugin is slowly plodding along. I just checked in a few big changes that finally have rendering in multiple context's from multiple threads working. I also added support to use POSIX condition variables to signal the threads when there is a movie to play. For now the hardcoded graphic of the triangle and square is all you get. It turns out the multi-threaded OpenGL programs are hard to implement...

I can tell it's working, because since Expose events aren't handled yet, the loops running in each thread redraw the graphics if they've been obscured. The big thing with this version is with the rendering happening in the threads they way it needs to, it should now work better with the player merged in. So far it looks like the player itself needs to be made thread safe itself.

Anyway, this release is of only interest to developers. If you want to use Gnash as a plugin for browsing, try the MozPlugger hack for now. While I am curious if this multi-threaded plugin works for more machines than this one (FC4, GCC 4.1.x). It's not worth filing bug reports on the plugin just yet, but discussion about the results can be here or on the gnash-dev list. I've had good luck so far with this plugin not crashing my browser is causing other problems.

Now with the threading issues apparently worked out for OpenGL graphics, I'll apply the same techniques to the "player as plugin" and see if I can get that to render without crashing. Multi-threaded is necessary to handle rendering multiple flash movies on the same screen at the same time, which turns out to be common.

        - rob -




reply via email to

[Prev in Thread] Current Thread [Next in Thread]