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.
16 lines
440 B
C
16 lines
440 B
C
#pragma once
|
|
|
|
#include "gdkdmabufformats.h"
|
|
|
|
typedef struct _GdkDmabufFormat GdkDmabufFormat;
|
|
struct _GdkDmabufFormat
|
|
{
|
|
guint32 fourcc;
|
|
guint64 modifier;
|
|
};
|
|
|
|
GdkDmabufFormats * gdk_dmabuf_formats_new (GdkDmabufFormat *formats,
|
|
gsize n_formats);
|
|
|
|
const GdkDmabufFormat * gdk_dmabuf_formats_peek_formats (GdkDmabufFormats *self);
|