Cogl.Renderer.create_dma_buf_framebuffer
Description: Reference for Cogl.Renderer.create_dma_buf_framebuffer

### Virtual Method

# Cogl Renderercreate_dma_buf_framebuffer

#### Declaration [src]

    CoglFramebuffer*
    create_dma_buf_framebuffer (
      CoglRenderer* renderer,
      CoglContext* context,
      uint32_t width,
      uint32_t height,
      uint32_t drm_format,
      CoglPixelFormat cogl_format,
      int n_planes,
      const int* fds,
      const uint32_t* strides,
      const uint32_t* offsets,
      const uint64_t* modifiers,
      GError** error
    )

#### Description

No description available.

#### Parameters

`context`

  Type: `CoglContext`

  No description available.

  The data is owned by the caller of the method.

`width`

  Type: `uint32_t`

  No description available.

`height`

  Type: `uint32_t`

  No description available.

`drm_format`

  Type: `uint32_t`

  No description available.

`cogl_format`

  Type: `CoglPixelFormat`

  No description available.

`n_planes`

  Type: `int`

  No description available.

`fds`

  Type: `const int*`

  No description available.

  The data is owned by the caller of the method.

`strides`

  Type: `const uint32_t*`

  No description available.

  The data is owned by the caller of the method.

`offsets`

  Type: `const uint32_t*`

  No description available.

  The data is owned by the caller of the method.

`modifiers`

  Type: `const uint64_t*`

  No description available.

  The data is owned by the caller of the method.

`error`

  Type: `GError **`

  The return location for a recoverable error.

  The argument can be `NULL`.
  If the return location is not `NULL`, then you must initialize it to a `NULL` `GError*`.
  The argument will be left initialized to `NULL` by the virtual function if there are no errors.
  In case of error, the argument will be set to a newly allocated `GError`; the caller will take ownership of the data, and be responsible for freeing it.

#### Return value

Type: `CoglFramebuffer`

No description available.

The returned data is owned by the instance.