Lines Matching refs:bm
39 SkBitmap bm;
40 bm.allocPixels(ii);
42 SkCanvas temp(bm);
53 bm.setImmutable();
54 return bm;
97 SkBitmap bm;
98 bm.allocN32Pixels(kFullSize, kFullSize, false);
100 bool result = canvas->readPixels(bm.info(), bm.getPixels(), bm.rowBytes(), 0, 0);
104 REPORTER_ASSERT(reporter, SK_ColorBLUE == bm.getColor(kPad-1, kPad-1));
105 REPORTER_ASSERT(reporter, SK_ColorRED == bm.getColor(kPad, kPad));
106 REPORTER_ASSERT(reporter, SK_ColorRED == bm.getColor(kSmallerSize+kPad-1,
108 REPORTER_ASSERT(reporter, SK_ColorBLUE == bm.getColor(kSmallerSize+kPad,
139 SkBitmap bm = create_bm();
143 bm, SkSurfaceProps()));
148 sk_sp<SkSpecialImage> subSImg1(SkSpecialImage::MakeFromRaster(subset, bm,
160 SkBitmap bm = create_bm();
162 sk_sp<SkImage> fullImage(bm.asImage());
190 SkBitmap bm = create_bm();
191 auto [view, ct] = GrMakeUncachedBitmapProxyView(context, bm);