Method

WPEPlatformBufferDMABufset_rendering_fence

Declaration [src]

void
wpe_buffer_dma_buf_set_rendering_fence (
  WPEBufferDMABuf* buffer,
  int fd
)

Description [src]

Set the rendering fence file descriptor to use for the buffer. The fence will be used to wait before rendering the buffer. The buffer takes the ownership of the file descriptor.

Parameters

fd

Type: int

A file descriptor, or -1