mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
203a4fc45e
This is a utility object that helps in constructing GdkDmabufFormats.
15 lines
925 B
C
15 lines
925 B
C
#pragma once
|
|
|
|
#include "gdkdmabufformats.h"
|
|
|
|
typedef struct GdkDmabufFormatsBuilder GdkDmabufFormatsBuilder;
|
|
|
|
GdkDmabufFormatsBuilder * gdk_dmabuf_formats_builder_new (void);
|
|
GdkDmabufFormats * gdk_dmabuf_formats_builder_free_to_formats (GdkDmabufFormatsBuilder *self);
|
|
|
|
void gdk_dmabuf_formats_builder_add_format (GdkDmabufFormatsBuilder *self,
|
|
guint32 fourcc,
|
|
guint64 modifier);
|
|
void gdk_dmabuf_formats_builder_add_formats (GdkDmabufFormatsBuilder *self,
|
|
GdkDmabufFormats *formats);
|