<div dir="ltr"><div><div><div><div><div><div><div>Hi Robert,<br><br></div> I tracked my error.<br><br></div>my osg is a port of osg to emscripten, so no switch of contexts happens, for that matter to reduce workload I commented in<br><br>void ViewerBase::renderingTraversals()<br><br>line <br>makeCurrent(*itr);<br><br>in<br><br>for(itr = contexts.begin();<br> itr != contexts.end() && !_done;<br> ++itr)<br> {<br> if (!((*itr)->getGraphicsThread()) && (*itr)->valid())<br> {<br> doneMakeCurrentInThisThread = true;<br> makeCurrent(*itr);<br> (*itr)->runOperations();<br> }<br> }<br><br></div>that was fine for older version of osg, never version initializes extensions in a first call to makeCurrent(*itr);<br><br></div> now I uncommented this line in my code but keep porting other things in new version of osg though.<br><br></div>so there is nothing wrong with osg at all - that was just an artifact of my port and different behavior to init extensions, sorry for wrong call.<br><br></div>Regards<br></div>Sergey <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 7, 2015 at 2:50 PM, Sergey Kurdakov <span dir="ltr"><<a href="mailto:sergey.forum@gmail.com" target="_blank">sergey.forum@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Robert,<br><br></div>with osg it works ok, but I try to find a source of the bug then will report ( or will write and example where it can be tracked in stock osg )<br><br></div>Regards<br></div>Sergey<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Apr 7, 2015 at 12:37 PM, Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi Sergey,<br><div class="gmail_extra"><br></div><div class="gmail_extra">It sounds like a bug to me. I haven't tried replicating it but will have a bash this morning. Can you recreate the problem with an OSG example? <br><br></div><div class="gmail_extra">At a first guess I think the solution would be for the GraphicsWindowEmbedded::relaizeImplemention() to do the State::initializeExtensionProcs().<span><font color="#888888"><br><br></font></span></div><span><font color="#888888"><div class="gmail_extra">Robert.<br></div></font></span></div>
<br></div></div>_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>