aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-02-19 13:38:53 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-19 13:38:53 -0800
commitc5b1228141bd26d4573552a00ebeb0b85a4768df (patch)
tree88de22419c96dcbb9f74c95216015483e5a6bd12 /include
parent950fb1ca24cca9803eb29dc6aa5472b0f506a67f (diff)
remove supports4f flag for colorfilters
Diffstat (limited to 'include')
-rw-r--r--include/core/SkColorFilter.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h
index ea893e056f..4c9795c271 100644
--- a/include/core/SkColorFilter.h
+++ b/include/core/SkColorFilter.h
@@ -73,17 +73,12 @@ public:
/** If set the filter methods will not change the alpha channel of the colors.
*/
kAlphaUnchanged_Flag = 1 << 0,
- kSupports4f_Flag = 1 << 1,
};
/** Returns the flags for this filter. Override in subclasses to return custom flags.
*/
virtual uint32_t getFlags() const { return 0; }
- bool supports4f() const {
- return SkToBool(this->getFlags() & kSupports4f_Flag);
- }
-
/**
* If this subclass can optimally createa composition with the inner filter, return it as
* a new filter (which the caller must unref() when it is done). If no such optimization