Searched refs:format_mapping (Results 1 – 2 of 2) sorted by relevance
1030 } format_mapping[] = { variable1165 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()
141 struct format_mapping struct192 static const struct format_mapping format_map[] = {1167 const struct format_mapping *mapping = &format_map[i]; in st_choose_format()