Bug 68158

Summary: Don't bother calculating dirty rect for accelerated 2D canvases.
Product: WebKit Reporter: Andreas Kling <kling>
Component: CanvasAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: mdelaney7, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch none

Andreas Kling
Reported 2011-09-15 07:06:20 PDT
CanvasRenderingContext2D::didDraw() currently calculates the dirty rect for invalidation, but if the canvas is accelerated and has an AC layer, we don't use the dirty rect, but simply call RenderLayer::contentChanged().
Attachments
Proposed patch (2.62 KB, patch)
2011-09-15 07:07 PDT, Andreas Kling
no flags
Andreas Kling
Comment 1 2011-09-15 07:07:05 PDT
Created attachment 107490 [details] Proposed patch
Kenneth Rohde Christiansen
Comment 2 2011-09-15 07:12:34 PDT
Comment on attachment 107490 [details] Proposed patch Nice
WebKit Review Bot
Comment 3 2011-09-15 09:09:05 PDT
Comment on attachment 107490 [details] Proposed patch Clearing flags on attachment: 107490 Committed r95193: <http://trac.webkit.org/changeset/95193>
WebKit Review Bot
Comment 4 2011-09-15 09:09:09 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.