Lines Matching refs:buffer
56 void SkFlipPixelRef::flatten(SkFlattenableWriteBuffer& buffer) const {
57 this->INHERITED::flatten(buffer);
59 buffer.write32(fSize);
61 buffer.writePad(fPage0, fSize);
64 SkFlipPixelRef::SkFlipPixelRef(SkFlattenableReadBuffer& buffer)
65 : INHERITED(buffer, NULL) {
66 fSize = buffer.readU32();
70 buffer.read(fPage0, fSize);
73 SkPixelRef* SkFlipPixelRef::Create(SkFlattenableReadBuffer& buffer) {
74 return SkNEW_ARGS(SkFlipPixelRef, (buffer));