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

Adam Klein
Reported 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.
Attachments
Bad source-out image (11.22 KB, image/png)
2011-05-25 14:17 PDT, Adam Klein
no flags
image from CoreGraphics (21.38 KB, image/png)
2011-05-25 14:28 PDT, James Robinson
no flags
James Robinson
Comment 1 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.
James Robinson
Comment 2 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.
Ben Wells
Comment 3 2011-09-30 03:20:35 PDT
*** This bug has been marked as a duplicate of bug 66036 ***
Note You need to log in before you can comment on or make changes to this bug.