mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
pipe: Add fence_get_win32_event since fence_get_fd return int type is smaller than HANDLE/void*
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40764>
This commit is contained in:
parent
eff4c00112
commit
47ac871e84
1 changed files with 6 additions and 0 deletions
|
|
@ -436,6 +436,12 @@ struct pipe_screen {
|
|||
struct pipe_fence_handle *fence,
|
||||
uint64_t *fence_value);
|
||||
|
||||
/**
|
||||
* Retrieves the Win32 event handle from the fence.
|
||||
*/
|
||||
void* (*fence_get_win32_event)(struct pipe_screen *screen,
|
||||
struct pipe_fence_handle *fence);
|
||||
|
||||
/**
|
||||
* Create a fence from an Win32 handle.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue