Debian Codegraph @

gdk/macos/gdkmacosglcontext-private.h

raw symbols SCIP
1 /* gdkmacosglcontext-private.h
2 *
3 * Copyright (C) 2020 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 #include "gdkmacosglcontext.h"
22
23 #include "gdkglcontextprivate.h"
24 #include "gdkdisplayprivate.h"
25 #include "gdksurface.h"
26
27 #include "gdkmacosdisplay.h"
28 #include "gdkmacossurface.h"
29
30 #import <epoxy/gl.h>
31
32 G_BEGIN_DECLS
33
34 struct _GdkMacosGLContext
35 {
36 GdkGLContext parent_instance;
37
38 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
39 CGLContextObj cgl_context;
40 G_GNUC_END_IGNORE_DEPRECATIONS
41
42 GLuint texture;
43 GLuint target;
44 GLuint fbo;
45
46 guint last_opaque : 1;
47 };
48
49 struct _GdkMacosGLContextClass
50 {
51 GdkGLContextClass parent_class;
52 };
53
54 G_END_DECLS
55