Searched defs:recorder (Results 1 - 25 of 74) sorted by relevance

123

/external/skia/tools/
H A Dgpuveto.cpp54 SkPictureRecorder recorder; local
55 picture->playback(recorder.beginRecording(picture->cullRect().width(),
58 sk_sp<SkPicture> recorded(recorder.finishRecordingAsPicture());
H A Ddump_record.cpp59 SkPictureRecorder recorder; local
60 SkDeferredCanvas deferred(recorder.beginRecording(src->cullRect()),
63 src = recorder.finishRecordingAsPicture();
H A Dskpmaker.cpp34 SkPictureRecorder recorder; local
35 SkCanvas* canvas = recorder.beginRecording(width, height, nullptr, 0);
45 recorder.finishRecordingAsPicture()->serialize(&stream);
/external/skia/gm/
H A Dpathopsskpclip.cpp35 SkPictureRecorder recorder; variable
36 SkCanvas* rec = recorder.beginRecording(1200, 900, nullptr, 0);
49 sk_sp<SkPicture> pict(recorder.finishRecordingAsPicture());
H A Ddistantclip.cpp32 SkPictureRecorder recorder; local
36 SkCanvas* rec = recorder.beginRecording(kExtents, kOffset + kExtents, nullptr, 0);
45 sk_sp<SkPicture> pict(recorder.finishRecordingAsPicture());
48 pict->playback(recorder.beginRecording(pict->cullRect().width(),
51 sk_sp<SkPicture> pict2(recorder.finishRecordingAsPicture());
H A Dshadowmaps.cpp21 SkPictureRecorder recorder; local
24 SkCanvas* canvas = recorder.beginRecording(SkRect::MakeIWH(width, height));
56 return recorder.finishRecordingAsPicture();
H A Dpictureimagefilter.cpp28 SkPictureRecorder recorder; local
29 SkCanvas* canvas = recorder.beginRecording(100, 100, nullptr, 0);
37 return recorder.finishRecordingAsPicture();
42 SkPictureRecorder recorder; local
43 SkCanvas* canvas = recorder.beginRecording(100, 100, nullptr, 0);
54 return recorder.finishRecordingAsPicture();
H A Dimage_shader.cpp95 SkPictureRecorder recorder; variable
96 draw_something(recorder.beginRecording(bounds), bounds);
97 fPicture = recorder.finishRecordingAsPicture();
H A Dpictureshadertile.cpp95 SkPictureRecorder recorder; variable
96 SkCanvas* pictureCanvas = recorder.beginRecording(kPictureSize, kPictureSize);
98 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture());
101 pictureCanvas = recorder.beginRecording(SkRect::MakeXYWH(offset.x(), offset.y(),
105 sk_sp<SkPicture> offsetPicture(recorder.finishRecordingAsPicture());
H A Dverylargebitmap.cpp32 SkPictureRecorder recorder; local
33 draw(recorder.beginRecording(SkRect::MakeIWH(width, height)), width, height, colors);
34 return SkImage::MakeFromPicture(recorder.finishRecordingAsPicture(),
H A Dpictureshader.cpp36 SkPictureRecorder recorder; variable
37 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize, nullptr, 0);
39 fPicture = recorder.finishRecordingAsPicture();
185 SkPictureRecorder recorder; local
186 SkCanvas* c = recorder.beginRecording(tile);
197 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture());
H A Drecordopts.cpp103 SkPictureRecorder recorder; local
104 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kTestRectSize + 2),
109 shape = recorder.finishRecordingAsPicture();
158 SkPictureRecorder recorder; local
159 drawTestSequence(recorder.beginRecording(SkIntToScalar(kTestRectSize),
162 recorder.finishRecordingAsPicture()->playback(canvas);
199 SkPictureRecorder recorder; local
200 drawTestSequence(recorder.beginRecording(SkIntToScalar(kTestRectSize),
203 recorder.finishRecordingAsPicture()->playback(canvas);
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
H A DMacrobenchmarkAllocationWorker.java34 private final AllocationRecorder recorder; field in class:MacrobenchmarkAllocationWorker
37 @BenchmarkMethod Method method, AllocationRecorder recorder) {
39 this.recorder = recorder;
52 recorder.startRecording();
54 return recorder.stopRecording(1);
36 MacrobenchmarkAllocationWorker(@enchmark Object benchmark, @BenchmarkMethod Method method, AllocationRecorder recorder) argument
H A DMicrobenchmarkAllocationWorker.java55 private final AllocationRecorder recorder; field in class:MicrobenchmarkAllocationWorker
58 @BenchmarkMethod Method method, AllocationRecorder recorder, Random random) {
61 this.recorder = recorder;
140 recorder.startRecording();
142 return recorder.stopRecording(reps);
57 MicrobenchmarkAllocationWorker(@enchmark Object benchmark, @BenchmarkMethod Method method, AllocationRecorder recorder, Random random) argument
/external/skia/src/core/
H A DSkRecordedDrawable.cpp88 SkPictureRecorder recorder; local
89 playback.draw(recorder.beginRecording(bounds), nullptr, &buffer);
90 return recorder.finishRecordingAsDrawable();
H A DSkDrawable.cpp76 SkPictureRecorder recorder; local
79 SkCanvas* canvas = recorder.beginRecording(bounds, nullptr, 0);
84 return recorder.finishRecordingAsPicture().release();
/external/skia/bench/
H A DRecordingBench.cpp61 SkPictureRecorder recorder; local
63 fSrc->playback(recorder.beginRecording(fSrc->cullRect(), fUseBBH ? &factory : nullptr));
64 (void)recorder.finishRecordingAsPicture();
H A DPictureNestingBench.cpp51 SkPictureRecorder recorder; local
55 c = recorder.beginRecording(1, 1);
77 canvas->drawPicture(recorder.finishRecordingAsPicture());
121 SkPictureRecorder recorder; variable
124 SkCanvas* c = recorder.beginRecording(SkIntToScalar(canvasSize.x()),
127 (void)recorder.finishRecordingAsPicture();
145 SkPictureRecorder recorder; variable
146 SkCanvas* c = recorder.beginRecording(SkIntToScalar(canvasSize.x()),
150 fPicture = recorder.finishRecordingAsPicture();
/external/autotest/client/cros/bluetooth/
H A Doutput_recorder.py54 """Construction of output recorder.
198 recorder = OutputRecorder(cmd) variable in class:OutputRecorder
201 recorder.start()
203 time.sleep(recorder.stop_delay_secs)
204 recorder.stop()
206 for line in recorder.get_contents():
/external/skia/debugger/
H A DSkDebugger.cpp35 SkPictureRecorder recorder; local
36 SkCanvas* canvas = recorder.beginRecording(this->pictureCull().width(),
52 return recorder.finishRecordingAsPicture();
/external/skia/samplecode/
H A DGMSampleView.cpp56 SkPictureRecorder recorder; local
61 canvas = recorder.beginRecording(SkRect::MakeIWH(size.width(), size.height()));
70 sk_sp<SkPicture> pic = recorder.finishRecordingAsPicture();
H A DSampleArc.cpp96 SkPictureRecorder recorder; local
97 this->drawRoot(recorder.beginRecording(SkRect::MakeWH(800, 500)));
98 fRootDrawable = recorder.finishRecordingAsDrawable();
H A DSampleHT.cpp134 SkPictureRecorder recorder; local
135 SkCanvas* canvas = recorder.beginRecording(SkRect::MakeWH(W, H));
141 fRoot = recorder.finishRecordingAsDrawable();
/external/skia/tests/
H A DImageIsOpaqueTest.cpp111 SkPictureRecorder recorder; local
112 SkCanvas* canvas = recorder.beginRecording({ 0, 0, 10, 10 });
114 return recorder.finishRecordingAsPicture();
H A DPictureBBHTest.cpp43 SkPictureRecorder recorder; local
44 SkCanvas* recordCanvas = recorder.beginRecording(SkIntToScalar(fPictureWidth),
48 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture());

Completed in 507 milliseconds

123