diff options
author | 2015-01-13 10:54:37 -0800 | |
---|---|---|
committer | 2015-01-13 10:54:37 -0800 | |
commit | 5d17286b3596c369132f10422a35a2cfca5c009a (patch) | |
tree | 4297c96a51ddb2628784847ed7c0c9e9a3a44bfd /src/gpu/GrLayerCache.h | |
parent | 963b832833278be939819a2e507d531daa438587 (diff) |
Revert of Switch to a more complete method of filtering hoisted layers (patchset #1 id:1 of https://codereview.chromium.org/842323003/)
Reason for revert:
nanobench woes
Original issue's description:
> Switch to a more complete method of filtering hoisted layers
>
> Committed: https://skia.googlesource.com/skia/+/74668a8e818fd891a08c4966cc5973b04c1ad992
TBR=bsalomon@google.com
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/851773002
Diffstat (limited to 'src/gpu/GrLayerCache.h')
-rw-r--r-- | src/gpu/GrLayerCache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrLayerCache.h b/src/gpu/GrLayerCache.h index 11c8f079ce..cdbd0806cc 100644 --- a/src/gpu/GrLayerCache.h +++ b/src/gpu/GrLayerCache.h @@ -164,7 +164,7 @@ public: SkASSERT(SK_InvalidGenID != pictureID); if (fPaint) { - if (fPaint->getImageFilter()) { + if (fPaint->getImageFilter() && fPaint->getImageFilter()->canFilterImageGPU()) { fFilter = SkSafeRef(fPaint->getImageFilter()); fPaint->setImageFilter(NULL); } |