From 8d21f6c7a9d0cf4f87d77c235c6da7203620c7e5 Mon Sep 17 00:00:00 2001 From: "senorblanco@chromium.org" Date: Fri, 12 Oct 2012 19:14:06 +0000 Subject: 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 --- include/effects/SkColorFilterImageFilter.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/effects') 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; -- cgit v1.2.3