Lines Matching defs:box
1844 SVGA3dBox *box = &dirty->boxes[loc_start->sub_resource];
1847 u32 box_c2 = box->z + box->d;
1852 if (box->d == 0 || box->z > loc_start->z)
1853 box->z = loc_start->z;
1855 box->d = loc_end->z - box->z;
1858 box_c2 = box->y + box->h;
1859 if (box->h == 0 || box->y > loc_start->y)
1860 box->y = loc_start->y;
1862 box->h = loc_end->y - box->y;
1865 box_c2 = box->x + box->w;
1866 if (box->w == 0 || box->x > loc_start->x)
1867 box->x = loc_start->x;
1869 box->w = loc_end->x - box->x;
1871 box->x = 0;
1872 box->w = size->width;
1875 box->y = 0;
1876 box->h = size->height;
1877 box->x = 0;
1878 box->w = size->width;
1892 SVGA3dBox *box = &dirty->boxes[subres];
1894 box->x = 0;
1895 box->y = 0;
1896 box->z = 0;
1897 box->w = size->width;
1898 box->h = size->height;
1899 box->d = size->depth;
1951 SVGA3dBox *box = &dirty->boxes[0];
1954 box->h = box->d = 1;
1957 box_c2 = box->x + box->w;
1958 if (box->w == 0 || box->x > start)
1959 box->x = start;
1961 box->w = end - box->x;
2006 const SVGA3dBox *box = &dirty->boxes[i];
2008 if (box->d)
2024 const SVGA3dBox *box = &dirty->boxes[i];
2026 if (!box->d)
2038 cmd1->body.box = *box;
2047 cmd2->body.box = *box;