1 | /* GDK - The GIMP Drawing Kit |
2 | * |
3 | * gdkglcontext-wayland.h: Private Wayland specific OpenGL wrappers |
4 | * |
5 | * Copyright © 2014 Emmanuele Bassi |
6 | * Copyright © 2014 Red Hat, Int |
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_WAYLAND_GL_CONTEXT__ |
23 | #define __GDK_WAYLAND_GL_CONTEXT__ |
24 | |
25 | #include "gdkglcontextprivate.h" |
26 | #include "gdkdisplayprivate.h" |
27 | #include "gdksurface.h" |
28 | |
29 | #include <epoxy/egl.h> |
30 | |
31 | G_BEGIN_DECLS |
32 | |
33 | struct _GdkWaylandGLContext |
34 | { |
35 | GdkGLContext parent_instance; |
36 | }; |
37 | |
38 | struct _GdkWaylandGLContextClass |
39 | { |
40 | GdkGLContextClass parent_class; |
41 | }; |
42 | |
43 | GdkGLContext * gdk_wayland_display_init_gl (GdkDisplay *display, |
44 | GError **error); |
45 | |
46 | G_END_DECLS |
47 | |
48 | #endif /* __GDK_WAYLAND_GL_CONTEXT__ */ |
49 | |