Bug 72062

Summary: [skia] drawConvexPolygon without antialiasing gives different results vs. CG
Product: WebKit Reporter: Ben Wells <benwells>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: jamesr, kbr, mikelawther, reed, schenney, senorblanco
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 66821, 70471    

Ben Wells
Reported 2011-11-10 14:49:46 PST
When AA is off, CG and skia draw differently: if a pixel is not fully on or off, CG draws it on, while skia sometimes draws it on and sometimes doesn't (depending on which side - left or right - of the pixel is on and which is off). This will also happen when filling paths if AA is forced off, but I don't think that ever happens. See bug 66821 and bug 70471 for more info. Currently this has only caused a couple of minor bugs, one of which can be fixed in a different but inferior way. If drawConvexPolygon is used more or filling paths is used without AA, this might cause future pain.
Attachments
Note You need to log in before you can comment on or make changes to this bug.