Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkwaylandglcontext.h
Go to the documentation of this file.
1/* GDK - The GIMP Drawing Kit
2 *
3 * gdkglcontext-wayland.c: Wayland specific OpenGL wrappers
4 *
5 * Copyright © 2014 Emmanuele Bassi
6 * Copyright © 2014 Red Hat, Inc
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
17 *
18 * You should have received a copy of the GNU Library General Public
19 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22#pragma once
23
24#if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GTK_COMPILATION)
25#error "Only <gdk/wayland/gdkwayland.h> can be included directly."
26#endif
27
28#include <gdk/gdk.h>
29
31
32#define GDK_TYPE_WAYLAND_GL_CONTEXT (gdk_wayland_gl_context_get_type ())
33#define GDK_WAYLAND_GL_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDK_TYPE_WAYLAND_GL_CONTEXT, GdkWaylandGLContext))
34#define GDK_WAYLAND_IS_GL_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDK_TYPE_WAYLAND_GL_CONTEXT))
35
36typedef struct _GdkWaylandGLContext GdkWaylandGLContext;
37typedef struct _GdkWaylandGLContextClass GdkWaylandGLContextClass;
38
41
43
#define GDK_AVAILABLE_IN_ALL
struct _GdkWaylandGLContextClass GdkWaylandGLContextClass
GDK_AVAILABLE_IN_ALL GType gdk_wayland_gl_context_get_type(void) G_GNUC_CONST
struct _GdkWaylandGLContext GdkWaylandGLContext
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
gsize GType
Definition gtype.h:427