diff options
author | Emil Velikov <[email protected]> | 2019-04-25 18:42:02 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2019-04-26 11:26:33 +0100 |
commit | 5b284fe6bc0a2a5c2d9e5da09a5b86ff8912e474 (patch) | |
tree | 0a18ea7a1e2000f781d184dc70ae1e0df6d4a9a9 /src/gallium/drivers/llvmpipe/lp_scene.h | |
parent | bd0c4e360d08dc1b1a1433530b389358623783bb (diff) |
llvmpipe: add lp_fence_timedwait() helper
The function is analogous to lp_fence_wait() while taking at timeout
(ns) parameter, as needed for EGL fence/sync.
v2:
- use absolute UTC time, as per spec (Gustaw)
- bail out on cnd_timedwait() failure (Gustaw)
v3:
- check count/rank under mutex (Gustaw)
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]> (v1)
Reviewed-by: Gustaw Smolarczyk <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_scene.h')
0 files changed, 0 insertions, 0 deletions