Lines Matching refs:pSrc
162 PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst)
174 uxa_composite_fallback_pict_desc(pSrc, srcdesc, 40);
363 uxa_try_driver_solid_fill(PicturePtr pSrc,
387 if (pSrc->pDrawable) {
388 pSrcPix = uxa_get_drawable_pixmap(pSrc->pDrawable);
389 xSrc += pSrc->pDrawable->x;
390 ySrc += pSrc->pDrawable->y;
393 if (!miComputeCompositeRegion(®ion, pSrc, NULL, pDst,
399 if (! uxa_get_color_for_pixmap (pSrcPix, pSrc->format, pDst->format, &pixel)) {
404 SourcePict *source = pSrc->pSourcePict;
673 PicturePtr pSrc,
679 if (pSrc->pSourcePict) {
680 SourcePict *source = pSrc->pSourcePict;
690 fbComposite(PictOpSrc, pSrc, NULL, pDst,
766 PicturePtr pSrc,
777 depth = pSrc->pDrawable->depth;
779 pSrc->filter == PictFilterConvolution || /* XXX */
780 !transform_is_integer_translation(pSrc->transform, &tx, &ty)) {
782 pDst = uxa_render_picture(pScreen, pSrc,
783 pSrc->format | (BitsPerPixel(pSrc->pDrawable->depth) << 24),
788 if (width == pSrc->pDrawable->width && height == pSrc->pDrawable->depth) {
789 *out_x = x + pSrc->pDrawable->x;
790 *out_y = y + pSrc->pDrawable->y;
791 return pSrc;
814 pGC->ops->CopyArea(pSrc->pDrawable, &pPixmap->drawable, pGC,
819 PictureMatchFormat(pScreen, depth, pSrc->format),
825 pDst->componentAlpha = pSrc->componentAlpha;
1077 PicturePtr pSrc,
1097 !(*uxa_screen->info->check_composite) (op, pSrc, pMask, pDst, width, height))
1154 localSrc = uxa_acquire_source(screen, pSrc,
1170 if (localSrc != pSrc)
1182 if (localSrc != pSrc)
1198 if (localSrc != pSrc)
1218 if (localSrc != pSrc)
1236 if (localSrc != pSrc)
1272 if (localSrc != pSrc)
1345 PicturePtr pSrc,
1361 (!(*uxa_screen->info->check_composite) (PictOpOutReverse, pSrc,
1363 || !(*uxa_screen->info->check_composite) (PictOpAdd, pSrc, pMask,
1415 uxa_composite(PictOpOutReverse, pSrc, pMask, localDst,
1423 uxa_composite(PictOpAdd, pSrc, pMask, localDst,
1494 PicturePtr pSrc,
1504 Bool saveSrcRepeat = pSrc->repeat;
1515 if (pDst->alphaMap || pSrc->alphaMap || (pMask && pMask->alphaMap))
1519 if (pSrc->pDrawable && pSrc->repeat && pSrc->filter != PictFilterConvolution &&
1520 transform_is_integer_translation(pSrc->transform, &tx, &ty) &&
1521 (pSrc->pDrawable->width > 1 || pSrc->pDrawable->height > 1) &&
1522 drawable_contains(pSrc->pDrawable, xSrc + tx, ySrc + ty, width, height))
1523 pSrc->repeat = 0;
1536 if (pSrc->pDrawable == NULL) {
1537 if (pSrc->pSourcePict) {
1538 SourcePict *source = pSrc->pSourcePict;
1543 ret = uxa_try_driver_solid_fill(pSrc, pDst,
1552 } else if (pSrc->pDrawable->width == 1 &&
1553 pSrc->pDrawable->height == 1 &&
1554 pSrc->repeat &&
1555 (op == PictOpSrc || (op == PictOpOver && !PICT_FORMAT_A(pSrc->format)))) {
1556 ret = uxa_try_driver_solid_fill(pSrc, pDst,
1562 } else if (compatible_formats (op, pDst, pSrc) &&
1563 pSrc->filter != PictFilterConvolution &&
1564 transform_is_integer_translation(pSrc->transform, &tx, &ty)) {
1565 if (!pSrc->repeat &&
1566 drawable_contains(pSrc->pDrawable,
1571 xSrc += pSrc->pDrawable->x + tx;
1572 ySrc += pSrc->pDrawable->y + ty;
1575 (®ion, pSrc, pMask, pDst, xSrc, ySrc,
1579 uxa_copy_n_to_n(pSrc->pDrawable,
1588 } else if (pSrc->repeat && pSrc->repeatType == RepeatNormal &&
1589 pSrc->pDrawable->type == DRAWABLE_PIXMAP) {
1596 ret = uxa_try_driver_composite(op, pSrc,
1611 xSrc += pSrc->pDrawable->x + tx;
1612 ySrc += pSrc->pDrawable->y + ty;
1615 (®ion, pSrc, pMask, pDst, xSrc, ySrc,
1627 (PixmapPtr) pSrc->
1652 uxa_try_driver_composite(op, pSrc, pMask, pDst, xSrc, ySrc,
1663 pSrc->pDrawable ?
1664 pSrc->pDrawable->width == 1 &&
1665 pSrc->pDrawable->height == 1 &&
1666 pSrc->repeat :
1667 pSrc->pSourcePict ?
1668 pSrc->pSourcePict->type == SourcePictTypeSolidFill :
1678 uxa_try_magic_two_pass_composite_helper(op, pSrc,
1692 op, pSrc, pMask, pDst);
1694 uxa_check_composite(op, pSrc, pMask, pDst, xSrc, ySrc,
1698 pSrc->repeat = saveSrcRepeat;
1879 uxa_triangles(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
1886 Bool direct = op == PictOpAdd && miIsSolidAlpha(pSrc);
1943 CompositePicture(op, pSrc, pPicture, pDst,
1954 uxa_triangles(op, pSrc, pDst, maskFormat, xSrc, ySrc, 1,