Searched refs:readFlattenable (Results 1 – 14 of 14) sorted by relevance
115 SkFlattenable* readFlattenable(SkFlattenable::Type);116 template <typename T> sk_sp<T> readFlattenable() { in readFlattenable() function117 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()
144 return sk_sp<SkFlattenable>(buffer.readFlattenable(type)); in Deserialize()
392 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()
105 SkFlattenable* readFlattenable(SkFlattenable::Type);106 template <typename T> sk_sp<T> readFlattenable() { in readFlattenable() function107 return sk_sp<T>((T*)this->readFlattenable(T::GetFlattenableType())); in readFlattenable()109 sk_sp<SkColorFilter> readColorFilter() { return this->readFlattenable<SkColorFilter>(); } in readColorFilter()110 sk_sp<SkDrawLooper> readDrawLooper() { return this->readFlattenable<SkDrawLooper>(); } in readDrawLooper()111 sk_sp<SkImageFilter> readImageFilter() { return this->readFlattenable<SkImageFilter>(); } in readImageFilter()112 sk_sp<SkMaskFilter> readMaskFilter() { return this->readFlattenable<SkMaskFilterBase>(); } in readMaskFilter()113 sk_sp<SkPathEffect> readPathEffect() { return this->readFlattenable<SkPathEffect>(); } in readPathEffect()114 sk_sp<SkShader> readShader() { return this->readFlattenable<SkShaderBase>(); } in readShader()275 SkFlattenable* readFlattenable(SkFlattenable::Type) { return nullptr; } in readFlattenable() function[all …]
232 sk_sp<SkShader> mapShader = buf.readFlattenable<SkShaderBase>(); in CreateProc()
382 SkFlattenable* SkReadBuffer::readFlattenable(SkFlattenable::Type ft) { in readFlattenable() function in SkReadBuffer
384 return sk_sp<SkDrawable>((SkDrawable*)buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in create_drawable_from_buffer()
110 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()
56 *flattenable = (T*)reader.readFlattenable(T::GetFlattenableType()); in Read()
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()
57 *flattenable = (T*)reader.readFlattenable(T::GetFlattenableType()); in Read()
427 sk_sp<SkNormalSource> normalSource(buf.readFlattenable<SkNormalSource>()); in CreateProc()432 diffuseShader = buf.readFlattenable<SkShaderBase>(); in CreateProc()