Lines Matching refs:pSrc
165 PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst)
177 uxa_composite_fallback_pict_desc(pSrc, srcdesc, 40);
368 uxa_try_driver_solid_fill(PicturePtr pSrc,
392 if (pSrc->pDrawable) {
393 pSrcPix = uxa_get_drawable_pixmap(pSrc->pDrawable);
394 xSrc += pSrc->pDrawable->x;
395 ySrc += pSrc->pDrawable->y;
398 if (!miComputeCompositeRegion(®ion, pSrc, NULL, pDst,
404 if (! uxa_get_color_for_pixmap (pSrcPix, pSrc->format, pDst->format, &pixel)) {
409 SourcePict *source = pSrc->pSourcePict;
683 PicturePtr pSrc,
689 if (pSrc->pSourcePict) {
690 SourcePict *source = pSrc->pSourcePict;
700 fbComposite(PictOpSrc, pSrc, NULL, pDst,
791 PicturePtr pSrc,
802 depth = pSrc->pDrawable->depth;
803 if (!transform_is_integer_translation(pSrc->transform, &tx, &ty) ||
804 !drawable_contains(pSrc->pDrawable, x + tx, y + ty, width, height) ||
806 pSrc->filter == PictFilterConvolution) {
808 pDst = uxa_render_picture(pScreen, pSrc,
809 pSrc->format | (BitsPerPixel(pSrc->pDrawable->depth) << 24),
816 if (width == pSrc->pDrawable->width && height == pSrc->pDrawable->height) {
817 *out_x = x + pSrc->pDrawable->x;
818 *out_y = y + pSrc->pDrawable->y;
819 return pSrc;
842 pGC->ops->CopyArea(pSrc->pDrawable, &pPixmap->drawable, pGC,
847 PictureMatchFormat(pScreen, depth, pSrc->format),
855 pDst->componentAlpha = pSrc->componentAlpha;
938 PicturePtr pSrc,
958 !(*uxa_screen->info->check_composite) (op, pSrc, pMask, pDst, width, height))
1015 localSrc = uxa_acquire_source(screen, pSrc,
1031 if (localSrc != pSrc)
1043 if (localSrc != pSrc)
1058 if (localSrc != pSrc)
1074 if (localSrc != pSrc)
1089 if (localSrc != pSrc)
1125 if (localSrc != pSrc)
1198 PicturePtr pSrc,
1214 (!(*uxa_screen->info->check_composite) (PictOpOutReverse, pSrc,
1216 || !(*uxa_screen->info->check_composite) (PictOpAdd, pSrc, pMask,
1268 uxa_composite(PictOpOutReverse, pSrc, pMask, localDst,
1276 uxa_composite(PictOpAdd, pSrc, pMask, localDst,
1332 PicturePtr pSrc,
1342 Bool saveSrcRepeat = pSrc->repeat;
1353 if (pDst->alphaMap || pSrc->alphaMap || (pMask && pMask->alphaMap))
1357 if (pSrc->pDrawable && pSrc->repeat && pSrc->filter != PictFilterConvolution &&
1358 transform_is_integer_translation(pSrc->transform, &tx, &ty) &&
1359 (pSrc->pDrawable->width > 1 || pSrc->pDrawable->height > 1) &&
1360 drawable_contains(pSrc->pDrawable, xSrc + tx, ySrc + ty, width, height))
1361 pSrc->repeat = 0;
1374 if (pSrc->pDrawable == NULL) {
1375 if (pSrc->pSourcePict) {
1376 SourcePict *source = pSrc->pSourcePict;
1381 ret = uxa_try_driver_solid_fill(pSrc, pDst,
1390 } else if (pSrc->pDrawable->width == 1 &&
1391 pSrc->pDrawable->height == 1 &&
1392 pSrc->repeat &&
1393 (op == PictOpSrc || (op == PictOpOver && !PICT_FORMAT_A(pSrc->format)))) {
1394 ret = uxa_try_driver_solid_fill(pSrc, pDst,
1400 } else if (compatible_formats (op, pDst, pSrc) &&
1401 pSrc->filter != PictFilterConvolution &&
1402 transform_is_integer_translation(pSrc->transform, &tx, &ty)) {
1403 if (!pSrc->repeat &&
1404 drawable_contains(pSrc->pDrawable,
1409 xSrc += pSrc->pDrawable->x + tx;
1410 ySrc += pSrc->pDrawable->y + ty;
1413 (®ion, pSrc, pMask, pDst, xSrc, ySrc,
1417 uxa_copy_n_to_n(pSrc->pDrawable,
1426 } else if (pSrc->repeat && pSrc->repeatType == RepeatNormal &&
1427 pSrc->pDrawable->type == DRAWABLE_PIXMAP) {
1434 ret = uxa_try_driver_composite(op, pSrc,
1449 xSrc += pSrc->pDrawable->x + tx;
1450 ySrc += pSrc->pDrawable->y + ty;
1453 (®ion, pSrc, pMask, pDst, xSrc, ySrc,
1465 (PixmapPtr) pSrc->
1490 uxa_try_driver_composite(op, pSrc, pMask, pDst, xSrc, ySrc,
1501 pSrc->pDrawable ?
1502 pSrc->pDrawable->width == 1 &&
1503 pSrc->pDrawable->height == 1 &&
1504 pSrc->repeat :
1505 pSrc->pSourcePict ?
1506 pSrc->pSourcePict->type == SourcePictTypeSolidFill :
1516 uxa_try_magic_two_pass_composite_helper(op, pSrc,
1530 op, pSrc, pMask, pDst);
1532 uxa_check_composite(op, pSrc, pMask, pDst, xSrc, ySrc,
1536 pSrc->repeat = saveSrcRepeat;
1889 uxa_triangles(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
1900 uxa_check_triangles(op, pSrc, pDst, maskFormat,
1905 direct = op == PictOpAdd && miIsSolidAlpha(pSrc);
1961 CompositePicture(op, pSrc, pPicture, pDst,
1972 uxa_triangles(op, pSrc, pDst, maskFormat, xSrc, ySrc, 1,