Home
last modified time | relevance | path

Searched refs:clippedSrcRect (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/src/gpu/geometry/
H A DGrRect.h102 * width/height). Returns false otherwise. The clipped values are returned in clippedSrcRect and
109 SkIRect* clippedSrcRect, in GrClipSrcRectAndDstPoint()
111 *clippedSrcRect = srcRect; in GrClipSrcRectAndDstPoint()
115 if (clippedSrcRect->fLeft < 0) { in GrClipSrcRectAndDstPoint()
116 clippedDstPoint->fX -= clippedSrcRect->fLeft; in GrClipSrcRectAndDstPoint()
117 clippedSrcRect->fLeft = 0; in GrClipSrcRectAndDstPoint()
120 clippedSrcRect->fLeft -= clippedDstPoint->fX; in GrClipSrcRectAndDstPoint()
125 if (clippedSrcRect->fTop < 0) { in GrClipSrcRectAndDstPoint()
126 clippedDstPoint->fY -= clippedSrcRect->fTop; in GrClipSrcRectAndDstPoint()
127 clippedSrcRect in GrClipSrcRectAndDstPoint()
105 GrClipSrcRectAndDstPoint(const SkISize& dstSize, const SkISize& srcSize, const SkIRect& srcRect, const SkIPoint& dstPoint, SkIRect* clippedSrcRect, SkIPoint* clippedDstPoint) GrClipSrcRectAndDstPoint() argument
[all...]
/third_party/skia/src/gpu/v1/
H A DSurfaceFillContext_v1.cpp238 SkIRect clippedSrcRect; in blitTexture() local
244 &clippedSrcRect, in blitTexture()
250 auto dstRect = SkIRect::MakePtSize(clippedDstPoint, clippedSrcRect.size()); in blitTexture()
251 auto srcRectF = SkRect::Make(clippedSrcRect); in blitTexture()
H A DDevice_drawTexture.cpp143 SkRect clippedSrcRect = SkRect::Make(clippedSrcIRect); in determine_clipped_src_rect() local
144 inv.mapRect(&clippedSrcRect); in determine_clipped_src_rect()
146 if (!clippedSrcRect.intersect(*srcRectPtr)) { in determine_clipped_src_rect()
150 clippedSrcRect.roundOut(&clippedSrcIRect); in determine_clipped_src_rect()
583 SkRect clippedSrcRect = SkRect::Make(clippedSrcIRect); in draw_tiled_bitmap() local
594 if (!SkRect::Intersects(tileR, clippedSrcRect)) { in draw_tiled_bitmap()
/third_party/skia/tests/
H A DReadPixelsTest.cpp176 SkIRect clippedSrcRect = DEV_RECT; in check_read() local
177 if (!clippedSrcRect.intersect(srcRect)) { in check_read()
178 clippedSrcRect.setEmpty(); in check_read()
187 if (clippedSrcRect.contains(devx, devy)) { in check_read()
218 if (clippedSrcRect.contains(devx, devy)) { in check_read()

Completed in 4 milliseconds