diff options
author | 2016-01-11 12:34:04 -0800 | |
---|---|---|
committer | 2016-01-11 12:34:04 -0800 | |
commit | 0daf5dd7fc682c939325e16cac6f8aa2e1295060 (patch) | |
tree | 9ce9e7832ff5b651bde6a762d4553cd12de13373 /include/core | |
parent | 639475e375b7e62277ac5e5b96eadeaaa1afcddc (diff) |
move declaration of CreateLightingFilter into SkColorMatrixFilter
BUG=skia:4791
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1574023002
Review URL: https://codereview.chromium.org/1574023002
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkColorFilter.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h index 57650fbd98..e89b2b1e4f 100644 --- a/include/core/SkColorFilter.h +++ b/include/core/SkColorFilter.h @@ -106,11 +106,7 @@ public: */ static SkColorFilter* CreateModeFilter(SkColor c, SkXfermode::Mode mode); - /** Create a colorfilter that multiplies the RGB channels by one color, and - then adds a second color, pinning the result for each component to - [0..255]. The alpha components of the mul and add arguments - are ignored. - */ + // 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 |