Home
last modified time | relevance | path

Searched refs:clippedSrcRect (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/src/gpu/geometry/
DGrRect.h109 SkIRect* clippedSrcRect, in GrClipSrcRectAndDstPoint() argument
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->fTop = 0; in GrClipSrcRectAndDstPoint()
130 clippedSrcRect->fTop -= clippedDstPoint->fY; in GrClipSrcRectAndDstPoint()
[all …]
/third_party/flutter/skia/src/gpu/geometry/
DGrRect.h103 SkIRect* clippedSrcRect, in GrClipSrcRectAndDstPoint() argument
105 *clippedSrcRect = srcRect; in GrClipSrcRectAndDstPoint()
109 if (clippedSrcRect->fLeft < 0) { in GrClipSrcRectAndDstPoint()
110 clippedDstPoint->fX -= clippedSrcRect->fLeft; in GrClipSrcRectAndDstPoint()
111 clippedSrcRect->fLeft = 0; in GrClipSrcRectAndDstPoint()
114 clippedSrcRect->fLeft -= clippedDstPoint->fX; in GrClipSrcRectAndDstPoint()
119 if (clippedSrcRect->fTop < 0) { in GrClipSrcRectAndDstPoint()
120 clippedDstPoint->fY -= clippedSrcRect->fTop; in GrClipSrcRectAndDstPoint()
121 clippedSrcRect->fTop = 0; in GrClipSrcRectAndDstPoint()
124 clippedSrcRect->fTop -= clippedDstPoint->fY; in GrClipSrcRectAndDstPoint()
[all …]
/third_party/flutter/skia/src/gpu/ops/
DGrCopySurfaceOp.cpp23 SkIRect clippedSrcRect; 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.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()
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/
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()
/third_party/flutter/skia/tests/
DReadPixelsTest.cpp182 SkIRect clippedSrcRect = DEV_RECT; in check_read() local
183 if (!clippedSrcRect.intersect(srcRect)) { in check_read()
184 clippedSrcRect.setEmpty(); in check_read()
193 if (clippedSrcRect.contains(devx, devy)) { in check_read()
224 if (clippedSrcRect.contains(devx, devy)) { in check_read()
/third_party/flutter/skia/src/gpu/
DSkGpuDevice.cpp689 SkRect clippedSrcRect = SkRect::Make(*clippedSrcIRect); in determine_clipped_src_rect() local
690 inv.mapRect(&clippedSrcRect); in determine_clipped_src_rect()
692 if (!clippedSrcRect.intersect(*srcRectPtr)) { in determine_clipped_src_rect()
697 clippedSrcRect.roundOut(clippedSrcIRect); in determine_clipped_src_rect()
854 SkRect clippedSrcRect = SkRect::Make(clippedSrcIRect); in drawTiledBitmap() local
866 if (!SkRect::Intersects(tileR, clippedSrcRect)) { in drawTiledBitmap()
1168 SkIRect clippedSrcRect; in drawBitmapRect() local
1190 &tileSize, &clippedSrcRect)) { in drawBitmapRect()
1191 this->drawTiledBitmap(bitmap, this->ctm(), srcToDstMatrix, *src, clippedSrcRect, in drawBitmapRect()
DSkGpuDevice.h193 const SkIRect& clippedSrcRect,
DGrRenderTargetContext.cpp2435 SkIRect clippedSrcRect; in blitTexture() local
2438 &clippedSrcRect, &clippedDstPoint)) { in blitTexture()
2453 SkRect::MakeXYWH(clippedDstPoint.fX, clippedDstPoint.fY, clippedSrcRect.width(), in blitTexture()
2454 clippedSrcRect.height()), in blitTexture()
2455 SkRect::Make(clippedSrcRect)); in blitTexture()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DFrameBufferMtl.mm405 FloatRectangle clippedSrcRect;
409 &clippedSrcRect, &clippedDstRect);
413 clippedDstRect, destAreaIn, clippedSrcRect, sourceAreaIn, &adjustedSrcRect);