• Home
  • Raw
  • Download

Lines Matching refs:record

23     SkRecord record;  in DEF_TEST()  local
24 SkRecorder recorder(&record, W, H); in DEF_TEST()
30 record.replace<SkRecords::NoOp>(1); // NoOps should be allowed. in DEF_TEST()
32 SkRecordNoopSaveRestores(&record); in DEF_TEST()
34 REPORTER_ASSERT(r, 2 == count_instances_of_type<SkRecords::DrawRect>(record)); in DEF_TEST()
38 SkRecord record; in DEF_TEST() local
39 SkRecorder recorder(&record, W, H); in DEF_TEST()
45 SkRecordNoopSaveRestores(&record); in DEF_TEST()
47 assert_type<SkRecords::NoOp>(r, record, i); in DEF_TEST()
52 SkRecord record; in DEF_TEST() local
53 SkRecorder recorder(&record, W, H); in DEF_TEST()
68 SkRecordNoopSaveRestores(&record); in DEF_TEST()
69 for (int index = 0; index < record.count(); index++) { in DEF_TEST()
70 assert_type<SkRecords::NoOp>(r, record, index); in DEF_TEST()
75 SkRecord record; in DEF_TEST() local
76 SkRecorder recorder(&record, W, H); in DEF_TEST()
84 SkRecordNoopSaveRestores(&record); in DEF_TEST()
85 switch (record.count()) { in DEF_TEST()
87 assert_type<SkRecords::Save> (r, record, 0); in DEF_TEST()
88 assert_type<SkRecords::SaveLayer>(r, record, 1); in DEF_TEST()
89 assert_type<SkRecords::Restore> (r, record, 2); in DEF_TEST()
90 assert_type<SkRecords::Restore> (r, record, 3); in DEF_TEST()
93 assert_type<SkRecords::SaveLayer>(r, record, 0); in DEF_TEST()
94 assert_type<SkRecords::Restore> (r, record, 1); in DEF_TEST()
105 SkRecord* record, in assert_savelayer_restore() argument
108 SkRecordNoopSaveLayerDrawRestores(record); in assert_savelayer_restore()
110 assert_type<SkRecords::NoOp>(r, *record, i); in assert_savelayer_restore()
111 assert_type<SkRecords::NoOp>(r, *record, i+1); in assert_savelayer_restore()
113 assert_type<SkRecords::SaveLayer>(r, *record, i); in assert_savelayer_restore()
114 assert_type<SkRecords::Restore>(r, *record, i+1); in assert_savelayer_restore()
119 SkRecord* record, in assert_savelayer_draw_restore() argument
122 SkRecordNoopSaveLayerDrawRestores(record); in assert_savelayer_draw_restore()
124 assert_type<SkRecords::NoOp>(r, *record, i); in assert_savelayer_draw_restore()
125 assert_type<SkRecords::NoOp>(r, *record, i+2); in assert_savelayer_draw_restore()
127 assert_type<SkRecords::SaveLayer>(r, *record, i); in assert_savelayer_draw_restore()
128 assert_type<SkRecords::Restore>(r, *record, i+2); in assert_savelayer_draw_restore()
133 SkRecord record; in DEF_TEST() local
134 SkRecorder recorder(&record, W, H); in DEF_TEST()
152 assert_savelayer_draw_restore(r, &record, 0, true); in DEF_TEST()
158 assert_savelayer_draw_restore(r, &record, 3, true); in DEF_TEST()
166 assert_savelayer_draw_restore(r, &record, 6, false); in DEF_TEST()
172 assert_savelayer_draw_restore(r, &record, 9, false); in DEF_TEST()
178 assert_savelayer_draw_restore(r, &record, 12, true); in DEF_TEST()
184 assert_savelayer_draw_restore(r, &record, 15, true); in DEF_TEST()
186 const SkRecords::DrawRect* drawRect = assert_type<SkRecords::DrawRect>(r, record, 16); in DEF_TEST()
195 assert_savelayer_draw_restore(r, &record, 18, false); in DEF_TEST()
204 assert_savelayer_draw_restore(r, &record, 21, false); in DEF_TEST()
210 SkRecord* record, in assert_merge_svg_opacity_and_filter_layers() argument
213 SkRecordMergeSvgOpacityAndFilterLayers(record); in assert_merge_svg_opacity_and_filter_layers()
215 assert_type<SkRecords::NoOp>(r, *record, i); in assert_merge_svg_opacity_and_filter_layers()
216 assert_type<SkRecords::NoOp>(r, *record, i + 6); in assert_merge_svg_opacity_and_filter_layers()
218 assert_type<SkRecords::SaveLayer>(r, *record, i); in assert_merge_svg_opacity_and_filter_layers()
219 assert_type<SkRecords::Restore>(r, *record, i + 6); in assert_merge_svg_opacity_and_filter_layers()
224 SkRecord record; in DEF_TEST() local
225 SkRecorder recorder(&record, W, H); in DEF_TEST()
286 assert_merge_svg_opacity_and_filter_layers(r, &record, index, in DEF_TEST()
289 assert_savelayer_restore(r, &record, index + 3, innerNoOped); in DEF_TEST()
328 assert_merge_svg_opacity_and_filter_layers(r, &record, index, false); in DEF_TEST()
340 assert_merge_svg_opacity_and_filter_layers(r, &record, index, true); in DEF_TEST()
342 const SkRecords::SaveLayer* saveLayer = assert_type<SkRecords::SaveLayer>(r, record, index + 3); in DEF_TEST()
354 SkRecordMergeSvgOpacityAndFilterLayers(&record); in DEF_TEST()
355 assert_type<SkRecords::SaveLayer>(r, record, index); in DEF_TEST()
356 assert_type<SkRecords::SaveLayer>(r, record, index + 1); in DEF_TEST()
357 assert_type<SkRecords::Restore>(r, record, index + 2); in DEF_TEST()
358 assert_type<SkRecords::Restore>(r, record, index + 3); in DEF_TEST()