Home | History | Annotate | Download | only in effects

Lines Matching refs:buffer

48 SkBlurDrawLooper::SkBlurDrawLooper(SkFlattenableReadBuffer& buffer)
49 : INHERITED(buffer) {
51 fDx = buffer.readScalar();
52 fDy = buffer.readScalar();
53 fBlurColor = buffer.readU32();
54 fBlur = static_cast<SkMaskFilter*>(buffer.readFlattenable());
55 fColorFilter = static_cast<SkColorFilter*>(buffer.readFlattenable());
56 fBlurFlags = buffer.readU32() & kAll_BlurFlag;
64 void SkBlurDrawLooper::flatten(SkFlattenableWriteBuffer& buffer) {
65 buffer.writeScalar(fDx);
66 buffer.writeScalar(fDy);
67 buffer.write32(fBlurColor);
68 buffer.writeFlattenable(fBlur);
69 buffer.writeFlattenable(fColorFilter);
70 buffer.write32(fBlurFlags);