Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.c896 } format_mapping[] = { variable
1021 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()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_format.c152 struct format_mapping struct
203 static const struct format_mapping format_map[] = {
1178 const struct format_mapping *mapping = &format_map[i]; in st_choose_format()