diff options
author | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-12 19:14:06 +0000 |
---|---|---|
committer | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-12 19:14:06 +0000 |
commit | 8d21f6c7a9d0cf4f87d77c235c6da7203620c7e5 (patch) | |
tree | df28bf3f40b4f9327736cc0166d0d964c32fe463 /include/effects | |
parent | 3bafe74a29c37761082980ed4ee9b831256bd27e (diff) |
When two or more color matrix image filters are connected together, and the non-leaf matrices do not require clamping, we can concatenate their matrices and apply them together.
Review URL: https://codereview.appspot.com/6489054
git-svn-id: http://skia.googlecode.com/svn/trunk@5931 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/effects')
-rwxr-xr-x | include/effects/SkColorFilterImageFilter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/effects/SkColorFilterImageFilter.h b/include/effects/SkColorFilterImageFilter.h index f5192918f3..e9124f9123 100755 --- a/include/effects/SkColorFilterImageFilter.h +++ b/include/effects/SkColorFilterImageFilter.h @@ -26,6 +26,8 @@ protected: virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, SkBitmap* result, SkIPoint* loc) SK_OVERRIDE; + virtual SkColorFilter* asColorFilter() const SK_OVERRIDE; + private: SkColorFilter* fColorFilter; |