[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnash
Subject:    [Gnash] plugin update
From:       Rob Savoye <rob () welcomehome ! org>
Date:       2006-03-02 21:38:30
Message-ID: 440765D6.9060205 () welcomehome ! org
[Download RAW message or body]

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 -



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic