Home
last modified time | relevance | path

Searched refs:fRecord (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/core/
DSkPictureRecorder.cpp37 if (!fRecord) { in beginRecording()
38 fRecord.reset(new SkRecord); in beginRecording()
40 fRecorder->reset(fRecord.get(), cullRect); in beginRecording()
66 if (fRecord->count() == 0) { in finishRecordingAsPicture()
71 SkRecordOptimize(fRecord.get()); in finishRecordingAsPicture()
79 AutoTMalloc<SkRect> bounds(fRecord->count()); in finishRecordingAsPicture()
80 AutoTMalloc<SkBBoxHierarchy::Metadata> meta(fRecord->count()); in finishRecordingAsPicture()
81 SkRecordFillBounds(fCullRect, *fRecord, bounds, meta); in finishRecordingAsPicture()
83 fBBH->insert(bounds, meta, fRecord->count()); in finishRecordingAsPicture()
87 for (int i = 0; i < fRecord->count(); i++) { in finishRecordingAsPicture()
[all …]
DSkBigPicture.cpp21 , fRecord(std::move(record)) in SkBigPicture()
32 SkRecordDraw(*fRecord, in playback()
46 SkRecordPartialDraw(*fRecord, in partialPlayback()
70 for (int i = 0; i < fRecord->count(); i++) { in approximateOpCount()
71 fRecord->visit(i, visitor); in approximateOpCount()
75 return fRecord->count(); in approximateOpCount()
79 size_t bytes = sizeof(*this) + fRecord->bytesUsed() + fApproxBytesUsedBySubPictures; in approximateBytesUsed()
DSkRecordedDrawable.cpp28 (fRecord ? fRecord->bytesUsed() : 0) + in onApproximateBytesUsed()
40 SkRecordDraw(*fRecord, canvas, nullptr, drawables, drawableCount, fBBH.get(), nullptr); in onDraw()
54 return new SkBigPicture(fBounds, fRecord, std::move(pictList), fBBH, subPictureBytes); in onNewPictureSnapshot()
77 SkRecordDraw(*fRecord, &pictureRecord, nullptr, drawables, drawableCount, bbh, nullptr); in flatten()
DSkRecorder.cpp100 , fRecord(record) { in SkRecorder()
107 , fRecord(record) { in SkRecorder()
113 fRecord = record; in reset()
121 fRecord = nullptr; in forgetRecord()
127 new (fRecord->append<T>()) T{std::forward<Args>(args)...}; in append()
140 return new (fRecord->alloc<T>()) T(*src); in copy()
150 T* dst = fRecord->alloc<T>(count); in copy()
165 char* dst = fRecord->alloc<char>(count); in copy()
DSkRecordedDrawable.h18 : fRecord(std::move(record)) in SkRecordedDrawable()
37 sk_sp<SkRecord> fRecord;
DSkBigPicture.h61 const SkRecord* record() const { return fRecord.get(); } in record()
69 sk_sp<const SkRecord> fRecord; variable
DSkRecorder.h175 SkRecord* fRecord; variable
/external/skia/include/core/
DSkPictureRecorder.h109 sk_sp<SkRecord> fRecord; variable