Lines Matching refs:SkRecords

16 #include "SkRecords.h"
31 record.replace<SkRecords::NoOp>(1); // NoOps should be allowed.
35 REPORTER_ASSERT(r, 2 == count_instances_of_type<SkRecords::DrawRect>(record));
48 assert_type<SkRecords::NoOp>(r, record, i);
71 assert_type<SkRecords::NoOp>(r, record, index);
88 assert_type<SkRecords::Save> (r, record, 0);
89 assert_type<SkRecords::SaveLayer>(r, record, 1);
90 assert_type<SkRecords::Restore> (r, record, 2);
91 assert_type<SkRecords::Restore> (r, record, 3);
94 assert_type<SkRecords::SaveLayer>(r, record, 0);
95 assert_type<SkRecords::Restore> (r, record, 1);
111 assert_type<SkRecords::NoOp>(r, *record, i);
112 assert_type<SkRecords::NoOp>(r, *record, i+1);
114 assert_type<SkRecords::SaveLayer>(r, *record, i);
115 assert_type<SkRecords::Restore>(r, *record, i+1);
125 assert_type<SkRecords::NoOp>(r, *record, i);
126 assert_type<SkRecords::NoOp>(r, *record, i+2);
128 assert_type<SkRecords::SaveLayer>(r, *record, i);
129 assert_type<SkRecords::Restore>(r, *record, i+2);
187 const SkRecords::DrawRect* drawRect = assert_type<SkRecords::DrawRect>(r, record, 16);
206 assert_type<SkRecords::NoOp>(r, *record, i);
207 assert_type<SkRecords::NoOp>(r, *record, i + 6);
209 assert_type<SkRecords::SaveLayer>(r, *record, i);
210 assert_type<SkRecords::Restore>(r, *record, i + 6);
331 const SkRecords::SaveLayer* saveLayer = assert_type<SkRecords::SaveLayer>(r, record, index + 3);
344 assert_type<SkRecords::SaveLayer>(r, record, index);
345 assert_type<SkRecords::SaveLayer>(r, record, index + 1);
346 assert_type<SkRecords::Restore>(r, record, index + 2);
347 assert_type<SkRecords::Restore>(r, record, index + 3);