RecordReplaceDrawTest.cpp | 49 SkRecord rerecord; local 50 SkRecorder canvas(&rerecord, kWidth, kHeight); 55 switch (rerecord.count()) { 57 assert_type<SkRecords::Save>(r, rerecord, 0); 58 assert_type<SkRecords::DrawRect>(r, rerecord, 1); 59 assert_type<SkRecords::Restore>(r, rerecord, 2); 62 assert_type<SkRecords::DrawRect>(r, rerecord, 0); 83 SkRecord rerecord; local 84 SkRecorder canvas(&rerecord, kWidth, kHeight); 88 // ensure rerecord is balanced (in this case by checking that the count is odd 132 SkRecord rerecord; local [all...] |