Home
last modified time | relevance | path

Searched refs:SkSerialProcs (Results 1 – 25 of 50) sorted by relevance

12

/external/skqp/include/core/
DSkPicture.h29 struct SkSerialProcs;
164 sk_sp<SkData> serialize(const SkSerialProcs* procs = nullptr) const;
176 void serialize(SkWStream* stream, const SkSerialProcs* procs = nullptr) const;
214 void serialize(SkWStream*, const SkSerialProcs*, class SkRefCntSet* typefaces) const;
DSkFlattenable.h17 struct SkSerialProcs;
76 sk_sp<SkData> serialize(const SkSerialProcs* = nullptr) const;
78 const SkSerialProcs* = nullptr) const;
DSkTextBlob.h30 struct SkSerialProcs;
170 size_t serialize(const SkSerialProcs& procs, void* memory, size_t memory_size) const;
183 sk_sp<SkData> serialize(const SkSerialProcs& procs) const;
/external/skia/include/core/
DSkPicture.h23 struct SkSerialProcs;
165 sk_sp<SkData> serialize(const SkSerialProcs* procs = nullptr) const;
179 void serialize(SkWStream* stream, const SkSerialProcs* procs = nullptr) const;
245 void serialize(SkWStream*, const SkSerialProcs*, class SkRefCntSet* typefaces,
DSkFlattenable.h17 struct SkSerialProcs;
76 sk_sp<SkData> serialize(const SkSerialProcs* = nullptr) const;
78 const SkSerialProcs* = nullptr) const;
DSkTextBlob.h20 struct SkSerialProcs;
162 size_t serialize(const SkSerialProcs& procs, void* memory, size_t memory_size) const;
177 sk_sp<SkData> serialize(const SkSerialProcs& procs) const;
/external/skqp/docs/
DSkTextBlob_Reference.bmh216 #Method size_t serialize(const SkSerialProcs& procs, void* memory, size_t memory_size) const
225 #include "SkSerialProcs.h"
232 size_t used = blob->serialize(SkSerialProcs(), storage, sizeof(storage));
239 #SeeAlso Deserialize SkSerialProcs
245 #Method sk_sp<SkData> serialize(const SkSerialProcs& procs) const
254 #include "SkSerialProcs.h"
260 sk_sp<SkData> data = blob->serialize(SkSerialProcs());
265 #SeeAlso Deserialize SkData SkSerialProcs
284 #include "SkSerialProcs.h"
290 sk_sp<SkData> data = blob->serialize(SkSerialProcs());
/external/skqp/src/utils/
DSkMultiPictureDocument.h16 struct SkSerialProcs;
22 SK_API sk_sp<SkDocument> SkMakeMultiPictureDocument(SkWStream* dst, const SkSerialProcs* = nullptr);
DSkMultiPictureDocument.cpp51 const SkSerialProcs fProcs;
56 MultiPictureDocument(SkWStream* s, const SkSerialProcs* procs) in MultiPictureDocument()
58 , fProcs(procs ? *procs : SkSerialProcs()) in MultiPictureDocument()
98 sk_sp<SkDocument> SkMakeMultiPictureDocument(SkWStream* wStream, const SkSerialProcs* procs) { in SkMakeMultiPictureDocument()
/external/skia/src/utils/
DSkMultiPictureDocument.h18 struct SkSerialProcs;
24 SK_SPI sk_sp<SkDocument> SkMakeMultiPictureDocument(SkWStream* dst, const SkSerialProcs* = nullptr,
DSkMultiPictureDocument.cpp52 const SkSerialProcs fProcs;
58 MultiPictureDocument(SkWStream* s, const SkSerialProcs* procs, in MultiPictureDocument()
61 , fProcs(procs ? *procs : SkSerialProcs()) in MultiPictureDocument()
107 sk_sp<SkDocument> SkMakeMultiPictureDocument(SkWStream* wStream, const SkSerialProcs* procs, in SkMakeMultiPictureDocument()
/external/skia/tests/
DSerialProcsTest.cpp64 SkSerialProcs sproc; in DEF_TEST()
91 static SkSerialProcs makes(SkSerialPictureProc proc, void* ctx = nullptr) { in makes()
92 SkSerialProcs procs; in makes()
141 SkSerialProcs sprocs = makes(array_serial_proc, &ctx); in test_pictures()
202 SkSerialProcs procs; in DEF_TEST()
/external/skqp/tests/
DSerialProcsTest.cpp65 SkSerialProcs sproc; in DEF_TEST()
92 static SkSerialProcs makes(SkSerialPictureProc proc, void* ctx = nullptr) { in makes()
93 SkSerialProcs procs; in makes()
142 SkSerialProcs sprocs = makes(array_serial_proc, &ctx); in test_pictures()
203 SkSerialProcs procs; in DEF_TEST()
/external/skia/src/core/
DSkPictureData.h21 struct SkSerialProcs;
86 void serialize(SkWStream*, const SkSerialProcs&, SkRefCntSet*, bool textBlobsOnly=false) const;
162 static void WriteTypefaces(SkWStream* stream, const SkRefCntSet& rec, const SkSerialProcs&);
DSkPicture.cpp228 void SkPicture::serialize(SkWStream* stream, const SkSerialProcs* procs) const { in serialize()
232 sk_sp<SkData> SkPicture::serialize(const SkSerialProcs* procs) const { in serialize()
238 static sk_sp<SkData> custom_serialize(const SkPicture* picture, const SkSerialProcs& procs) { in custom_serialize()
266 void SkPicture::serialize(SkWStream* stream, const SkSerialProcs* procsPtr, in serialize()
268 SkSerialProcs procs; in serialize()
DSkFlattenable.cpp116 sk_sp<SkData> SkFlattenable::serialize(const SkSerialProcs* procs) const { in serialize()
129 const SkSerialProcs* procs) const { in serialize()
DSkPictureData.cpp121 const SkSerialProcs& procs) { in WriteTypefaces()
192 static SkSerialProcs skip_typeface_proc(const SkSerialProcs& procs) { in skip_typeface_proc()
193 SkSerialProcs newProcs = procs; in skip_typeface_proc()
204 void SkPictureData::serialize(SkWStream* stream, const SkSerialProcs& procs, in serialize()
/external/skqp/src/core/
DSkPicture.cpp225 void SkPicture::serialize(SkWStream* stream, const SkSerialProcs* procs) const { in serialize()
229 sk_sp<SkData> SkPicture::serialize(const SkSerialProcs* procs) const { in serialize()
235 static sk_sp<SkData> custom_serialize(const SkPicture* picture, const SkSerialProcs& procs) { in custom_serialize()
260 void SkPicture::serialize(SkWStream* stream, const SkSerialProcs* procsPtr, in serialize()
262 SkSerialProcs procs; in serialize()
DSkPictureData.h22 struct SkSerialProcs;
87 void serialize(SkWStream*, const SkSerialProcs&, SkRefCntSet*) const;
165 static void WriteTypefaces(SkWStream* stream, const SkRefCntSet& rec, const SkSerialProcs&);
DSkFlattenable.cpp116 sk_sp<SkData> SkFlattenable::serialize(const SkSerialProcs* procs) const { in serialize()
129 const SkSerialProcs* procs) const { in serialize()
DSkPictureData.cpp125 const SkSerialProcs& procs) { in WriteTypefaces()
192 static SkSerialProcs skip_typeface_proc(const SkSerialProcs& procs) { in skip_typeface_proc()
193 SkSerialProcs newProcs = procs; in skip_typeface_proc()
199 void SkPictureData::serialize(SkWStream* stream, const SkSerialProcs& procs, in serialize()
DSkWriteBuffer.h62 void setSerialProcs(const SkSerialProcs& procs) { fProcs = procs; } in setSerialProcs()
65 SkSerialProcs fProcs;
/external/skqp/site/user/api/
DSkTextBlob_Reference.md20 …TextBlob_serialize'>serialize</a>(const <a href='undocumented#SkSerialProcs'>SkSerialProcs</a>& pr…
21 …TextBlob_serialize'>serialize</a>(const <a href='undocumented#SkSerialProcs'>SkSerialProcs</a>& pr…
220 …TextBlob_serialize'>serialize</a>(const <a href='undocumented#SkSerialProcs'>SkSerialProcs</a>& pr…
256 …ef='#SkTextBlob_Deserialize'>Deserialize</a> <a href='undocumented#SkSerialProcs'>SkSerialProcs</a>
263 …TextBlob_serialize'>serialize</a>(const <a href='undocumented#SkSerialProcs'>SkSerialProcs</a>& pr…
291 …/a> <a href='undocumented#SkData'>SkData</a> <a href='undocumented#SkSerialProcs'>SkSerialProcs</a>
DSkPicture_Reference.md21 …kPicture_serialize'>serialize</a>(const <a href='undocumented#SkSerialProcs'>SkSerialProcs</a>* pr…
22 …eam_Reference#Stream'>stream</a>, const <a href='undocumented#SkSerialProcs'>SkSerialProcs</a>* pr…
333 …kPicture_serialize'>serialize</a>(const <a href='undocumented#SkSerialProcs'>SkSerialProcs</a>* pr…
361 …/a> <a href='undocumented#SkData'>SkData</a> <a href='undocumented#SkSerialProcs'>SkSerialProcs</a>
368 …eam_Reference#Stream'>stream</a>, const <a href='undocumented#SkSerialProcs'>SkSerialProcs</a>* pr…
394 …SkWStream_Reference#SkWStream'>SkWStream</a> <a href='undocumented#SkSerialProcs'>SkSerialProcs</a>
/external/skia/docs/examples/
DTextBlob_serialize_2.cpp12 sk_sp<SkData> data = blob->serialize(SkSerialProcs()); in draw()

12