Home | History | Annotate | Download | only in effects

Lines Matching refs:buffer

71 void SkLayerDrawLooper::flatten(SkFlattenableWriteBuffer& buffer) {
72 this->INHERITED::flatten(buffer);
86 buffer.writeInt(fCount);
90 buffer.writeScalar(rec->fOffset.fX);
91 buffer.writeScalar(rec->fOffset.fY);
92 rec->fPaint.flatten(buffer);
97 SkLayerDrawLooper::SkLayerDrawLooper(SkFlattenableReadBuffer& buffer)
98 : INHERITED(buffer) {
102 int count = buffer.readInt();
105 SkScalar dx = buffer.readScalar();
106 SkScalar dy = buffer.readScalar();
107 this->addLayer(dx, dy)->unflatten(buffer);