Lines Matching defs:pRegion
270 miClipPictureReg (pixman_region16_t * pRegion,
275 if (pixman_region_n_rects(pRegion) == 1 &&
278 pixman_box16_t * pRbox = pixman_region_rectangles(pRegion, NULL);
293 pixman_region_init (pRegion);
301 pixman_region_translate (pRegion, -dx, -dy);
302 if (!pixman_region_intersect (pRegion, pRegion, pClip))
305 pixman_region_translate(pRegion, dx, dy);
307 return pixman_region_not_empty(pRegion);
311 miClipPictureSrc (RegionPtr pRegion,
324 result = RegionIntersect(pRegion, pRegion, pPicture->clientClip);
400 miComputeCompositeRegion (RegionPtr pRegion,
416 pRegion->extents.x1 = xDst;
418 pRegion->extents.x2 = BOUND(v);
419 pRegion->extents.y1 = yDst;
421 pRegion->extents.y2 = BOUND(v);
422 pRegion->data = 0;
424 if (pRegion->extents.x1 >= pRegion->extents.x2 ||
425 pRegion->extents.y1 >= pRegion->extents.y2)
427 pixman_region_init (pRegion);
431 if (!miClipPictureReg (pRegion, pDst->pCompositeClip, 0, 0))
433 pixman_region_fini (pRegion);
438 if (!miClipPictureReg (pRegion, pDst->alphaMap->pCompositeClip,
442 pixman_region_fini (pRegion);
447 if (!miClipPictureSrc (pRegion, pSrc, xDst - xSrc, yDst - ySrc))
449 pixman_region_fini (pRegion);
454 if (!miClipPictureSrc (pRegion, pSrc->alphaMap,
458 pixman_region_fini (pRegion);
465 if (!miClipPictureSrc (pRegion, pMask, xDst - xMask, yDst - yMask))
467 pixman_region_fini (pRegion);
472 if (!miClipPictureSrc (pRegion, pMask->alphaMap,
476 pixman_region_fini (pRegion);