Bug 61470 - fast/canvas/canvas-composite.html fails with bad antialiasing on source-out
Summary: fast/canvas/canvas-composite.html fails with bad antialiasing on source-out
Status: RESOLVED DUPLICATE of bug 66036
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-25 14:17 PDT by Adam Klein
Modified: 2011-09-30 03:20 PDT (History)
7 users (show)

See Also:


Attachments
Bad source-out image (11.22 KB, image/png)
2011-05-25 14:17 PDT, Adam Klein
no flags Details
image from CoreGraphics (21.38 KB, image/png)
2011-05-25 14:28 PDT, James Robinson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***