Home | History | Annotate | Download | only in tests

Lines Matching refs:Config

9 // these are in the same order as the SkBitmap::Config enum
18 gConfigName[src.config()], src.isOpaque(),
19 gConfigName[dst.config()], dst.isOpaque());
23 static bool canHaveAlpha(SkBitmap::Config config) {
24 return config != SkBitmap::kRGB_565_Config;
29 SkBitmap::Config dstConfig) {
38 if (canHaveAlpha(bitmap.config()) && canHaveAlpha(dstConfig)) {
44 REPORTER_ASSERT(reporter, dst.config() == dstConfig);
55 REPORTER_ASSERT(reporter, dst.config() == dstConfig);
84 SkBitmap::Config fConfig;
221 str.printf("%s [config = %s]",
259 if (SkBitmap::kIndex8_Config == src.config() ||
260 SkBitmap::kRLE_Index8_Config == src.config()) {
289 REPORTER_ASSERT(reporter, dst.config() == gPairs[j].fConfig);
290 test_isOpaque(reporter, src, dst.config());
291 if (src.config() == dst.config()) {
313 subset.copyTo(&copy, subset.config()));
328 REPORTER_ASSERT(reporter, dst.config() == SkBitmap::kNo_Config);
425 if (SkBitmap::kIndex8_Config == src.config() ||
426 SkBitmap::kRLE_Index8_Config == src.config()) {
441 // This config seems to need byte-alignment of
484 // Config with stride greater than src but that fits in buf.