Lines Matching refs:fRecord
117 fRecord = NULL; in SkPicture()
125 fRecord = NULL; in SkPicture()
133 } else if (src.fRecord) { in SkPicture()
135 fPlayback = SkNEW_ARGS(SkPicturePlayback, (*src.fRecord)); in SkPicture()
142 SkSafeUnref(fRecord); in ~SkPicture()
147 SkTSwap(fRecord, other.fRecord); in swap()
167 clone->fRecord = NULL; in clone()
169 if (NULL != clone->fRecord) { in clone()
170 clone->fRecord->unref(); in clone()
171 clone->fRecord = NULL; in clone()
181 } else if (fRecord) { in clone()
183 clone->fPlayback = SkNEW_ARGS(SkPicturePlayback, (*fRecord, true)); in clone()
199 if (NULL != fRecord) { in beginRecording()
200 fRecord->unref(); in beginRecording()
201 fRecord = NULL; in beginRecording()
215 fRecord = SkNEW_ARGS(SkBBoxHierarchyRecord, (recordingFlags, tree, dev)); in beginRecording()
218 fRecord = SkNEW_ARGS(SkPictureRecord, (recordingFlags, dev)); in beginRecording()
220 fRecord->beginRecording(); in beginRecording()
222 return fRecord; in beginRecording()
241 return fRecord; in getRecordingCanvas()
246 if (NULL != fRecord) { in endRecording()
247 fRecord->endRecording(); in endRecording()
248 fPlayback = SkNEW_ARGS(SkPicturePlayback, (*fRecord)); in endRecording()
249 fRecord->unref(); in endRecording()
250 fRecord = NULL; in endRecording()
253 SkASSERT(NULL == fRecord); in endRecording()
303 , fRecord(NULL) in SkPicture()
331 if (NULL == playback && fRecord) { in serialize()
332 playback = SkNEW_ARGS(SkPicturePlayback, (*fRecord)); in serialize()