Bug 62258

Summary: (CG) Sub-image drawing clips unnecessarily
Product: WebKit Reporter: Ian Henderson <ian>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: koz, mitz, simon.fraser, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   
Attachments:
Description Flags
proposed patch none

Description Ian Henderson 2011-06-07 19:30:36 PDT
When drawing sub-images in BitmapImage::draw, we clip to destRect, then draw into adjustedDestRect.  If they're the same, we could avoid clipping and just draw the image.
Comment 1 Ian Henderson 2011-06-07 19:31:54 PDT
rdar://problem/9567167
Comment 2 Ian Henderson 2011-06-07 20:06:52 PDT
Created attachment 96366 [details]
proposed patch
Comment 3 WebKit Review Bot 2011-06-07 20:31:38 PDT
Comment on attachment 96366 [details]
proposed patch

Clearing flags on attachment: 96366

Committed r88321: <http://trac.webkit.org/changeset/88321>
Comment 4 WebKit Review Bot 2011-06-07 20:31:42 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 James Kozianski 2011-06-07 22:33:06 PDT
I think this caused some pixel changes for SnowLeopard. The changes seemed fine to me so I commit them in r88325 if you wanted to verify.