Index: include/core/SkColorFilter.h |
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h |
index c5d084a22d0d31cc44faf4fd9e79118ee6ea0c3e..211aae696269447ba22a8446e61f9f1baaa97846 100644 |
--- a/include/core/SkColorFilter.h |
+++ b/include/core/SkColorFilter.h |
@@ -68,10 +68,13 @@ public: |
*/ |
virtual void filterSpan(const SkPMColor src[], int count, SkPMColor result[]) const = 0; |
+ virtual void filterSpan4f(const SkPM4f src[], int count, SkPM4f result[]) const; |
+ |
enum Flags { |
/** If set the filter methods will not change the alpha channel of the colors. |
*/ |
- kAlphaUnchanged_Flag = 0x01, |
+ kAlphaUnchanged_Flag = 1 << 0, |
+ kSupports4f_Flag = 1 << 1, |
}; |
/** Returns the flags for this filter. Override in subclasses to return custom flags. |