Lines Matching refs:SkIRect

22 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
169 SkIRect srcRect = SkIRect::MakeXYWH(x, y, bw, bh); in checkRead()
170 SkIRect clippedSrcRect = DEV_RECT; in checkRead()
219 static void init_bitmap(SkBitmap* bitmap, const SkIRect& rect, BitmapInit init, SkColorType ct, in init_bitmap()
245 const SkIRect testRects[] = { in DEF_GPUTEST()
249 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10), in DEF_GPUTEST()
251 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4), in DEF_GPUTEST()
253 SkIRect::MakeLTRB(-10, -10, -1, -1), in DEF_GPUTEST()
255 SkIRect::MakeLTRB(-10, -10, 0, 0), in DEF_GPUTEST()
257 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4), in DEF_GPUTEST()
259 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4), in DEF_GPUTEST()
261 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0), in DEF_GPUTEST()
263 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4), in DEF_GPUTEST()
265 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4), in DEF_GPUTEST()
267 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1), in DEF_GPUTEST()
269 SkIRect::MakeLTRB(DEV_W, -10, DEV_W + 10, 0), in DEF_GPUTEST()
271 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H + 10), in DEF_GPUTEST()
273 SkIRect::MakeLTRB(-10, -10, 0, DEV_H + 10), in DEF_GPUTEST()
275 SkIRect::MakeLTRB(-10, 3 * DEV_H / 4, DEV_W / 4, DEV_H + 10), in DEF_GPUTEST()
277 SkIRect::MakeLTRB(-10, DEV_H / 4, DEV_W / 4, 3 * DEV_H / 4), in DEF_GPUTEST()
279 SkIRect::MakeLTRB(-10, DEV_H + 1, -1, DEV_H + 10), in DEF_GPUTEST()
281 SkIRect::MakeLTRB(-10, DEV_H, 0, DEV_H + 10), in DEF_GPUTEST()
283 SkIRect::MakeLTRB(-10, 3 * DEV_H / 4, DEV_W + 10, DEV_H + 10), in DEF_GPUTEST()
285 SkIRect::MakeLTRB(0, DEV_H, DEV_W, DEV_H + 10), in DEF_GPUTEST()
287 SkIRect::MakeLTRB(3 * DEV_W / 4, 3 * DEV_H / 4, DEV_W + 10, DEV_H + 10), in DEF_GPUTEST()
289 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H + 10), in DEF_GPUTEST()
341 const SkIRect& srcRect = testRects[rect]; in DEF_GPUTEST()
360 bool expectSuccess = SkIRect::Intersects(srcRect, DEV_RECT); in DEF_GPUTEST()
379 SkIRect clippedRect = DEV_RECT; in DEF_GPUTEST()