Lines Matching refs:box
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()