Method

GdkDisplayget_dmabuf_formats

unstable since: 4.14

Declaration [src]

GdkDmabufFormats*
gdk_display_get_dmabuf_formats (
  GdkDisplay* display
)

Description [src]

Returns the dma-buf formats that are supported on this display.

GTK may use OpenGL or Vulkan to support some formats. Calling this function will then initialize them if they aren’t yet.

Available since: 4.14

Return value

Type: GdkDmabufFormats

A GdkDmabufFormats object.

The data is owned by the instance.