[webkit-qt] GraphicsContext and Canvas

noam.rosenthal at nokia.com noam.rosenthal at nokia.com
Thu Feb 4 08:43:07 PST 2010


 

>-----Original Message-----
>From: webkit-qt-bounces at lists.webkit.org 
>[mailto:webkit-qt-bounces at lists.webkit.org] On Behalf Of ext 
>Ariya Hidayat
>A middle ground would be: if the working paint engine is 
>non-accelerated,  then just fall back to pure image (raster).

Wouldn't a QPixmap::toImage conversion be free in that case anyway? (raster engine)

>Note that even with the pixmap and image conversion handled 
>smartly by the Graphics Context, this will be much better than 
>the current situation where every pixel access requires a 
>round-trip from pixmap to image and pixmap again.

How often do we really need pixel access? What canvas functions require QPixmap::toImage? Maybe we could find an alternative for those that doesn't require the conversion?

- No'am


More information about the webkit-qt mailing list