diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2014-11-25 11:38:46 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2014-12-12 12:19:14 +0100 |
commit | 6179550a0ca761bfabd4f6c67103f5397a306df0 (patch) | |
tree | eaf4a12431769a77ff3fed7945d1d0bf37144fcd /tools | |
parent | 2a6f6eee104ef66e4e236fa82fe71bb77f151ee8 (diff) |
Support threading with QQuickRenderControl
Reorganize the rendercontrol example to demonstrate both the single
and multi threaded approaches.
A small helper function is introduced to the QQuickRenderControl API:
The QSGRenderContext has to live on the render thread. Previously there
was no way for applications to move it to the desired thread. This is
now possible.
Pass --threaded to the rendercontrol example to use a separate render thread.
[ChangeLog][QtQuick] QQuickRenderControl can now be used to render the Qt Quick
scene on a dedicated render thread, similarly to how the built-in threaded render
loop operates.
Task-number: QTBUG-42813
Change-Id: I01c3b2ffca8a174d9d2c267a51f2e484ed7b34b3
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions