Lines Matching refs:tex
55 struct pipe_resource *tex = transfer->resource; in r300_copy_from_tiled_texture() local
59 tex, transfer->level, &transfer->box); in r300_copy_from_tiled_texture()
67 struct pipe_resource *tex = transfer->resource; in r300_copy_into_tiled_texture() local
71 ctx->resource_copy_region(ctx, tex, transfer->level, in r300_copy_into_tiled_texture()
87 struct r300_resource *tex = r300_resource(texture); in r300_texture_get_transfer() local
93 r300->rws->cs_is_buffer_referenced(r300->cs, tex->cs_buf, RADEON_USAGE_READWRITE); in r300_texture_get_transfer()
98 r300->rws->buffer_is_busy(tex->buf, RADEON_USAGE_READWRITE); in r300_texture_get_transfer()
112 if (tex->tex.microtile || tex->tex.macrotile[level] || in r300_texture_get_transfer()
166 if (!tex->tex.microtile && !tex->tex.macrotile[level]) { in r300_texture_get_transfer()
178 assert(!trans->linear_texture->tex.microtile && in r300_texture_get_transfer()
179 !trans->linear_texture->tex.macrotile[0]); in r300_texture_get_transfer()
183 trans->linear_texture->tex.stride_in_bytes[0]; in r300_texture_get_transfer()
198 trans->transfer.stride = tex->tex.stride_in_bytes[level]; in r300_texture_get_transfer()
199 trans->offset = r300_texture_get_offset(tex, level, box->z); in r300_texture_get_transfer()
231 struct r300_resource *tex = r300_resource(transfer->resource); in r300_texture_transfer_map() local
233 enum pipe_format format = tex->b.b.format; in r300_texture_transfer_map()
242 map = r300->rws->buffer_map(tex->cs_buf, r300->cs, transfer->usage); in r300_texture_transfer_map()
259 struct r300_resource *tex = r300_resource(transfer->resource); in r300_texture_transfer_unmap() local
264 rws->buffer_unmap(tex->cs_buf); in r300_texture_transfer_unmap()