[Qt-qml] hardware acceleration and qml

mathias.malmqvist at nokia.com mathias.malmqvist at nokia.com
Mon Jun 28 15:10:09 CEST 2010


> I can testify.
> Same animations and transformations done with QML, with OpenGL-enabled 
> QGraphicsView go MUCH FASTER (particularly on Device).

If your application is a full-screen one and you run it with the qmlviewer, then 
make sure you specify the -frameless flag (in addition to the -fullscreen). This 
makes a huge difference to performance when running on N900.


Cheers
Mathias

________________________________________
From: qt-qml-bounces at trolltech.com [qt-qml-bounces at trolltech.com] On Behalf Of ext Ivan De Marino [ivan.de.marino at gmail.com]
Sent: Friday, June 25, 2010 2:17 PM
To: Allison Warwick (Nokia-D-Qt/Brisbane)
Cc: qt-qml at trolltech.com
Subject: Re: [Qt-qml] hardware acceleration and qml

I can testify.
Same animations and transformations done with QML, with OpenGL-enabled QGraphicsView go MUCH FASTER (particularly on Device).
But there are few drawbacks:
- You need to have the entire View redrawn entirely for good quality (but that's ok: you are using OpenGL after all)
- Font Anti-aliasing sucks and gets worse if you apply transformations to the Text

On 23 June 2010 00:52, <warwick.allison at nokia.com<mailto:warwick.allison at nokia.com>> wrote:
> I'd like to know more about the support for hardware acceleration in
> qml. I remember an overview focused on it but in the last snapshot
> documentation I can't find it. Is there a reason? Where I can find the
> supported platforms?

QML builds directly upon QGraphicsView, which in turn builds upon QPainter, which in turn builds upon QPaintEngine (and the internal QGraphicsSystem classes), which have various hardware accelerated implementations.

--
Warwick

_______________________________________________
Qt-qml mailing list
Qt-qml at trolltech.com<mailto:Qt-qml at trolltech.com>
http://lists.trolltech.com/mailman/listinfo/qt-qml



--
Ivan De Marino | Software Engineer | France Telecom R&D UK - Orange Labs
w. +44 20 8849 5806 | m. +44 7515 955 861 | m. +44 7974 156 216
ivan[dot]demarino[at]orange-ftgroup.com<http://orange-ftgroup.com> | ivan[dot]de[dot]marino[at]gmail[dot]com
www.detronizator.org<http://www.detronizator.org> | www.linkedin.com/in/ivandemarino<http://www.linkedin.com/in/ivandemarino>




More information about the Qt-qml mailing list