DescriptionClean up more SkXfermode.cpp dead code.
These handwritten xfermodes for Clear, Src, DstIn, and DstOut are actually dead
code: they're all covered by Sk4pxXfermode, which we'd already have returned.
Tidies up the xfermode creation logic to make this clearer.
This cuts 20-40K off SkXfermode.o, depending on the platform.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/4c4b84c0051e5126f17e55e0d5b61b5ad8c7d301
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|