Home
last modified time | relevance | path

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

/external/skia/src/gpu/ops/
DGrCopySurfaceOp.cpp16 SkIRect* clippedSrcRect, in clip_src_rect_and_dst_point() argument
18 *clippedSrcRect = srcRect; in clip_src_rect_and_dst_point()
22 if (clippedSrcRect->fLeft < 0) { in clip_src_rect_and_dst_point()
23 clippedDstPoint->fX -= clippedSrcRect->fLeft; in clip_src_rect_and_dst_point()
24 clippedSrcRect->fLeft = 0; in clip_src_rect_and_dst_point()
27 clippedSrcRect->fLeft -= clippedDstPoint->fX; in clip_src_rect_and_dst_point()
32 if (clippedSrcRect->fTop < 0) { in clip_src_rect_and_dst_point()
33 clippedDstPoint->fY -= clippedSrcRect->fTop; in clip_src_rect_and_dst_point()
34 clippedSrcRect->fTop = 0; in clip_src_rect_and_dst_point()
37 clippedSrcRect->fTop -= clippedDstPoint->fY; in clip_src_rect_and_dst_point()
[all …]
/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp103 SkRect clippedSrcRect; in drawTextureProducer() local
112 clippedSrcRect = *srcRect; in drawTextureProducer()
113 if (!clippedSrcRect.intersect(srcBounds)) { in drawTextureProducer()
119 srcToDstMatrix.mapRect(&clippedDstRect, clippedSrcRect); in drawTextureProducer()
121 clippedSrcRect = *srcRect; in drawTextureProducer()
128 clippedSrcRect = srcBounds; in drawTextureProducer()
143 this->drawTextureProducerImpl(producer, clippedSrcRect, clippedDstRect, constraint, viewMatrix, in drawTextureProducer()
148 const SkRect& clippedSrcRect, in drawTextureProducerImpl() argument
188 if (can_ignore_bilerp_constraint(*producer, clippedSrcRect, combinedMatrix, in drawTextureProducerImpl()
205 *textureMatrix, clippedSrcRect, constraintMode, coordsAllInsideSrcRect, filterMode, in drawTextureProducerImpl()
[all …]
DSkGpuDevice.cpp719 SkRect clippedSrcRect = SkRect::Make(*clippedSrcIRect); in determine_clipped_src_rect() local
720 inv.mapRect(&clippedSrcRect); in determine_clipped_src_rect()
722 if (!clippedSrcRect.intersect(*srcRectPtr)) { in determine_clipped_src_rect()
727 clippedSrcRect.roundOut(clippedSrcIRect); in determine_clipped_src_rect()
844 SkIRect clippedSrcRect; in drawBitmap() local
866 &tileSize, &clippedSrcRect)) { in drawBitmap()
867 this->drawTiledBitmap(bitmap, viewMatrix, SkMatrix::I(), srcRect, clippedSrcRect, in drawBitmap()
937 SkRect clippedSrcRect = SkRect::Make(clippedSrcIRect); in drawTiledBitmap() local
949 if (!SkRect::Intersects(tileR, clippedSrcRect)) { in drawTiledBitmap()
1210 SkIRect clippedSrcRect; in drawBitmapRect() local
[all …]
DSkGpuDevice.h189 const SkIRect& clippedSrcRect,
216 const SkRect& clippedSrcRect,
/external/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()
221 if (clippedSrcRect.contains(devx, devy)) { in check_read()