diff options
author | Andy Shaw <andy.shaw@qt.io> | 2019-10-18 08:33:47 +0200 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2020-02-07 07:20:30 +0200 |
commit | 648b7459e8a6ce8ce1f115a14da63d546b743439 (patch) | |
tree | c185ea3fd483bcbd819a28d38c00785e18385dd2 /src/animation | |
parent | d33c1630b09fcdad83f69bfd2530354584b2f42b (diff) |
Allow for when a Scene3D item switches screens
When a Scene3D item switches screens then it will need to be
reinitalized so that the supporting contexts, offscreen surfaces are
set to use the same screen and not the original one. This ensures that
the item is still rendered correctly on the new screen.
This includes a manual test using QQuickWidget in separate windows that
enables it going from one screen to the other.
Fixes: QTBUG-79192
Change-Id: Id5bbc0d30d04ea4a945463238868b68283df0543
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/animation')
0 files changed, 0 insertions, 0 deletions