20namespace xrt::auxiliary::d3d::d3d12 {
40 bool share_cross_adapter,
42 wil::com_ptr<ID3D12Fence> &out_d3dfence);
55 wil::unique_event_nothrow &event,
57 std::chrono::milliseconds timeout_ms);
xrt_result_t createSharedFence(ID3D11Device5 &device, bool share_cross_adapter, xrt_graphics_sync_handle_t *out_handle, wil::com_ptr< ID3D11Fence > &out_d3dfence)
Allocate a fence (ID3D11Fence) that has a corresponding native handle.
Definition: d3d_d3d11_fence.cpp:51
xrt_result_t waitOnFenceWithTimeout(wil::com_ptr< ID3D11Fence > fence, wil::unique_event_nothrow &event, uint64_t value, std::chrono::milliseconds timeout_ms)
Wait for a fence to be signaled with value equal or greater than value within timeout_ns nanoseconds.
Definition: d3d_d3d11_fence.cpp:99
enum xrt_result xrt_result_t
Result type used across Monado.
A very simple implementation of a fence primitive.
Definition: comp_sync.c:36
Header declaring XRT graphics interfaces.
int xrt_graphics_sync_handle_t
The type underlying synchronization primitives (semaphores, etc) shared between compositor clients an...
Definition: xrt_handles.h:348