diff options
author | 2017-05-31 15:03:02 -0400 | |
---|---|---|
committer | 2017-05-31 19:54:05 +0000 | |
commit | 25f3805efa465bc3f804f192fe1ee64450f01d7c (patch) | |
tree | fd32acec7e98cc4793d7488bbb89f582b5770de6 /include/core/SkColorFilter.h | |
parent | d696df74d4b2d70fb7b9078c6092d5eb1858d03d (diff) |
slant colorfilter away from filterSpan4f
rename to make it easy to delete any impl that also had onAppendStages...
i.e. rename to make it clear that it is just an impl trick for rasterpipeline.
Bug: skia:
Change-Id: If3c3b2811eff12d399cdf7a77552c01e72c06996
Reviewed-on: https://skia-review.googlesource.com/18234
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkColorFilter.h')
-rw-r--r-- | include/core/SkColorFilter.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h index 2e3662701d..1c320ba30f 100644 --- a/include/core/SkColorFilter.h +++ b/include/core/SkColorFilter.h @@ -72,8 +72,6 @@ public: */ virtual void filterSpan(const SkPMColor src[], int count, SkPMColor result[]) const = 0; - virtual void filterSpan4f(const SkPM4f src[], int count, SkPM4f result[]) const = 0; - void appendStages(SkRasterPipeline*, SkColorSpace*, SkArenaAlloc*, bool shaderIsOpaque) const; enum Flags { @@ -189,6 +187,10 @@ private: bool shaderIsOpaque) const; + virtual void onFilterStage(const SkPM4f[], int, SkPM4f[]) const { + SkASSERT(false); + } + friend class SkColorSpaceXformer; friend class SkComposeColorFilter; |