Bug 79852

Summary: Optimize the rects being drawn into compositing layers
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: 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 Flags
Patch mitz: review+

Simon Fraser (smfr)
Reported 2012-02-28 17:51:53 PST
We should make sure that we're not drawing more than necessary in composting layers because of rect coalescing.
Attachments
Patch (2.49 KB, patch)
2012-02-28 18:14 PST, Simon Fraser (smfr)
mitz: review+
Simon Fraser (smfr)
Comment 1 2012-02-28 18:14:09 PST
mitz
Comment 2 2012-02-28 18:49:12 PST
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.
mitz
Comment 3 2012-02-28 18:50:24 PST
s/texts/rects/.
Simon Fraser (smfr)
Comment 4 2012-02-28 20:19:19 PST
I wonder that too. I'll look to see if CA does that already.
Simon Fraser (smfr)
Comment 5 2012-02-28 20:47:50 PST
Simon Fraser (smfr)
Comment 6 2012-11-28 16:52:34 PST
Simon Fraser (smfr)
Comment 7 2012-11-28 16:56:58 PST
Note You need to log in before you can comment on or make changes to this bug.