Searched refs:readFlattenable (Results 1 – 14 of 14) sorted by relevance
112 SkFlattenable* readFlattenable(SkFlattenable::Type);113 template <typename T> sk_sp<T> readFlattenable() { in readFlattenable() function114 return sk_sp<T>((T*)this->readFlattenable(T::GetFlattenableType())); in readFlattenable()116 sk_sp<SkColorFilter> readColorFilter() { return this->readFlattenable<SkColorFilterBase>(); } in readColorFilter()118 sk_sp<SkDrawLooper> readDrawLooper() { return this->readFlattenable<SkDrawLooper>(); } in readDrawLooper()120 sk_sp<SkImageFilter> readImageFilter() { return this->readFlattenable<SkImageFilter>(); } in readImageFilter()121 sk_sp<SkMaskFilter> readMaskFilter() { return this->readFlattenable<SkMaskFilterBase>(); } in readMaskFilter()122 sk_sp<SkPathEffect> readPathEffect() { return this->readFlattenable<SkPathEffect>(); } in readPathEffect()123 sk_sp<SkShader> readShader() { return this->readFlattenable<SkShaderBase>(); } in readShader()
144 return sk_sp<SkFlattenable>(buffer.readFlattenable(type)); in Deserialize()
464 SkFlattenable* SkReadBuffer::readFlattenable(SkFlattenable::Type ft) { in readFlattenable() function in SkReadBuffer
381 return sk_sp<SkDrawable>((SkDrawable*)buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in create_drawable_from_buffer()
121 SkFlattenable* readFlattenable(SkFlattenable::Type);122 template <typename T> sk_sp<T> readFlattenable() { in readFlattenable() function123 return sk_sp<T>((T*)this->readFlattenable(T::GetFlattenableType())); in readFlattenable()125 sk_sp<SkColorFilter> readColorFilter() { return this->readFlattenable<SkColorFilter>(); } in readColorFilter()126 sk_sp<SkDrawLooper> readDrawLooper() { return this->readFlattenable<SkDrawLooper>(); } in readDrawLooper()127 sk_sp<SkImageFilter> readImageFilter() { return this->readFlattenable<SkImageFilter>(); } in readImageFilter()128 sk_sp<SkMaskFilter> readMaskFilter() { return this->readFlattenable<SkMaskFilterBase>(); } in readMaskFilter()129 sk_sp<SkPathEffect> readPathEffect() { return this->readFlattenable<SkPathEffect>(); } in readPathEffect()130 sk_sp<SkShader> readShader() { return this->readFlattenable<SkShaderBase>(); } in readShader()305 SkFlattenable* readFlattenable(SkFlattenable::Type) { return nullptr; } in readFlattenable() function[all …]
227 sk_sp<SkShader> mapShader = buf.readFlattenable<SkShaderBase>(); in CreateProc()
373 SkFlattenable* SkReadBuffer::readFlattenable(SkFlattenable::Type ft) { in readFlattenable() function in SkReadBuffer
376 return sk_sp<SkDrawable>((SkDrawable*)buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in create_drawable_from_buffer()
111 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()116 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()164 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()169 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()174 buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in CreateProc()225 sk_sp<SkDrawable> out((SkDrawable*)readBuffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in DEF_TEST()284 sk_sp<SkDrawable> out((SkDrawable*)readBuffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in DEF_TEST()
56 *flattenable = (T*)reader.readFlattenable(T::GetFlattenableType()); in Read()
58 *flattenable = (T*)reader.readFlattenable(T::GetFlattenableType()); in Read()
431 sk_sp<SkNormalSource> normalSource(buf.readFlattenable<SkNormalSource>()); in CreateProc()436 diffuseShader = buf.readFlattenable<SkShaderBase>(); in CreateProc()