diff options
author | 2014-04-10 21:57:32 +0000 | |
---|---|---|
committer | 2014-04-10 21:57:32 +0000 | |
commit | e9085b1d0f37c76894e882c7a9ffb83bd952be5b (patch) | |
tree | b9fc1fb567cc4b47ef28d6b6822139a54cddcecc /src | |
parent | 76b12b74ed911e0f84d2f8cf59adb6e740398f67 (diff) |
remove two more effects that are now immutable
BUG=skia:
R=scroggo@google.com, dominikg@chromium.org
Author: reed@google.com
Review URL: https://codereview.chromium.org/233753002
git-svn-id: http://skia.googlecode.com/svn/trunk@14142 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkPicturePlayback.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp index f1a947381b..61a5b62ebf 100644 --- a/src/core/SkPicturePlayback.cpp +++ b/src/core/SkPicturePlayback.cpp @@ -151,13 +151,15 @@ static bool needs_deep_copy(const SkPaint& paint) { * getAnnotation() * paint.getColorFilter() * getXfermode() + * getPathEffect() + * getMaskFilter() */ - return paint.getPathEffect() || - paint.getShader() || - paint.getMaskFilter() || + return paint.getShader() || +#ifdef SK_SUPPORT_LEGACY_LAYERRASTERIZER_API paint.getRasterizer() || - paint.getLooper() || +#endif + paint.getLooper() || // needs to hide its addLayer... paint.getImageFilter(); } |