Lines Matching refs:srcRect
77 for (const SkIRect& srcRect : kSrcRects) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
113 srcRect, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
118 std::move(srcView), srcRect, dstPoint); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
122 SkIPoint dstOffset = { dstPoint.fX - srcRect.fLeft, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
123 dstPoint.fY - srcRect.fTop }; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
126 srcRect.width(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
127 srcRect.height()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
130 if (!copiedSrcRect.intersect(srcRect, SkIRect::MakeWH(kW, kH))) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
135 copiedDstRect.fLeft += copiedSrcRect.fLeft - srcRect.fLeft; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
136 copiedDstRect.fTop += copiedSrcRect.fTop - srcRect.fTop; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
137 copiedDstRect.fRight -= copiedSrcRect.fRight - srcRect.fRight; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
139 srcRect.fBottom; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()