Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/geometry/
DGrRect.h104 SkIPoint* clippedDstPoint) { in GrClipSrcRectAndDstPoint() argument
106 *clippedDstPoint = dstPoint; in GrClipSrcRectAndDstPoint()
110 clippedDstPoint->fX -= clippedSrcRect->fLeft; in GrClipSrcRectAndDstPoint()
113 if (clippedDstPoint->fX < 0) { in GrClipSrcRectAndDstPoint()
114 clippedSrcRect->fLeft -= clippedDstPoint->fX; in GrClipSrcRectAndDstPoint()
115 clippedDstPoint->fX = 0; in GrClipSrcRectAndDstPoint()
120 clippedDstPoint->fY -= clippedSrcRect->fTop; in GrClipSrcRectAndDstPoint()
123 if (clippedDstPoint->fY < 0) { in GrClipSrcRectAndDstPoint()
124 clippedSrcRect->fTop -= clippedDstPoint->fY; in GrClipSrcRectAndDstPoint()
125 clippedDstPoint->fY = 0; in GrClipSrcRectAndDstPoint()
[all …]
/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/flutter/skia/src/gpu/ops/
DGrCopySurfaceOp.cpp24 SkIPoint clippedDstPoint; in Make() local
27 &clippedSrcRect, &clippedDstPoint)) { in Make()
36 return pool->allocate<GrCopySurfaceOp>(srcProxy, dstProxy, clippedSrcRect, clippedDstPoint); in Make()
/third_party/skia/src/gpu/v1/
DSurfaceFillContext_v1.cpp235 SkIPoint clippedDstPoint; in blitTexture() local
241 &clippedDstPoint)) { in blitTexture()
246 auto dstRect = SkIRect::MakePtSize(clippedDstPoint, clippedSrcRect.size()); in blitTexture()
/third_party/flutter/skia/src/gpu/
DGrRenderTargetContext.cpp2428 SkIPoint clippedDstPoint; in blitTexture() local
2430 &clippedSrcRect, &clippedDstPoint)) { in blitTexture()
2445 SkRect::MakeXYWH(clippedDstPoint.fX, clippedDstPoint.fY, clippedSrcRect.width(), in blitTexture()