Firefox

Hi,
Does anyone have any sample howto / code on how to create a plugin for
firefox/etc with SDL .

-Abhinav

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.On 4/27/08, Abhinav Lele <abhinav.lele at gmail.com> wrote:

Hi,
Does anyone have any sample howto / code on how to create a plugin for
firefox/etc with SDL .


Bye,
Gabry

Is this approach okay ?
http://zemann.blogspot.com/2008/04/how-i-learnt-to-create-firefox-plugin.html
I wrote it.On Mon, Apr 28, 2008 at 12:53 PM, Gabriele Greco <gabriele.greco at darts.it> wrote:

On 4/27/08, Abhinav Lele <@Abhinav_Lele> 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


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

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.

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 ?

  • AbhinavOn Mon, Apr 28, 2008 at 2:25 PM, 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