Bug 61470

Summary: fast/canvas/canvas-composite.html fails with bad antialiasing on source-out
Product: WebKit Reporter: Adam Klein <adamk>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: benwells, jamesr, jchaffraix, mdelaney7, oliver, senorblanco, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Bad source-out image
none
image from CoreGraphics none

Description Adam Klein 2011-05-25 14:17:44 PDT
Created attachment 94856 [details]
Bad source-out image

Example result image attached.  Notice the artifact of an outline on the top left of source-out.
Comment 1 James Robinson 2011-05-25 14:28:03 PDT
Created attachment 94860 [details]
image from CoreGraphics

here's a better example from coregraphics that doesn't have the same antialiasing issues as skia does.
Comment 2 James Robinson 2011-05-25 14:29:35 PDT
I think the basic issue here is that the clipOut is antialiased, so the pixels on the edge have partial alpha, so they get partially filled in by the globalCompositeOperation, and then get partially cleared by the clear call.
Comment 3 Ben Wells 2011-09-30 03:20:35 PDT

*** This bug has been marked as a duplicate of bug 66036 ***