Home | History | Annotate | Download | only in tests

Lines Matching refs:gPairs

127     static const Pair gPairs[] = {
136 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) {
139 SkGpuDevice* device = SkNEW_ARGS(SkGpuDevice, (grContext, gPairs[i].fConfig, W, H));
159 for (size_t j = 0; j < SK_ARRAY_COUNT(gPairs); j++) {
161 bool success = src.deepCopyTo(&dst, gPairs[j].fConfig);
162 bool expected = gPairs[i].fValid[j] != '0';
171 bool canSucceed = src.canCopyTo(gPairs[j].fConfig);
181 TestIndividualCopy(reporter, gPairs[j].fConfig, success, src, dst);
186 success = subset.copyTo(&subsetCopy, gPairs[j].fConfig);
189 TestIndividualCopy(reporter, gPairs[j].fConfig, success, subset, subsetCopy, false,
194 success = subset.deepCopyTo(&subsetCopy, gPairs[j].fConfig);
197 TestIndividualCopy(reporter, gPairs[j].fConfig, success, subset, subsetCopy, true,