Summary: | [Qt] Avoid QImage::pixel() in getImageData() | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||||
Component: | WebCore Misc. | Assignee: | QtWebKit Unassigned <webkit-qt-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | Keywords: | Performance, Qt, QtTriaged | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Andreas Kling
2010-07-16 09:36:18 PDT
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. |