Home
last modified time | relevance | path

Searched refs:clippedDstPoint (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/ops/
DGrCopySurfaceOp.cpp21 SkIPoint* clippedDstPoint) { in clip_src_rect_and_dst_point() argument
23 *clippedDstPoint = dstPoint; in clip_src_rect_and_dst_point()
27 clippedDstPoint->fX -= clippedSrcRect->fLeft; in clip_src_rect_and_dst_point()
30 if (clippedDstPoint->fX < 0) { in clip_src_rect_and_dst_point()
31 clippedSrcRect->fLeft -= clippedDstPoint->fX; in clip_src_rect_and_dst_point()
32 clippedDstPoint->fX = 0; in clip_src_rect_and_dst_point()
37 clippedDstPoint->fY -= clippedSrcRect->fTop; in clip_src_rect_and_dst_point()
40 if (clippedDstPoint->fY < 0) { in clip_src_rect_and_dst_point()
41 clippedSrcRect->fTop -= clippedDstPoint->fY; in clip_src_rect_and_dst_point()
42 clippedDstPoint->fY = 0; in clip_src_rect_and_dst_point()
[all …]
/external/skqp/src/gpu/ops/
DGrCopySurfaceOp.cpp21 SkIPoint* clippedDstPoint) { in clip_src_rect_and_dst_point() argument
23 *clippedDstPoint = dstPoint; in clip_src_rect_and_dst_point()
27 clippedDstPoint->fX -= clippedSrcRect->fLeft; in clip_src_rect_and_dst_point()
30 if (clippedDstPoint->fX < 0) { in clip_src_rect_and_dst_point()
31 clippedSrcRect->fLeft -= clippedDstPoint->fX; in clip_src_rect_and_dst_point()
32 clippedDstPoint->fX = 0; in clip_src_rect_and_dst_point()
37 clippedDstPoint->fY -= clippedSrcRect->fTop; in clip_src_rect_and_dst_point()
40 if (clippedDstPoint->fY < 0) { in clip_src_rect_and_dst_point()
41 clippedSrcRect->fTop -= clippedDstPoint->fY; in clip_src_rect_and_dst_point()
42 clippedDstPoint->fY = 0; in clip_src_rect_and_dst_point()
[all …]