Lines Matching refs:box

1227 	struct SVGA3dCopyBox *box = cmd;  in vmw_stdu_bo_populate_clip()  local
1229 box->srcx = fb_x; in vmw_stdu_bo_populate_clip()
1230 box->srcy = fb_y; in vmw_stdu_bo_populate_clip()
1231 box->srcz = 0; in vmw_stdu_bo_populate_clip()
1232 box->x = clip->x1; in vmw_stdu_bo_populate_clip()
1233 box->y = clip->y1; in vmw_stdu_bo_populate_clip()
1234 box->z = 0; in vmw_stdu_bo_populate_clip()
1235 box->w = drm_rect_width(clip); in vmw_stdu_bo_populate_clip()
1236 box->h = drm_rect_height(clip); in vmw_stdu_bo_populate_clip()
1237 box->d = 1; in vmw_stdu_bo_populate_clip()
1239 return sizeof(*box); in vmw_stdu_bo_populate_clip()
1324 SVGA3dBox *box = &cmd_img->body.box; in vmw_stdu_bo_populate_update_cpu() local
1332 box->x = diff.rect.x1; in vmw_stdu_bo_populate_update_cpu()
1333 box->y = diff.rect.y1; in vmw_stdu_bo_populate_update_cpu()
1334 box->z = 0; in vmw_stdu_bo_populate_update_cpu()
1335 box->w = drm_rect_width(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1336 box->h = drm_rect_height(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1337 box->d = 1; in vmw_stdu_bo_populate_update_cpu()
1453 SVGA3dBox *box = &cmd_update->body.box; in vmw_stdu_surface_update_proxy() local
1461 box->x = clip.x1; in vmw_stdu_surface_update_proxy()
1462 box->y = clip.y1; in vmw_stdu_surface_update_proxy()
1463 box->z = 0; in vmw_stdu_surface_update_proxy()
1464 box->w = drm_rect_width(&clip); in vmw_stdu_surface_update_proxy()
1465 box->h = drm_rect_height(&clip); in vmw_stdu_surface_update_proxy()
1466 box->d = 1; in vmw_stdu_surface_update_proxy()
1500 struct SVGA3dCopyBox *box = cmd; in vmw_stdu_surface_populate_clip() local
1502 box->srcx = fb_x; in vmw_stdu_surface_populate_clip()
1503 box->srcy = fb_y; in vmw_stdu_surface_populate_clip()
1504 box->srcz = 0; in vmw_stdu_surface_populate_clip()
1505 box->x = clip->x1; in vmw_stdu_surface_populate_clip()
1506 box->y = clip->y1; in vmw_stdu_surface_populate_clip()
1507 box->z = 0; in vmw_stdu_surface_populate_clip()
1508 box->w = drm_rect_width(clip); in vmw_stdu_surface_populate_clip()
1509 box->h = drm_rect_height(clip); in vmw_stdu_surface_populate_clip()
1510 box->d = 1; in vmw_stdu_surface_populate_clip()
1512 return sizeof(*box); in vmw_stdu_surface_populate_clip()