<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi James,</div><div class=""><br class=""></div><div class="">Thank you for suggestions.</div><div class=""><br class=""></div><div class="">I don’t sure that using QQuickWindow::beforeRendering() or QQuickWindow::afterRendering() signal will help since it also uses same OpenGL context as Qt Quick Scene Graph, but I will try it.</div><div class=""><br class=""></div><div class="">Solution that uses QQuickRender sound good, I will lock at FlightGear sources.</div><div class=""><br class=""></div><div class="">Best regards,</div><div class="">Kamil.</div><br class=""><div><blockquote type="cite" class=""><div class="">On 22 Sep 2017, at 11:17, James Turner <<a href="mailto:zakalawe@mac.com" class="">zakalawe@mac.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 19 Sep 2017, at 15:28, Kamil Zaripov <<a href="mailto:kamil@zaripov.net" class="">kamil@zaripov.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Now I’m trying to build osgqtquick library (or just code that is responsible to create QQuickItem) for Android. However I would like to know is there any library that surely works under desktop platforms (Windows, Linux, macOS) and mobile (Android and maybe iOS)?</span><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"></div></blockquote></div><br class=""><div class="">There’s another approach you can use, which is simpler than these examples, using the beforeRendering hook of QQ2 to run the OSG render frame. I think I have an example of that somewhere, but would need to check.</div><div class=""><br class=""></div><div class="">I’m currently working on an integration in the other direction, where QQ2 lives in a custom drawable / post-render camera. This uses QQuickRenderControl and has the advantage of rendering on the OSG graphics thread, so in theorey it’s compatible will all the OSg threading modes and hence offers better performance. It does rely on using a forked implementation of GraphcisWindowQt based on QWindow and QGOpenGLContext. Some of that code is already public (inside FlightGear), the rest should hopfully be published in the next few weeks.</div><div class=""><br class=""></div><div class="">Kind regards,</div><div class="">James</div></div>_______________________________________________<br class="">osg-users mailing list<br class=""><a href="mailto:osg-users@lists.openscenegraph.org" class="">osg-users@lists.openscenegraph.org</a><br class="">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org<br class=""></div></blockquote></div><br class=""></body></html>