Searched refs:gPairs (Results 1 – 6 of 6) sorted by relevance
/external/skia/tests/ |
D | GpuBitmapCopyTest.cpp | 120 static const Pair gPairs[] = { in TestGpuBitmapCopy() local 128 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) { in TestGpuBitmapCopy() 131 SkGpuDevice* device = SkNEW_ARGS(SkGpuDevice, (grContext, gPairs[i].fConfig, W, H)); in TestGpuBitmapCopy() 148 for (size_t j = 0; j < SK_ARRAY_COUNT(gPairs); j++) { in TestGpuBitmapCopy() 150 bool success = src.deepCopyTo(&dst, gPairs[j].fConfig); in TestGpuBitmapCopy() 151 bool expected = gPairs[i].fValid[j] != '0'; in TestGpuBitmapCopy() 160 bool canSucceed = src.canCopyTo(gPairs[j].fConfig); in TestGpuBitmapCopy() 170 TestIndividualCopy(reporter, gPairs[j].fConfig, success, src, dst); in TestGpuBitmapCopy() 175 success = subset.copyTo(&subsetCopy, gPairs[j].fConfig); in TestGpuBitmapCopy() 178 TestIndividualCopy(reporter, gPairs[j].fConfig, success, subset, subsetCopy, in TestGpuBitmapCopy() [all …]
|
D | BitmapCopyTest.cpp | 209 static const Pair gPairs[] = { in DEF_TEST() local 225 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) { in DEF_TEST() 226 for (size_t j = 0; j < SK_ARRAY_COUNT(gPairs); j++) { in DEF_TEST() 233 srcOpaque.setConfig(gPairs[i].fConfig, W, H, 0, kOpaque_SkAlphaType); in DEF_TEST() 234 srcPremul.setConfig(gPairs[i].fConfig, W, H, 0, kPremul_SkAlphaType); in DEF_TEST() 235 if (SkBitmap::kIndex8_Config == gPairs[i].fConfig) { in DEF_TEST() 247 bool success = srcPremul.copyTo(&dst, gPairs[j].fConfig); in DEF_TEST() 248 bool expected = gPairs[i].fValid[j] != '0'; in DEF_TEST() 257 bool canSucceed = srcPremul.canCopyTo(gPairs[j].fConfig); in DEF_TEST() 269 REPORTER_ASSERT(reporter, dst.config() == gPairs[j].fConfig); in DEF_TEST() [all …]
|
/external/skia/src/effects/ |
D | SkPorterDuff.cpp | 24 } gPairs[] = { variable 48 const Pair* pairs = gPairs; in find_pdmode() 49 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) { in find_pdmode() 62 const Pair& pair = gPairs[mode]; in ToXfermodeMode() 68 const Pair& pair = gPairs[mode]; in CreateXfermode() 82 return SkXfermode::GetProc(gPairs[mode].fXF); in GetXfermodeProc() 86 return SkXfermode::GetProc16(gPairs[mode].fXF, srcColor); in GetXfermodeProc16()
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkPorterDuff.cpp | 24 } gPairs[] = { variable 48 const Pair* pairs = gPairs; in find_pdmode() 49 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) { in find_pdmode() 62 const Pair& pair = gPairs[mode]; in ToXfermodeMode() 68 const Pair& pair = gPairs[mode]; in CreateXfermode() 82 return SkXfermode::GetProc(gPairs[mode].fXF); in GetXfermodeProc() 86 return SkXfermode::GetProc16(gPairs[mode].fXF, srcColor); in GetXfermodeProc16()
|
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 588 } gPairs[] = { in map_css_names() local 594 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) { in map_css_names() 595 if (strcmp(name, gPairs[i].fFrom) == 0) { in map_css_names() 596 return gPairs[i].fTo; in map_css_names()
|
/external/chromium_org/third_party/skia/src/ports/ |
D | SkFontHost_mac.cpp | 588 } gPairs[] = { in map_css_names() local 594 for (size_t i = 0; i < SK_ARRAY_COUNT(gPairs); i++) { in map_css_names() 595 if (strcmp(name, gPairs[i].fFrom) == 0) { in map_css_names() 596 return gPairs[i].fTo; in map_css_names()
|