Searched refs:format_mapping (Results 1 – 2 of 2) sorted by relevance
896 } format_mapping[] = { variable1021 for (size_t i = 0; i < ARRAY_SIZE(format_mapping); i++) in driGLFormatToImageFormat()1022 if (format_mapping[i].mesa_format == format) in driGLFormatToImageFormat()1023 return format_mapping[i].image_format; in driGLFormatToImageFormat()1031 for (size_t i = 0; i < ARRAY_SIZE(format_mapping); i++) in driGLFormatToSizedInternalGLFormat()1032 if (format_mapping[i].mesa_format == format) in driGLFormatToSizedInternalGLFormat()1033 return format_mapping[i].internal_format; in driGLFormatToSizedInternalGLFormat()1041 for (size_t i = 0; i < ARRAY_SIZE(format_mapping); i++) in driImageFormatToGLFormat()1042 if (format_mapping[i].image_format == image_format) in driImageFormatToGLFormat()1043 return format_mapping[i].mesa_format; in driImageFormatToGLFormat()
152 struct format_mapping struct203 static const struct format_mapping format_map[] = {1178 const struct format_mapping *mapping = &format_map[i]; in st_choose_format()