Lines Matching refs:pmap
973 SkPixmap pmap; in drawBitmapAsMask() local
974 if (!bitmap.peekPixels(&pmap)) { in drawBitmapAsMask()
978 mask.fBounds.set(ix, iy, ix + pmap.width(), iy + pmap.height()); in drawBitmapAsMask()
980 mask.fRowBytes = SkToU32(pmap.rowBytes()); in drawBitmapAsMask()
982 mask.fImage = (uint8_t*)pmap.addr8(0, 0); in drawBitmapAsMask()
1060 static bool clipHandlesSprite(const SkRasterClip& clip, int x, int y, const SkPixmap& pmap) { in clipHandlesSprite() argument
1061 return clip.isBW() || clip.quickContains(x, y, x + pmap.width(), y + pmap.height()); in clipHandlesSprite()
1093 SkPixmap pmap; in drawBitmap() local
1094 if (!bitmap.peekPixels(&pmap)) { in drawBitmap()
1099 if (clipHandlesSprite(*fRC, ix, iy, pmap)) { in drawBitmap()
1102 SkBlitter* blitter = SkBlitter::ChooseSprite(fDst, *paint, pmap, ix, iy, &allocator); in drawBitmap()
1104 SkScan::FillIRect(SkIRect::MakeXYWH(ix, iy, pmap.width(), pmap.height()), in drawBitmap()
1149 SkPixmap pmap; in drawSprite() local
1150 if (!bitmap.peekPixels(&pmap)) { in drawSprite()
1154 if (nullptr == paint.getColorFilter() && clipHandlesSprite(*fRC, x, y, pmap)) { in drawSprite()
1157 SkBlitter* blitter = SkBlitter::ChooseSprite(fDst, paint, pmap, x, y, &allocator); in drawSprite()