Searched defs:clippedSrcRect (Results 1 - 3 of 3) sorted by relevance

/external/skia/src/gpu/
H A DGrDrawTarget.cpp377 SkIRect* clippedSrcRect,
379 *clippedSrcRect = srcRect;
383 if (clippedSrcRect->fLeft < 0) {
384 clippedDstPoint->fX -= clippedSrcRect->fLeft;
385 clippedSrcRect->fLeft = 0;
388 clippedSrcRect->fLeft -= clippedDstPoint->fX;
393 if (clippedSrcRect->fTop < 0) {
394 clippedDstPoint->fY -= clippedSrcRect->fTop;
395 clippedSrcRect->fTop = 0;
398 clippedSrcRect
373 clip_srcrect_and_dstpoint(const GrSurface* dst, const GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint, SkIRect* clippedSrcRect, SkIPoint* clippedDstPoint) argument
431 SkIRect clippedSrcRect; local
477 SkIRect clippedSrcRect; local
[all...]
H A DSkGpuDevice.cpp956 SkRect clippedSrcRect = SkRect::Make(*clippedSrcIRect); local
957 inv.mapRect(&clippedSrcRect);
960 clippedSrcRect.offset(srcRectPtr->fLeft, srcRectPtr->fTop);
961 if (!clippedSrcRect.intersect(*srcRectPtr)) {
966 clippedSrcRect.roundOut(clippedSrcIRect);
979 SkIRect* clippedSrcRect) const {
988 srcRectPtr, clippedSrcRect);
989 *tileSize = determine_tile_size(bitmap, *clippedSrcRect, maxTileSize);
1018 clippedSrcRect);
1020 size_t usedTileBytes = get_tile_count(*clippedSrcRect, kBmpSmallTileSiz
1306 SkIRect clippedSrcRect; local
1345 SkRect clippedSrcRect = SkRect::Make(clippedSrcIRect); local
[all...]
/external/skia/tests/
H A DReadPixelsTest.cpp170 SkIRect clippedSrcRect = DEV_RECT; local
171 if (!clippedSrcRect.intersect(srcRect)) {
172 clippedSrcRect.setEmpty();
182 if (clippedSrcRect.contains(devx, devy)) {

Completed in 279 milliseconds