Lines Matching defs:format
27 #include "util/format/u_format.h"
28 #include "util/format/u_format_rgtc.h"
29 #include "util/format/u_format_zs.h"
337 * Helper to check if the format is something that we can blit/render
338 * to.. if the format is not renderable, there is no point in trying
346 pscreen, prsc->format, prsc->target, prsc->nr_samples,
389 /* TODO: somehow munge dimensions and format to copy unsupported
390 * render target format to something that is supported?
468 blit.dst.format = prsc->format;
470 blit.src.format = pshadow->format;
471 blit.mask = util_format_get_mask(prsc->format);
587 (util_format_get_mask(tmpl.format) & PIPE_MASK_S))
625 blit.dst.format = dst->format;
629 blit.src.format = trans->staging_prsc->format;
632 blit.mask = util_format_get_mask(trans->staging_prsc->format);
646 blit.src.format = src->format;
650 blit.dst.format = trans->staging_prsc->format;
653 blit.mask = util_format_get_mask(trans->staging_prsc->format);
788 enum pipe_format format = prsc->format;
803 offset = box->y / util_format_get_blockheight(format) * trans->b.b.stride +
804 box->x / util_format_get_blockwidth(format) * rsc->layout.cpp +
1095 layout->format = prsc->format;
1101 layout->cpp = util_format_get_blocksize(prsc->format);
1239 enum pipe_format format = tmpl->format;
1249 if ((prsc->target == PIPE_BUFFER) && (format == PIPE_FORMAT_NONE))
1250 format = prsc->format = PIPE_FORMAT_R8_UNORM;
1271 rsc->internal_format = format;
1274 assert(prsc->format == PIPE_FORMAT_R8_UNORM);
1406 rsc->internal_format = tmpl->format;