diff options
author | senorblanco <senorblanco@chromium.org> | 2014-06-19 13:23:26 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-19 13:23:27 -0700 |
commit | 9efd66b8451f25465abd1027e09a3bcfa7b9c554 (patch) | |
tree | 6e7b7379ad7dd83f3af05cab86709e93039fcc52 /src | |
parent | 3935a7bfe64293edf9b06527f59d657ff4e280cb (diff) |
Revert "Fix external SkImageFilter caching with clips."
This reverts commit ffa9b500d7e83e7dddf6a8902f47c4355b608c30.
R=reed@google.com
TBR=reed@google.com
NOTRY=True
NOTREECHECKS=True
Author: senorblanco@chromium.org
Review URL: https://codereview.chromium.org/340413004
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkImageFilter.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp index 4c4b56beac..6356c1a5dd 100644 --- a/src/core/SkImageFilter.cpp +++ b/src/core/SkImageFilter.cpp @@ -122,16 +122,6 @@ bool SkImageFilter::filterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst) const { SkASSERT(&src); SkASSERT(dst); - if (SkImageFilter::GetExternalCache()) { - /* - * When the external cache is active, do not intersect the saveLayer - * bounds with the clip bounds. This is so that the cached result - * is always the full size of the primitive's bounds, - * regardless of the clip active on first draw. - */ - *dst = SkIRect::MakeLargest(); - return true; - } return this->onFilterBounds(src, ctm, dst); } |