Summary: | Optimize the rects being drawn into compositing layers | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||
Component: | Layout and Rendering | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | dino, mitz, simon.fraser, thorton | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Simon Fraser (smfr)
2012-02-28 17:51:53 PST
Created attachment 129370 [details]
Patch
Comment on attachment 129370 [details]
Patch
In drawRect: we examine the total area of all texts and do a single paint if they cover a sufficiently large fraction of the clip bounds. I wonder if we don't need something similar here.
s/texts/rects/. I wonder that too. I'll look to see if CA does that already. This change was made to help http://ie.microsoft.com/testdrive/performance/mazesolver/default.html performance. |