Home
last modified time | relevance | path

Searched refs:readFlattenable (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/src/core/
DSkReadBuffer.h115 SkFlattenable* readFlattenable(SkFlattenable::Type);
116 template <typename T> sk_sp<T> readFlattenable() { in readFlattenable() function
117 return sk_sp<T>((T*)this->readFlattenable(T::GetFlattenableType())); in readFlattenable()
119 sk_sp<SkColorFilter> readColorFilter() { return this->readFlattenable<SkColorFilterBase>(); } in readColorFilter()
121 sk_sp<SkDrawLooper> readDrawLooper() { return this->readFlattenable<SkDrawLooper>(); } in readDrawLooper()
123 sk_sp<SkImageFilter> readImageFilter() { return this->readFlattenable<SkImageFilter_Base>(); } in readImageFilter()
124 sk_sp<SkBlender> readBlender() { return this->readFlattenable<SkBlenderBase>(); } in readBlender()
125 sk_sp<SkMaskFilter> readMaskFilter() { return this->readFlattenable<SkMaskFilterBase>(); } in readMaskFilter()
126 sk_sp<SkPathEffect> readPathEffect() { return this->readFlattenable<SkPathEffect>(); } in readPathEffect()
127 sk_sp<SkShader> readShader() { return this->readFlattenable<SkShaderBase>(); } in readShader()
DSkFlattenable.cpp144 return sk_sp<SkFlattenable>(buffer.readFlattenable(type)); in Deserialize()
DSkReadBuffer.cpp392 SkFlattenable* SkReadBuffer::readFlattenable(SkFlattenable::Type ft) { in readFlattenable() function in SkReadBuffer
DSkPictureData.cpp381 return sk_sp<SkDrawable>((SkDrawable*)buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in create_drawable_from_buffer()
/third_party/skia/tests/
DFlattenDrawableTest.cpp110 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()
115 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()
163 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()
168 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()
173 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()
224 sk_sp<SkDrawable> out((SkDrawable*)readBuffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in DEF_TEST()
283 sk_sp<SkDrawable> out((SkDrawable*)readBuffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in DEF_TEST()
DSerializationTest.cpp56 *flattenable = (T*)reader.readFlattenable(T::GetFlattenableType()); in Read()