Lines Matching defs:blit

625     struct pipe_blit_info blit;
629 memset(&blit, 0, sizeof(blit));
630 blit.src.resource = device->cursor.image;
631 blit.src.level = 0;
632 blit.src.format = device->cursor.image->format;
633 blit.src.box.x = 0;
634 blit.src.box.y = 0;
635 blit.src.box.z = 0;
636 blit.src.box.depth = 1;
637 blit.src.box.width = device->cursor.w;
638 blit.src.box.height = device->cursor.h;
640 blit.dst.resource = resource;
641 blit.dst.level = 0;
642 blit.dst.format = resource->format;
643 blit.dst.box.z = 0;
644 blit.dst.box.depth = 1;
646 blit.mask = PIPE_MASK_RGBA;
647 blit.filter = PIPE_TEX_FILTER_NEAREST;
648 blit.scissor_enable = FALSE;
650 /* NOTE: blit messes up when box.x + box.width < 0, fix driver
654 blit.dst.box.x = MAX2(device->cursor.pos.x, 0) - device->cursor.hotspot.x;
655 blit.dst.box.y = MAX2(device->cursor.pos.y, 0) - device->cursor.hotspot.y;
656 blit.dst.box.width = blit.src.box.width;
657 blit.dst.box.height = blit.src.box.height;
660 blit.src.box.width, blit.src.box.height,
661 blit.dst.box.x, blit.dst.box.y);
663 blit.alpha_blend = TRUE;
665 pipe->blit(pipe, &blit);
728 struct pipe_blit_info blit;
834 memset(&blit, 0, sizeof(blit));
835 blit.src.resource = resource;
836 blit.src.level = 0; /* Note: This->buffers[0]->level should always be 0 */
837 blit.src.format = resource->format;
838 blit.src.box.z = 0;
839 blit.src.box.depth = 1;
840 blit.src.box.x = 0;
841 blit.src.box.y = 0;
842 blit.src.box.width = resource->width0;
843 blit.src.box.height = resource->height0;
864 blit.dst.resource = resource;
865 blit.dst.level = 0;
866 blit.dst.format = resource->format;
867 blit.dst.box.z = 0;
868 blit.dst.box.depth = 1;
869 blit.dst.box.x = 0;
870 blit.dst.box.y = 0;
871 blit.dst.box.width = resource->width0;
872 blit.dst.box.height = resource->height0;
874 blit.mask = PIPE_MASK_RGBA;
875 blit.filter = (blit.dst.box.width == blit.src.box.width &&
876 blit.dst.box.height == blit.src.box.height) ?
878 blit.scissor_enable = FALSE;
879 blit.alpha_blend = FALSE;
881 pipe->blit(pipe, &blit);