Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_resource.c295 static const uint64_t supported_modifiers[] = { variable
307 screen->supported_modifiers = supported_modifiers; in fd6_resource_screen_init()
308 screen->num_supported_modifiers = ARRAY_SIZE(supported_modifiers); in fd6_resource_screen_init()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_screen.c602 const uint64_t supported_modifiers[] = { variable
630 if (max > ARRAY_SIZE(supported_modifiers)) in etna_screen_query_dmabuf_modifiers()
631 max = ARRAY_SIZE(supported_modifiers); in etna_screen_query_dmabuf_modifiers()
635 max = ARRAY_SIZE(supported_modifiers); in etna_screen_query_dmabuf_modifiers()
643 modifiers[num_modifiers] = supported_modifiers[i]; in etna_screen_query_dmabuf_modifiers()
660 for (i = 0; i < ARRAY_SIZE(supported_modifiers); i++) { in etna_screen_is_dmabuf_modifier_supported()
664 if (modifier == supported_modifiers[i]) { in etna_screen_is_dmabuf_modifier_supported()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.h148 const uint64_t *supported_modifiers; member
Dfreedreno_resource.c1517 static const uint64_t supported_modifiers[] = { variable
1633 if (!screen->supported_modifiers) { in fd_resource_screen_init()
1634 screen->supported_modifiers = supported_modifiers; in fd_resource_screen_init()
1635 screen->num_supported_modifiers = ARRAY_SIZE(supported_modifiers); in fd_resource_screen_init()
Dfreedreno_screen.c851 modifiers[num] = screen->supported_modifiers[i]; in fd_screen_query_dmabuf_modifiers()
872 if (modifier == screen->supported_modifiers[i]) { in fd_screen_is_dmabuf_modifier_supported()
/third_party/mesa3d/src/loader/
Dloader_dri3_helper.c1312 uint64_t *supported_modifiers; in has_supported_modifier() local
1323 supported_modifiers = malloc(supported_modifiers_count * sizeof(uint64_t)); in has_supported_modifier()
1324 if (!supported_modifiers) in has_supported_modifier()
1329 supported_modifiers, NULL, in has_supported_modifier()
1334 if (supported_modifiers[i] == modifiers[j]) in has_supported_modifier()
1339 free(supported_modifiers); in has_supported_modifier()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_screen.c350 } supported_modifiers[] = { variable
400 for (i = 0; i < ARRAY_SIZE(supported_modifiers); i++) { in modifier_is_supported()
401 if (supported_modifiers[i].modifier != modifier) in modifier_is_supported()
404 return supported_modifiers[i].since_ver <= devinfo->ver; in modifier_is_supported()
1427 for (i = 0; i < ARRAY_SIZE(supported_modifiers); i++) { in brw_query_dma_buf_modifiers()
1428 uint64_t modifier = supported_modifiers[i].modifier; in brw_query_dma_buf_modifiers()