Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_transfer.c221 unsigned w_align, h_align; in etna_transfer_map() local
224 w_align = h_align = 64; in etna_transfer_map()
227 h_align = ETNA_RS_HEIGHT_MASK + 1; in etna_transfer_map()
229 h_align *= ctx->screen->specs.pixel_pipes; in etna_transfer_map()
234 ptrans->box.height += ptrans->box.y & (h_align - 1); in etna_transfer_map()
235 ptrans->box.y = ptrans->box.y & ~(h_align - 1); in etna_transfer_map()
Detnaviv_rs.c515 unsigned int h_align, w_align; in etna_get_rs_alignment_mask() local
518 w_align = h_align = 64; in etna_get_rs_alignment_mask()
521 h_align = ETNA_RS_HEIGHT_MASK + 1; in etna_get_rs_alignment_mask()
524 h_align *= ctx->screen->specs.pixel_pipes; in etna_get_rs_alignment_mask()
527 *height_mask = h_align -1; in etna_get_rs_alignment_mask()
631 unsigned int h_align = (ETNA_RS_HEIGHT_MASK + 1) * ctx->specs.pixel_pipes; in etna_try_rs_blit() local
636 …if (height & (h_align - 1) && height >= src_lev->height * msaa_yscale && height >= dst_lev->height) in etna_try_rs_blit()
637 height = align(height, h_align); in etna_try_rs_blit()
644 width & (w_align - 1) || height & (h_align - 1)) in etna_try_rs_blit()