On Wednesday 23 June 2010 01:52:47 [email protected] 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.
>

For the Raster paint engine (the default software based paint engine on most 
platforms), you will mostly get hardware 
acceleration through the multimedia operations of the CPU such as SSE2 on x86 
and NEON on ARM (v7ff), but this is 
limited to a few image operations : blitting, scaling and compositing. There 
might be a few more operations optimized or 
vectorized by the compiler. Fortunately QML makes heavy use of images so you 
can get a significant acceleration through 
the multimedia coprocessors.

On the other hand, all the other painting operations (shapes, gradients, 
texturing, transformations, etc.) have 0 
hardware acceleration support so far.

It's also worth mentionning that Raster provides no GPU acceleration support. 
This would be provided by the OpenGL paint 
engine, but that engine suffers so many shortcomings that it rarely proves to 
be a worthy replacement. Hopefully this 
will change in the future.

Cheers

-- 
Romain Pokrzywka | [email protected] | Certified Qt Software Engineer & 
Trainer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to