diff options
author | Mike Reed <reed@google.com> | 2017-12-20 15:03:08 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-20 20:27:06 +0000 |
commit | b60c5ebf045df23f9a15f85c37825b15adff9d8d (patch) | |
tree | 59ddc5aea96dd7fef64b8e738ff9e20feed5db4f /src/core/SkPicture.cpp | |
parent | 297d6efe852ebb98a324a71c79df8f7bbdcc3b94 (diff) |
remove unused willPlayBackBitmaps from picture
and SkPictureAnalyzer
Bug: skia:
Change-Id: I394eca648234b1a69e6f9a0a88c407366a33d079
Reviewed-on: https://skia-review.googlesource.com/87791
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'src/core/SkPicture.cpp')
-rw-r--r-- | src/core/SkPicture.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp index b163a166d4..b2a83601b0 100644 --- a/src/core/SkPicture.cpp +++ b/src/core/SkPicture.cpp @@ -335,16 +335,6 @@ void SkPicture::flatten(SkWriteBuffer& buffer) const { } } -#ifdef SK_SUPPORT_LEGACY_PICTURE_GPUVETO -bool SkPicture::suitableForGpuRasterization(GrContext*, const char** whyNot) const { - if (this->numSlowPaths() > 5) { - if (whyNot) { *whyNot = "Too many slow paths (either concave or dashed)."; } - return false; - } - return true; -} -#endif - // Global setting to disable security precautions for serialization. bool SkPicture::PictureIOSecurityPrecautionsEnabled() { return g_AllPictureIOSecurityPrecautionsEnabled; |