Lines Matching refs:srcX
361 lx_do_copy(PixmapPtr pxDst, int srcX, int srcY,
369 gp_declare_blt(lx_copy_flags(srcX, srcY, dstX, dstY, w, h, exaScratch.op));
372 (exaScratch.srcBpp) * srcX;
376 if (dstX > srcX)
826 int opX, int opY, int srcX, int srcY)
842 if (opX % 4 == 0 && srcX % 4 == 0) {
856 for (i = srcX + (width / 4) * 4; i < srcX + width; i++) {
858 optempX = opX + i - srcX;
870 for (i = srcX; i < srcX + width; i++) {
872 optempX = opX + i - srcX;
931 int opY, int srcX, int srcY)
942 /* Make sure srcX and srcY are in source region */
943 srcX = ((srcX % (int) exaScratch.srcWidth) + (int) exaScratch.srcWidth)
948 opWidth = exaScratch.srcWidth - srcX;
951 srcOffset = GetSrcOffset(srcX, srcY);
984 srcOffset = GetSrcOffset(srcX, 0);
985 opWidth = ((opX + width) - optempX) > (exaScratch.srcWidth - srcX)
986 ? (exaScratch.srcWidth - srcX) : ((opX + width) - optempX);
1222 lx_do_composite(PixmapPtr pxDst, int srcX, int srcY, int maskX,
1241 srcPoint.x = F(srcX);
1245 /* srcX, srcY point to the upper right side of the bounding box
1262 srcX += width;
1312 /* This is the condition srcX or/and srcY is/are out of source
1315 || (srcX >= 0 && srcX >= exaScratch.srcWidth)) &&
1330 /* This is the condition srcX or/and srcY is/are in the source
1333 else if (srcX >= 0 && srcY >= 0 &&
1341 if ((exaScratch.srcWidth - srcX) < opWidth)
1342 opWidth = exaScratch.srcWidth - srcX;
1346 /* This is the condition srcX or/and srcY is/are negative */
1348 else if ((srcX < 0 || srcY < 0) &&
1356 /* FIXME: We can't support negative srcX/Y for all corner cases in
1365 if (srcX < 0) {
1366 opX -= srcX;
1367 srcX = 0;
1394 if ((exaScratch.srcHeight - srcX) < opHeight)
1395 opHeight = exaScratch.srcHeight - srcX;
1424 srcX, srcY);
1431 opWidth, opHeight, opX, opY, srcX,
1472 if (srcX >= 0 && srcY >= 0 && (exaScratch.op == PictOpOver ||
1477 (exaScratch.srcWidth - srcX) ? (exaScratch.srcWidth -
1478 srcX) : (dstX + width)
1496 (exaScratch.srcHeight - srcX) ? (exaScratch.srcHeight -
1497 srcX) : (dstY + height) -
1505 * but this will likely interfere with cases where srcX and/or srcY