Home | History | Annotate | Download | only in tests

Lines Matching refs:recorder

55     SkPictureRecorder recorder;
56 recorder.beginRecording(100,100)->drawImage(image, 0,0);
57 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
64 SkPictureRecorder recorder;
66 SkCanvas* canvas = recorder.beginRecording(100, 100);
70 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
73 canvas = recorder.beginRecording(100, 100);
89 picture.reset(recorder.endRecording());
98 SkPictureRecorder recorder;
100 recorder.beginRecording(0, 0);
102 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
104 recorder.beginRecording(0, 0);
109 SkPictureRecorder recorder;
110 recorder.beginRecording(0, 0);
111 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
140 SkPictureRecorder recorder;
142 SkCanvas* canvas = recorder.beginRecording(100, 100);
159 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
166 canvas = recorder.beginRecording(100, 100);
184 picture.reset(recorder.endRecording());
188 canvas = recorder.beginRecording(100, 100);
206 picture.reset(recorder.endRecording());
210 canvas = recorder.beginRecording(100, 100);
230 picture.reset(recorder.endRecording());
234 canvas = recorder.beginRecording(100, 100);
247 picture.reset(recorder.endRecording());
251 canvas = recorder.beginRecording(100, 100);
262 picture.reset(recorder.endRecording());
267 canvas = recorder.beginRecording(100, 100);
271 picture.reset(recorder.endRecording());
295 SkPictureRecorder recorder;
297 SkCanvas* c = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight),
304 child.reset(recorder.endRecording());
329 SkPictureRecorder recorder;
331 SkCanvas* c = recorder.beginRecording(SkIntToScalar(kWidth),
372 pict.reset(recorder.endRecording());
481 SkPictureRecorder recorder;
483 SkCanvas* canvas = recorder.beginRecording(100,100);
487 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
491 canvas = recorder.beginRecording(100,100);
495 picture.reset(recorder.endRecording());
498 canvas = recorder.beginRecording(100,100);
502 picture.reset(recorder.endRecording());
505 canvas = recorder.beginRecording(100,100);
509 picture.reset(recorder.endRecording());
512 canvas = recorder.beginRecording(100,100);
520 picture.reset(recorder.endRecording());
523 canvas = recorder.beginRecording(100,100);
531 picture.reset(recorder.endRecording());
535 canvas = recorder.beginRecording(100,100);
539 picture.reset(recorder.endRecording());
608 static SkPicture* Copy(SkPictureRecorder* recorder) {
613 recorder->partialReplay(canvas);
662 SkPictureRecorder recorder;
664 SkCanvas* canvas = recorder.beginRecording(10, 10);
668 SkAutoTUnref<SkPicture> copy(SkPictureRecorderReplayTester::Copy(&recorder));
675 SkAutoTUnref<SkPicture> final(recorder.endRecording());
685 SkPictureRecorder recorder;
687 SkCanvas* canvas = recorder.beginRecording(10, 10);
694 SkAutoTUnref<SkPicture> copy(SkPictureRecorderReplayTester::Copy(&recorder));
704 SkAutoTUnref<SkPicture> final(recorder.endRecording());
715 SkPictureRecorder recorder;
717 SkCanvas* canvas = recorder.beginRecording(4, 3, nullptr, 0);
722 SkAutoTUnref<SkPicture> copy(SkPictureRecorderReplayTester::Copy(&recorder));
729 SkAutoTUnref<SkPicture> final(recorder.endRecording());
742 SkPictureRecorder recorder;
746 SkCanvas* canvas = recorder.beginRecording(100, 100);
753 SkAutoTUnref<SkPicture> extraSavePicture(recorder.endRecording());
763 SkCanvas* canvas = recorder.beginRecording(100, 100);
774 SkAutoTUnref<SkPicture> extraRestorePicture(recorder.endRecording());
783 SkCanvas* canvas = recorder.beginRecording(100, 100);
786 SkAutoTUnref<SkPicture> noSavePicture(recorder.endRecording());
797 SkPictureRecorder recorder;
802 SkCanvas* canvas = recorder.beginRecording(100, 100);
807 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
813 SkCanvas* canvas = recorder.beginRecording(100, 100);
823 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
835 SkPictureRecorder recorder;
836 SkCanvas* recordingCanvas = recorder.beginRecording(100, 100);
838 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
846 SkPictureRecorder recorder;
847 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(bitmap.width()),
850 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
956 SkPictureRecorder recorder;
960 SkCanvas* canvas = recorder.beginRecording(10, 10);
970 SkCanvas* canvas = recorder.beginRecording(10, 10);
981 SkCanvas* canvas = recorder.beginRecording(10, 10);
992 SkCanvas* canvas = recorder.beginRecording(10, 10);
1002 SkCanvas* canvas = recorder.beginRecording(10, 10);
1015 SkCanvas* canvas = recorder.beginRecording(10, 10);
1028 SkPictureRecorder recorder;
1031 SkCanvas* canvas = recorder.beginRecording(bounds, &factory);
1036 SkAutoTUnref<const SkPicture> p(recorder.endRecordingAsPicture(bounds));
1100 SkPictureRecorder recorder;
1101 SkCanvas* canvas = recorder.beginRecording(10, 10);
1110 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
1123 SkPictureRecorder recorder;
1125 recorder.beginRecording(10, 10);
1126 SkAutoTUnref<SkPicture> childPlain(recorder.endRecording());
1129 recorder.beginRecording(10, 10)->drawBitmap(bm, 0, 0);
1130 SkAutoTUnref<SkPicture> childWithBitmap(recorder.endRecording());
1134 SkCanvas* canvas = recorder.beginRecording(10, 10);
1136 SkAutoTUnref<SkPicture> parentPP(recorder.endRecording());
1140 SkCanvas* canvas = recorder.beginRecording(10, 10);
1142 SkAutoTUnref<SkPicture> parentPWB(recorder.endRecording());
1146 SkCanvas* canvas = recorder.beginRecording(10, 10);
1149 SkAutoTUnref<SkPicture> parentWBP(recorder.endRecording());
1153 SkCanvas* canvas = recorder.beginRecording(10, 10);
1156 SkAutoTUnref<SkPicture> parentWBWB(recorder.endRecording());
1163 SkPictureRecorder recorder;
1164 recorder.beginRecording(0, 0);
1165 SkAutoTUnref<SkPicture> empty(recorder.endRecording());
1170 SkCanvas* canvas = recorder.beginRecording(1, 1);
1172 SkAutoTUnref<SkPicture> hasData(recorder.endRecording());
1181 SkPictureRecorder recorder;
1182 SkCanvas* canvas = recorder.beginRecording(10, 10);
1186 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
1236 SkPictureRecorder recorder;
1237 test_draw_bitmaps(recorder.beginRecording(10, 10));
1238 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
1272 SkPictureRecorder recorder;
1273 SkCanvas* canvas = recorder.beginRecording(100, 100);
1281 SkAutoTUnref<SkPicture> picture(recorder.endRecording());
1328 SkPictureRecorder recorder;
1329 SkCanvas* c = recorder.beginRecording(bound, &factory);
1333 SkAutoTUnref<const SkPicture> picture(recorder.endRecording());
1358 // we want the recorder to go out of scope before our subsequent checks, so we
1400 SkPictureRecorder recorder;
1402 SkCanvas* c = recorder.beginRecording(SkRect::MakeLTRB(1, 2, 3, 4));
1405 SkAutoTUnref<SkPicture> picture(recorder.endRecording());