[SDL] firefox

Abhinav Lele abhinav.lele at gmail.com
Mon Apr 28 02:07:20 PDT 2008


is multiple windows a feature that has already been coded in SDL 1.3 .
I was trying out this SDL plugin because I need it for this project
http://code.google.com/p/openanimator/  ( discussion group:
http://groups.google.com/group/openanimator ) .

Thanks Gabry for the info that SDL cannot render in multiple windows.

any idea of when SDL 1.3 is going to be released ?

- Abhinav
On Mon, Apr 28, 2008 at 2:25 PM,  <neil at cloudsprinter.com> wrote:
>
>
>
>
>  >> > Hi,
>  >> > Does anyone have any sample howto / code on how to create a plugin for
>  >> > firefox/etc with SDL .
>  >>
>  >> Some years ago I tried to do that, but it's not a correct approach, my
>  >> plugin worked ok if only one instance of the plugin was present in any
>  >> browser window, but started to give big problems if you tried to run two
>  >> instance of the plugin, this is caused by the single window limitation of
>  >> SDL 1.2, you can give SDL the browser rectangle assigned to your plugin
>  >> through the enviroment variable SDL_windowid, but when you need to do it a
>  >> second time you loose the first window, also I seem to remember that the
>  >> plugin rendered his graphics also if it was in an hidden tab.
>  >>
>  >> --
>  >> Bye,
>  >>  Gabry
>  >>
>
> > Is this approach okay ?
>  > http://zemann.blogspot.com/2008/04/how-i-learnt-to-create-firefox-plugin.html
>  > I wrote it.
>  >
>
>
>  SDL firefox plugin sounds like an amazing concept, i'm just thinking perhaps
>  when SDL1.3 is ready so it can do the multiple windows thing, it should be an
>  official plugin for firefox as part of SDL, rather than different versions
>  cropping up about the place.
>
>
>
>
>
>
>  _______________________________________________
>  SDL mailing list
>  SDL at lists.libsdl.org
>  http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>


More information about the SDL mailing list