Lines Matching refs:record
34 SkRecord record; in DEF_TEST() local
35 SkRecorder recorder(&record, W, H); in DEF_TEST()
37 REPORTER_ASSERT(r, 0 == record.count()); in DEF_TEST()
39 REPORTER_ASSERT(r, 0 == record.count()); // the save was not recorded (yet) in DEF_TEST()
41 REPORTER_ASSERT(r, 1 == record.count()); in DEF_TEST()
43 REPORTER_ASSERT(r, 3 == record.count()); // now we see the save in DEF_TEST()
45 REPORTER_ASSERT(r, 4 == record.count()); in DEF_TEST()
47 assert_type<SkRecords::DrawPaint>(r, record, 0); in DEF_TEST()
48 assert_type<SkRecords::Save> (r, record, 1); in DEF_TEST()
49 assert_type<SkRecords::SetMatrix>(r, record, 2); in DEF_TEST()
50 assert_type<SkRecords::Restore> (r, record, 3); in DEF_TEST()
56 REPORTER_ASSERT(r, 4 == record.count()); in DEF_TEST()
61 SkRecord record; in DEF_TEST() local
62 SkRecorder recorder(&record, W, H); in DEF_TEST()
70 SkRecordDraw(record, &canvas, NULL, NULL, 0, NULL/*bbh*/, &callback); in DEF_TEST()
77 SkRecord record; in DEF_TEST() local
78 SkRecorder recorder(&record, W, H); in DEF_TEST()
84 SkRecordDraw(record, &canvas, NULL, NULL, 0, NULL/*bbh*/, NULL/*callback*/); in DEF_TEST()
156 SkRecord record; in DEF_TEST() local
157 SkRecorder recorder(&record, W, H); in DEF_TEST()
165 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, &bbh); in DEF_TEST()
177 SkRecord record; in DEF_TEST() local
178 SkRecorder recorder(&record, W, H); in DEF_TEST()
191 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, &bbh); in DEF_TEST()
210 SkRecord record; in DEF_TEST() local
211 SkRecorder recorder(&record, kWidth, kHeight); in DEF_TEST()
218 … SkRecordPartialDraw(record, &canvas, NULL, 0, 1, 2, SkMatrix::I()); // replay just drawRect of r2 in DEF_TEST()
232 SkRecord record; in DEF_TEST() local
233 SkRecorder recorder(&record, 50, 50); in DEF_TEST()
252 SkRecordFillBounds(SkRect::MakeWH(50, 50), record, &bbh); in DEF_TEST()
264 SkRecord record; in DEF_TEST() local
265 SkRecorder recorder(&record, 50, 50); in DEF_TEST()
276 SkRecordFillBounds(SkRect::MakeWH(50, 50), record, &bbh); in DEF_TEST()
317 SkRecord record; in DEF_TEST() local
318 SkRecorder recorder(&record, 10, 10); in DEF_TEST()
320 SkRecordDraw(record, &canvas, NULL, NULL, 0, NULL, 0); in DEF_TEST()
326 SkRecord record; in DEF_TEST() local
327 SkRecorder recorder(&record, 10, 10); in DEF_TEST()
329 SkRecordDraw(record, &canvas, NULL, NULL, 0, NULL, 0); in DEF_TEST()