Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gbm/backends/dri/
Dgbm_dri.c541 static const struct gbm_dri_visual gbm_dri_visuals_table[] = { variable
640 for (size_t i = 0; i < ARRAY_SIZE(gbm_dri_visuals_table); i++) { in gbm_format_to_dri_format()
641 if (gbm_dri_visuals_table[i].gbm_format == gbm_format) in gbm_format_to_dri_format()
642 return gbm_dri_visuals_table[i].dri_image_format; in gbm_format_to_dri_format()
651 for (size_t i = 0; i < ARRAY_SIZE(gbm_dri_visuals_table); i++) { in gbm_dri_to_gbm_format()
652 if (gbm_dri_visuals_table[i].dri_image_format == dri_format) in gbm_dri_to_gbm_format()
653 return gbm_dri_visuals_table[i].gbm_format; in gbm_dri_to_gbm_format()
1474 dri->visual_table = gbm_dri_visuals_table; in dri_device_create()
1475 dri->num_visuals = ARRAY_SIZE(gbm_dri_visuals_table); in dri_device_create()