From the QImage documentation: Warning: This function is expensive when used for massive pixel manipulations. We should use scanLine() (or even better in Qt 4.7, constScanLine()) instead.
Created attachment 61817 [details] Proposed patch
This change yields a 1% speedup on http://mrdoob.com/lab/javascript/effects/plane_deformations/
Created attachment 61840 [details] Proposed patch v2 Oops, don't use QRgb* to traverse the scan lines, since QRgb might be 64-bit. Use quint32* instead.
Comment on attachment 61840 [details] Proposed patch v2 Clearing flags on attachment: 61840 Committed r63652: <http://trac.webkit.org/changeset/63652>
All reviewed patches have been landed. Closing bug.