Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_util.c1030 } format_mapping[] = { variable
1165 for (size_t i = 0; i < ARRAY_SIZE(format_mapping); i++) in driGLFormatToImageFormat()
1166 if (format_mapping[i].mesa_format == format) in driGLFormatToImageFormat()
1167 return format_mapping[i].image_format; in driGLFormatToImageFormat()
1175 for (size_t i = 0; i < ARRAY_SIZE(format_mapping); i++) in driGLFormatToSizedInternalGLFormat()
1176 if (format_mapping[i].mesa_format == format) in driGLFormatToSizedInternalGLFormat()
1177 return format_mapping[i].internal_format; in driGLFormatToSizedInternalGLFormat()
1185 for (size_t i = 0; i < ARRAY_SIZE(format_mapping); i++) in driImageFormatToGLFormat()
1186 if (format_mapping[i].image_format == image_format) in driImageFormatToGLFormat()
1187 return format_mapping[i].mesa_format; in driImageFormatToGLFormat()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_format.c141 struct format_mapping struct
192 static const struct format_mapping format_map[] = {
1167 const struct format_mapping *mapping = &format_map[i]; in st_choose_format()