Revert "Fix external SkImageFilter caching with clips."
This reverts commit ffa9b500d7
.
R=reed@google.com
TBR=reed@google.com
NOTRY=True
NOTREECHECKS=True
Author: senorblanco@chromium.org
Review URL: https://codereview.chromium.org/340413004
This commit is contained in:
parent
3935a7bfe6
commit
9efd66b845
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user