Home
last modified time | relevance | path

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

/external/skia/src/gpu/batches/
DGrCopySurfaceBatch.cpp17 SkIPoint* clippedDstPoint) { in ClipSrcRectAndDstPoint() argument
19 *clippedDstPoint = dstPoint; in ClipSrcRectAndDstPoint()
23 clippedDstPoint->fX -= clippedSrcRect->fLeft; in ClipSrcRectAndDstPoint()
26 if (clippedDstPoint->fX < 0) { in ClipSrcRectAndDstPoint()
27 clippedSrcRect->fLeft -= clippedDstPoint->fX; in ClipSrcRectAndDstPoint()
28 clippedDstPoint->fX = 0; in ClipSrcRectAndDstPoint()
33 clippedDstPoint->fY -= clippedSrcRect->fTop; in ClipSrcRectAndDstPoint()
36 if (clippedDstPoint->fY < 0) { in ClipSrcRectAndDstPoint()
37 clippedSrcRect->fTop -= clippedDstPoint->fY; in ClipSrcRectAndDstPoint()
38 clippedDstPoint->fY = 0; in ClipSrcRectAndDstPoint()
[all …]
DGrCopySurfaceBatch.h28 SkIPoint* clippedDstPoint);
/external/skia/src/gpu/
DGrContext.cpp528 SkIPoint clippedDstPoint; in copySurface() local
530 &clippedSrcRect, &clippedDstPoint)) { in copySurface()
539 return fGpu->copySurface(dst, src, clippedSrcRect, clippedDstPoint); in copySurface()