Lines Matching defs:format
36 #include "util/format/u_format.h"
125 enum pipe_format format;
129 dri_drawable_get_format(drawable, atts[i], &format, &bind);
130 if (format == PIPE_FORMAT_NONE)
157 switch(format) {
182 depth = util_format_get_blocksizebits(format);
183 assert(!"Unexpected format in dri2_drawable_get_buffers()");
297 unsigned attachment, unsigned format,
329 switch (format) {
358 templ.format = pf;
580 enum pipe_format format;
598 dri_drawable_get_format(drawable, statt, &format, &bind);
599 if (format == PIPE_FORMAT_NONE)
606 templ.format = format;
611 whandle.format = format;
634 templ.format = drawable->textures[statt]->format;
679 enum pipe_format format;
682 dri_drawable_get_format(drawable, statt, &format, &bind);
684 if (format) {
685 templ.format = format;
892 /* YUV format sampling can be emulated by the GL gallium frontend by
894 * If no tex_usage is set and we detect a YUV format,
942 templ.format = dri2_get_pipe_format_for_dri_format(map->planes[i].dri_format);
944 templ.format = map->pipe_format;
945 assert(templ.format != PIPE_FORMAT_NONE);
983 int width, int height, int format,
986 const struct dri2_format_mapping *map = dri2_get_mapping_by_format(format);
996 whandle.format = map->pipe_format;
1081 whandles[i].format = map->pipe_format;
1109 int format, unsigned int use,
1114 const struct dri2_format_mapping *map = dri2_get_mapping_by_format(format);
1156 templ.format = map->pipe_format;
1181 img->dri_format = format;
1194 int width, int height, int format,
1197 return dri2_create_image_common(_screen, width, height, format, use,
1204 int width, int height, int format,
1209 return dri2_create_image_common(dri_screen, width, height, format,
1216 int width, int height, int format,
1221 return dri2_create_image_common(dri_screen, width, height, format, use,
1490 dri2_from_names(__DRIscreen *screen, int width, int height, int format,
1494 const struct dri2_format_mapping *map = dri2_get_mapping_by_format(format);
1509 whandle.format = map->pipe_format;
1597 enum pipe_format format;
1602 format = map->pipe_format;
1604 bool native_sampling = pscreen->is_format_supported(pscreen, format, screen->target, 0, 0,
1606 if (pscreen->is_format_supported(pscreen, format, screen->target, 0, 0,
1611 pscreen->query_dmabuf_modifiers(pscreen, format, max, modifiers,
1765 blit.dst.format = dst->texture->format;
1772 blit.src.format = src->texture->format;