Lines Matching refs:format
38 #include "util/format/u_format.h"
50 * underlying format. */
52 etna_compute_offset(enum pipe_format format, const struct pipe_box *box,
56 box->y / util_format_get_blockheight(format) * stride +
57 box->x / util_format_get_blockwidth(format) *
58 util_format_get_blocksize(format);
79 prsc->format, level->patch_offsets);
129 * tiling format. Write back the updated buffer contents.
143 ptrans->stride, util_format_get_blocksize(rsc->base.format));
146 util_copy_box(trans->mapped, rsc->base.format, res_level->stride,
202 enum pipe_format format = prsc->format;
422 etna_compute_offset(prsc->format, box, res_level->stride,
431 unsigned divSizeX = util_format_get_blockwidth(format);
432 unsigned divSizeY = util_format_get_blockheight(format);
441 ptrans->stride = align(box->width, divSizeX) * util_format_get_blocksize(format); /* row stride in bytes */
456 util_format_get_blocksize(rsc->base.format));
459 util_copy_box(trans->staging, rsc->base.format, ptrans->stride,