[Interest] QQuickRenderControl example not working on Desktop OSX (Qt 5.4 Alpha)

Roberto Garrido Martín robertogarridomartin at gmail.com
Thu Oct 16 11:46:30 CEST 2014


On 16 October 2014 11:16, Gunnar Sletta <gunnar at sletta.org> wrote:

>
> On 16 Oct 2014, at 09:45, Roberto Garrido Martín <
> robertogarridomartin at 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?

Cheers,
Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141016/ba939de0/attachment.html>


More information about the Interest mailing list