Lines Matching refs:SkBitmap
17 static void drawIntoBitmap(const SkBitmap& bm) { in drawIntoBitmap()
52 static void convertToIndex666(const SkBitmap& src, SkBitmap* dst) { in convertToIndex666()
67 dst->setConfig(SkBitmap::kIndex8_Config, src.width(), src.height()); in convertToIndex666()
93 SkBitmap fBitmap;
100 BitmapBench(void* param, bool isOpaque, SkBitmap::Config c, in BitmapBench()
105 SkBitmap bm; in BitmapBench()
107 if (SkBitmap::kIndex8_Config == c) { in BitmapBench()
108 bm.setConfig(SkBitmap::kARGB_8888_Config, w, h); in BitmapBench()
117 if (SkBitmap::kIndex8_Config == c) { in BitmapBench()
150 const SkBitmap& bitmap = fBitmap; in onDraw()
165 static SkBenchmark* Fact0(void* p) { return new BitmapBench(p, false, SkBitmap::kARGB_8888_Config);… in Fact0()
166 static SkBenchmark* Fact1(void* p) { return new BitmapBench(p, true, SkBitmap::kARGB_8888_Config); } in Fact1()
167 static SkBenchmark* Fact2(void* p) { return new BitmapBench(p, true, SkBitmap::kRGB_565_Config); } in Fact2()
168 static SkBenchmark* Fact3(void* p) { return new BitmapBench(p, false, SkBitmap::kARGB_4444_Config);… in Fact3()
169 static SkBenchmark* Fact4(void* p) { return new BitmapBench(p, true, SkBitmap::kARGB_4444_Config); } in Fact4()
170 static SkBenchmark* Fact5(void* p) { return new BitmapBench(p, false, SkBitmap::kIndex8_Config); } in Fact5()
171 static SkBenchmark* Fact6(void* p) { return new BitmapBench(p, true, SkBitmap::kIndex8_Config); } in Fact6()