Bug 83812

Summary: skia: use clipstack instead of (deprecated) getTotalClip
Product: WebKit Reporter: Mike Reed <reed>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bsalomon, caryclark, schenney
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Mike Reed
Reported 2012-04-12 13:22:25 PDT
The current use of getTotalClip in BitLockerSkia.cpp is to transfer the skia clip into a CGContext. However, skia (and webkit) now use antialiased clips at times, and these are not represent in the SkRegion that is returned by getTotalClip. The SkClipStack stored by the canvas contains the actual paths used to construct the clip, and with it we should be able to make CGContext calls to reproduce the clip, including its soft-edges.
Attachments
Mike Reed
Comment 1 2012-04-13 06:51:31 PDT
Skia rev. 3670 just landed ClipVisitor proxy, which will allow us to replay the clips into CGContext...
Note You need to log in before you can comment on or make changes to this bug.