WPEPlatform.BufferDMABufFormatsBuilder.new
Description: Reference for WPEPlatform.BufferDMABufFormatsBuilder.new

### Function

# WPEPlatform BufferDMABufFormatsBuildernew

#### Declaration [src]

    WPEBufferDMABufFormatsBuilder*
    wpe_buffer_dma_buf_formats_builder_new (
      WPEDRMDevice* device
    )

#### Description [src]

Create a new `WPEBufferDMABufFormatsBuilder`.

#### Parameters

`device`

  Type: `WPEDRMDevice`

  The 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.