I went through the firebreath tutorial a few times, and things seem to work well for me. I managed to create a simple plugin on linux and to draw in it using gtk.
What I want to accomplish however is to draw using openGL and that is not being covered in the firebreath tutorial, not for linux that is.
They do have something for windows but looking through the code you realize it does not help for a linux solution.
What I'm currently looking for is how to create the openGL context from PluginWindowX11
.
The PluginWindowWin
returns a HWND
object which can be then used to initialize the openGL context under windows, but the linux equivalent (PluginWindowX11)
only returns Gtk objects from which I don't know how to create the openGL context.
I found this thread: using OpenGl in npapi plugin ( FireBreath) which lacks any information.
Any ideas?