Lines Matching refs:bitmap
225 const SkBitmap& bitmap,
243 SkIRect writeRect = SkIRect::MakeXYWH(writeX, writeY, bitmap.width(), bitmap.height());
251 uint32_t bmpColor8888 = getBitmapColor(bx, by, bitmap.width(), bitmap.height(), config8888);
329 bool setupBitmap(SkBitmap* bitmap,
334 bitmap->setConfig(SkBitmap::kARGB_8888_Config, w, h, rowBytes);
335 if (!bitmap->allocPixels()) {
338 SkAutoLockPixels alp(*bitmap);
339 intptr_t pixels = reinterpret_cast<intptr_t>(bitmap->getPixels());
342 uint32_t* pixel = reinterpret_cast<uint32_t*>(pixels + y * bitmap->rowBytes() + x * 4);