Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkPictureRecorder.cpp41 if (!fRecord) { in beginRecording()
42 fRecord.reset(new SkRecord); in beginRecording()
47 fRecorder->reset(fRecord.get(), cullRect, dpm, fMiniRecorder.get()); in beginRecording()
60 if (fRecord->count() == 0) { in finishRecordingAsPicture()
67 SkRecordOptimize(fRecord.get()); in finishRecordingAsPicture()
74 SkAutoTMalloc<SkRect> bounds(fRecord->count()); in finishRecordingAsPicture()
75 SkRecordFillBounds(fCullRect, *fRecord, bounds); in finishRecordingAsPicture()
76 fBBH->insert(bounds, fRecord->count()); in finishRecordingAsPicture()
90 return sk_make_sp<SkBigPicture>(fCullRect, fRecord.release(), pictList, fBBH.release(), in finishRecordingAsPicture()
113 …SkRecordDraw(*fRecord, canvas, nullptr, drawables, drawableCount, nullptr/*bbh*/, nullptr/*callbac… in partialReplay()
[all …]
DSkBigPicture.cpp22 , fRecord(record) // Take ownership of caller's ref. in SkBigPicture()
33 SkRecordDraw(*fRecord, in playback()
47 SkRecordPartialDraw(*fRecord, in partialPlayback()
57 int SkBigPicture::approximateOpCount() const { return fRecord->count(); } in approximateOpCount()
59 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.cpp46 , fRecord(record) in SkRecorder()
53 , fRecord(record) in SkRecorder()
60 fRecord = record; in reset()
69 fRecord = nullptr; in forgetRecord()
78 new (fRecord->append<T>()) T{std::forward<Args>(args)...}; in append()
94 return new (fRecord->alloc<T>()) T(*src); in copy()
104 T* dst = fRecord->alloc<T>(count); in copy()
119 char* dst = fRecord->alloc<char>(count); in copy()
DSkRecordedDrawable.h19 : fRecord(std::move(record)) in SkRecordedDrawable()
37 sk_sp<SkRecord> fRecord;
DSkBigPicture.h58 const SkRecord* record() const { return fRecord.get(); } in record()
66 sk_sp<const SkRecord> fRecord; variable
DSkRecorder.h135 SkRecord* fRecord; variable
/external/skia/src/core/
DSkPictureRecorder.cpp41 if (!fRecord) { in beginRecording()
42 fRecord.reset(new SkRecord); in beginRecording()
47 fRecorder->reset(fRecord.get(), cullRect, dpm, fMiniRecorder.get()); in beginRecording()
60 if (fRecord->count() == 0) { in finishRecordingAsPicture()
67 SkRecordOptimize(fRecord.get()); in finishRecordingAsPicture()
74 SkAutoTMalloc<SkRect> bounds(fRecord->count()); in finishRecordingAsPicture()
75 SkRecordFillBounds(fCullRect, *fRecord, bounds); in finishRecordingAsPicture()
76 fBBH->insert(bounds, fRecord->count()); in finishRecordingAsPicture()
90 return sk_make_sp<SkBigPicture>(fCullRect, fRecord.release(), pictList, fBBH.release(), in finishRecordingAsPicture()
113 …SkRecordDraw(*fRecord, canvas, nullptr, drawables, drawableCount, nullptr/*bbh*/, nullptr/*callbac… in partialReplay()
[all …]
DSkBigPicture.cpp22 , fRecord(record) // Take ownership of caller's ref. in SkBigPicture()
33 SkRecordDraw(*fRecord, in playback()
47 SkRecordPartialDraw(*fRecord, in partialPlayback()
57 int SkBigPicture::approximateOpCount() const { return fRecord->count(); } in approximateOpCount()
59 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.cpp46 , fRecord(record) in SkRecorder()
53 , fRecord(record) in SkRecorder()
60 fRecord = record; in reset()
69 fRecord = nullptr; in forgetRecord()
78 new (fRecord->append<T>()) T{std::forward<Args>(args)...}; in append()
94 return new (fRecord->alloc<T>()) T(*src); in copy()
104 T* dst = fRecord->alloc<T>(count); in copy()
119 char* dst = fRecord->alloc<char>(count); in copy()
DSkRecordedDrawable.h19 : fRecord(std::move(record)) in SkRecordedDrawable()
37 sk_sp<SkRecord> fRecord;
DSkBigPicture.h58 const SkRecord* record() const { return fRecord.get(); } in record()
66 sk_sp<const SkRecord> fRecord; variable
DSkRecorder.h136 SkRecord* fRecord; variable
/external/skqp/include/core/
DSkPictureRecorder.h119 sk_sp<SkRecord> fRecord; variable
/external/skia/include/core/
DSkPictureRecorder.h119 sk_sp<SkRecord> fRecord; variable