Lines Matching defs:box
383 const struct pipe_box *box )
387 DBG("This=%p box=%p\n", This, box);
397 dirty_rect.left = box->x << This->level_actual;
398 dirty_rect.right = dirty_rect.left + (box->width << This->level_actual);
399 dirty_rect.top = box->y << This->level_actual;
400 dirty_rect.bottom = dirty_rect.top + (box->height << This->level_actual);
434 struct pipe_box box;
485 rect_to_pipe_box(&box, pRect);
487 u_box_origin_2d(This->desc.Width, This->desc.Height, &box);
489 box.z = This->layer;
510 pLockedRect->pBits = data + box.y * This->desc.Width + box.x;
516 box.x,
517 box.y);
533 This->level, usage, &box,
548 NineSurface9_AddDirtyRect(This, &box);
779 struct pipe_box box;
786 box = *damaged;
787 box.z = This->layer;
788 box.depth = 1;
790 box.x = 0;
791 box.y = 0;
792 box.z = This->layer;
793 box.width = This->desc.Width;
794 box.height = This->desc.Height;
795 box.depth = 1;
803 &box,
808 &box);