Function
WPEPlatformBufferDMABufFormatsBuildernew
Declaration [src]
WPEBufferDMABufFormatsBuilder*
wpe_buffer_dma_buf_formats_builder_new (
WPEDRMDevice* device
)
Parameters
device-
Type:
WPEDRMDeviceThe main DRM device.
The argument can be NULL.The data is owned by the caller of the function.
Return value
Type: WPEBufferDMABufFormatsBuilder
A new WPEBufferDMABufFormatsBuilder.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |