Home
last modified time | relevance | path

Searched refs:drmFormatModifierCount (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mesa3d/src/amd/vulkan/
Dradv_formats.c1236 mod_list->drmFormatModifierCount = 0; in radv_list_drm_format_modifiers()
1243 mod_list->drmFormatModifierCount = mod_count; in radv_list_drm_format_modifiers()
1247 mod_count = MIN2(mod_count, mod_list->drmFormatModifierCount); in radv_list_drm_format_modifiers()
1252 mod_list->drmFormatModifierCount = 0; in radv_list_drm_format_modifiers()
1258 mod_list->drmFormatModifierCount = 0; in radv_list_drm_format_modifiers()
1273 mod_list->pDrmFormatModifierProperties[mod_list->drmFormatModifierCount].drmFormatModifier = in radv_list_drm_format_modifiers()
1275 mod_list->pDrmFormatModifierProperties[mod_list->drmFormatModifierCount] in radv_list_drm_format_modifiers()
1277 mod_list->pDrmFormatModifierProperties[mod_list->drmFormatModifierCount] in radv_list_drm_format_modifiers()
1280 ++mod_list->drmFormatModifierCount; in radv_list_drm_format_modifiers()
1297 mod_list->drmFormatModifierCount = 0; in radv_list_drm_format_modifiers_2()
[all …]
Dradv_image.c1660 assert(mod_list->drmFormatModifierCount); in radv_select_modifier()
1682 for (uint32_t j = 0; j < mod_list->drmFormatModifierCount; ++j) { in radv_select_modifier()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/
DDmaBufImageSiblingVkLinux.cpp114 formatModifierPropertiesList.drmFormatModifierCount = 0; in GetFormatModifierProperties()
124 formatModifierPropertiesList.drmFormatModifierCount); in GetFormatModifierProperties()
131 uint32_t propertiesIndex = formatModifierPropertiesList.drmFormatModifierCount; in GetFormatModifierProperties()
132 for (uint32_t index = 0; index < formatModifierPropertiesList.drmFormatModifierCount; ++index) in GetFormatModifierProperties()
143 ANGLE_VK_CHECK(displayVk, propertiesIndex < formatModifierPropertiesList.drmFormatModifierCount, in GetFormatModifierProperties()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/
DMemoryServiceDmaBuf.cpp38 formatModifierPropsList.drmFormatModifierCount = 0; in GetModifierPlaneCount()
47 uint32_t modifierCount = formatModifierPropsList.drmFormatModifierCount; in GetModifierPlaneCount()
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c195 assert(modifier_props_list.drmFormatModifierCount > 0); in wsi_create_native_image()
198 modifier_props_list.drmFormatModifierCount, in wsi_create_native_image()
215 for (uint32_t i = 0; i < modifier_props_list.drmFormatModifierCount; i++) { in wsi_create_native_image()
285 .drmFormatModifierCount = image_modifier_count, in wsi_create_native_image()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_screen.c1530 mod_props.drmFormatModifierCount = ARRAY_SIZE(mods); in populate_format_props()
1536 if (screen->info.have_EXT_image_drm_format_modifier && mod_props.drmFormatModifierCount) { in populate_format_props()
1537 screen->modifier_props[i].drmFormatModifierCount = mod_props.drmFormatModifierCount; in populate_format_props()
1538 …perties = ralloc_array(screen, VkDrmFormatModifierPropertiesEXT, mod_props.drmFormatModifierCount); in populate_format_props()
1540 for (unsigned j = 0; j < mod_props.drmFormatModifierCount; j++) in populate_format_props()
1738 *count = screen->modifier_props[format].drmFormatModifierCount; in zink_query_dmabuf_modifiers()
1747 for (unsigned i = 0; i < screen->modifier_props[format].drmFormatModifierCount; i++) in zink_is_dmabuf_modifier_supported()
1757 for (unsigned i = 0; i < screen->modifier_props[format].drmFormatModifierCount; i++) in zink_get_dmabuf_modifier_planes()
Dzink_screen.h72 uint32_t drmFormatModifierCount; member
Dzink_resource.c266 for (unsigned j = 0; j < prop->drmFormatModifierCount; j++) { in find_modifier_feats()
531 idfmlci.drmFormatModifierCount = modifiers_count; in resource_object_create()
743 for (unsigned j = 0; j < prop->drmFormatModifierCount; j++) { in resource_create()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_android.c305 .drmFormatModifierCount = 0, in vn_android_get_modifier_properties()
318 if (!mod_prop_list.drmFormatModifierCount) { in vn_android_get_modifier_properties()
325 alloc, sizeof(*mod_props) * mod_prop_list.drmFormatModifierCount, in vn_android_get_modifier_properties()
334 for (uint32_t i = 0; i < mod_prop_list.drmFormatModifierCount; i++) { in vn_android_get_modifier_properties()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c279 for (uint32_t i = 0; i < mod_info->drmFormatModifierCount; i++) { in create_image()
355 .drmFormatModifierCount = 1, in create_image_from_swapchain()
Dv3dv_formats.c258 &list->drmFormatModifierCount); in v3dv_GetPhysicalDeviceFormatProperties2()
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_image.h127 size += vn_sizeof_uint32_t(&val->drmFormatModifierCount); in vn_sizeof_VkImageDrmFormatModifierListCreateInfoEXT_self()
129 size += vn_sizeof_array_size(val->drmFormatModifierCount); in vn_sizeof_VkImageDrmFormatModifierListCreateInfoEXT_self()
130 size += vn_sizeof_uint64_t_array(val->pDrmFormatModifiers, val->drmFormatModifierCount); in vn_sizeof_VkImageDrmFormatModifierListCreateInfoEXT_self()
160 vn_encode_uint32_t(enc, &val->drmFormatModifierCount); in vn_encode_VkImageDrmFormatModifierListCreateInfoEXT_self()
162 vn_encode_array_size(enc, val->drmFormatModifierCount); in vn_encode_VkImageDrmFormatModifierListCreateInfoEXT_self()
163 vn_encode_uint64_t_array(enc, val->pDrmFormatModifiers, val->drmFormatModifierCount); in vn_encode_VkImageDrmFormatModifierListCreateInfoEXT_self()
Dvn_protocol_driver_device.h8627 size += vn_sizeof_uint32_t(&val->drmFormatModifierCount); in vn_sizeof_VkDrmFormatModifierPropertiesListEXT_self()
8629 size += vn_sizeof_array_size(val->drmFormatModifierCount); in vn_sizeof_VkDrmFormatModifierPropertiesListEXT_self()
8630 for (uint32_t i = 0; i < val->drmFormatModifierCount; i++) in vn_sizeof_VkDrmFormatModifierPropertiesListEXT_self()
8662 vn_decode_uint32_t(dec, &val->drmFormatModifierCount); in vn_decode_VkDrmFormatModifierPropertiesListEXT_self()
8664 const uint32_t iter_count = vn_decode_array_size(dec, val->drmFormatModifierCount); in vn_decode_VkDrmFormatModifierPropertiesListEXT_self()
8699 size += vn_sizeof_array_size(val->drmFormatModifierCount); in vn_sizeof_VkDrmFormatModifierPropertiesListEXT_self_partial()
8700 for (uint32_t i = 0; i < val->drmFormatModifierCount; i++) in vn_sizeof_VkDrmFormatModifierPropertiesListEXT_self_partial()
8733 vn_encode_array_size(enc, val->drmFormatModifierCount); in vn_encode_VkDrmFormatModifierPropertiesListEXT_self_partial()
8734 for (uint32_t i = 0; i < val->drmFormatModifierCount; i++) in vn_encode_VkDrmFormatModifierPropertiesListEXT_self_partial()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_image.c151 for (unsigned i = 0; i < mod_info->drmFormatModifierCount; i++) { in panvk_image_select_mod()
Dpanvk_formats.c129 &list->drmFormatModifierCount); in panvk_GetPhysicalDeviceFormatProperties2()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_formats.c304 &list->drmFormatModifierCount); in tu_GetPhysicalDeviceFormatProperties2()
Dtu_image.c540 for (unsigned i = 0; i < mod_info->drmFormatModifierCount; i++) { in tu_CreateImage()
/third_party/mesa3d/src/intel/vulkan/
Danv_formats.c866 &list->drmFormatModifierCount); in get_drm_format_modifier_properties_list()
900 &list->drmFormatModifierCount); in get_drm_format_modifier_properties_list_2()
Danv_image.c1284 mod_list_info->drmFormatModifierCount, in anv_image_init()
1419 .drmFormatModifierCount = 1, in anv_image_init_from_swapchain()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/modifiers/
DvktModifiersTests.cpp98 drmFormatModifiers.resize(modifierProperties.drmFormatModifierCount); in getDrmFormatModifiers()
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkStructTypes.inl4033 uint32_t drmFormatModifierCount; member
4051 uint32_t drmFormatModifierCount; member
4082 uint32_t drmFormatModifierCount; member
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_structs.hpp23582 : drmFormatModifierCount( drmFormatModifierCount_ )
23597 : drmFormatModifierCount( static_cast<uint32_t>( drmFormatModifierProperties_.size() ) ) in DrmFormatModifierPropertiesList2EXT()
23629 ( drmFormatModifierCount == rhs.drmFormatModifierCount ) && in operator ==()
23642 uint32_t drmFormatModifierCount = {}; member
23672 : drmFormatModifierCount( drmFormatModifierCount_ )
23687 : drmFormatModifierCount( static_cast<uint32_t>( drmFormatModifierProperties_.size() ) ) in DrmFormatModifierPropertiesListEXT()
23719 ( drmFormatModifierCount == rhs.drmFormatModifierCount ) && in operator ==()
23732 uint32_t drmFormatModifierCount = {}; member
30795 : drmFormatModifierCount( drmFormatModifierCount_ )
30810 : drmFormatModifierCount( static_cast<uint32_t>( drmFormatModifiers_.size() ) ) in ImageDrmFormatModifierListCreateInfoEXT()
[all …]
Dvulkan_core.h10061 uint32_t drmFormatModifierCount; member
10077 uint32_t drmFormatModifierCount; member
10104 uint32_t drmFormatModifierCount; member
/third_party/vulkan-headers/include/vulkan/
Dvulkan_structs.hpp24139 : drmFormatModifierCount( drmFormatModifierCount_ )
24154 : drmFormatModifierCount( static_cast<uint32_t>( drmFormatModifierProperties_.size() ) ) in DrmFormatModifierPropertiesList2EXT()
24186 ( drmFormatModifierCount == rhs.drmFormatModifierCount ) && in operator ==()
24199 uint32_t drmFormatModifierCount = {}; member
24229 : drmFormatModifierCount( drmFormatModifierCount_ )
24244 : drmFormatModifierCount( static_cast<uint32_t>( drmFormatModifierProperties_.size() ) ) in DrmFormatModifierPropertiesListEXT()
24276 ( drmFormatModifierCount == rhs.drmFormatModifierCount ) && in operator ==()
24289 uint32_t drmFormatModifierCount = {}; member
31407 : drmFormatModifierCount( drmFormatModifierCount_ )
31422 : drmFormatModifierCount( static_cast<uint32_t>( drmFormatModifiers_.size() ) ) in ImageDrmFormatModifierListCreateInfoEXT()
[all …]
Dvulkan_core.h10232 uint32_t drmFormatModifierCount; member
10248 uint32_t drmFormatModifierCount; member
10275 uint32_t drmFormatModifierCount; member

12