Bug 50465 - The chunked update drawing area is flipped twice when drawing
Summary: The chunked update drawing area is flipped twice when drawing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2010-12-03 11:04 PST by Anders Carlsson
Modified: 2010-12-03 11:12 PST (History)
0 users

See Also:


Attachments
Patch (2.83 KB, patch)
2010-12-03 11:06 PST, Anders Carlsson
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2010-12-03 11:04:21 PST
The chunked update drawing area is flipped twice when drawing
Comment 1 Anders Carlsson 2010-12-03 11:06:02 PST
Created attachment 75514 [details]
Patch
Comment 2 Anders Carlsson 2010-12-03 11:06:36 PST
<rdar://problem/8726836>
Comment 3 mitz 2010-12-03 11:09:40 PST
Comment on attachment 75514 [details]
Patch

I think you can save on a bunch of function calls here. Roll the translation into the origin of the parameter you pass to CGContextDrawImage, and instead of saving and restoring gstate, just apply the scale again.
Comment 4 Anders Carlsson 2010-12-03 11:12:36 PST
Committed r73275: <http://trac.webkit.org/changeset/73275>