Lines Matching refs:blit
510 struct vmw_kms_sou_bo_blit *blit = cmd; in vmw_sou_bo_populate_clip() local
512 blit->header = SVGA_CMD_BLIT_GMRFB_TO_SCREEN; in vmw_sou_bo_populate_clip()
513 blit->body.destScreenId = update->du->unit; in vmw_sou_bo_populate_clip()
514 blit->body.srcOrigin.x = fb_x; in vmw_sou_bo_populate_clip()
515 blit->body.srcOrigin.y = fb_y; in vmw_sou_bo_populate_clip()
516 blit->body.destRect.left = clip->x1; in vmw_sou_bo_populate_clip()
517 blit->body.destRect.top = clip->y1; in vmw_sou_bo_populate_clip()
518 blit->body.destRect.right = clip->x2; in vmw_sou_bo_populate_clip()
519 blit->body.destRect.bottom = clip->y2; in vmw_sou_bo_populate_clip()
521 return sizeof(*blit); in vmw_sou_bo_populate_clip()
596 struct vmw_kms_sou_dirty_cmd *blit = cmd; in vmw_sou_surface_pre_clip() local
601 blit->header.id = SVGA_3D_CMD_BLIT_SURFACE_TO_SCREEN; in vmw_sou_surface_pre_clip()
602 blit->header.size = sizeof(blit->body) + sizeof(SVGASignedRect) * in vmw_sou_surface_pre_clip()
605 blit->body.srcImage.sid = vfbs->surface->res.id; in vmw_sou_surface_pre_clip()
606 blit->body.destScreenId = update->du->unit; in vmw_sou_surface_pre_clip()
609 blit->body.srcRect.left = 0; in vmw_sou_surface_pre_clip()
610 blit->body.srcRect.top = 0; in vmw_sou_surface_pre_clip()
611 blit->body.srcRect.right = 0; in vmw_sou_surface_pre_clip()
612 blit->body.srcRect.bottom = 0; in vmw_sou_surface_pre_clip()
614 blit->body.destRect.left = 0; in vmw_sou_surface_pre_clip()
615 blit->body.destRect.top = 0; in vmw_sou_surface_pre_clip()
616 blit->body.destRect.right = 0; in vmw_sou_surface_pre_clip()
617 blit->body.destRect.bottom = 0; in vmw_sou_surface_pre_clip()
619 return sizeof(*blit); in vmw_sou_surface_pre_clip()
646 struct vmw_kms_sou_dirty_cmd *blit; in vmw_sou_surface_post_clip() local
655 blit = srf_update->cmd_start; in vmw_sou_surface_post_clip()
656 rect = (SVGASignedRect *)&blit[1]; in vmw_sou_surface_post_clip()
658 num_hits = (blit->header.size - sizeof(blit->body))/ in vmw_sou_surface_post_clip()
669 blit->body.srcRect.left = src_bb.x1; in vmw_sou_surface_post_clip()
670 blit->body.srcRect.top = src_bb.y1; in vmw_sou_surface_post_clip()
671 blit->body.srcRect.right = src_bb.x2; in vmw_sou_surface_post_clip()
672 blit->body.srcRect.bottom = src_bb.y2; in vmw_sou_surface_post_clip()
674 blit->body.destRect.left = bb->x1; in vmw_sou_surface_post_clip()
675 blit->body.destRect.top = bb->y1; in vmw_sou_surface_post_clip()
676 blit->body.destRect.right = bb->x2; in vmw_sou_surface_post_clip()
677 blit->body.destRect.bottom = bb->y2; in vmw_sou_surface_post_clip()
1028 SVGASignedRect *blit = (SVGASignedRect *) &cmd[1]; in vmw_sou_surface_fifo_commit() local
1057 for (i = 0; i < dirty->num_hits; ++i, ++blit) { in vmw_sou_surface_fifo_commit()
1058 blit->left -= sdirty->left; in vmw_sou_surface_fifo_commit()
1059 blit->right -= sdirty->left; in vmw_sou_surface_fifo_commit()
1060 blit->top -= sdirty->top; in vmw_sou_surface_fifo_commit()
1061 blit->bottom -= sdirty->top; in vmw_sou_surface_fifo_commit()
1083 SVGASignedRect *blit = (SVGASignedRect *) &cmd[1]; in vmw_sou_surface_clip() local
1086 blit += dirty->num_hits; in vmw_sou_surface_clip()
1087 blit->left = dirty->unit_x1; in vmw_sou_surface_clip()
1088 blit->top = dirty->unit_y1; in vmw_sou_surface_clip()
1089 blit->right = dirty->unit_x2; in vmw_sou_surface_clip()
1090 blit->bottom = dirty->unit_y2; in vmw_sou_surface_clip()
1206 struct vmw_kms_sou_bo_blit *blit = dirty->cmd; in vmw_sou_bo_clip() local
1208 blit += dirty->num_hits; in vmw_sou_bo_clip()
1209 blit->header = SVGA_CMD_BLIT_GMRFB_TO_SCREEN; in vmw_sou_bo_clip()
1210 blit->body.destScreenId = dirty->unit->unit; in vmw_sou_bo_clip()
1211 blit->body.srcOrigin.x = dirty->fb_x; in vmw_sou_bo_clip()
1212 blit->body.srcOrigin.y = dirty->fb_y; in vmw_sou_bo_clip()
1213 blit->body.destRect.left = dirty->unit_x1; in vmw_sou_bo_clip()
1214 blit->body.destRect.top = dirty->unit_y1; in vmw_sou_bo_clip()
1215 blit->body.destRect.right = dirty->unit_x2; in vmw_sou_bo_clip()
1216 blit->body.destRect.bottom = dirty->unit_y2; in vmw_sou_bo_clip()
1316 struct vmw_kms_sou_readback_blit *blit = dirty->cmd; in vmw_sou_readback_clip() local
1318 blit += dirty->num_hits; in vmw_sou_readback_clip()
1319 blit->header = SVGA_CMD_BLIT_SCREEN_TO_GMRFB; in vmw_sou_readback_clip()
1320 blit->body.srcScreenId = dirty->unit->unit; in vmw_sou_readback_clip()
1321 blit->body.destOrigin.x = dirty->fb_x; in vmw_sou_readback_clip()
1322 blit->body.destOrigin.y = dirty->fb_y; in vmw_sou_readback_clip()
1323 blit->body.srcRect.left = dirty->unit_x1; in vmw_sou_readback_clip()
1324 blit->body.srcRect.top = dirty->unit_y1; in vmw_sou_readback_clip()
1325 blit->body.srcRect.right = dirty->unit_x2; in vmw_sou_readback_clip()
1326 blit->body.srcRect.bottom = dirty->unit_y2; in vmw_sou_readback_clip()