Lines Matching defs:box

94    if (info->src.box.width != info->dst.box.width ||
95 info->src.box.height != info->dst.box.height)
99 if (info->src.box.width != (int)u_minify(info->src.resource->width0,
101 info->src.box.height != (int)u_minify(info->src.resource->height0,
103 info->dst.box.width != (int)u_minify(info->dst.resource->width0,
105 info->dst.box.height != (int)u_minify(info->dst.resource->height0,
155 box_fits(const struct pipe_box *box, const struct pipe_resource *res, int level)
162 unsigned wb = box->x;
163 unsigned we = box->x + box->width;
165 unsigned hb = box->y;
166 unsigned he = box->y + box->height;
168 unsigned db = box->z;
169 unsigned de = box->z + box->depth;
200 if (abs(info->src.box.height) != info->dst.box.height) {
204 if (info->src.box.height != info->dst.box.height &&
211 if (!box_fits(&info->dst.box, info->dst.resource, info->dst.level)) {
214 if (!box_fits(&info->src.box, info->src.resource, info->src.level)) {
218 if (info->src.box.width != info->dst.box.width) {
222 if (info->src.box.depth != info->dst.box.depth) {
232 if (info->dst.box.x != 0 ||
233 info->dst.box.y != 0 ||
234 info->dst.box.z != 0)
237 if (info->src.box.x != 0 ||
238 info->src.box.y != 0 ||
239 info->src.box.z != 0 ||
240 info->src.box.width != (int)u_minify(info->src.resource->width0,
242 info->src.box.height != (int)u_minify(info->src.resource->height0,
244 info->src.box.depth != (int)u_minify(info->src.resource->depth0,
531 &info->src.box,
532 &dst_info.src.box, PIPE_MASK_RGBAZS);
603 tpl.width0 = info->dst.box.width;
604 tpl.height0 = info->dst.box.height;
605 tpl.depth0 = info->dst.box.depth;
789 get_stencil_resolve_fs(ctx, info->src.box.height == info->dst.box.height));
851 ctx->cmdlist->CopyTextureRegion(&dst_loc, info->dst.box.x,
852 info->dst.box.y, info->dst.box.z,
895 &info->dst.box,
898 &info->src.box,
918 info->src.box.x, info->src.box.y, info->src.box.z,
919 info->src.box.width, info->src.box.height, info->src.box.depth);
923 info->dst.box.x, info->dst.box.y, info->dst.box.z,
924 info->dst.box.width, info->dst.box.height, info->dst.box.depth);
947 info->dst.level, &info->dst.box,
949 info->src.level, &info->src.box, info->mask);