Home
last modified time | relevance | path

Searched refs:fRecord (Results 1 – 16 of 16) 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, fMiniRecorder.get()); in beginRecording()
57 if (fRecord->count() == 0) { in finishRecordingAsPicture()
70 SkRecordOptimize(fRecord.get()); in finishRecordingAsPicture()
78 SkAutoTMalloc<SkRect> bounds(fRecord->count()); in finishRecordingAsPicture()
79 SkAutoTMalloc<SkBBoxHierarchy::Metadata> meta(fRecord->count()); in finishRecordingAsPicture()
80 SkRecordFillBounds(fCullRect, *fRecord, bounds, meta); in finishRecordingAsPicture()
82 fBBH->insert(bounds, meta, fRecord->count()); in finishRecordingAsPicture()
86 for (int i = 0; i < fRecord->count(); i++) { in finishRecordingAsPicture()
[all …]
DSkBigPicture.cpp22 , fRecord(std::move(record)) in SkBigPicture()
33 SkRecordDraw(*fRecord, in playback()
47 SkRecordPartialDraw(*fRecord, in partialPlayback()
71 for (int i = 0; i < fRecord->count(); i++) { in approximateOpCount()
72 fRecord->visit(i, visitor); in approximateOpCount()
76 return fRecord->count(); in approximateOpCount()
80 size_t bytes = sizeof(*this) + fRecord->bytesUsed() + fApproxBytesUsedBySubPictures; in approximateBytesUsed()
DSkRecordedDrawable.cpp23 SkRecordDraw(*fRecord, canvas, nullptr, drawables, drawableCount, fBBH.get(), nullptr); in onDraw()
37 return new SkBigPicture(fBounds, fRecord, std::move(pictList), fBBH, subPictureBytes); in onNewPictureSnapshot()
58 SkRecordDraw(*fRecord, &pictureRecord, nullptr, fDrawableList->begin(), fDrawableList->count(), in flatten()
DSkRecorder.cpp61 , fRecord(record) in SkRecorder()
69 , fRecord(record) in SkRecorder()
76 fRecord = record; in reset()
85 fRecord = nullptr; in forgetRecord()
94 new (fRecord->append<T>()) T{std::forward<Args>(args)...}; in append()
110 return new (fRecord->alloc<T>()) T(*src); in copy()
120 T* dst = fRecord->alloc<T>(count); in copy()
135 char* dst = fRecord->alloc<char>(count); in copy()
DSkRecordedDrawable.h18 : fRecord(std::move(record)) in SkRecordedDrawable()
36 sk_sp<SkRecord> fRecord;
DSkBigPicture.h59 const SkRecord* record() const { return fRecord.get(); } in record()
67 sk_sp<const SkRecord> fRecord; variable
DSkRecorder.h134 SkRecord* fRecord; variable
/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/include/core/
DSkPictureRecorder.h108 sk_sp<SkRecord> fRecord; variable
/external/skqp/include/core/
DSkPictureRecorder.h119 sk_sp<SkRecord> fRecord; variable