Home
last modified time | relevance | path

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

/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c309 if (info->modifier_props[i].drmFormatModifier == modifier) in get_modifier_props()
310 return &info->modifier_props[i]; in get_modifier_props()
354 info->modifier_props = in wsi_configure_native_image()
356 sizeof(*info->modifier_props) * in wsi_configure_native_image()
359 if (info->modifier_props == NULL) in wsi_configure_native_image()
362 modifier_props_list.pDrmFormatModifierProperties = info->modifier_props; in wsi_configure_native_image()
374 .drmFormatModifier = info->modifier_props[i].drmFormatModifier, in wsi_configure_native_image()
406 info->modifier_props[info->modifier_prop_count++] = info->modifier_props[i]; in wsi_configure_native_image()
Dwsi_common_private.h53 struct VkDrmFormatModifierPropertiesEXT *modifier_props; member
Dwsi_common.c521 vk_free(&chain->alloc, info->modifier_props); in wsi_destroy_image_info()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_screen.c1746 screen->modifier_props[i].drmFormatModifierCount = mod_props.drmFormatModifierCount; in populate_format_props()
1747 …screen->modifier_props[i].pDrmFormatModifierProperties = ralloc_array(screen, VkDrmFormatModifierP… in populate_format_props()
1750 …screen->modifier_props[i].pDrmFormatModifierProperties[j] = mod_props.pDrmFormatModifierProperties… in populate_format_props()
1876 *count = screen->modifier_props[format].drmFormatModifierCount; in zink_query_dmabuf_modifiers()
1878 … modifiers[i] = screen->modifier_props[format].pDrmFormatModifierProperties[i].drmFormatModifier; in zink_query_dmabuf_modifiers()
1885 for (unsigned i = 0; i < screen->modifier_props[format].drmFormatModifierCount; i++) in zink_is_dmabuf_modifier_supported()
1886 … if (screen->modifier_props[format].pDrmFormatModifierProperties[i].drmFormatModifier == modifier) in zink_is_dmabuf_modifier_supported()
1895 for (unsigned i = 0; i < screen->modifier_props[format].drmFormatModifierCount; i++) in zink_get_dmabuf_modifier_planes()
1896 … if (screen->modifier_props[format].pDrmFormatModifierProperties[i].drmFormatModifier == modifier) in zink_get_dmabuf_modifier_planes()
1897 … return screen->modifier_props[format].pDrmFormatModifierProperties[i].drmFormatModifierPlaneCount; in zink_get_dmabuf_modifier_planes()
Dzink_surface.c153 for (unsigned i = 0; i < screen->modifier_props[templ->format].drmFormatModifierCount; i++) { in create_surface()
154 …if (res->obj->modifier == screen->modifier_props[templ->format].pDrmFormatModifierProperties[i].dr… in create_surface()
155 …feats &= screen->modifier_props[templ->format].pDrmFormatModifierProperties[i].drmFormatModifierTi… in create_surface()
Dzink_resource.c360 const struct zink_modifier_prop *prop = &screen->modifier_props[templ->format]; in get_image_usage()
649 modifiers_count = screen->modifier_props[templ->format].drmFormatModifierCount; in resource_object_create()
651 … mods[j] = screen->modifier_props[templ->format].pDrmFormatModifierProperties[j].drmFormatModifier; in resource_object_create()
783 for (unsigned i = 0; i < screen->modifier_props[templ->format].drmFormatModifierCount; i++) in resource_object_create()
784 …feats &= screen->modifier_props[templ->format].pDrmFormatModifierProperties[i].drmFormatModifierTi… in resource_object_create()
1238 res->modifiers_count = screen->modifier_props[res->base.b.format].drmFormatModifierCount; in add_resource_bind()
1240 … for (unsigned i = 0; i < screen->modifier_props[res->base.b.format].drmFormatModifierCount; i++) in add_resource_bind()
1241 …res->modifiers[i] = screen->modifier_props[res->base.b.format].pDrmFormatModifierProperties[i].drm… in add_resource_bind()
Dzink_screen.h202 struct zink_modifier_prop modifier_props[PIPE_FORMAT_COUNT]; member