Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.6, 5.9, 5.11
-
None
Description
Animations run at 200% speed (at least) with corresponding increased CPU usage.
This happens when using layer-backed QWindow/QNSView, which is reported to be the default on 10.14 Mojave, and which is also enabled for the Qt dev branch. To reproduce elsewhere set QT_MAC_WANTS_LAYER=1.
We're investigating the scope for this. It can bee seen in at least:
- examples/quick/shadereffects
- examples/quick/animation
Possible solutions/workarounds:
- Use the basic render loop, in combination with CVDisplayLink-driven updates.
- Fix the threaded render loop
Attachments
Issue Links
- relates to
-
QTBUG-68891 macOS 10.14 Mojave Support
- Closed