aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPicture.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-12-16 08:41:28 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-12-16 14:21:32 +0000
commitef0384835757df463f5157145650a60ba8b14a63 (patch)
treed33ade7923e75b2166f891cf1cbbd2a2ef18c4b8 /include/core/SkPicture.h
parent594706566a62da1e00fa1bb678cc84c36464e811 (diff)
remove deprecated SkPixelSerializer
Bug: skia: Change-Id: I25d33517f1ec7c08551c79d03763c676d1a662f5 Reviewed-on: https://skia-review.googlesource.com/86360 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkPicture.h')
-rw-r--r--include/core/SkPicture.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index 016be3759a..8edd183ede 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -21,7 +21,6 @@ struct SkDeserialProcs;
class SkImage;
class SkPath;
class SkPictureData;
-class SkPixelSerializer;
class SkReadBuffer;
class SkRefCntSet;
struct SkSerialProcs;
@@ -107,21 +106,11 @@ public:
/** Returns a non-zero value unique among all pictures. */
uint32_t uniqueID() const;
- /**
- * Serialize the picture to SkData. If non nullptr, pixel-serializer will be used to
- * customize how images reference by the picture are serialized/compressed.
- */
- sk_sp<SkData> serialize(SkPixelSerializer* = nullptr) const;
-
+ sk_sp<SkData> serialize() const;
+ void serialize(SkWStream*) const;
sk_sp<SkData> serialize(const SkSerialProcs&) const;
/**
- * Serialize to a stream. If non nullptr, pixel-serializer will be used to
- * customize how images reference by the picture are serialized/compressed.
- */
- void serialize(SkWStream*, SkPixelSerializer* = nullptr) const;
-
- /**
* Serialize to a buffer.
*/
void flatten(SkWriteBuffer&) const;