Lines Matching refs:box

1771 	SVGA3dBox *box = &dirty->boxes[loc_start->sub_resource];  in vmw_subres_dirty_add()  local
1774 u32 box_c2 = box->z + box->d; in vmw_subres_dirty_add()
1779 if (box->d == 0 || box->z > loc_start->z) in vmw_subres_dirty_add()
1780 box->z = loc_start->z; in vmw_subres_dirty_add()
1782 box->d = loc_end->z - box->z; in vmw_subres_dirty_add()
1785 box_c2 = box->y + box->h; in vmw_subres_dirty_add()
1786 if (box->h == 0 || box->y > loc_start->y) in vmw_subres_dirty_add()
1787 box->y = loc_start->y; in vmw_subres_dirty_add()
1789 box->h = loc_end->y - box->y; in vmw_subres_dirty_add()
1792 box_c2 = box->x + box->w; in vmw_subres_dirty_add()
1793 if (box->w == 0 || box->x > loc_start->x) in vmw_subres_dirty_add()
1794 box->x = loc_start->x; in vmw_subres_dirty_add()
1796 box->w = loc_end->x - box->x; in vmw_subres_dirty_add()
1798 box->x = 0; in vmw_subres_dirty_add()
1799 box->w = size->width; in vmw_subres_dirty_add()
1802 box->y = 0; in vmw_subres_dirty_add()
1803 box->h = size->height; in vmw_subres_dirty_add()
1804 box->x = 0; in vmw_subres_dirty_add()
1805 box->w = size->width; in vmw_subres_dirty_add()
1819 SVGA3dBox *box = &dirty->boxes[subres]; in vmw_subres_dirty_full() local
1821 box->x = 0; in vmw_subres_dirty_full()
1822 box->y = 0; in vmw_subres_dirty_full()
1823 box->z = 0; in vmw_subres_dirty_full()
1824 box->w = size->width; in vmw_subres_dirty_full()
1825 box->h = size->height; in vmw_subres_dirty_full()
1826 box->d = size->depth; in vmw_subres_dirty_full()
1891 SVGA3dBox *box = &dirty->boxes[0]; in vmw_surface_buf_dirty_range_add() local
1894 box->h = box->d = 1; in vmw_surface_buf_dirty_range_add()
1897 box_c2 = box->x + box->w; in vmw_surface_buf_dirty_range_add()
1898 if (box->w == 0 || box->x > start) in vmw_surface_buf_dirty_range_add()
1899 box->x = start; in vmw_surface_buf_dirty_range_add()
1901 box->w = end - box->x; in vmw_surface_buf_dirty_range_add()
1945 const SVGA3dBox *box = &dirty->boxes[i]; in vmw_surface_dirty_sync() local
1947 if (box->d) in vmw_surface_dirty_sync()
1963 const SVGA3dBox *box = &dirty->boxes[i]; in vmw_surface_dirty_sync() local
1965 if (!box->d) in vmw_surface_dirty_sync()
1977 cmd1->body.box = *box; in vmw_surface_dirty_sync()
1986 cmd2->body.box = *box; in vmw_surface_dirty_sync()