Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_screen.c200 static const struct brw_image_format brw_image_formats[] = { variable
439 for (unsigned i = 0; i < ARRAY_SIZE(brw_image_formats); i++) { in brw_image_format_lookup()
440 if (brw_image_formats[i].fourcc == fourcc) in brw_image_format_lookup()
441 return &brw_image_formats[i]; in brw_image_format_lookup()
455 for (unsigned i = 0; i < ARRAY_SIZE(brw_image_formats); i++) { in brw_image_get_fourcc()
456 if (brw_image_formats[i].planes[0].dri_format == image->dri_format) { in brw_image_get_fourcc()
457 *fourcc = brw_image_formats[i].fourcc; in brw_image_get_fourcc()
1383 for (i = 0; i < ARRAY_SIZE(brw_image_formats); i++) { in brw_query_dma_buf_formats()
1388 if (brw_image_formats[i].fourcc == __DRI_IMAGE_FOURCC_SARGB8888 || in brw_query_dma_buf_formats()
1389 brw_image_formats[i].fourcc == __DRI_IMAGE_FOURCC_SABGR8888 || in brw_query_dma_buf_formats()
[all …]