Home
last modified time | relevance | path

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

/third_party/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 …]
/third_party/skia/src/gpu/v1/
DSurfaceFillContext_v1.cpp239 SkIPoint clippedDstPoint; in blitTexture() local
245 &clippedDstPoint)) { in blitTexture()
250 auto dstRect = SkIRect::MakePtSize(clippedDstPoint, clippedSrcRect.size()); in blitTexture()