Lines Matching full:box
58 * @left: Left side of bounding box.
59 * @right: Right side of bounding box.
60 * @top: Top side of bounding box.
61 * @bottom: Bottom side of bounding box.
62 * @fb_left: Left side of the framebuffer/content bounding box
63 * @fb_top: Top of the framebuffer/content bounding box
253 * bounding box.
257 * @left: Left side of bounding box.
258 * @right: Right side of bounding box.
259 * @top: Top side of bounding box.
260 * @bottom: Bottom side of bounding box.
455 * Encodes a surface DMA command cliprect and updates the bounding box
478 /* Destination bounding box */ in vmw_stdu_bo_clip()
542 * This function calculates the bounding box for all the incoming clips.
551 /* Calculate destination bounding box */ in vmw_stdu_bo_cpu_clip()
558 * Calculate content bounding box. We only need the top-left in vmw_stdu_bo_cpu_clip()
560 * destination bounding box above in vmw_stdu_bo_cpu_clip()
671 * the screen target system that a bounding box of the cliprects has been
749 * Encodes a surface copy command cliprect and updates the bounding box
775 /* Destination bounding box */ in vmw_kms_stdu_surface_clip()
1220 struct SVGA3dCopyBox *box = cmd; in vmw_stdu_bo_populate_clip() local
1222 box->srcx = fb_x; in vmw_stdu_bo_populate_clip()
1223 box->srcy = fb_y; in vmw_stdu_bo_populate_clip()
1224 box->srcz = 0; in vmw_stdu_bo_populate_clip()
1225 box->x = clip->x1; in vmw_stdu_bo_populate_clip()
1226 box->y = clip->y1; in vmw_stdu_bo_populate_clip()
1227 box->z = 0; in vmw_stdu_bo_populate_clip()
1228 box->w = drm_rect_width(clip); in vmw_stdu_bo_populate_clip()
1229 box->h = drm_rect_height(clip); in vmw_stdu_bo_populate_clip()
1230 box->d = 1; in vmw_stdu_bo_populate_clip()
1232 return sizeof(*box); in vmw_stdu_bo_populate_clip()
1317 SVGA3dBox *box = &cmd_img->body.box; in vmw_stdu_bo_populate_update_cpu() local
1325 box->x = diff.rect.x1; in vmw_stdu_bo_populate_update_cpu()
1326 box->y = diff.rect.y1; in vmw_stdu_bo_populate_update_cpu()
1327 box->z = 0; in vmw_stdu_bo_populate_update_cpu()
1328 box->w = drm_rect_width(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1329 box->h = drm_rect_height(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1330 box->d = 1; in vmw_stdu_bo_populate_update_cpu()
1446 SVGA3dBox *box = &cmd_update->body.box; in vmw_stdu_surface_update_proxy() local
1454 box->x = clip.x1; in vmw_stdu_surface_update_proxy()
1455 box->y = clip.y1; in vmw_stdu_surface_update_proxy()
1456 box->z = 0; in vmw_stdu_surface_update_proxy()
1457 box->w = drm_rect_width(&clip); in vmw_stdu_surface_update_proxy()
1458 box->h = drm_rect_height(&clip); in vmw_stdu_surface_update_proxy()
1459 box->d = 1; in vmw_stdu_surface_update_proxy()
1493 struct SVGA3dCopyBox *box = cmd; in vmw_stdu_surface_populate_clip() local
1495 box->srcx = fb_x; in vmw_stdu_surface_populate_clip()
1496 box->srcy = fb_y; in vmw_stdu_surface_populate_clip()
1497 box->srcz = 0; in vmw_stdu_surface_populate_clip()
1498 box->x = clip->x1; in vmw_stdu_surface_populate_clip()
1499 box->y = clip->y1; in vmw_stdu_surface_populate_clip()
1500 box->z = 0; in vmw_stdu_surface_populate_clip()
1501 box->w = drm_rect_width(clip); in vmw_stdu_surface_populate_clip()
1502 box->h = drm_rect_height(clip); in vmw_stdu_surface_populate_clip()
1503 box->d = 1; in vmw_stdu_surface_populate_clip()
1505 return sizeof(*box); in vmw_stdu_surface_populate_clip()