Lines Matching refs:pSrc

89 			  PicturePtr pSrc,
109 uxa_composite_fallback_pict_desc(pSrc, srcdesc, 40);
241 uxa_try_driver_solid_fill(PicturePtr pSrc,
260 pSrcPix = uxa_get_drawable_pixmap (pSrc->pDrawable);
264 xSrc += pSrc->pDrawable->x;
265 ySrc += pSrc->pDrawable->y;
267 if (!miComputeCompositeRegion (&region, pSrc, NULL, pDst,
284 pSrc->format))
329 PicturePtr pSrc;
360 pSrc = CreatePicture (0, &pPixmap->drawable,
363 if (!pSrc) {
369 CompositePicture (PictOpSrc, pSrc, NULL, pPicture,
375 FreePicture (pSrc, 0);
515 PicturePtr pSrc,
528 !(*uxa_screen->info->check_composite) (op, pSrc, NULL, pDst))
537 pSrcPix = uxa_get_offscreen_pixmap(pSrc->pDrawable, &src_off_x, &src_off_y);
541 if (!(*uxa_screen->info->prepare_composite) (op, pSrc, NULL, pDst, pSrcPix,
549 INT16 xSrc = rects->xSrc + pSrc->pDrawable->x;
550 INT16 ySrc = rects->ySrc + pSrc->pDrawable->y;
556 if (!miComputeCompositeRegion (&region, pSrc, NULL, pDst,
602 PicturePtr pSrc,
612 ValidatePicture (pSrc);
615 if (uxa_try_driver_composite_rects(op, pSrc, pDst, nrect, rects) != 1) {
619 uxa_check_composite (op, pSrc, NULL, pDst,
634 PicturePtr pSrc,
658 pSrc, xSrc, ySrc, width, height,
668 if (localSrc != pSrc)
678 if (localSrc != pSrc)
690 if (localSrc != pSrc)
710 if (localSrc != pSrc)
725 if (localSrc != pSrc)
759 if (localSrc != pSrc)
818 PicturePtr pSrc,
835 (!(*uxa_screen->info->check_composite)(PictOpOutReverse, pSrc, pMask,
837 !(*uxa_screen->info->check_composite)(PictOpAdd, pSrc, pMask, pDst)))
846 uxa_composite(PictOpOutReverse, pSrc, pMask, pDst, xSrc, ySrc, xMask, yMask,
851 uxa_composite(PictOpAdd, pSrc, pMask, pDst, xSrc, ySrc, xMask, yMask,
859 PicturePtr pSrc,
873 Bool saveSrcRepeat = pSrc->repeat;
880 if (pSrc->pDrawable == NULL || (pMask && pMask->pDrawable == NULL))
884 if (pSrc->repeat && !pSrc->transform && xSrc >= 0 &&
885 (xSrc + width) <= pSrc->pDrawable->width && ySrc >= 0 &&
886 (ySrc + height) <= pSrc->pDrawable->height)
887 pSrc->repeat = 0;
892 ((pSrc->format == pDst->format) ||
893 (pSrc->format==PICT_a8r8g8b8 && pDst->format==PICT_x8r8g8b8) ||
894 (pSrc->format==PICT_a8b8g8r8 && pDst->format==PICT_x8b8g8r8))) ||
895 (op == PictOpOver && !pSrc->alphaMap && !pDst->alphaMap &&
896 pSrc->format == pDst->format &&
897 (pSrc->format==PICT_x8r8g8b8 || pSrc->format==PICT_x8b8g8r8)))
899 if (pSrc->pDrawable->width == 1 &&
900 pSrc->pDrawable->height == 1 &&
901 pSrc->repeat)
903 ret = uxa_try_driver_solid_fill(pSrc, pDst, xSrc, ySrc, xDst, yDst,
908 else if (pSrc->pDrawable != NULL &&
909 !pSrc->repeat &&
910 !pSrc->transform)
914 xSrc += pSrc->pDrawable->x;
915 ySrc += pSrc->pDrawable->y;
917 if (!miComputeCompositeRegion (&region, pSrc, pMask, pDst,
923 uxa_copy_n_to_n (pSrc->pDrawable, pDst->pDrawable, NULL,
930 else if (pSrc->pDrawable != NULL &&
931 pSrc->pDrawable->type == DRAWABLE_PIXMAP &&
932 !pSrc->transform &&
933 pSrc->repeatType == RepeatNormal)
938 if (uxa_screen->info->prepare_composite && !pSrc->alphaMap &&
941 ret = uxa_try_driver_composite(op, pSrc, pMask, pDst, xSrc,
951 xSrc += pSrc->pDrawable->x;
952 ySrc += pSrc->pDrawable->y;
954 if (!miComputeCompositeRegion (&region, pSrc, pMask, pDst, xSrc,
965 (PixmapPtr)pSrc->pDrawable,
984 !pSrc->alphaMap && (!pMask || !pMask->alphaMap) && !pDst->alphaMap)
988 ret = uxa_try_driver_composite(op, pSrc, pMask, pDst, xSrc, ySrc, xMask,
996 isSrcSolid = pSrc->pDrawable &&
997 pSrc->pDrawable->width == 1 &&
998 pSrc->pDrawable->height == 1 &&
999 pSrc->repeat;
1007 ret = uxa_try_magic_two_pass_composite_helper(op, pSrc, pMask, pDst,
1018 uxa_print_composite_fallback (op, pSrc, pMask, pDst);
1020 uxa_check_composite (op, pSrc, pMask, pDst, xSrc, ySrc,
1024 pSrc->repeat = saveSrcRepeat;
1086 uxa_trapezoids (CARD8 op, PicturePtr pSrc, PicturePtr pDst,
1093 Bool direct = op == PictOpAdd && miIsSolidAlpha (pSrc);
1154 CompositePicture (op, pSrc, pPicture, pDst,
1167 uxa_trapezoids (op, pSrc, pDst, maskFormat, xSrc, ySrc, 1, traps);
1185 uxa_triangles (CARD8 op, PicturePtr pSrc, PicturePtr pDst,
1192 Bool direct = op == PictOpAdd && miIsSolidAlpha (pSrc);
1251 CompositePicture (op, pSrc, pPicture, pDst,
1264 uxa_triangles (op, pSrc, pDst, maskFormat, xSrc, ySrc, 1, tris);