Lines Matching defs:box
57 * @left: Left side of bounding box.
58 * @right: Right side of bounding box.
59 * @top: Top side of bounding box.
60 * @bottom: Bottom side of bounding box.
61 * @fb_left: Left side of the framebuffer/content bounding box
62 * @fb_top: Top of the framebuffer/content bounding box
250 * bounding box.
254 * @left: Left side of bounding box.
255 * @right: Right side of bounding box.
256 * @top: Top side of bounding box.
257 * @bottom: Bottom side of bounding box.
452 * This function calculates the bounding box for all the incoming clips.
461 /* Calculate destination bounding box */
468 * Calculate content bounding box. We only need the top-left
470 * destination bounding box above
537 * the screen target system that a bounding box of the cliprects has been
605 * Encodes a surface copy command cliprect and updates the bounding box
631 /* Destination bounding box */
1097 SVGA3dBox *box = &cmd_img->body.box;
1105 box->x = diff.rect.x1;
1106 box->y = diff.rect.y1;
1107 box->z = 0;
1108 box->w = drm_rect_width(&diff.rect);
1109 box->h = drm_rect_height(&diff.rect);
1110 box->d = 1;
1214 SVGA3dBox *box = &cmd_update->body.box;
1222 box->x = clip.x1;
1223 box->y = clip.y1;
1224 box->z = 0;
1225 box->w = drm_rect_width(&clip);
1226 box->h = drm_rect_height(&clip);
1227 box->d = 1;
1261 struct SVGA3dCopyBox *box = cmd;
1263 box->srcx = fb_x;
1264 box->srcy = fb_y;
1265 box->srcz = 0;
1266 box->x = clip->x1;
1267 box->y = clip->y1;
1268 box->z = 0;
1269 box->w = drm_rect_width(clip);
1270 box->h = drm_rect_height(clip);
1271 box->d = 1;
1273 return sizeof(*box);