Home
last modified time | relevance | path

Searched refs:fRecorder (Results 1 – 15 of 15) sorted by relevance

/third_party/flutter/skia/src/core/
DSkPictureRecorder.cpp23 fRecorder.reset(new SkRecorder(nullptr, SkRect::MakeEmpty(), fMiniRecorder.get())); in SkPictureRecorder()
47 fRecorder->reset(fRecord.get(), cullRect, dpm, fMiniRecorder.get()); in beginRecording()
53 return fActivelyRecording ? fRecorder.get() : nullptr; in getRecordingCanvas()
58 fRecorder->restoreToCount(1); // If we were missing any restores, add them now. in finishRecordingAsPicture()
69 SkDrawableList* drawableList = fRecorder->getDrawableList(); in finishRecordingAsPicture()
86 size_t subPictureBytes = fRecorder->approxBytesUsedBySubPictures(); in finishRecordingAsPicture()
108 SkDrawableList* drawableList = fRecorder->getDrawableList(); in partialReplay()
118 fRecorder->flushMiniRecorder(); in finishRecordingAsDrawable()
119 fRecorder->restoreToCount(1); // If we were missing any restores, add them now. in finishRecordingAsDrawable()
131 fRecorder->detachDrawableList(), fCullRect); in finishRecordingAsDrawable()
/third_party/skia/tools/
DMSKPPlayer.cpp127 fRecorder.beginRecording(SkRect::Make(dst->fDimensions)); in CmdRecordCanvas()
133 fRecorder.getRecordingCanvas()->drawPaint(paint); in onDrawPaint()
137 SkCanvasPriv::DrawBehind(fRecorder.getRecordingCanvas(), paint); in onDrawBehind()
141 fRecorder.getRecordingCanvas()->drawRect(rect, paint); in onDrawRect()
145 fRecorder.getRecordingCanvas()->drawRRect(rrect, paint); in onDrawRRect()
149 fRecorder.getRecordingCanvas()->drawDRRect(outer, inner, paint); in onDrawDRRect()
153 fRecorder.getRecordingCanvas()->drawOval(rect, paint); in onDrawOval()
161 fRecorder.getRecordingCanvas()->drawArc(rect, startAngle, sweepAngle, useCenter, paint); in onDrawArc()
165 fRecorder.getRecordingCanvas()->drawPath(path, paint); in onDrawPath()
169 fRecorder.getRecordingCanvas()->drawRegion(region, paint); in onDrawRegion()
[all …]
/third_party/skia/src/core/
DSkPictureRecorder.cpp25 fRecorder = std::make_unique<SkRecorder>(nullptr, SkRect::MakeEmpty(), fMiniRecorder.get()); in SkPictureRecorder()
40 fRecorder->reset(fRecord.get(), cullRect, fMiniRecorder.get()); in beginRecording()
50 return fActivelyRecording ? fRecorder.get() : nullptr; in getRecordingCanvas()
55 fRecorder->restoreToCount(1); // If we were missing any restores, add them now. in finishRecordingAsPicture()
72 SkDrawableList* drawableList = fRecorder->getDrawableList(); in finishRecordingAsPicture()
94 size_t subPictureBytes = fRecorder->approxBytesUsedBySubPictures(); in finishRecordingAsPicture()
118 SkDrawableList* drawableList = fRecorder->getDrawableList(); in partialReplay()
128 fRecorder->flushMiniRecorder(); in finishRecordingAsDrawable()
129 fRecorder->restoreToCount(1); // If we were missing any restores, add them now. in finishRecordingAsDrawable()
142 fRecorder->detachDrawableList(), fCullRect); in finishRecordingAsDrawable()
/third_party/skia/bench/
DDDLRecorderBench.cpp54 if (!fRecorder) { in onDraw()
62 SkCanvas* recordingCanvas = fRecorder->getCanvas(); in onDraw()
66 fDDLs.emplace_back(fRecorder->detach()); in onDraw()
80 fRecorder = std::make_unique<SkDeferredDisplayListRecorder>(c); in onPerCanvasPreDraw()
88 std::unique_ptr<SkDeferredDisplayListRecorder> fRecorder = nullptr; member in DDLRecorderBench
/third_party/skia/experimental/graphite/src/
DDevice.cpp68 , fRecorder(std::move(recorder)) in Device()
74 SkASSERT(SkToBool(fDC) && SkToBool(fRecorder)); in Device()
83 return Make(fRecorder, info.fInfo).release(); in onCreateDevice()
87 return MakeGraphite(fRecorder, ii); in makeSurface()
96 auto context = fRecorder->context(); in onReadPixels()
127 fRecorder->add(std::move(task)); in onReadPixels()
130 context->insertRecording(fRecorder->snap()); in onReadPixels()
366 auto drawTask = fDC->snapRenderPassTask(fRecorder.get(), fColorDepthBoundsManager.get()); in flushPendingWorkToRecorder()
368 fRecorder->add(std::move(drawTask)); in flushPendingWorkToRecorder()
DDevice.h35 sk_sp<Recorder> refRecorder() { return fRecorder; } in refRecorder()
159 sk_sp<Recorder> fRecorder; variable
/third_party/flutter/skia/src/utils/
DSkMultiPictureDocument.cpp150 SkPictureRecorder fRecorder; member
161 this->addCanvas(fRecorder.beginRecording(bounds)); in nextCanvas()
168 fDst[fIndex].fPicture = fRecorder.finishRecordingAsPicture(); in onDrawAnnotation()
/third_party/skia/src/utils/
DSkMultiPictureDocument.cpp159 SkPictureRecorder fRecorder; member
170 this->addCanvas(fRecorder.beginRecording(bounds)); in nextCanvas()
177 fDst[fIndex].fPicture = fRecorder.finishRecordingAsPicture(); in onDrawAnnotation()
/third_party/skia/modules/skottie/src/
DSkottieTool.cpp129 auto canvas = fRecorder.beginRecording(FLAGS_width, FLAGS_height); in beginFrame()
140 fRecorder.finishRecordingAsPicture()->serialize(stream.get()); in endFrame()
145 SkPictureRecorder fRecorder; member in __anon7a0bf1de0111::SKPSink
/third_party/skia/modules/androidkit/src/
DSurface.cpp75 return fRecorder.beginRecording(fWidth, in getCanvas()
82 message.fPicture = fRecorder.finishRecordingAsPicture().release(); in flushAndSubmit()
DSurface.h69 SkPictureRecorder fRecorder; variable
/third_party/skia/include/core/
DSkPictureRecorder.h107 std::unique_ptr<SkRecorder> fRecorder; variable
/third_party/flutter/skia/include/core/
DSkPictureRecorder.h117 std::unique_ptr<SkRecorder> fRecorder; variable
/third_party/flutter/skia/tools/
DDDLPromiseImageHelper.h214 SkDeferredDisplayListRecorder* fRecorder; member
DDDLPromiseImageHelper.cpp157 SkDeferredDisplayListRecorder* recorder = perRecorderContext->fRecorder; in PromiseImageCreator()