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 /include/core/SkPicture.h | |
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 'include/core/SkPicture.h')
-rw-r--r-- | include/core/SkPicture.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h index 2b004d307b..32afd645fc 100644 --- a/include/core/SkPicture.h +++ b/include/core/SkPicture.h @@ -115,12 +115,6 @@ public: */ void flatten(SkWriteBuffer&) const; - /** - * Returns true if any bitmaps may be produced when this SkPicture - * is replayed. - */ - virtual bool willPlayBackBitmaps() const = 0; - /** Return the approximate number of operations in this picture. This * number may be greater or less than the number of SkCanvas calls * recorded: some calls may be recorded as more than one operation, or some @@ -131,11 +125,6 @@ public: /** Returns the approximate byte size of this picture, not including large ref'd objects. */ virtual size_t approximateBytesUsed() const = 0; -#ifdef SK_SUPPORT_LEGACY_PICTURE_GPUVETO - /** Return true if the picture is suitable for rendering on the GPU. */ - bool suitableForGpuRasterization(GrContext*, const char** whyNot = nullptr) const; -#endif - // Returns NULL if this is not an SkBigPicture. virtual const SkBigPicture* asSkBigPicture() const { return nullptr; } @@ -164,8 +153,6 @@ private: static bool BufferIsSKP(SkReadBuffer*, SkPictInfo*); friend bool SkPicture_StreamIsSKP(SkStream*, SkPictInfo*); - virtual int numSlowPaths() const = 0; - friend class SkPictureGpuAnalyzer; friend struct SkPathCounter; // V35: Store SkRect (rather then width & height) in header |