Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPictureRecorder.cpp39 if (!fRecord) { in beginRecording()
40 fRecord.reset(new SkRecord); in beginRecording()
45 fRecorder->reset(fRecord.get(), cullRect, dpm, &fMiniRecorder); in beginRecording()
58 if (fRecord->count() == 0) { in finishRecordingAsPicture()
66 SkRecordOptimize(fRecord.get()); in finishRecordingAsPicture()
68 if (fRecord->count() == 0) { in finishRecordingAsPicture()
79 SkAutoTMalloc<SkRect> bounds(fRecord->count()); in finishRecordingAsPicture()
80 SkRecordFillBounds(fCullRect, *fRecord, bounds); in finishRecordingAsPicture()
81 fBBH->insert(bounds, fRecord->count()); in finishRecordingAsPicture()
95 return sk_make_sp<SkBigPicture>(fCullRect, fRecord.release(), pictList, fBBH.release(), in finishRecordingAsPicture()
[all …]
DSkBigPicture.cpp22 , fRecord(record) // Take ownership of caller's ref. in SkBigPicture()
33 SkRecordDraw(*fRecord, in playback()
47 SkRecordPartialDraw(*fRecord, in partialPlayback()
57 fAnalysisOnce([this] { fAnalysis.init(*fRecord); }); in analysis()
64 int SkBigPicture::approximateOpCount() const { return fRecord->count(); } in approximateOpCount()
66 size_t bytes = sizeof(*this) + fRecord->bytesUsed() + fApproxBytesUsedBySubPictures; in approximateBytesUsed()
DSkRecordedDrawable.cpp23 SkRecordDraw(*fRecord, canvas, nullptr, drawables, drawableCount, fBBH.get(), nullptr); in onDraw()
40 return new SkBigPicture(fBounds, SkRef(fRecord.get()), pictList, SkSafeRef(fBBH.get()), in onNewPictureSnapshot()
62 SkRecordDraw(*fRecord, &pictureRecord, nullptr, fDrawableList->begin(), fDrawableList->count(), in flatten()
DSkRecorder.cpp42 , fRecord(record) in SkRecorder()
49 , fRecord(record) in SkRecorder()
56 fRecord = record; in reset()
64 fRecord = nullptr; in forgetRecord()
72 new (fRecord->append<SkRecords::T>()) SkRecords::T{__VA_ARGS__}
87 return new (fRecord->alloc<T>()) T(*src); in copy()
97 T* dst = fRecord->alloc<T>(count); in copy()
112 char* dst = fRecord->alloc<char>(count); in copy()
DSkRecordedDrawable.h19 : fRecord(std::move(record)) in SkRecordedDrawable()
39 sk_sp<SkRecord> fRecord;
DSkBigPicture.h58 const SkRecord* record() const { return fRecord.get(); } in record()
79 sk_sp<const SkRecord> fRecord; variable
DSkRecorder.h165 SkRecord* fRecord; variable
/external/skia/include/core/
DSkPictureRecorder.h119 sk_sp<SkRecord> fRecord; variable