Lines Matching full: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
257 * bounding box.
261 * @left: Left side of bounding box.
262 * @right: Right side of bounding box.
263 * @top: Top side of bounding box.
264 * @bottom: Bottom side of bounding box.
459 * Encodes a surface DMA command cliprect and updates the bounding box
482 /* Destination bounding box */ in vmw_stdu_bo_clip()
546 * This function calculates the bounding box for all the incoming clips.
555 /* Calculate destination bounding box */ in vmw_stdu_bo_cpu_clip()
562 * Calculate content bounding box. We only need the top-left in vmw_stdu_bo_cpu_clip()
564 * destination bounding box above in vmw_stdu_bo_cpu_clip()
675 * the screen target system that a bounding box of the cliprects has been
753 * Encodes a surface copy command cliprect and updates the bounding box
779 /* Destination bounding box */ in vmw_kms_stdu_surface_clip()
1224 struct SVGA3dCopyBox *box = cmd; in vmw_stdu_bo_populate_clip() local
1226 box->srcx = fb_x; in vmw_stdu_bo_populate_clip()
1227 box->srcy = fb_y; in vmw_stdu_bo_populate_clip()
1228 box->srcz = 0; in vmw_stdu_bo_populate_clip()
1229 box->x = clip->x1; in vmw_stdu_bo_populate_clip()
1230 box->y = clip->y1; in vmw_stdu_bo_populate_clip()
1231 box->z = 0; in vmw_stdu_bo_populate_clip()
1232 box->w = drm_rect_width(clip); in vmw_stdu_bo_populate_clip()
1233 box->h = drm_rect_height(clip); in vmw_stdu_bo_populate_clip()
1234 box->d = 1; in vmw_stdu_bo_populate_clip()
1236 return sizeof(*box); in vmw_stdu_bo_populate_clip()
1321 SVGA3dBox *box = &cmd_img->body.box; in vmw_stdu_bo_populate_update_cpu() local
1329 box->x = diff.rect.x1; in vmw_stdu_bo_populate_update_cpu()
1330 box->y = diff.rect.y1; in vmw_stdu_bo_populate_update_cpu()
1331 box->z = 0; in vmw_stdu_bo_populate_update_cpu()
1332 box->w = drm_rect_width(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1333 box->h = drm_rect_height(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1334 box->d = 1; in vmw_stdu_bo_populate_update_cpu()
1450 SVGA3dBox *box = &cmd_update->body.box; in vmw_stdu_surface_update_proxy() local
1458 box->x = clip.x1; in vmw_stdu_surface_update_proxy()
1459 box->y = clip.y1; in vmw_stdu_surface_update_proxy()
1460 box->z = 0; in vmw_stdu_surface_update_proxy()
1461 box->w = drm_rect_width(&clip); in vmw_stdu_surface_update_proxy()
1462 box->h = drm_rect_height(&clip); in vmw_stdu_surface_update_proxy()
1463 box->d = 1; in vmw_stdu_surface_update_proxy()
1497 struct SVGA3dCopyBox *box = cmd; in vmw_stdu_surface_populate_clip() local
1499 box->srcx = fb_x; in vmw_stdu_surface_populate_clip()
1500 box->srcy = fb_y; in vmw_stdu_surface_populate_clip()
1501 box->srcz = 0; in vmw_stdu_surface_populate_clip()
1502 box->x = clip->x1; in vmw_stdu_surface_populate_clip()
1503 box->y = clip->y1; in vmw_stdu_surface_populate_clip()
1504 box->z = 0; in vmw_stdu_surface_populate_clip()
1505 box->w = drm_rect_width(clip); in vmw_stdu_surface_populate_clip()
1506 box->h = drm_rect_height(clip); in vmw_stdu_surface_populate_clip()
1507 box->d = 1; in vmw_stdu_surface_populate_clip()
1509 return sizeof(*box); in vmw_stdu_surface_populate_clip()