Lines Matching defs:pmap
1131 SkPixmap pmap;
1132 if (!bitmap.peekPixels(&pmap)) {
1136 mask.fBounds.set(ix, iy, ix + pmap.width(), iy + pmap.height());
1138 mask.fRowBytes = SkToU32(pmap.rowBytes());
1140 mask.fImage = (uint8_t*)pmap.addr8(0, 0);
1217 static bool clipHandlesSprite(const SkRasterClip& clip, int x, int y, const SkPixmap& pmap) {
1218 return clip.isBW() || clip.quickContains(x, y, x + pmap.width(), y + pmap.height());
1250 SkPixmap pmap;
1251 if (!bitmap.peekPixels(&pmap)) {
1256 if (clipHandlesSprite(*fRC, ix, iy, pmap)) {
1259 SkBlitter* blitter = SkBlitter::ChooseSprite(fDst, *paint, pmap, ix, iy, &allocator);
1261 SkScan::FillIRect(SkIRect::MakeXYWH(ix, iy, pmap.width(), pmap.height()),
1306 SkPixmap pmap;
1307 if (!bitmap.peekPixels(&pmap)) {
1311 if (nullptr == paint.getColorFilter() && clipHandlesSprite(*fRC, x, y, pmap)) {
1314 SkBlitter* blitter = SkBlitter::ChooseSprite(fDst, paint, pmap, x, y, &allocator);