Lines Matching refs:pt
48 pipe_get_tile_raw(struct pipe_transfer *pt, in pipe_get_tile_raw() argument
54 dst_stride = util_format_get_stride(pt->resource->format, w); in pipe_get_tile_raw()
56 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_get_tile_raw()
59 util_copy_rect(dst, pt->resource->format, dst_stride, 0, 0, w, h, src, pt->stride, x, y); in pipe_get_tile_raw()
67 pipe_put_tile_raw(struct pipe_transfer *pt, in pipe_put_tile_raw() argument
72 enum pipe_format format = pt->resource->format; in pipe_put_tile_raw()
77 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_put_tile_raw()
80 util_copy_rect(dst, format, pt->stride, x, y, w, h, src, src_stride, 0, 0); in pipe_put_tile_raw()
428 pipe_get_tile_rgba(struct pipe_transfer *pt, in pipe_get_tile_rgba() argument
433 pipe_get_tile_rgba_format(pt, src, x, y, w, h, pt->resource->format, p); in pipe_get_tile_rgba()
438 pipe_get_tile_rgba_format(struct pipe_transfer *pt, in pipe_get_tile_rgba_format() argument
447 if (u_clip_tile(x, y, &w, &h, &pt->box)) { in pipe_get_tile_rgba_format()
460 pipe_get_tile_raw(pt, src, x, y, w, h, packed, 0); in pipe_get_tile_rgba_format()
469 pipe_put_tile_rgba(struct pipe_transfer *pt, in pipe_put_tile_rgba() argument
474 pipe_put_tile_rgba_format(pt, dst, x, y, w, h, pt->resource->format, p); in pipe_put_tile_rgba()
479 pipe_put_tile_rgba_format(struct pipe_transfer *pt, in pipe_put_tile_rgba_format() argument
488 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_put_tile_rgba_format()
524 pipe_put_tile_raw(pt, dst, x, y, w, h, packed, 0); in pipe_put_tile_rgba_format()
530 pipe_put_tile_i_format(struct pipe_transfer *pt, in pipe_put_tile_i_format() argument
539 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_put_tile_i_format()
552 pipe_put_tile_raw(pt, dst, x, y, w, h, packed, 0); in pipe_put_tile_i_format()
558 pipe_put_tile_ui_format(struct pipe_transfer *pt, in pipe_put_tile_ui_format() argument
567 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_put_tile_ui_format()
580 pipe_put_tile_raw(pt, dst, x, y, w, h, packed, 0); in pipe_put_tile_ui_format()
589 pipe_get_tile_z(struct pipe_transfer *pt, in pipe_get_tile_z() argument
598 enum pipe_format format = pt->resource->format; in pipe_get_tile_z()
600 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_get_tile_z()
607 = (const uint *)(map + y * pt->stride + x*4); in pipe_get_tile_z()
611 ptrc += pt->stride/4; in pipe_get_tile_z()
619 = (const uint *)(map + y * pt->stride + x*4); in pipe_get_tile_z()
626 ptrc += pt->stride/4; in pipe_get_tile_z()
634 = (const uint *)(map + y * pt->stride + x*4); in pipe_get_tile_z()
641 ptrc += pt->stride/4; in pipe_get_tile_z()
648 = (const ushort *)(map + y * pt->stride + x*2); in pipe_get_tile_z()
655 ptrc += pt->stride/2; in pipe_get_tile_z()
661 const float *ptrc = (const float *)(map + y * pt->stride + x*4); in pipe_get_tile_z()
677 ptrc += pt->stride/4; in pipe_get_tile_z()
683 const float *ptrc = (const float *)(map + y * pt->stride + x*8); in pipe_get_tile_z()
699 ptrc += pt->stride/4; in pipe_get_tile_z()
710 pipe_put_tile_z(struct pipe_transfer *pt, in pipe_put_tile_z() argument
719 enum pipe_format format = pt->resource->format; in pipe_put_tile_z()
721 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_put_tile_z()
727 uint *pDest = (uint *) (map + y * pt->stride + x*4); in pipe_put_tile_z()
730 pDest += pt->stride/4; in pipe_put_tile_z()
737 uint *pDest = (uint *) (map + y * pt->stride + x*4); in pipe_put_tile_z()
744 pDest += pt->stride/4; in pipe_put_tile_z()
751 uint *pDest = (uint *) (map + y * pt->stride + x*4); in pipe_put_tile_z()
757 pDest += pt->stride/4; in pipe_put_tile_z()
764 uint *pDest = (uint *) (map + y * pt->stride + x*4); in pipe_put_tile_z()
771 pDest += pt->stride/4; in pipe_put_tile_z()
778 uint *pDest = (uint *) (map + y * pt->stride + x*4); in pipe_put_tile_z()
784 pDest += pt->stride/4; in pipe_put_tile_z()
791 ushort *pDest = (ushort *) (map + y * pt->stride + x*2); in pipe_put_tile_z()
797 pDest += pt->stride/2; in pipe_put_tile_z()
804 float *pDest = (float *) (map + y * pt->stride + x*4); in pipe_put_tile_z()
811 pDest += pt->stride/4; in pipe_put_tile_z()
818 float *pDest = (float *) (map + y * pt->stride + x*8); in pipe_put_tile_z()
825 pDest += pt->stride/4; in pipe_put_tile_z()
837 pipe_get_tile_ui_format(struct pipe_transfer *pt, in pipe_get_tile_ui_format() argument
846 if (u_clip_tile(x, y, &w, &h, &pt->box)) { in pipe_get_tile_ui_format()
859 pipe_get_tile_raw(pt, src, x, y, w, h, packed, 0); in pipe_get_tile_ui_format()
868 pipe_get_tile_i_format(struct pipe_transfer *pt, in pipe_get_tile_i_format() argument
877 if (u_clip_tile(x, y, &w, &h, &pt->box)) { in pipe_get_tile_i_format()
890 pipe_get_tile_raw(pt, src, x, y, w, h, packed, 0); in pipe_get_tile_i_format()