Searched refs:ptrans (Results 1 - 22 of 22) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_transfer.c61 static void etna_patch_data(void *buffer, const struct pipe_transfer *ptrans) argument
63 struct pipe_resource *prsc = ptrans->resource;
65 struct etna_resource_level *level = &rsc->levels[ptrans->level];
77 etna_etc2_calculate_blocks(buffer, ptrans->stride,
78 ptrans->box.width, ptrans->box.height,
87 static void etna_unpatch_data(void *buffer, const struct pipe_transfer *ptrans) argument
89 struct pipe_resource *prsc = ptrans->resource;
91 struct etna_resource_level *level = &rsc->levels[ptrans->level];
102 etna_transfer_unmap(struct pipe_context *pctx, struct pipe_transfer *ptrans) argument
201 struct pipe_transfer *ptrans; local in function:etna_transfer_map
495 etna_transfer_flush_region(struct pipe_context * pctx,struct pipe_transfer * ptrans,const struct pipe_box * box) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_transfer.c61 static void etna_patch_data(void *buffer, const struct pipe_transfer *ptrans) argument
63 struct pipe_resource *prsc = ptrans->resource;
65 struct etna_resource_level *level = &rsc->levels[ptrans->level];
77 etna_etc2_calculate_blocks(buffer, ptrans->stride,
78 ptrans->box.width, ptrans->box.height,
87 static void etna_unpatch_data(void *buffer, const struct pipe_transfer *ptrans) argument
89 struct pipe_resource *prsc = ptrans->resource;
91 struct etna_resource_level *level = &rsc->levels[ptrans->level];
102 etna_transfer_unmap(struct pipe_context *pctx, struct pipe_transfer *ptrans) argument
189 struct pipe_transfer *ptrans; local in function:etna_transfer_map
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_transfer_helper.c78 u_transfer(struct pipe_transfer *ptrans) argument
80 debug_assert(handle_transfer(ptrans->resource));
81 return (struct u_transfer *)ptrans;
170 struct pipe_transfer *ptrans = &trans->base; local in function:transfer_map_msaa
172 pipe_resource_reference(&ptrans->resource, prsc);
173 ptrans->level = level;
174 ptrans->usage = usage;
175 ptrans->box = *box;
195 blit.src.resource = ptrans->resource;
196 blit.src.format = ptrans
237 struct pipe_transfer *ptrans; local in function:u_transfer_helper_transfer_map
350 flush_region(struct pipe_context * pctx,struct pipe_transfer * ptrans,const struct pipe_box * box) argument
460 u_transfer_helper_transfer_flush_region(struct pipe_context * pctx,struct pipe_transfer * ptrans,const struct pipe_box * box) argument
490 u_transfer_helper_transfer_unmap(struct pipe_context * pctx,struct pipe_transfer * ptrans) argument
565 struct pipe_transfer *ptrans; local in function:u_transfer_helper_deinterleave_transfer_map
642 u_transfer_helper_deinterleave_transfer_unmap(struct pipe_context * pctx,struct pipe_transfer * ptrans) argument
[all...]
H A Du_transfer_helper.h71 struct pipe_transfer *ptrans,
75 struct pipe_transfer *ptrans);
116 struct pipe_transfer *ptrans,
120 struct pipe_transfer *ptrans);
141 struct pipe_transfer *ptrans);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_transfer_helper.c78 u_transfer(struct pipe_transfer *ptrans) argument
80 debug_assert(handle_transfer(ptrans->resource));
81 return (struct u_transfer *)ptrans;
170 struct pipe_transfer *ptrans = &trans->base; local in function:transfer_map_msaa
172 pipe_resource_reference(&ptrans->resource, prsc);
173 ptrans->level = level;
174 ptrans->usage = usage;
175 ptrans->box = *box;
195 blit.src.resource = ptrans->resource;
196 blit.src.format = ptrans
237 struct pipe_transfer *ptrans; local in function:u_transfer_helper_transfer_map
349 flush_region(struct pipe_context * pctx,struct pipe_transfer * ptrans,const struct pipe_box * box) argument
458 u_transfer_helper_transfer_flush_region(struct pipe_context * pctx,struct pipe_transfer * ptrans,const struct pipe_box * box) argument
488 u_transfer_helper_transfer_unmap(struct pipe_context * pctx,struct pipe_transfer * ptrans) argument
[all...]
H A Du_transfer_helper.h71 struct pipe_transfer *ptrans,
75 struct pipe_transfer *ptrans);
116 struct pipe_transfer *ptrans,
120 struct pipe_transfer *ptrans);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/
H A Dlima_resource.c620 struct pipe_transfer *ptrans; local in function:lima_transfer_map
665 ptrans = &trans->base;
667 pipe_resource_reference(&ptrans->resource, pres);
668 ptrans->level = level;
669 ptrans->usage = usage;
670 ptrans->box = *box;
672 *pptrans = ptrans;
675 ptrans->stride = util_format_get_stride(pres->format, ptrans->box.width);
676 ptrans
715 lima_transfer_flush_region(struct pipe_context * pctx,struct pipe_transfer * ptrans,const struct pipe_box * box) argument
723 lima_should_convert_linear(struct lima_resource * res,struct pipe_transfer * ptrans) argument
755 lima_transfer_unmap_inner(struct lima_context * ctx,struct pipe_transfer * ptrans) argument
802 lima_transfer_unmap(struct pipe_context * pctx,struct pipe_transfer * ptrans) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/
H A Dlima_resource.c461 struct pipe_transfer *ptrans; local in function:lima_transfer_map
490 ptrans = &trans->base;
492 pipe_resource_reference(&ptrans->resource, pres);
493 ptrans->level = level;
494 ptrans->usage = usage;
495 ptrans->box = *box;
497 *pptrans = ptrans;
500 ptrans->stride = util_format_get_stride(pres->format, ptrans->box.width);
501 ptrans
526 lima_transfer_flush_region(struct pipe_context * pctx,struct pipe_transfer * ptrans,const struct pipe_box * box) argument
534 lima_transfer_unmap(struct pipe_context * pctx,struct pipe_transfer * ptrans) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/
H A Dv3d_resource.c117 struct pipe_transfer *ptrans)
120 struct v3d_transfer *trans = v3d_transfer(ptrans);
123 struct v3d_resource *rsc = v3d_resource(ptrans->resource);
124 struct v3d_resource_slice *slice = &rsc->slices[ptrans->level];
126 if (ptrans->usage & PIPE_TRANSFER_WRITE) {
127 for (int z = 0; z < ptrans->box.depth; z++) {
130 ptrans->level,
131 ptrans->box.z + z);
135 ptrans->stride *
136 ptrans
116 v3d_resource_transfer_unmap(struct pipe_context * pctx,struct pipe_transfer * ptrans) argument
201 struct pipe_transfer *ptrans; local in function:v3d_resource_transfer_map
[all...]
H A Dv3d_resource.h170 v3d_transfer(struct pipe_transfer *ptrans) argument
172 return (struct v3d_transfer *)ptrans;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/
H A Dv3d_resource.c115 struct pipe_transfer *ptrans)
118 struct v3d_transfer *trans = v3d_transfer(ptrans);
121 struct v3d_resource *rsc = v3d_resource(ptrans->resource);
122 struct v3d_resource_slice *slice = &rsc->slices[ptrans->level];
124 if (ptrans->usage & PIPE_MAP_WRITE) {
125 for (int z = 0; z < ptrans->box.depth; z++) {
128 ptrans->level,
129 ptrans->box.z + z);
133 ptrans->stride *
134 ptrans
114 v3d_resource_transfer_unmap(struct pipe_context * pctx,struct pipe_transfer * ptrans) argument
231 struct pipe_transfer *ptrans; local in function:v3d_resource_transfer_map
[all...]
H A Dv3d_resource.h141 v3d_transfer(struct pipe_transfer *ptrans) argument
143 return (struct v3d_transfer *)ptrans;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_resource.c75 struct pipe_transfer *ptrans)
78 struct vc4_transfer *trans = vc4_transfer(ptrans);
81 struct vc4_resource *rsc = vc4_resource(ptrans->resource);
82 struct vc4_resource_slice *slice = &rsc->slices[ptrans->level];
84 if (ptrans->usage & PIPE_TRANSFER_WRITE) {
86 ptrans->box.z * rsc->cube_map_stride,
88 trans->map, ptrans->stride,
90 &ptrans->box);
95 pipe_resource_reference(&ptrans->resource, NULL);
96 slab_free(&vc4->transfer_pool, ptrans);
74 vc4_resource_transfer_unmap(struct pipe_context * pctx,struct pipe_transfer * ptrans) argument
109 struct pipe_transfer *ptrans; local in function:vc4_resource_transfer_map
[all...]
H A Dvc4_resource.h96 vc4_transfer(struct pipe_transfer *ptrans) argument
98 return (struct vc4_transfer *)ptrans;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_resource.c74 struct pipe_transfer *ptrans)
77 struct vc4_transfer *trans = vc4_transfer(ptrans);
80 struct vc4_resource *rsc = vc4_resource(ptrans->resource);
81 struct vc4_resource_slice *slice = &rsc->slices[ptrans->level];
83 if (ptrans->usage & PIPE_MAP_WRITE) {
85 ptrans->box.z * rsc->cube_map_stride,
87 trans->map, ptrans->stride,
89 &ptrans->box);
94 pipe_resource_reference(&ptrans->resource, NULL);
95 slab_free(&vc4->transfer_pool, ptrans);
73 vc4_resource_transfer_unmap(struct pipe_context * pctx,struct pipe_transfer * ptrans) argument
108 struct pipe_transfer *ptrans; local in function:vc4_resource_transfer_map
[all...]
H A Dvc4_resource.h96 vc4_transfer(struct pipe_transfer *ptrans) argument
98 return (struct vc4_transfer *)ptrans;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_resource.cpp901 struct pipe_transfer *ptrans = &trans->base; local in function:d3d12_transfer_map
906 pipe_resource_reference(&ptrans->resource, pres);
908 ptrans->resource = pres;
909 ptrans->level = level;
910 ptrans->usage = (enum pipe_map_flags)usage;
911 ptrans->box = *box;
919 ptrans->stride = 0;
920 ptrans->layer_stride = 0;
922 ptrans->stride = util_format_get_stride(pres->format, box->width);
923 ptrans
998 d3d12_transfer_unmap(struct pipe_context * pctx,struct pipe_transfer * ptrans) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_resource.c358 struct pipe_transfer *ptrans,
361 struct fd_resource *rsc = fd_resource(ptrans->resource);
363 if (ptrans->resource->target == PIPE_BUFFER)
365 ptrans->box.x + box->x,
366 ptrans->box.x + box->x + box->width);
418 struct pipe_transfer *ptrans)
421 struct fd_resource *rsc = fd_resource(ptrans->resource);
422 struct fd_transfer *trans = fd_transfer(ptrans);
425 if (ptrans->usage & PIPE_TRANSFER_WRITE)
430 if (!(ptrans
357 fd_resource_transfer_flush_region(struct pipe_context * pctx,struct pipe_transfer * ptrans,const struct pipe_box * box) argument
417 fd_resource_transfer_unmap(struct pipe_context * pctx,struct pipe_transfer * ptrans) argument
453 struct pipe_transfer *ptrans; local in function:fd_resource_transfer_map
[all...]
H A Dfreedreno_resource.h147 fd_transfer(struct pipe_transfer *ptrans) argument
149 return (struct fd_transfer *)ptrans;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_resource.c659 struct pipe_transfer *ptrans,
662 struct fd_resource *rsc = fd_resource(ptrans->resource);
664 if (ptrans->resource->target == PIPE_BUFFER)
666 ptrans->box.x + box->x,
667 ptrans->box.x + box->x + box->width);
698 struct pipe_transfer *ptrans)
702 struct fd_resource *rsc = fd_resource(ptrans->resource);
703 struct fd_transfer *trans = fd_transfer(ptrans);
706 if (ptrans->usage & PIPE_MAP_WRITE)
711 if (!(ptrans
658 fd_resource_transfer_flush_region(struct pipe_context * pctx,struct pipe_transfer * ptrans,const struct pipe_box * box) argument
697 fd_resource_transfer_unmap(struct pipe_context * pctx,struct pipe_transfer * ptrans) argument
948 struct pipe_transfer *ptrans; local in function:fd_resource_transfer_map
[all...]
H A Dfreedreno_resource.h265 fd_transfer(struct pipe_transfer *ptrans) argument
267 return (struct fd_transfer *)ptrans;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_resource.c76 struct pipe_transfer *ptrans,
1444 struct pipe_transfer *ptrans,
1448 struct zink_resource *res = zink_resource(ptrans->resource);
1449 struct zink_transfer *trans = (struct zink_transfer *)ptrans;
1474 if (ptrans->resource->target == PIPE_BUFFER)
1483 transfer_unmap(struct pipe_context *pctx, struct pipe_transfer *ptrans) argument
1486 struct zink_resource *res = zink_resource(ptrans->resource);
1487 struct zink_transfer *trans = (struct zink_transfer *)ptrans;
1490 zink_transfer_flush_region(pctx, ptrans, &ptrans
1443 zink_transfer_flush_region(struct pipe_context * pctx,struct pipe_transfer * ptrans,const struct pipe_box * box) argument
1513 zink_buffer_unmap(struct pipe_context * pctx,struct pipe_transfer * ptrans) argument
1523 zink_image_unmap(struct pipe_context * pctx,struct pipe_transfer * ptrans) argument
[all...]

Completed in 22 milliseconds