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:
Silvio Vilerino 2026-04-01 16:05:31 -04:00 committed by Marge Bot
parent eff4c00112
commit 47ac871e84

View file

@ -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.
*