Home
last modified time | relevance | path

Searched refs:rerecord (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DRecordReplaceDrawTest.cpp49 SkRecord rerecord; in DEF_TEST() local
50 SkRecorder canvas(&rerecord, kWidth, kHeight); in DEF_TEST()
55 switch (rerecord.count()) { in DEF_TEST()
57 assert_type<SkRecords::Save>(r, rerecord, 0); in DEF_TEST()
58 assert_type<SkRecords::DrawRect>(r, rerecord, 1); in DEF_TEST()
59 assert_type<SkRecords::Restore>(r, rerecord, 2); in DEF_TEST()
62 assert_type<SkRecords::DrawRect>(r, rerecord, 0); in DEF_TEST()
83 SkRecord rerecord; in DEF_TEST() local
84 SkRecorder canvas(&rerecord, kWidth, kHeight); in DEF_TEST()
89 REPORTER_ASSERT(r, (rerecord.count() & 1) == 1); in DEF_TEST()
[all …]
DRecordDrawTest.cpp66 SkRecord rerecord; in DEF_TEST() local
67 SkRecorder canvas(&rerecord, W, H); in DEF_TEST()
72 REPORTER_ASSERT(r, 1 == count_instances_of_type<SkRecords::DrawRect>(rerecord)); in DEF_TEST()
73 REPORTER_ASSERT(r, 0 == count_instances_of_type<SkRecords::ClipRect>(rerecord)); in DEF_TEST()
82 SkRecord rerecord; in DEF_TEST() local
83 SkRecorder canvas(&rerecord, W, H); in DEF_TEST()
86 int save_count = count_instances_of_type<SkRecords::Save>(rerecord); in DEF_TEST()
87 int restore_count = count_instances_of_type<SkRecords::Save>(rerecord); in DEF_TEST()
190 SkRecord rerecord; in DEF_TEST() local
191 SkRecorder canvas(&rerecord, kWidth, kHeight); in DEF_TEST()
[all …]