Lines Matching refs:SkIRect
21 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
170 SkIRect srcRect = SkIRect::MakeXYWH(x, y, bw, bh); in checkRead()
171 SkIRect clippedSrcRect = DEV_RECT; in checkRead()
220 static void init_bitmap(SkBitmap* bitmap, const SkIRect& rect, BitmapInit init, SkColorType ct, in init_bitmap()
246 const SkIRect testRects[] = { in DEF_GPUTEST()
250 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10), in DEF_GPUTEST()
252 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4), in DEF_GPUTEST()
254 SkIRect::MakeLTRB(-10, -10, -1, -1), in DEF_GPUTEST()
256 SkIRect::MakeLTRB(-10, -10, 0, 0), in DEF_GPUTEST()
258 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4), in DEF_GPUTEST()
260 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4), in DEF_GPUTEST()
262 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0), in DEF_GPUTEST()
264 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4), in DEF_GPUTEST()
266 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4), in DEF_GPUTEST()
268 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1), in DEF_GPUTEST()
270 SkIRect::MakeLTRB(DEV_W, -10, DEV_W + 10, 0), in DEF_GPUTEST()
272 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H + 10), in DEF_GPUTEST()
274 SkIRect::MakeLTRB(-10, -10, 0, DEV_H + 10), in DEF_GPUTEST()
276 SkIRect::MakeLTRB(-10, 3 * DEV_H / 4, DEV_W / 4, DEV_H + 10), in DEF_GPUTEST()
278 SkIRect::MakeLTRB(-10, DEV_H / 4, DEV_W / 4, 3 * DEV_H / 4), in DEF_GPUTEST()
280 SkIRect::MakeLTRB(-10, DEV_H + 1, -1, DEV_H + 10), in DEF_GPUTEST()
282 SkIRect::MakeLTRB(-10, DEV_H, 0, DEV_H + 10), in DEF_GPUTEST()
284 SkIRect::MakeLTRB(-10, 3 * DEV_H / 4, DEV_W + 10, DEV_H + 10), in DEF_GPUTEST()
286 SkIRect::MakeLTRB(0, DEV_H, DEV_W, DEV_H + 10), in DEF_GPUTEST()
288 SkIRect::MakeLTRB(3 * DEV_W / 4, 3 * DEV_H / 4, DEV_W + 10, DEV_H + 10), in DEF_GPUTEST()
290 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H + 10), in DEF_GPUTEST()
343 const SkIRect& srcRect = testRects[rect]; in DEF_GPUTEST()
362 bool expectSuccess = SkIRect::Intersects(srcRect, DEV_RECT); in DEF_GPUTEST()
381 SkIRect clippedRect = DEV_RECT; in DEF_GPUTEST()