Lines Matching defs:box
152 SVGA3dCopyBox *box;
174 DRM_ERROR("at least one full copy box must be given\n");
178 box = (SVGA3dCopyBox *)&cmd[1];
183 box->x != 0 || box->y != 0 || box->z != 0 ||
184 box->srcx != 0 || box->srcy != 0 || box->srcz != 0 ||
185 box->d != 1 || box_count != 1 ||
186 box->w > 64 || box->h > 64) {
192 box->srcx, box->srcy, box->srcz,
193 box->x, box->y, box->z,
194 box->w, box->h, box->d, box_count,
214 if (box->w == 64 && cmd->dma.guest.pitch == 64*4) {
218 for (i = 0; i < box->h; i++)
221 box->w * 4);
1466 /* Bounding box upper left is at (0,0). */
1483 * limit on primary bounding box
2515 SVGA3dBox *box;
2527 box = &cmd->body.box;
2541 box->x = clips->x1;
2542 box->y = clips->y1;
2543 box->z = 0;
2544 box->w = clips->x2 - clips->x1;
2545 box->h = clips->y2 - clips->y1;
2546 box->d = 1;