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

12345

/external/skia/gm/
H A Dbug6643.cpp21 SkPictureRecorder recorder; local
22 recorder.beginRecording(200, 200)->drawPaint(p);
24 p.setShader(SkShader::MakePictureShader(recorder.finishRecordingAsPicture(),
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.cpp33 SkPictureRecorder recorder; local
37 SkCanvas* rec = recorder.beginRecording(kExtents, kOffset + kExtents, nullptr, 0);
46 sk_sp<SkPicture> pict(recorder.finishRecordingAsPicture());
49 pict->playback(recorder.beginRecording(pict->cullRect().width(),
52 sk_sp<SkPicture> pict2(recorder.finishRecordingAsPicture());
H A Dpictureshadercache.cpp41 SkPictureRecorder recorder; variable
42 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize, nullptr, 0);
44 fPicture = recorder.finishRecordingAsPicture();
H A Dimage_shader.cpp95 SkPictureRecorder recorder; variable
96 draw_something(recorder.beginRecording(bounds), bounds);
97 fPicture = recorder.finishRecordingAsPicture();
H A Dpictureimagefilter.cpp31 SkPictureRecorder recorder; local
32 SkCanvas* canvas = recorder.beginRecording(100, 100, nullptr, 0);
40 return recorder.finishRecordingAsPicture();
45 SkPictureRecorder recorder; local
46 SkCanvas* canvas = recorder.beginRecording(100, 100, nullptr, 0);
57 return 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(),
/external/skqp/gm/
H A Dbug6643.cpp21 SkPictureRecorder recorder; local
22 recorder.beginRecording(200, 200)->drawPaint(p);
24 p.setShader(SkShader::MakePictureShader(recorder.finishRecordingAsPicture(),
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.cpp33 SkPictureRecorder recorder; local
37 SkCanvas* rec = recorder.beginRecording(kExtents, kOffset + kExtents, nullptr, 0);
46 sk_sp<SkPicture> pict(recorder.finishRecordingAsPicture());
49 pict->playback(recorder.beginRecording(pict->cullRect().width(),
52 sk_sp<SkPicture> pict2(recorder.finishRecordingAsPicture());
H A Dpictureshadercache.cpp41 SkPictureRecorder recorder; variable
42 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize, nullptr, 0);
44 fPicture = recorder.finishRecordingAsPicture();
/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.cpp87 SkPictureRecorder recorder; local
88 playback.draw(recorder.beginRecording(bounds), nullptr, &buffer);
89 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/tools/
H A Dskpmaker.cpp34 SkPictureRecorder recorder; local
35 SkCanvas* canvas = recorder.beginRecording(width, height, nullptr, 0);
45 recorder.finishRecordingAsPicture()->serialize(&stream);
/external/skqp/src/core/
H A DSkRecordedDrawable.cpp87 SkPictureRecorder recorder; local
88 playback.draw(recorder.beginRecording(bounds), nullptr, &buffer);
89 return recorder.finishRecordingAsDrawable();
H A DSkDrawable.cpp76 SkPictureRecorder recorder; local
79 SkCanvas* canvas = recorder.beginRecording(bounds, nullptr, 0);
84 return recorder.finishRecordingAsPicture().release();
/external/skqp/tools/
H A Dskpmaker.cpp34 SkPictureRecorder recorder; local
35 SkCanvas* canvas = recorder.beginRecording(width, height, nullptr, 0);
45 recorder.finishRecordingAsPicture()->serialize(&stream);
/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/bench/
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();
H A DRecordingBench.cpp61 SkPictureRecorder recorder; local
63 fSrc->playback(recorder.beginRecording(fSrc->cullRect(), fUseBBH ? &factory : nullptr));
64 (void)recorder.finishRecordingAsPicture();
/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 DSampleAnimatedImage.cpp94 SkPictureRecorder recorder; variable
95 auto canvas = recorder.beginRecording(fImage->getBounds());
97 fDrawable = recorder.finishRecordingAsDrawable();

Completed in 473 milliseconds

12345