Home
last modified time | relevance | path

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

/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c177 struct VkDrmFormatModifierPropertiesEXT *modifier_props = NULL; in wsi_create_native_image() local
196 modifier_props = vk_alloc(&chain->alloc, in wsi_create_native_image()
197 sizeof(*modifier_props) * in wsi_create_native_image()
201 if (!modifier_props) { in wsi_create_native_image()
206 modifier_props_list.pDrmFormatModifierProperties = modifier_props; in wsi_create_native_image()
218 .drmFormatModifier = modifier_props[i].drmFormatModifier, in wsi_create_native_image()
248 modifier_props[modifier_prop_count++] = modifier_props[i]; in wsi_create_native_image()
272 if (modifier_props[j].drmFormatModifier == modifiers[l][i]) in wsi_create_native_image()
388 if (modifier_props[j].drmFormatModifier == image->drm_modifier) { in wsi_create_native_image()
389 image->num_planes = modifier_props[j].drmFormatModifierPlaneCount; in wsi_create_native_image()
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_screen.c1537 screen->modifier_props[i].drmFormatModifierCount = mod_props.drmFormatModifierCount; in populate_format_props()
1538 …screen->modifier_props[i].pDrmFormatModifierProperties = ralloc_array(screen, VkDrmFormatModifierP… in populate_format_props()
1541 …screen->modifier_props[i].pDrmFormatModifierProperties[j] = mod_props.pDrmFormatModifierProperties… in populate_format_props()
1738 *count = screen->modifier_props[format].drmFormatModifierCount; in zink_query_dmabuf_modifiers()
1740 … modifiers[i] = screen->modifier_props[format].pDrmFormatModifierProperties[i].drmFormatModifier; in zink_query_dmabuf_modifiers()
1747 for (unsigned i = 0; i < screen->modifier_props[format].drmFormatModifierCount; i++) in zink_is_dmabuf_modifier_supported()
1748 … if (screen->modifier_props[format].pDrmFormatModifierProperties[i].drmFormatModifier == modifier) in zink_is_dmabuf_modifier_supported()
1757 for (unsigned i = 0; i < screen->modifier_props[format].drmFormatModifierCount; i++) in zink_get_dmabuf_modifier_planes()
1758 … if (screen->modifier_props[format].pDrmFormatModifierProperties[i].drmFormatModifier == modifier) in zink_get_dmabuf_modifier_planes()
1759 … return screen->modifier_props[format].pDrmFormatModifierProperties[i].drmFormatModifierPlaneCount; in zink_get_dmabuf_modifier_planes()
Dzink_screen.h166 struct zink_modifier_prop modifier_props[PIPE_FORMAT_COUNT]; member
Dzink_resource.c282 const struct zink_modifier_prop *prop = &screen->modifier_props[templ->format]; in get_image_usage()
741 const struct zink_modifier_prop *prop = &screen->modifier_props[templ->format]; in resource_create()