QML performances issue
-
Hi everyone,
I’m having a performance issue with a QT application using ControlledDeclarativeView (QT 4.7.4).
I'v found that using ControlledDeclarativeView the display is refreshed every 1~2 sec either if nothing has changed in the scene. The unwanted refresh causes the CPU load to grow up to 90% in a periodic way.I'v checked many other QML applications and observed the same behavior. I'v checked that using Texas instrument PVRtune tool here after a screen capture (CPU load in red)
@
qtDeclarativeView w(QUrl("test.qml"));
w.setViewport(new QGLWidget());
w.show();
@!http://www.freeimagehosting.net/4a345(QML cpu load)!
http://www.freeimagehosting.net/4a345
what could be the reason of such behavior ?
Thanks in advance!
-
Thnaks,
Controlled qDeclarativeView is a wrapper class which inherits from QDeclarativeView.
My hardware is based on TI OMAP DM3730 with PowerVR SGX Graphic Core.
I'v tested some non OpenGL applications the cpu load grows also periodically but at a maximum of 4-5%. -
Have you tried "that":http://blog.rburchell.com/2011/11/avoiding-graphics-flicker-in-qt-qml.html? Maybe it will help. The same tip is also in QML documentation, but I don't have time to search for it right now.