Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkdmabufformats.h
Go to the documentation of this file.
1/* gdkdmabufformats.h
2 *
3 * Copyright 2023 Red Hat, Inc.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#pragma once
20
21#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
22#error "Only <gdk/gdk.h> can be included directly."
23#endif
24
25#include <gdk/gdktypes.h>
26
28
29#define GDK_TYPE_DMABUF_FORMATS (gdk_dmabuf_formats_get_type ())
30
33
36
39
42
45 gsize idx,
46 guint32 *fourcc,
47 guint64 *modifier);
48
51 guint32 fourcc,
52 guint64 modifier) G_GNUC_PURE;
53
56 const GdkDmabufFormats *formats2);
57
59
#define GDK_AVAILABLE_IN_4_14
GDK_AVAILABLE_IN_4_14 void gdk_dmabuf_formats_get_format(GdkDmabufFormats *formats, gsize idx, guint32 *fourcc, guint64 *modifier)
GDK_AVAILABLE_IN_4_14 void gdk_dmabuf_formats_unref(GdkDmabufFormats *formats)
GDK_AVAILABLE_IN_4_14 gboolean gdk_dmabuf_formats_contains(GdkDmabufFormats *formats, guint32 fourcc, guint64 modifier) G_GNUC_PURE
GDK_AVAILABLE_IN_4_14 GdkDmabufFormats * gdk_dmabuf_formats_ref(GdkDmabufFormats *formats)
GDK_AVAILABLE_IN_4_14 gsize gdk_dmabuf_formats_get_n_formats(GdkDmabufFormats *formats) G_GNUC_PURE
GDK_AVAILABLE_IN_4_14 GType gdk_dmabuf_formats_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_4_14 gboolean gdk_dmabuf_formats_equal(const GdkDmabufFormats *formats1, const GdkDmabufFormats *formats2)
struct _GdkDmabufFormats GdkDmabufFormats
Definition gdktypes.h:101
unsigned long guint64
Definition glibconfig.h:67
unsigned int guint32
Definition glibconfig.h:57
unsigned long gsize
Definition glibconfig.h:83
#define G_GNUC_PURE
Definition gmacros.h:287
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
Definition gmacros.h:1400
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56