Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Quick Rendering / Qt Quick Scene Graph
breitex last edited by breitex
I started to look into rendering legacy OpenGL content using QtQuick. I looket at the following example
http://doc.qt.io/qt-5/qtquick-scenegraph-openglunderqml-example.html which subclasses QQuickItem. While extending the example two questions that I am not sure about came up.
In the documentation it says when the scene graph is rendered and the signal "beforeRendering()" is emitted, applications can make direct connections (using Qt::DirectConnection) to this signal to use custom OpenGL calls which will then stack visually beneath the QML scene. The documentation says that this allows making opengl calls directly into the same context as the scene graph is. My question is, what is the difference between directly rendering into the screenbuffer (native opengl) and making opengl calls into the same context as the qquick scene graph. Is there another abstraction layer when using qt and what exactly is happening there? And how does this affect the performance of the rendering (copy operations?)?
When the qquick scene graph is traversed during the rendering process, can multiple scene graph nodes be visited in parallel or is the graph traversed in a sequential fashion? If not, would a parallel processing of the scene graph be somehow possible if manual render control is used to set up a manual scene graph?
Help is very much appreciated. Thank you.