mesa/src/vulkan
Derek Foreman ed2bb692f7 vulkan/wsi/wayland: Fix time calculation
When occluded, the current math always rounds down to 0 cycles and leads
to improperly throttled frame delivery.

Improve the comment, and use a formula that leads to generating future
times even when occluded.

Also remove some dead code, as we can never get here with a period of 0.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
Fixes: c26ab1aee1 ("vulkan/wsi/wayland: Pace frames with commit-timing-v1")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32121>
2024-11-22 15:50:34 +00:00
..
device-select-layer vulkan/x11: use xcb_connection_has_error to check for failue 2024-10-29 11:52:37 +00:00
overlay-layer build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
registry vulkan: Update XML and headers to 1.3.296 2024-09-26 11:12:03 +00:00
runtime vulkan: include host write in expanded dst access flags 2024-11-14 19:29:00 +00:00
screenshot-layer vulkan/screenshot-layer: Add region command option 2024-11-14 16:35:24 +00:00
util vulkan: Avoid pointer aliasing 2024-11-16 03:14:31 +00:00
wsi vulkan/wsi/wayland: Fix time calculation 2024-11-22 15:50:34 +00:00
meson.build wsi: Metal support 2024-09-18 17:54:02 +00:00
vulkan-android.sym android/vk: drop unnecessary symbols 2023-03-04 07:41:10 +00:00
vulkan-icd-android-symbols.txt vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan-icd-symbols.txt vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan.sym vk: move radv's linker symbols scripts for use in all drivers 2023-03-04 07:41:10 +00:00
vulkan_api.def.in win32: Fixes 32 bits visual studio module definition files by add script gen_vs_module_defs.py 2022-04-19 19:38:47 +00:00