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. cheers, Gunnar > > I’m running the rendercontrol example distributed with the 5.4 Alpha, and I > can only see a white rotating cube, but the QML scene of the app is supposed > to be rendered on each of the sides of the cube. > > I have used the OpenGL profiler, and there is one texture created, but with > no contents on it. > > I’m using Mac OSX 10.9.5. > > Any ideas? > > Here a screenshot: > https://dl.dropboxusercontent.com/u/6132766/rendercontrolAPI_resized.jpg > > > Thanks, > Robert. > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest