Chromium Code Reviews
DescriptionSupport mask images for filter-based -webkit-box-reflect.
This is implemented by having a SkPictureImageFilter which draws the provided
mask image (e.g. a gradient), which is then applied to the reflection.
A bunch of math is needed to make sure the mask is correctly sized and positioned,
because the property is actually fairly flexible and allows a nine-piece image
with insets for slicing and outsets for expanding.
BUG=436475
Committed: https://crrev.com/98e094a1f352965d9ea46601f672b3555b56f330
Cr-Commit-Position: refs/heads/master@{#389151}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : experiment with kLow_SkFilterQuality #Patch Set 6 : #Patch Set 7 : backport mask image handling into SkiaImageFilterBuilder #Patch Set 8 : #
Total comments: 7
Patch Set 9 : #Patch Set 10 : #Patch Set 11 : add comment referring to skbug.com/5210 #
Messages
Total messages: 17 (9 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||