WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
83812
skia: use clipstack instead of (deprecated) getTotalClip
https://bugs.webkit.org/show_bug.cgi?id=83812
Summary
skia: use clipstack instead of (deprecated) getTotalClip
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug