1 | /* gskglrenderer.h |
2 | * |
3 | * Copyright 2020 Christian Hergert <chergert@redhat.com> |
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.1 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 program. If not, see <http://www.gnu.org/licenses/>. |
17 | * |
18 | * SPDX-License-Identifier: LGPL-2.1-or-later |
19 | */ |
20 | |
21 | #ifndef __GSK_GL_RENDERER_H__ |
22 | #define __GSK_GL_RENDERER_H__ |
23 | |
24 | #include <gsk/gskrenderer.h> |
25 | |
26 | G_BEGIN_DECLS |
27 | |
28 | #define GSK_TYPE_GL_RENDERER (gsk_gl_renderer_get_type()) |
29 | |
30 | #define GSK_GL_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSK_TYPE_GL_RENDERER, GskGLRenderer)) |
31 | #define GSK_IS_GL_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSK_TYPE_GL_RENDERER)) |
32 | #define GSK_GL_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GSK_TYPE_GL_RENDERER, GskGLRendererClass)) |
33 | #define GSK_IS_GL_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GSK_TYPE_GL_RENDERER)) |
34 | #define GSK_GL_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GSK_TYPE_GL_RENDERER, GskGLRendererClass)) |
35 | |
36 | typedef struct _GskGLRenderer GskGLRenderer; |
37 | typedef struct _GskGLRendererClass GskGLRendererClass; |
38 | |
39 | GDK_AVAILABLE_IN_4_2 |
40 | GType gsk_gl_renderer_get_type (void) G_GNUC_CONST; |
41 | GDK_AVAILABLE_IN_4_2 |
42 | GskRenderer *gsk_gl_renderer_new (void); |
43 | |
44 | GDK_DEPRECATED_IN_4_4_FOR (gsk_gl_renderer_get_type) |
45 | GType gsk_ngl_renderer_get_type (void) G_GNUC_CONST; |
46 | GDK_DEPRECATED_IN_4_4_FOR (gsk_gl_renderer_new) |
47 | GskRenderer *gsk_ngl_renderer_new (void); |
48 | G_END_DECLS |
49 | |
50 | #endif /* __GSK_GL_RENDERER__ */ |
51 | |