Hi,<br><br>Ok. I&#39;ll take time to think about what&#39;s the best solution.<br><br>Julien<br><br><div><span class="gmail_quote">2008/4/22, David Schleef &lt;<a href="mailto:ds@schleef.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ds@schleef.org</a>&gt;:</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> &gt; The other thing that I want to talk about is the &quot;freeglut&quot; part in this<br> &gt; plugin. I use it to create the windows easily but there is a limitation.<br>


 &gt; It&#39;s not possible to implement the gstxoverlay interface because freeglut<br> &gt; cannot receive winId from an existing window. So, there is two solutions to<br> &gt; resolve this problem. The first one is to extract the small part I used in<br>


 &gt; freeglut and just put it into the plugin. The second solution is to use an<br> &gt; other opengl toolkit (glut-like) that could permit to implement the<br> &gt; gstxoverlay interface.<br> &gt; The second solution is possible because the deep mecanism of this plugin<br>


 &gt; will be the same (just by replacing freeglut fucntions by the identicals<br> &gt; functions from an other library)<br> &gt; What solution do you expect to be the best? If it&#39;s the second one, which<br> &gt; library are you thinking ?<br>


 <br> <br>This is, of course, one of the reasons for not using a GL extention<br> library.&nbsp;&nbsp;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.&nbsp;&nbsp;There are<br> a few things wrong with this method, for example, X events don&#39;t get<br> to the application correctly in this case.&nbsp;&nbsp;(I think there are<br> workarounds, though.)<br>


 <br> <br> <br> dave...<br> <br> </blockquote></div><br>