>-----Original Message-----
>From: Knoll Lars (Nokia-D-Qt/Oslo) 

>One thing worth considering is IMO to only use a QImage to 
>render the canvas content into, and avoid any 
>caching/conversion magic between images and pixmaps. We don't 
>get any HW acceleration for drawing with this, but it might 
>still be faster and easier than doing possible conversions 
>back and forth.

I don't see why we would need to convert back to an image at all if the user 
doesn't call getImageBuffer.
Many times all we do with canvas is transform; drawImage; fillRect; transform; 
drawImage; etc.
In that case, which is much more common than getting the image buffer or 
setting pixels directly, HW acceleration is crucial.

No'am
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt

Reply via email to