Home | History | Annotate | Download | only in gm

Lines Matching defs:bm

12 static void make_bm(SkBitmap* bm, int width, int height, SkColor color) {
13 bm->setConfig(SkBitmap::kARGB_8888_Config, width, height);
14 bm->allocPixels();
15 bm->eraseColor(color);
16 bm->setImmutable();
20 SkBitmap bm;
21 make_bm(&bm, width, height, color);
34 canvas->drawBitmap(bm, 0, 0, NULL);
40 canvas->drawBitmapRect(bm, &ir, r, NULL);
45 canvas->drawBitmapRect(bm, NULL, r, NULL);