Home
last modified time | relevance | path

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

/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 …]
/external/skia/src/gpu/geometry/
DGrRect.h110 SkIPoint* clippedDstPoint) { in GrClipSrcRectAndDstPoint() argument
112 *clippedDstPoint = dstPoint; in GrClipSrcRectAndDstPoint()
116 clippedDstPoint->fX -= clippedSrcRect->fLeft; in GrClipSrcRectAndDstPoint()
119 if (clippedDstPoint->fX < 0) { in GrClipSrcRectAndDstPoint()
120 clippedSrcRect->fLeft -= clippedDstPoint->fX; in GrClipSrcRectAndDstPoint()
121 clippedDstPoint->fX = 0; in GrClipSrcRectAndDstPoint()
126 clippedDstPoint->fY -= clippedSrcRect->fTop; in GrClipSrcRectAndDstPoint()
129 if (clippedDstPoint->fY < 0) { in GrClipSrcRectAndDstPoint()
130 clippedSrcRect->fTop -= clippedDstPoint->fY; in GrClipSrcRectAndDstPoint()
131 clippedDstPoint->fY = 0; in GrClipSrcRectAndDstPoint()
[all …]
/external/skia/src/gpu/
DGrSurfaceFillContext.cpp443 SkIPoint clippedDstPoint; in blitTexture() local
449 &clippedDstPoint)) { in blitTexture()
454 auto dstRect = SkIRect::MakePtSize(clippedDstPoint, clippedSrcRect.size()); in blitTexture()