Bug 57773

Summary: Add a fast path for simple color backgrounds
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: mdelaney7, simon.fraser
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.5   
Attachments:
Description Flags
Patch adele: review+

Simon Fraser (smfr)
Reported 2011-04-04 11:59:28 PDT
We currently render rounded-corner color backgrounds via setting a clipping path and then filling the rect. This is slow in CG; it's better to just create a path for the rounded rect and fill it.
Attachments
Patch (8.02 KB, patch)
2011-04-04 12:13 PDT, Simon Fraser (smfr)
adele: review+
Simon Fraser (smfr)
Comment 1 2011-04-04 12:13:13 PDT
Simon Fraser (smfr)
Comment 2 2011-04-05 13:32:56 PDT
Simon Fraser (smfr)
Comment 3 2011-04-05 17:53:38 PDT
Note You need to log in before you can comment on or make changes to this bug.