Lines Matching refs:region
54 fbClipBoxes(const RegionRec *region, const BoxRec *box, const BoxRec **end)
58 DBG(("%s: box=(%d, %d),(%d, %d); region=(%d, %d),(%d, %d) x %ld\n",
61 region->extents.x1, region->extents.y1,
62 region->extents.x2, region->extents.y2,
63 region->data ? region->data->numRects : 1));
65 if (box->x1 >= region->extents.x2 || box->x2 <= region->extents.x1 ||
66 box->y1 >= region->extents.y2 || box->y2 <= region->extents.y1) {
71 if (region->data == NULL) {
72 *end = ®ion->extents + 1;
73 return ®ion->extents;
76 c0 = (const BoxRec *)(region->data + 1);
77 c1 = c0 + region->data->numRects;