[maemo-developers] Stopping QML update when not visible

From: Michael Hasselmann michael at taschenorakel.de
Date: Sat Jun 11 11:29:47 EEST 2011
On Mon, 2011-05-30 at 17:35 +0200, Cornelius Hald wrote:
> 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.

Hahahahahahahah, what? Like, really? What a quirky workaround, and how
absolutely not-scene-graph-y at all.  If that's not reason enough to
just go and fix <http://bugreports.qt.nokia.com/browse/QTBUG-8783>, with
QML2 and its  supposedly better QML scene graph still being months away
(and QGraphicsView being used in real world apps for years to come),
then I don't know what else it.

Anyway, about just setting those rectangles you dont want to be painted
to fully translucent?

regards,
Michael

More information about the maemo-developers mailing list