Lines Matching refs:readFlattenable
121 SkFlattenable* readFlattenable(SkFlattenable::Type);
122 template <typename T> sk_sp<T> readFlattenable() { in readFlattenable() function
123 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
307 template <typename T> sk_sp<T> readFlattenable() { return nullptr; } in readFlattenable() function