Lines Matching refs:box

1795 	SVGA3dBox *box = &dirty->boxes[loc_start->sub_resource];  in vmw_subres_dirty_add()  local
1798 u32 box_c2 = box->z + box->d; in vmw_subres_dirty_add()
1803 if (box->d == 0 || box->z > loc_start->z) in vmw_subres_dirty_add()
1804 box->z = loc_start->z; in vmw_subres_dirty_add()
1806 box->d = loc_end->z - box->z; in vmw_subres_dirty_add()
1809 box_c2 = box->y + box->h; in vmw_subres_dirty_add()
1810 if (box->h == 0 || box->y > loc_start->y) in vmw_subres_dirty_add()
1811 box->y = loc_start->y; in vmw_subres_dirty_add()
1813 box->h = loc_end->y - box->y; in vmw_subres_dirty_add()
1816 box_c2 = box->x + box->w; in vmw_subres_dirty_add()
1817 if (box->w == 0 || box->x > loc_start->x) in vmw_subres_dirty_add()
1818 box->x = loc_start->x; in vmw_subres_dirty_add()
1820 box->w = loc_end->x - box->x; in vmw_subres_dirty_add()
1822 box->x = 0; in vmw_subres_dirty_add()
1823 box->w = size->width; in vmw_subres_dirty_add()
1826 box->y = 0; in vmw_subres_dirty_add()
1827 box->h = size->height; in vmw_subres_dirty_add()
1828 box->x = 0; in vmw_subres_dirty_add()
1829 box->w = size->width; in vmw_subres_dirty_add()
1843 SVGA3dBox *box = &dirty->boxes[subres]; in vmw_subres_dirty_full() local
1845 box->x = 0; in vmw_subres_dirty_full()
1846 box->y = 0; in vmw_subres_dirty_full()
1847 box->z = 0; in vmw_subres_dirty_full()
1848 box->w = size->width; in vmw_subres_dirty_full()
1849 box->h = size->height; in vmw_subres_dirty_full()
1850 box->d = size->depth; in vmw_subres_dirty_full()
1915 SVGA3dBox *box = &dirty->boxes[0]; in vmw_surface_buf_dirty_range_add() local
1918 box->h = box->d = 1; in vmw_surface_buf_dirty_range_add()
1921 box_c2 = box->x + box->w; in vmw_surface_buf_dirty_range_add()
1922 if (box->w == 0 || box->x > start) in vmw_surface_buf_dirty_range_add()
1923 box->x = start; in vmw_surface_buf_dirty_range_add()
1925 box->w = end - box->x; in vmw_surface_buf_dirty_range_add()
1969 const SVGA3dBox *box = &dirty->boxes[i]; in vmw_surface_dirty_sync() local
1971 if (box->d) in vmw_surface_dirty_sync()
1987 const SVGA3dBox *box = &dirty->boxes[i]; in vmw_surface_dirty_sync() local
1989 if (!box->d) in vmw_surface_dirty_sync()
2001 cmd1->body.box = *box; in vmw_surface_dirty_sync()
2010 cmd2->body.box = *box; in vmw_surface_dirty_sync()