Debian Codegraph @

gdk/quartz/gdkquartzglcontext.h

raw
1 /* GDK - The GIMP Drawing Kit
2 *
3 * gdkquartzglcontext.h: Quartz specific OpenGL wrappers
4 *
5 * Copyright © 2014 Emmanuele Bassi
6 * Copyright © 2014 Brion Vibber
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 #ifndef __GDK_QUARTZ_GL_CONTEXT_H__
23 #define __GDK_QUARTZ_GL_CONTEXT_H__
24
25 #if !defined (__GDKQUARTZ_H_INSIDE__) && !defined (GDK_COMPILATION)
26 #error "Only <gdk/gdkquartz.h> can be included directly."
27 #endif
28
29 #include <gdk/gdk.h>
30
31 G_BEGIN_DECLS
32
33 #define GDK_TYPE_QUARTZ_GL_CONTEXT (gdk_quartz_gl_context_get_type ())
34 #define GDK_QUARTZ_GL_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDK_TYPE_QUARTZ_GL_CONTEXT, GdkQuartzGLContext))
35 #define GDK_QUARTZ_IS_GL_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDK_TYPE_QUARTZ_GL_CONTEXT))
36
37 typedef struct _GdkQuartzGLContext GdkQuartzGLContext;
38 typedef struct _GdkQuartzGLContextClass GdkQuartzGLContextClass;
39
40 GDK_AVAILABLE_IN_3_24
41 GType gdk_quartz_gl_context_get_type (void) G_GNUC_CONST;
42
43 G_END_DECLS
44
45 #endif /* __GDK_QUARTZ_GL_CONTEXT_H__ */