Lines Matching refs:box

1232 	struct SVGA3dCopyBox *box = cmd;  in vmw_stdu_bo_populate_clip()  local
1234 box->srcx = fb_x; in vmw_stdu_bo_populate_clip()
1235 box->srcy = fb_y; in vmw_stdu_bo_populate_clip()
1236 box->srcz = 0; in vmw_stdu_bo_populate_clip()
1237 box->x = clip->x1; in vmw_stdu_bo_populate_clip()
1238 box->y = clip->y1; in vmw_stdu_bo_populate_clip()
1239 box->z = 0; in vmw_stdu_bo_populate_clip()
1240 box->w = drm_rect_width(clip); in vmw_stdu_bo_populate_clip()
1241 box->h = drm_rect_height(clip); in vmw_stdu_bo_populate_clip()
1242 box->d = 1; in vmw_stdu_bo_populate_clip()
1244 return sizeof(*box); in vmw_stdu_bo_populate_clip()
1329 SVGA3dBox *box = &cmd_img->body.box; in vmw_stdu_bo_populate_update_cpu() local
1337 box->x = diff.rect.x1; in vmw_stdu_bo_populate_update_cpu()
1338 box->y = diff.rect.y1; in vmw_stdu_bo_populate_update_cpu()
1339 box->z = 0; in vmw_stdu_bo_populate_update_cpu()
1340 box->w = drm_rect_width(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1341 box->h = drm_rect_height(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1342 box->d = 1; in vmw_stdu_bo_populate_update_cpu()
1458 SVGA3dBox *box = &cmd_update->body.box; in vmw_stdu_surface_update_proxy() local
1466 box->x = clip.x1; in vmw_stdu_surface_update_proxy()
1467 box->y = clip.y1; in vmw_stdu_surface_update_proxy()
1468 box->z = 0; in vmw_stdu_surface_update_proxy()
1469 box->w = drm_rect_width(&clip); in vmw_stdu_surface_update_proxy()
1470 box->h = drm_rect_height(&clip); in vmw_stdu_surface_update_proxy()
1471 box->d = 1; in vmw_stdu_surface_update_proxy()
1505 struct SVGA3dCopyBox *box = cmd; in vmw_stdu_surface_populate_clip() local
1507 box->srcx = fb_x; in vmw_stdu_surface_populate_clip()
1508 box->srcy = fb_y; in vmw_stdu_surface_populate_clip()
1509 box->srcz = 0; in vmw_stdu_surface_populate_clip()
1510 box->x = clip->x1; in vmw_stdu_surface_populate_clip()
1511 box->y = clip->y1; in vmw_stdu_surface_populate_clip()
1512 box->z = 0; in vmw_stdu_surface_populate_clip()
1513 box->w = drm_rect_width(clip); in vmw_stdu_surface_populate_clip()
1514 box->h = drm_rect_height(clip); in vmw_stdu_surface_populate_clip()
1515 box->d = 1; in vmw_stdu_surface_populate_clip()
1517 return sizeof(*box); in vmw_stdu_surface_populate_clip()