mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-17 11:20:18 +01:00
Until now, the WSI code would rely on VK_EXT_pci_bus_info to check if the WSI device matched the DRM device used for display. If they matched, then it would allow direct presentation of the swapchain images, otherwise it would fallback to a blit path through a linear buffer. Unfortunately, this only works for PCI devices, so embedded GPUs would always fail the test and fallback to the prime blit path, incurring in a performance penalty due to the extra blit. With this change driver backends have the possibility to attach a callback to the WSI device to take control over that decision and have freedom to make that choice according to their own platform particularities. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5917> |
||
|---|---|---|
| .. | ||
| device-select-layer | ||
| overlay-layer | ||
| registry | ||
| util | ||
| wsi | ||
| Android.mk | ||
| Makefile.sources | ||
| meson.build | ||
| vulkan-icd-symbols.txt | ||