Lines Matching refs:blit

563     struct pipe_blit_info blit;  in handle_draw_cursor_and_hud()  local
567 memset(&blit, 0, sizeof(blit)); in handle_draw_cursor_and_hud()
568 blit.src.resource = device->cursor.image; in handle_draw_cursor_and_hud()
569 blit.src.level = 0; in handle_draw_cursor_and_hud()
570 blit.src.format = device->cursor.image->format; in handle_draw_cursor_and_hud()
571 blit.src.box.x = 0; in handle_draw_cursor_and_hud()
572 blit.src.box.y = 0; in handle_draw_cursor_and_hud()
573 blit.src.box.z = 0; in handle_draw_cursor_and_hud()
574 blit.src.box.depth = 1; in handle_draw_cursor_and_hud()
575 blit.src.box.width = device->cursor.w; in handle_draw_cursor_and_hud()
576 blit.src.box.height = device->cursor.h; in handle_draw_cursor_and_hud()
578 blit.dst.resource = resource; in handle_draw_cursor_and_hud()
579 blit.dst.level = 0; in handle_draw_cursor_and_hud()
580 blit.dst.format = resource->format; in handle_draw_cursor_and_hud()
581 blit.dst.box.z = 0; in handle_draw_cursor_and_hud()
582 blit.dst.box.depth = 1; in handle_draw_cursor_and_hud()
584 blit.mask = PIPE_MASK_RGBA; in handle_draw_cursor_and_hud()
585 blit.filter = PIPE_TEX_FILTER_NEAREST; in handle_draw_cursor_and_hud()
586 blit.scissor_enable = FALSE; in handle_draw_cursor_and_hud()
592 blit.dst.box.x = MAX2(device->cursor.pos.x, 0) - device->cursor.hotspot.x; in handle_draw_cursor_and_hud()
593 blit.dst.box.y = MAX2(device->cursor.pos.y, 0) - device->cursor.hotspot.y; in handle_draw_cursor_and_hud()
594 blit.dst.box.width = blit.src.box.width; in handle_draw_cursor_and_hud()
595 blit.dst.box.height = blit.src.box.height; in handle_draw_cursor_and_hud()
598 blit.src.box.width, blit.src.box.height, in handle_draw_cursor_and_hud()
599 blit.dst.box.x, blit.dst.box.y); in handle_draw_cursor_and_hud()
601 blit.alpha_blend = TRUE; in handle_draw_cursor_and_hud()
603 pipe->blit(pipe, &blit); in handle_draw_cursor_and_hud()
661 struct pipe_blit_info blit; in present() local
699 memset(&blit, 0, sizeof(blit)); in present()
700 blit.src.resource = resource; in present()
701 blit.src.level = 0; in present()
702 blit.src.format = resource->format; in present()
703 blit.src.box.z = 0; in present()
704 blit.src.box.depth = 1; in present()
705 blit.src.box.x = 0; in present()
706 blit.src.box.y = 0; in present()
707 blit.src.box.width = resource->width0; in present()
708 blit.src.box.height = resource->height0; in present()
712 blit.dst.resource = resource; in present()
713 blit.dst.level = 0; in present()
714 blit.dst.format = resource->format; in present()
715 blit.dst.box.z = 0; in present()
716 blit.dst.box.depth = 1; in present()
717 blit.dst.box.x = 0; in present()
718 blit.dst.box.y = 0; in present()
719 blit.dst.box.width = resource->width0; in present()
720 blit.dst.box.height = resource->height0; in present()
722 blit.mask = PIPE_MASK_RGBA; in present()
723 blit.filter = PIPE_TEX_FILTER_NEAREST; in present()
724 blit.scissor_enable = FALSE; in present()
725 blit.alpha_blend = FALSE; in present()
727 pipe->blit(pipe, &blit); in present()