mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-16 00:18:20 +02:00
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:
parent
c4b432f83e
commit
c6dc61775f
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue