All callers have converted over to SkColorMatrixFilter
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1583923002
Review URL: https://codereview.chromium.org/
1583923002
*/
static SkColorFilter* CreateModeFilter(SkColor c, SkXfermode::Mode mode);
- // DEPRECATED -- call this from SkColorMatrixFilter instead -- see skbug.com/4791
- static SkColorFilter* CreateLightingFilter(SkColor mul, SkColor add);
-
/** Construct a colorfilter whose effect is to first apply the inner filter and then apply
* the outer filter to the result of the inner's.
* The reference counts for outer and inner are incremented.
0);
return SkColorMatrixFilter::Create(matrix);
}
-
-// DEPRECTED -- remove this when chrome/android stop calling it
-SkColorFilter* SkColorFilter::CreateLightingFilter(SkColor mul, SkColor add) {
- return SkColorMatrixFilter::CreateLightingFilter(mul, add);
-}