<div dir="ltr">As far as integrating, I'd probably defer to Robert on his views of how it ought to be tied in. Without X Server, a lot of the Windowing System code kind of becomes moot.<div><br></div><div>Do you have any views on this Robert? I'd love to get this technique into wider utilization.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 24, 2019 at 9:56 PM Omar Álvarez <<a href="mailto:omar.alvarez@cinfo.es">omar.alvarez@cinfo.es</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">I have managed to compile and run a simple EGL example that Trajce Nikolov kindly provided. I am preparing a github repo with the code, if he has no issue with this. Here are the caveats that I have found:</div><div dir="ltr"><br></div><div>- When installing driver we need to reboot in order for the EGL context to be available. In Ubuntu 18.04 installing the latest drivers from NVIDIA PPA worked out of the box.</div><div>- eglinfo is awesome. NVIDIA device EGL needs to be working to be able to run EGL.</div><div>- When using the latest CMake (3.13.x), I think OSG does not properly detect libOpenGL.so which is needed for EGL. I will test this further to be sure that is the cause.</div><div>- One needs to stablish viewport resolution manually or the following error pops up: "Error: cannot draw stage due to undefined viewport"</div><div>- Some warning pops up that I have not been able to fix: "void StateSet::setGlobalDefaults() ShaderPipeline disabled."</div><div><br></div><div>Any idea why the warning message is popping up?</div><div><br></div><div>It would probably be interesting to integrate in OSG the graphics context code, so that users don't need to write the custom class. If anyone has any suggestions I would love to hear them.</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" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="text-align:center">Chris 'Xenon' Hanson, omo sanza lettere. Xenon@AlphaPixel.com <a href="http://www.alphapixel.com/" target="_blank">http://www.alphapixel.com/</a></div><div style="text-align:center">Training • Consulting • Contracting</div><div style="text-align:center">3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL</div><div style="text-align:center"><span style="font-size:12.8px">Legal/IP •</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">Forensics •</span><span style="font-size:12.8px"> </span>Imaging <span style="font-size:12.8px">•</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">UAVs </span><span style="font-size:12.8px">• GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android</span></div><div style="text-align:center"><a href="https://twitter.com/alphapixel" target="_blank">@alphapixel</a> <a href="http://facebook.com/alphapixel" target="_blank">facebook.com/alphapixel</a> (775) 623-PIXL [7495]<br></div></div></div></div></div></div>