aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-01-11 12:34:04 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-11 12:34:04 -0800
commit0daf5dd7fc682c939325e16cac6f8aa2e1295060 (patch)
tree9ce9e7832ff5b651bde6a762d4553cd12de13373 /include/core
parent639475e375b7e62277ac5e5b96eadeaaa1afcddc (diff)
move declaration of CreateLightingFilter into SkColorMatrixFilter
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkColorFilter.h6
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