Home
last modified time | relevance | path

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

/external/mesa3d/src/vulkan/wsi/
Dwsi_common_x11.c581 get_sorted_vk_formats(struct wsi_device *wsi_device, VkFormat *sorted_formats) in get_sorted_vk_formats() argument
583 memcpy(sorted_formats, formats, sizeof(formats)); in get_sorted_vk_formats()
587 if (sorted_formats[i] == VK_FORMAT_B8G8R8A8_UNORM) { in get_sorted_vk_formats()
588 sorted_formats[i] = sorted_formats[0]; in get_sorted_vk_formats()
589 sorted_formats[0] = VK_FORMAT_B8G8R8A8_UNORM; in get_sorted_vk_formats()
604 VkFormat sorted_formats[ARRAY_SIZE(formats)]; in x11_surface_get_formats() local
605 get_sorted_vk_formats(wsi_device, sorted_formats); in x11_surface_get_formats()
607 for (unsigned i = 0; i < ARRAY_SIZE(sorted_formats); i++) { in x11_surface_get_formats()
609 f->format = sorted_formats[i]; in x11_surface_get_formats()
626 VkFormat sorted_formats[ARRAY_SIZE(formats)]; in x11_surface_get_formats2() local
[all …]
Dwsi_common_display.c901 get_sorted_vk_formats(struct wsi_device *wsi_device, VkFormat *sorted_formats) in get_sorted_vk_formats() argument
904 sorted_formats[i] = available_surface_formats[i].format; in get_sorted_vk_formats()
908 if (sorted_formats[i] == VK_FORMAT_B8G8R8A8_UNORM) { in get_sorted_vk_formats()
909 sorted_formats[i] = sorted_formats[0]; in get_sorted_vk_formats()
910 sorted_formats[0] = VK_FORMAT_B8G8R8A8_UNORM; in get_sorted_vk_formats()
925 VkFormat sorted_formats[ARRAY_SIZE(available_surface_formats)]; in wsi_display_surface_get_formats() local
926 get_sorted_vk_formats(wsi_device, sorted_formats); in wsi_display_surface_get_formats()
928 for (unsigned i = 0; i < ARRAY_SIZE(sorted_formats); i++) { in wsi_display_surface_get_formats()
930 f->format = sorted_formats[i]; in wsi_display_surface_get_formats()
947 VkFormat sorted_formats[ARRAY_SIZE(available_surface_formats)]; in wsi_display_surface_get_formats2() local
[all …]