Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.6.3
-
None
Description
Using QSG_RENDER_TIMINGS, or the qmlprofiler, I notice the scene graph is swapping frames even if the AnimatedImage is invisible, a workaound is to bind playing: visible
Only happens with basic render loop, this then becomes a scene graph issue, but there's also the fact that AnimatedImage calls update() even if invisible
import QtQuick 2.6 import QtQuick.Window 2.2 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") AnimatedImage { id: anim source: "https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif" width: 400 height: 400 playing: true visible: false } }
Attachments
Issue Links
- relates to
-
QTBUG-103710 Poor AnimatedImage performance
-
- Reported
-