mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-18 20:18:06 +02:00
When receiving SUBOPTIMAL_COPY, we need to consider that it can be a false positive. Xwayland may send this suboptimal copy if there are pending DRM modifier feedbacks from compositor, but it's likely the modifier lists are identical. Hash the modifier lists and compare them against the newly queried modifier list when SUBOPTIMAL_COPY is received to work around false positives. This fixes crashes in games that cannot handle SUBOPTIMAL correctly, and avoid needless stutters when entering full-screen modes. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no> Tested-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27035> |
||
|---|---|---|
| .. | ||
| device-select-layer | ||
| overlay-layer | ||
| registry | ||
| runtime | ||
| util | ||
| wsi | ||
| meson.build | ||
| vulkan-android.sym | ||
| vulkan-icd-android-symbols.txt | ||
| vulkan-icd-symbols.txt | ||
| vulkan.sym | ||
| vulkan_api.def.in | ||