Summary: | Canvas: Don't add shadow rect to dirty region when shadow alpha is 0 | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | oliver | ||||
Priority: | P2 | Keywords: | Performance | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Andreas Kling
2010-07-14 16:05:04 PDT
Created attachment 61578 [details]
Proposed patch
Comment on attachment 61578 [details]
Proposed patch
It’s unfortunate we have to construct a Color just to check the alpha channel. That’s going to cost some actual instructions and CPU time. Maybe we should have more functions that operate directly on RGBA32 values.
(In reply to comment #2) > (From update of attachment 61578 [details]) > It’s unfortunate we have to construct a Color just to check the alpha channel. That’s going to cost some actual instructions and CPU time. Maybe we should have more functions that operate directly on RGBA32 values. Agreed. Coming soon in a separate patch. Comment on attachment 61578 [details] Proposed patch Clearing flags on attachment: 61578 Committed r63370: <http://trac.webkit.org/changeset/63370> All reviewed patches have been landed. Closing bug. |