Lines Matching defs:box
370 SVGA3dCopyBox *box;
395 DRM_ERROR("at least one full copy box must be given\n");
399 box = (SVGA3dCopyBox *)&cmd[1];
404 box->x != 0 || box->y != 0 || box->z != 0 ||
405 box->srcx != 0 || box->srcy != 0 || box->srcz != 0 ||
406 box->d != 1 || box_count != 1 ||
407 box->w > VMW_CURSOR_SNOOP_WIDTH || box->h > VMW_CURSOR_SNOOP_HEIGHT) {
413 box->srcx, box->srcy, box->srcz,
414 box->x, box->y, box->z,
415 box->w, box->h, box->d, box_count,
435 if (box->w == VMW_CURSOR_SNOOP_WIDTH && cmd->dma.guest.pitch == image_pitch) {
440 for (i = 0; i < box->h; i++)
443 box->w * desc->pitchBytesPerBlock);
1715 /* Bounding box upper left is at (0,0). */
1732 * limit on primary bounding box
2770 SVGA3dBox *box;
2782 box = &cmd->body.box;
2796 box->x = clips->x1;
2797 box->y = clips->y1;
2798 box->z = 0;
2799 box->w = clips->x2 - clips->x1;
2800 box->h = clips->y2 - clips->y1;
2801 box->d = 1;