• Home
  • Raw
  • Download

Lines Matching full:box

1727 	SVGA3dBox *box = &dirty->boxes[loc_start->sub_resource];  in vmw_subres_dirty_add()  local
1730 u32 box_c2 = box->z + box->d; in vmw_subres_dirty_add()
1735 if (box->d == 0 || box->z > loc_start->z) in vmw_subres_dirty_add()
1736 box->z = loc_start->z; in vmw_subres_dirty_add()
1738 box->d = loc_end->z - box->z; in vmw_subres_dirty_add()
1741 box_c2 = box->y + box->h; in vmw_subres_dirty_add()
1742 if (box->h == 0 || box->y > loc_start->y) in vmw_subres_dirty_add()
1743 box->y = loc_start->y; in vmw_subres_dirty_add()
1745 box->h = loc_end->y - box->y; in vmw_subres_dirty_add()
1748 box_c2 = box->x + box->w; in vmw_subres_dirty_add()
1749 if (box->w == 0 || box->x > loc_start->x) in vmw_subres_dirty_add()
1750 box->x = loc_start->x; in vmw_subres_dirty_add()
1752 box->w = loc_end->x - box->x; in vmw_subres_dirty_add()
1754 box->x = 0; in vmw_subres_dirty_add()
1755 box->w = size->width; in vmw_subres_dirty_add()
1758 box->y = 0; in vmw_subres_dirty_add()
1759 box->h = size->height; in vmw_subres_dirty_add()
1760 box->x = 0; in vmw_subres_dirty_add()
1761 box->w = size->width; in vmw_subres_dirty_add()
1775 SVGA3dBox *box = &dirty->boxes[subres]; in vmw_subres_dirty_full() local
1777 box->x = 0; in vmw_subres_dirty_full()
1778 box->y = 0; in vmw_subres_dirty_full()
1779 box->z = 0; in vmw_subres_dirty_full()
1780 box->w = size->width; in vmw_subres_dirty_full()
1781 box->h = size->height; in vmw_subres_dirty_full()
1782 box->d = size->depth; in vmw_subres_dirty_full()
1847 SVGA3dBox *box = &dirty->boxes[0]; in vmw_surface_buf_dirty_range_add() local
1850 box->h = box->d = 1; in vmw_surface_buf_dirty_range_add()
1853 box_c2 = box->x + box->w; in vmw_surface_buf_dirty_range_add()
1854 if (box->w == 0 || box->x > start) in vmw_surface_buf_dirty_range_add()
1855 box->x = start; in vmw_surface_buf_dirty_range_add()
1857 box->w = end - box->x; in vmw_surface_buf_dirty_range_add()
1902 const SVGA3dBox *box = &dirty->boxes[i]; in vmw_surface_dirty_sync() local
1904 if (box->d) in vmw_surface_dirty_sync()
1920 const SVGA3dBox *box = &dirty->boxes[i]; in vmw_surface_dirty_sync() local
1922 if (!box->d) in vmw_surface_dirty_sync()
1934 cmd1->body.box = *box; in vmw_surface_dirty_sync()
1943 cmd2->body.box = *box; in vmw_surface_dirty_sync()