Lines Matching refs:srcRect
169 SkIRect srcRect = SkIRect::MakeXYWH(x, y, bw, bh); in checkRead() local
171 if (!clippedSrcRect.intersect(srcRect)) { in checkRead()
177 int devx = bx + srcRect.fLeft; in checkRead()
178 int devy = by + srcRect.fTop; in checkRead()
341 const SkIRect& srcRect = testRects[rect]; in DEF_GPUTEST() local
345 init_bitmap(&bmp, srcRect, bmi, in DEF_GPUTEST()
355 bool success = canvas.readPixels(&bmp, srcRect.fLeft, srcRect.fTop); in DEF_GPUTEST()
360 bool expectSuccess = SkIRect::Intersects(srcRect, DEV_RECT); in DEF_GPUTEST()
367 checkRead(reporter, bmp, srcRect.fLeft, srcRect.fTop, in DEF_GPUTEST()
378 bool success = canvas.readPixels(srcRect, &wkbmp); in DEF_GPUTEST()
380 if (clippedRect.intersect(srcRect)) { in DEF_GPUTEST()