Home
last modified time | relevance | path

Searched refs:src_lev (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_blt.c425 struct etna_resource_level *src_lev = &src->levels[blit_info->src.level]; in etna_try_blt_blit() local
434 if (!src_lev->ts_size || !src_lev->ts_valid) /* No TS, no worries */ in etna_try_blt_blit()
440 if (src == dst && src_lev->ts_compress_fmt < 0) { in etna_try_blt_blit()
445 op.addr.offset = src_lev->offset + blit_info->src.box.z * src_lev->layer_stride; in etna_try_blt_blit()
448 op.ts_addr.offset = src_lev->ts_offset + blit_info->src.box.z * src_lev->ts_layer_stride; in etna_try_blt_blit()
450 op.ts_clear_value[0] = src_lev->clear_value; in etna_try_blt_blit()
451 op.ts_clear_value[1] = src_lev->clear_value; in etna_try_blt_blit()
452 op.ts_mode = src_lev->ts_mode; in etna_try_blt_blit()
453 op.num_tiles = DIV_ROUND_UP(src_lev->size, src_lev->ts_mode ? 256 : 128); in etna_try_blt_blit()
464 op.src.addr.offset = src_lev->offset + blit_info->src.box.z * src_lev->layer_stride; in etna_try_blt_blit()
[all …]
Detnaviv_rs.c466 struct etna_resource_level *src_lev, unsigned int src_offset, in etna_manual_blit() argument
495 srow += src_lev->stride * 4; in etna_manual_blit()
648 struct etna_resource_level *src_lev = &src->levels[blit_info->src.level]; in etna_try_rs_blit() local
653 assert((blit_info->src.box.x + blit_info->src.box.width) * msaa_xscale <= src_lev->padded_width); in etna_try_rs_blit()
654 …assert((blit_info->src.box.y + blit_info->src.box.height) * msaa_yscale <= src_lev->padded_height); in etna_try_rs_blit()
658 unsigned src_offset = src_lev->offset + in etna_try_rs_blit()
659 blit_info->src.box.z * src_lev->layer_stride + in etna_try_rs_blit()
662 src_lev->stride, in etna_try_rs_blit()
671 if (src_lev->padded_width <= ETNA_RS_WIDTH_MASK || in etna_try_rs_blit()
673 src_lev->padded_height <= ETNA_RS_HEIGHT_MASK || in etna_try_rs_blit()
[all …]