Skip to main content

wait_gpu_done

Function wait_gpu_done 

Source
pub fn wait_gpu_done(dmabuf: &Dmabuf)
Expand description

Wait, bounded, until the GPU work the compositor queued on a host dmabuf has finished: the CUDA import reads the buffer without honoring its implicit fences, so a frame encoded the instant it was announced could otherwise carry a half-blitted image. Drivers that attach no fence return at once.