|
Adding an option to render only the shadow in SkDropShadowImageFilter
This is basically how blink uses the filter. Currently, I can't use it for "ShadowOnly" mode with the filter at all, but instead of copying the code and risking to have the codepaths diverge, I'm simply going to add the option here.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/234f036b3e731e06e616c5291157d3bb4fbfdee2
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+100 lines, -29 lines) |
Patch |
|
M |
expectations/gm/ignored-tests.txt
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
gm/dropshadowimagefilter.cpp
|
View
|
1
2
|
2 chunks |
+15 lines, -7 lines |
0 comments
|
Download
|
|
M |
gm/imagefiltersbase.cpp
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
gm/imagefiltersclipped.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
gm/imagefilterscropexpand.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
gm/imagefiltersscaled.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
include/core/SkPicture.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
include/effects/SkDropShadowImageFilter.h
|
View
|
1
2
|
2 chunks |
+30 lines, -3 lines |
0 comments
|
Download
|
|
M |
samplecode/SampleFilterFuzz.cpp
|
View
|
1
2
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/core/SkReadBuffer.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/effects/SkDropShadowImageFilter.cpp
|
View
|
|
7 chunks |
+23 lines, -6 lines |
0 comments
|
Download
|
|
M |
tests/ImageFilterTest.cpp
|
View
|
1
2
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
tests/RecordDrawTest.cpp
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 14 (4 generated)
|