Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/src/gpu/
DGrDrawTarget.cpp863 SkIRect* clippedSrcRect, in clip_srcrect_and_dstpoint() argument
865 *clippedSrcRect = srcRect; in clip_srcrect_and_dstpoint()
869 if (clippedSrcRect->fLeft < 0) { in clip_srcrect_and_dstpoint()
870 clippedDstPoint->fX -= clippedSrcRect->fLeft; in clip_srcrect_and_dstpoint()
871 clippedSrcRect->fLeft = 0; in clip_srcrect_and_dstpoint()
874 clippedSrcRect->fLeft -= clippedDstPoint->fX; in clip_srcrect_and_dstpoint()
879 if (clippedSrcRect->fTop < 0) { in clip_srcrect_and_dstpoint()
880 clippedDstPoint->fY -= clippedSrcRect->fTop; in clip_srcrect_and_dstpoint()
881 clippedSrcRect->fTop = 0; in clip_srcrect_and_dstpoint()
884 clippedSrcRect->fTop -= clippedDstPoint->fY; in clip_srcrect_and_dstpoint()
[all …]
DSkGpuDevice.cpp862 SkRect clippedSrcRect = SkRect::Make(*clippedSrcIRect); in determine_clipped_src_rect() local
863 inv.mapRect(&clippedSrcRect); in determine_clipped_src_rect()
866 clippedSrcRect.offset(srcRectPtr->fLeft, srcRectPtr->fTop); in determine_clipped_src_rect()
867 if (!clippedSrcRect.intersect(*srcRectPtr)) { in determine_clipped_src_rect()
872 clippedSrcRect.roundOut(clippedSrcIRect); in determine_clipped_src_rect()
884 SkIRect* clippedSrcRect) const { in shouldTileBitmap()
892 determine_clipped_src_rect(fContext, bitmap, srcRectPtr, clippedSrcRect); in shouldTileBitmap()
893 *tileSize = determine_tile_size(bitmap, *clippedSrcRect, maxTileSize); in shouldTileBitmap()
921 determine_clipped_src_rect(fContext, bitmap, srcRectPtr, clippedSrcRect); in shouldTileBitmap()
923 size_t usedTileBytes = get_tile_count(*clippedSrcRect, kBmpSmallTileSize) * in shouldTileBitmap()
[all …]
DSkGpuDevice.h185 SkIRect* clippedSrcRect) const;
195 const SkIRect& clippedSrcRect,
/external/skia/src/gpu/
DGrDrawTarget.cpp890 SkIRect* clippedSrcRect, in clip_srcrect_and_dstpoint() argument
892 *clippedSrcRect = srcRect; in clip_srcrect_and_dstpoint()
896 if (clippedSrcRect->fLeft < 0) { in clip_srcrect_and_dstpoint()
897 clippedDstPoint->fX -= clippedSrcRect->fLeft; in clip_srcrect_and_dstpoint()
898 clippedSrcRect->fLeft = 0; in clip_srcrect_and_dstpoint()
901 clippedSrcRect->fLeft -= clippedDstPoint->fX; in clip_srcrect_and_dstpoint()
906 if (clippedSrcRect->fTop < 0) { in clip_srcrect_and_dstpoint()
907 clippedDstPoint->fY -= clippedSrcRect->fTop; in clip_srcrect_and_dstpoint()
908 clippedSrcRect->fTop = 0; in clip_srcrect_and_dstpoint()
911 clippedSrcRect->fTop -= clippedDstPoint->fY; in clip_srcrect_and_dstpoint()
[all …]
DSkGpuDevice.cpp893 SkRect clippedSrcRect = SkRect::Make(*clippedSrcIRect); in determine_clipped_src_rect() local
894 inv.mapRect(&clippedSrcRect); in determine_clipped_src_rect()
897 clippedSrcRect.offset(srcRectPtr->fLeft, srcRectPtr->fTop); in determine_clipped_src_rect()
898 if (!clippedSrcRect.intersect(*srcRectPtr)) { in determine_clipped_src_rect()
903 clippedSrcRect.roundOut(clippedSrcIRect); in determine_clipped_src_rect()
915 SkIRect* clippedSrcRect) const { in shouldTileBitmap()
923 determine_clipped_src_rect(fContext, bitmap, srcRectPtr, clippedSrcRect); in shouldTileBitmap()
924 *tileSize = determine_tile_size(bitmap, *clippedSrcRect, maxTileSize); in shouldTileBitmap()
952 determine_clipped_src_rect(fContext, bitmap, srcRectPtr, clippedSrcRect); in shouldTileBitmap()
954 size_t usedTileBytes = get_tile_count(*clippedSrcRect, kBmpSmallTileSize) * in shouldTileBitmap()
[all …]
/external/chromium_org/third_party/skia/tests/
DReadPixelsTest.cpp170 SkIRect clippedSrcRect = DEV_RECT; in checkRead() local
171 if (!clippedSrcRect.intersect(srcRect)) { in checkRead()
172 clippedSrcRect.setEmpty(); in checkRead()
182 if (clippedSrcRect.contains(devx, devy)) { in checkRead()
/external/skia/tests/
DReadPixelsTest.cpp171 SkIRect clippedSrcRect = DEV_RECT; in checkRead() local
172 if (!clippedSrcRect.intersect(srcRect)) { in checkRead()
173 clippedSrcRect.setEmpty(); in checkRead()
183 if (clippedSrcRect.contains(devx, devy)) { in checkRead()
/external/skia/include/gpu/
DSkGpuDevice.h196 SkIRect* clippedSrcRect) const;
206 const SkIRect& clippedSrcRect,