projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3935a7b
)
Revert "Fix external SkImageFilter caching with clips."
author
senorblanco
<senorblanco@chromium.org>
Thu, 19 Jun 2014 20:23:26 +0000
(13:23 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Thu, 19 Jun 2014 20:23:27 +0000
(13:23 -0700)
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
src/core/SkImageFilter.cpp
patch
|
blob
|
history
diff --git
a/src/core/SkImageFilter.cpp
b/src/core/SkImageFilter.cpp
index
4c4b56b
..
6356c1a
100644
(file)
--- 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);
}