Home
last modified time | relevance | path

Searched refs:SerializeBehavior (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/include/core/
DSkTypeface.h150 enum class SerializeBehavior { enum
159 void serialize(SkWStream*, SerializeBehavior = SerializeBehavior::kIncludeDataIfLocal) const;
165 sk_sp<SkData> serialize(SerializeBehavior = SerializeBehavior::kIncludeDataIfLocal) const;
/third_party/skia/src/core/
DSkTypeface.cpp225 void SkTypeface::serialize(SkWStream* wstream, SerializeBehavior behavior) const { in serialize()
232 case SerializeBehavior::kDoIncludeData: shouldSerializeData = true; break; in serialize()
233 case SerializeBehavior::kDontIncludeData: shouldSerializeData = false; break; in serialize()
234 case SerializeBehavior::kIncludeDataIfLocal: shouldSerializeData = isLocalData; break; in serialize()
255 sk_sp<SkData> SkTypeface::serialize(SerializeBehavior behavior) const { in serialize()
DSkTextBlobTrace.cpp114 ((const SkTypeface*)ptr)->serialize(dst, SkTypeface::SerializeBehavior::kDoIncludeData); in dump()
/third_party/skia/tests/
DTypefaceTest.cpp509 auto data0 = tf->serialize(SkTypeface::SerializeBehavior::kDoIncludeData); in check_serialize_behaviors()
510 auto data1 = tf->serialize(SkTypeface::SerializeBehavior::kDontIncludeData); in check_serialize_behaviors()
511 auto data2 = tf->serialize(SkTypeface::SerializeBehavior::kIncludeDataIfLocal); in check_serialize_behaviors()
DSerializationTest.cpp343 sk_sp<SkData> data(typeface->serialize(SkTypeface::SerializeBehavior::kDoIncludeData)); in serialize_typeface_proc()