Hi,<br><br>Ok. I'll take time to think about what's the best solution.<br><br>Julien<br><br><div><span class="gmail_quote">2008/4/22, David Schleef <<a href="mailto:ds@schleef.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ds@schleef.org</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, Apr 21, 2008 at 07:56:56PM +0200, Julien Isorce wrote:<br> > The other thing that I want to talk about is the "freeglut" part in this<br> > plugin. I use it to create the windows easily but there is a limitation.<br>
> It's not possible to implement the gstxoverlay interface because freeglut<br> > cannot receive winId from an existing window. So, there is two solutions to<br> > resolve this problem. The first one is to extract the small part I used in<br>
> freeglut and just put it into the plugin. The second solution is to use an<br> > other opengl toolkit (glut-like) that could permit to implement the<br> > gstxoverlay interface.<br> > The second solution is possible because the deep mecanism of this plugin<br>
> will be the same (just by replacing freeglut fucntions by the identicals<br> > functions from an other library)<br> > What solution do you expect to be the best? If it's the second one, which<br> > library are you thinking ?<br>
<br> <br>This is, of course, one of the reasons for not using a GL extention<br> library. I simply have been unable to find one that is sane.<br> <br> There is also a third solution, which is to reparent the glut window<br>
into whatever window ID you are given by the application. There are<br> a few things wrong with this method, for example, X events don't get<br> to the application correctly in this case. (I think there are<br> workarounds, though.)<br>
<br> <br> <br> dave...<br> <br> </blockquote></div><br>