gnash-dev
[Top][All Lists]
Advanced

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

[Gnash-dev] plugin update


From: Rob Savoye
Subject: [Gnash-dev] plugin update
Date: Fri, 24 Feb 2006 22:40:24 -0700
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)

I just checked in an update to the "real" plugin. Mike had made some good changes and pushed me off in the right direction about handling the X11 and GL contexts. So after a day of reading up on OpenGL, I threw out the SDL part of the plugin, and did everything in straight GLX/OpenGL. SDL was causing some problems, and it's not barely used anyway by the player except for event handling. For the plugin, it has to use gtk event handling anyway, so SDL is unnecessary.

This version draws the same old boring triangle and square with one huge difference, it now handles multiple instantiations of the plugin class correctly. I was using http://www.doonesbury.com/ as a test case, since it loads multiple movies on the same screen. These now all correctly get the hardcoded graphic in the right place and the right size. More importantly, it's totally stable now.

Now that I've got the hang of locking contexts, I'm hoping it'll be easier to figure out what's happening when I enable the player. According to what I read all this locking is probably a performance issue, but I'll worry about optimizing everything once it works.

        - rob -




reply via email to

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