On 16 Oct 2014, at 11:46, Roberto Garrido Martín <robertogarridomar...@gmail.com> wrote:
> > > On 16 October 2014 11:16, Gunnar Sletta <gun...@sletta.org> wrote: > > On 16 Oct 2014, at 09:45, Roberto Garrido Martín > <robertogarridomar...@gmail.com> wrote: > > > Hi all, > > We have our OpenGL ES 2.0 based renderer. Until now, we were integrating it > > into our Qt app by using a QML Item/Node configuration, but the new > > rendercontrol API in Qt 5.4 Alpha seems to be a more flexible solution, and > > the proper way to integrate. > > Be aware of that if you use the rendercontrol API you will be on a single > thread and will miss out on the parallelization that the threaded render loop > has, including the render thread animations. > > The best point of integration for a native GL renderer will in most cases be > to use QQuickWindow::beforeRendering() and render into the GL context of the > window. > > > > Thanks for the input. > If we do it that way, we will still be able to render our GL scene on the > background while the QML scene will be rendered on top of it? Indeed you will :) See the OpenGL under QML example: http://qt-project.org/doc/qt-5/qtquick-scenegraph-openglunderqml-example.html > > Cheers, > Robert. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest