[maemo-developers] Stopping QML update when not visible

From: Cornelius Hald hald at icandy.de
Date: Mon May 30 18:35:14 EEST 2011
On Mon, 2011-05-30 at 16:15 +0100, Andrew Flegg wrote:
> BTW, list handling in QML is a pain. I suspect this list
> recreation/parsing/manipulation is accounting for a large portion of
> the CPU usage. Other thoughts from Qt Quick experts appreciated; but
> the graphical performance is orders of magnitude higher than the
> Python/Gdk implemention.

To improve the drawing performance a bit more, you should not stack
several Rectangles if you can't actually see the bottom ones. QML will
first paint the bottom rectangle, then paint the second rectangle over
it etc. Use Item instead as the container element.

Cheers,
Conny


More information about the maemo-developers mailing list