Home | History | Annotate | Download | only in bench

Lines Matching refs:bm

13 static void drawIntoBitmap(const SkBitmap& bm) {
14 const int w = bm.width();
15 const int h = bm.height();
17 SkCanvas canvas(bm);
87 SkBitmap bm;
90 bm.setConfig(SkBitmap::kARGB_8888_Config, w, h);
92 bm.setConfig(c, w, h);
94 bm.allocPixels();
95 bm.eraseColor(0);
97 drawIntoBitmap(bm);
101 convertToIndex666(bm, &tmp);
102 bm = tmp;
105 SkShader* s = SkShader::CreateBitmapShader(bm,
109 fName.printf("repeatTile_%s", gConfigName[bm.config()]);