diff options
author | 2016-05-04 13:09:39 -0700 | |
---|---|---|
committer | 2016-05-04 13:09:39 -0700 | |
commit | 0ccc62d4f79809fe20de299ba1fabdf2592ce2e5 (patch) | |
tree | 9503a3a366b739b9092073ba75c41f9e0192b6e4 /gyp/core.gypi | |
parent | 3e375b0a51a46814cf08ecd1a513862006a704e5 (diff) |
move colorshader into its own .cpp, add color4f variant
Implemented as a different subclass for SkColorShader (which is also private) partly to make the CL clearer/simpler, and partly for flatten/unflatten compatibility. Later I'm sure we could combine these if that proves useful.
Lots of TODOs at the moment, but still valuable to get reviewed.
Note: this ignores the question (for the moment) about how to interpret SkColor in the larger world. That needs to happen, but this CL is more focused on what *else* to do besides handle the old-style input (and old-style pipeline).
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1934313002
Review-Url: https://codereview.chromium.org/1934313002
Diffstat (limited to 'gyp/core.gypi')
-rw-r--r-- | gyp/core.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/core.gypi b/gyp/core.gypi index c77b0d1ced..6322c54b40 100644 --- a/gyp/core.gypi +++ b/gyp/core.gypi @@ -73,6 +73,7 @@ '<(skia_src_path)/core/SkColorFilterShader.cpp', '<(skia_src_path)/core/SkColorMatrixFilterRowMajor255.cpp', '<(skia_src_path)/core/SkColorMatrixFilterRowMajor255.h', + '<(skia_src_path)/core/SkColorShader.cpp', '<(skia_src_path)/core/SkColorShader.h', '<(skia_src_path)/core/SkColorSpace.cpp', '<(skia_src_path)/core/SkColorSpace.h', |