wsi/wayland: Add tracepoint in wsi_wl_swapchain_wait_for_present
We can spend a lot of time in wait_for_present, making it an interesting trace point. Signed-off-by: Derek Foreman <derek.foreman@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28634>
This commit is contained in:
@@ -1826,6 +1826,8 @@ wsi_wl_swapchain_wait_for_present(struct wsi_swapchain *wsi_chain,
|
||||
VkResult ret;
|
||||
int err;
|
||||
|
||||
MESA_TRACE_FUNC();
|
||||
|
||||
uint64_t atimeout;
|
||||
if (timeout == 0 || timeout == UINT64_MAX)
|
||||
atimeout = timeout;
|
||||
|
||||
Reference in New Issue
Block a user