Lines Matching refs:SkBitmap
25 static void erase(SkBitmap& bm) { in erase()
26 if (bm.config() == SkBitmap::kA8_Config) { in erase()
33 static bool equal(const SkBitmap& bm1, const SkBitmap& bm2) { in equal()
88 const SkBitmap& bm) { in saveFile()
89 SkBitmap copy; in saveFile()
90 if (!bm.copyTo(©, SkBitmap::kARGB_8888_Config)) { in saveFile()
94 if (bm.config() == SkBitmap::kA8_Config) { in saveFile()
146 static void compare_pict_to_bitmap(SkPicture* pict, const SkBitmap& bm) { in compare_pict_to_bitmap()
147 SkBitmap bm2; in compare_pict_to_bitmap()
170 SkBitmap::Config fConfig;
173 { SkBitmap::kARGB_8888_Config, "8888" },
174 { SkBitmap::kRGB_565_Config, "565", },
176 { SkBitmap::kARGB_4444_Config, "4444", },
177 { SkBitmap::kA8_Config, "A8", }
206 SkBitmap::Config outConfig = SkBitmap::kNo_Config; in main()
336 SkBitmap bm; in main()