Lines Matching refs:box

1674 	SVGA3dBox *box = &dirty->boxes[loc_start->sub_resource];  in vmw_subres_dirty_add()  local
1677 u32 box_c2 = box->z + box->d; in vmw_subres_dirty_add()
1682 if (box->d == 0 || box->z > loc_start->z) in vmw_subres_dirty_add()
1683 box->z = loc_start->z; in vmw_subres_dirty_add()
1685 box->d = loc_end->z - box->z; in vmw_subres_dirty_add()
1688 box_c2 = box->y + box->h; in vmw_subres_dirty_add()
1689 if (box->h == 0 || box->y > loc_start->y) in vmw_subres_dirty_add()
1690 box->y = loc_start->y; in vmw_subres_dirty_add()
1692 box->h = loc_end->y - box->y; in vmw_subres_dirty_add()
1695 box_c2 = box->x + box->w; in vmw_subres_dirty_add()
1696 if (box->w == 0 || box->x > loc_start->x) in vmw_subres_dirty_add()
1697 box->x = loc_start->x; in vmw_subres_dirty_add()
1699 box->w = loc_end->x - box->x; in vmw_subres_dirty_add()
1701 box->x = 0; in vmw_subres_dirty_add()
1702 box->w = size->width; in vmw_subres_dirty_add()
1705 box->y = 0; in vmw_subres_dirty_add()
1706 box->h = size->height; in vmw_subres_dirty_add()
1707 box->x = 0; in vmw_subres_dirty_add()
1708 box->w = size->width; in vmw_subres_dirty_add()
1722 SVGA3dBox *box = &dirty->boxes[subres]; in vmw_subres_dirty_full() local
1724 box->x = 0; in vmw_subres_dirty_full()
1725 box->y = 0; in vmw_subres_dirty_full()
1726 box->z = 0; in vmw_subres_dirty_full()
1727 box->w = size->width; in vmw_subres_dirty_full()
1728 box->h = size->height; in vmw_subres_dirty_full()
1729 box->d = size->depth; in vmw_subres_dirty_full()
1794 SVGA3dBox *box = &dirty->boxes[0]; in vmw_surface_buf_dirty_range_add() local
1797 box->h = box->d = 1; in vmw_surface_buf_dirty_range_add()
1800 box_c2 = box->x + box->w; in vmw_surface_buf_dirty_range_add()
1801 if (box->w == 0 || box->x > start) in vmw_surface_buf_dirty_range_add()
1802 box->x = start; in vmw_surface_buf_dirty_range_add()
1804 box->w = end - box->x; in vmw_surface_buf_dirty_range_add()
1848 const SVGA3dBox *box = &dirty->boxes[i]; in vmw_surface_dirty_sync() local
1850 if (box->d) in vmw_surface_dirty_sync()
1866 const SVGA3dBox *box = &dirty->boxes[i]; in vmw_surface_dirty_sync() local
1868 if (!box->d) in vmw_surface_dirty_sync()
1880 cmd1->body.box = *box; in vmw_surface_dirty_sync()
1889 cmd2->body.box = *box; in vmw_surface_dirty_sync()