Lines Matching refs:fPictureRefs
55 fPictureRefs = SkNEW_ARRAY(const SkPicture*, fPictureCount); in SkPictureData()
57 fPictureRefs[i] = pictures[i]; in SkPictureData()
58 fPictureRefs[i]->ref(); in SkPictureData()
74 fPictureRefs = NULL; in init()
86 fPictureRefs[i]->unref(); in ~SkPictureData()
88 SkDELETE_ARRAY(fPictureRefs); in ~SkPictureData()
103 if (fPictureRefs[i]->willPlayBackBitmaps()) { in containsBitmaps()
230 fPictureRefs[i]->serialize(stream, pixelSerializer); in serialize()
267 fPictureRefs[i]->flatten(buffer); in flatten()
354 fPictureRefs = SkNEW_ARRAY(const SkPicture*, fPictureCount); in parseStreamTag()
358 fPictureRefs[i] = SkPicture::CreateFromStream(stream, proc); in parseStreamTag()
359 if (NULL == fPictureRefs[i]) { in parseStreamTag()
367 fPictureRefs[j]->unref(); in parseStreamTag()
370 SkDELETE_ARRAY(fPictureRefs); in parseStreamTag()
473 if (!buffer.validate((0 == fPictureCount) && (NULL == fPictureRefs))) { in parseBufferTag()
477 fPictureRefs = SkNEW_ARRAY(const SkPicture*, fPictureCount); in parseBufferTag()
481 fPictureRefs[i] = SkPicture::CreateFromBuffer(buffer); in parseBufferTag()
482 if (NULL == fPictureRefs[i]) { in parseBufferTag()
490 fPictureRefs[j]->unref(); in parseBufferTag()
493 SkDELETE_ARRAY(fPictureRefs); in parseBufferTag()