mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 20:30:11 +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);
|