mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
c/client: Clarify that wait_image timeout is nanoseconds
This commit is contained in:
parent
753f37c41f
commit
1cd435f321
|
@ -142,12 +142,12 @@ client_gl_swapchain_acquire_image(struct xrt_swapchain *xsc, uint32_t *out_index
|
|||
}
|
||||
|
||||
static xrt_result_t
|
||||
client_gl_swapchain_wait_image(struct xrt_swapchain *xsc, uint64_t timeout, uint32_t index)
|
||||
client_gl_swapchain_wait_image(struct xrt_swapchain *xsc, uint64_t timeout_ns, uint32_t index)
|
||||
{
|
||||
struct client_gl_swapchain *sc = client_gl_swapchain(xsc);
|
||||
|
||||
// Pipe down call into native swapchain.
|
||||
return xrt_swapchain_wait_image(&sc->xscn->base, timeout, index);
|
||||
return xrt_swapchain_wait_image(&sc->xscn->base, timeout_ns, index);
|
||||
}
|
||||
|
||||
static xrt_result_t
|
||||
|
|
|
@ -285,14 +285,14 @@ client_vk_swapchain_acquire_image(struct xrt_swapchain *xsc, uint32_t *out_index
|
|||
}
|
||||
|
||||
static xrt_result_t
|
||||
client_vk_swapchain_wait_image(struct xrt_swapchain *xsc, uint64_t timeout, uint32_t index)
|
||||
client_vk_swapchain_wait_image(struct xrt_swapchain *xsc, uint64_t timeout_ns, uint32_t index)
|
||||
{
|
||||
COMP_TRACE_MARKER();
|
||||
|
||||
struct client_vk_swapchain *sc = client_vk_swapchain(xsc);
|
||||
|
||||
// Pipe down call into native swapchain.
|
||||
return xrt_swapchain_wait_image(&sc->xscn->base, timeout, index);
|
||||
return xrt_swapchain_wait_image(&sc->xscn->base, timeout_ns, index);
|
||||
}
|
||||
|
||||
static xrt_result_t
|
||||
|
|
Loading…
Reference in a new issue