Name Description Size Coverage
CMakeLists.txt 1198 -
cuberenderer.cpp 5746 -
cuberenderer.h 964 -
demo.qml 4148 -
doc -
main.cpp 1329 -
rendercontrol.qrc 107 -
rendercontrol_opengl.pro 410 -
window_multithreaded.cpp This implementation runs the Qt Quick scenegraph's sync and render phases on a separate, dedicated thread. Rendering the cube using our custom OpenGL engine happens on that thread as well. This is similar to the built-in threaded render loop, but does not support all the features. There is no support for getting Animators running on the render thread for example. We choose to use QObject's event mechanism to communicate with the QObject living on the render thread. An alternative would be to subclass QThread and reimplement run() with a custom event handling approach, like QSGThreadedRenderLoop does. That would potentially lead to better results but is also more complex. 14799 -
window_multithreaded.h 2704 -
window_singlethreaded.cpp 10344 -
window_singlethreaded.h 1598 -