Home | History | Annotate | Download | only in tests

Lines Matching defs:srcRect

180     SkIRect srcRect = SkIRect::MakeXYWH(x, y, bw, bh);
182 if (!clippedSrcRect.intersect(srcRect)) {
189 int devx = bx + srcRect.fLeft;
190 int devy = by + srcRect.fTop;
353 const SkIRect& srcRect = testRects[rect];
360 init_bitmap(&bmp, srcRect, bmi);
370 canvas.readPixels(&bmp, srcRect.fLeft,
371 srcRect.fTop, config8888);
376 bool expectSuccess = SkIRect::Intersects(srcRect, DEV_RECT);
383 checkRead(reporter, bmp, srcRect.fLeft, srcRect.fTop,
394 bool success = canvas.readPixels(srcRect, &wkbmp);
396 if (clippedRect.intersect(srcRect)) {