1 /*
2  * This file is part of gtkD.
3  *
4  * gtkD is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License
6  * as published by the Free Software Foundation; either version 3
7  * of the License, or (at your option) any later version, with
8  * some exceptions, please read the COPYING file.
9  *
10  * gtkD 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
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with gtkD; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
18  */
19  
20 // generated automatically - do not change
21 // find conversion definition on APILookup.txt
22 // implement new conversion functionalities on the wrap.utils pakage
23 
24 
25 module gtkglc.glgdk;
26 
27 version(Tango)
28 	private import tango.stdc.stdio;
29 else
30 	private import std.stdio;
31 
32 private import gtkglc.glgdktypes;
33 private import gtkc.Loader;
34 private import gtkc.paths;
35 
36 mixin( _shared ~ "static this()
37 {
38 	// glgdk.GLdInit
39 
40 	Linker.link(gdk_gl_init, \"gdk_gl_init\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
41 	Linker.link(gdk_gl_init_check, \"gdk_gl_init_check\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
42 	Linker.link(gdk_gl_parse_args, \"gdk_gl_parse_args\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
43 
44 	// glgdk.GLQuery
45 
46 	Linker.link(gdk_gl_query_extension, \"gdk_gl_query_extension\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
47 	Linker.link(gdk_gl_query_extension_for_display, \"gdk_gl_query_extension_for_display\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
48 	Linker.link(gdk_gl_query_version, \"gdk_gl_query_version\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
49 	Linker.link(gdk_gl_query_version_for_display, \"gdk_gl_query_version_for_display\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
50 	Linker.link(gdk_gl_query_gl_extension, \"gdk_gl_query_gl_extension\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
51 	Linker.link(gdk_gl_get_proc_address, \"gdk_gl_get_proc_address\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
52 
53 	// glgdk.GLConfig
54 
55 	Linker.link(gdk_gl_config_new, \"gdk_gl_config_new\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
56 	Linker.link(gdk_gl_config_new_for_screen, \"gdk_gl_config_new_for_screen\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
57 	Linker.link(gdk_gl_config_new_by_mode, \"gdk_gl_config_new_by_mode\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
58 	Linker.link(gdk_gl_config_new_by_mode_for_screen, \"gdk_gl_config_new_by_mode_for_screen\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
59 	Linker.link(gdk_gl_config_get_screen, \"gdk_gl_config_get_screen\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
60 	Linker.link(gdk_gl_config_get_attrib, \"gdk_gl_config_get_attrib\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
61 	Linker.link(gdk_gl_config_get_colormap, \"gdk_gl_config_get_colormap\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
62 	Linker.link(gdk_gl_config_get_visual, \"gdk_gl_config_get_visual\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
63 	Linker.link(gdk_gl_config_get_depth, \"gdk_gl_config_get_depth\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
64 	Linker.link(gdk_gl_config_get_layer_plane, \"gdk_gl_config_get_layer_plane\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
65 	Linker.link(gdk_gl_config_get_n_aux_buffers, \"gdk_gl_config_get_n_aux_buffers\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
66 	Linker.link(gdk_gl_config_get_n_sample_buffers, \"gdk_gl_config_get_n_sample_buffers\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
67 	Linker.link(gdk_gl_config_is_rgba, \"gdk_gl_config_is_rgba\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
68 	Linker.link(gdk_gl_config_is_double_buffered, \"gdk_gl_config_is_double_buffered\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
69 	Linker.link(gdk_gl_config_is_stereo, \"gdk_gl_config_is_stereo\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
70 	Linker.link(gdk_gl_config_has_alpha, \"gdk_gl_config_has_alpha\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
71 	Linker.link(gdk_gl_config_has_depth_buffer, \"gdk_gl_config_has_depth_buffer\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
72 	Linker.link(gdk_gl_config_has_stencil_buffer, \"gdk_gl_config_has_stencil_buffer\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
73 	Linker.link(gdk_gl_config_has_accum_buffer, \"gdk_gl_config_has_accum_buffer\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
74 
75 	// glgdk.GLContext
76 
77 	Linker.link(gdk_gl_context_new, \"gdk_gl_context_new\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
78 	Linker.link(gdk_gl_context_destroy, \"gdk_gl_context_destroy\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
79 	Linker.link(gdk_gl_context_copy, \"gdk_gl_context_copy\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
80 	Linker.link(gdk_gl_context_get_gl_drawable, \"gdk_gl_context_get_gl_drawable\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
81 	Linker.link(gdk_gl_context_get_gl_config, \"gdk_gl_context_get_gl_config\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
82 	Linker.link(gdk_gl_context_get_share_list, \"gdk_gl_context_get_share_list\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
83 	Linker.link(gdk_gl_context_is_direct, \"gdk_gl_context_is_direct\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
84 	Linker.link(gdk_gl_context_get_render_type, \"gdk_gl_context_get_render_type\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
85 	Linker.link(gdk_gl_context_get_current, \"gdk_gl_context_get_current\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
86 
87 	// glgdk.GLDrawable
88 
89 	Linker.link(gdk_gl_drawable_make_current, \"gdk_gl_drawable_make_current\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
90 	Linker.link(gdk_gl_drawable_is_double_buffered, \"gdk_gl_drawable_is_double_buffered\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
91 	Linker.link(gdk_gl_drawable_swap_buffers, \"gdk_gl_drawable_swap_buffers\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
92 	Linker.link(gdk_gl_drawable_wait_gl, \"gdk_gl_drawable_wait_gl\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
93 	Linker.link(gdk_gl_drawable_wait_gdk, \"gdk_gl_drawable_wait_gdk\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
94 	Linker.link(gdk_gl_drawable_gl_begin, \"gdk_gl_drawable_gl_begin\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
95 	Linker.link(gdk_gl_drawable_gl_end, \"gdk_gl_drawable_gl_end\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
96 	Linker.link(gdk_gl_drawable_get_gl_config, \"gdk_gl_drawable_get_gl_config\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
97 	Linker.link(gdk_gl_drawable_get_size, \"gdk_gl_drawable_get_size\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
98 	Linker.link(gdk_gl_drawable_get_current, \"gdk_gl_drawable_get_current\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
99 
100 	// glgdk.GLPixmap
101 
102 	Linker.link(gdk_gl_pixmap_new, \"gdk_gl_pixmap_new\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
103 	Linker.link(gdk_gl_pixmap_destroy, \"gdk_gl_pixmap_destroy\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
104 	Linker.link(gdk_gl_pixmap_get_pixmap, \"gdk_gl_pixmap_get_pixmap\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
105 	Linker.link(gdk_pixmap_set_gl_capability, \"gdk_pixmap_set_gl_capability\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
106 	Linker.link(gdk_pixmap_unset_gl_capability, \"gdk_pixmap_unset_gl_capability\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
107 	Linker.link(gdk_pixmap_is_gl_capable, \"gdk_pixmap_is_gl_capable\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
108 	Linker.link(gdk_pixmap_get_gl_pixmap, \"gdk_pixmap_get_gl_pixmap\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
109 
110 	// glgdk.GLWindow
111 
112 	Linker.link(gdk_gl_window_new, \"gdk_gl_window_new\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
113 	Linker.link(gdk_gl_window_destroy, \"gdk_gl_window_destroy\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
114 	Linker.link(gdk_gl_window_get_window, \"gdk_gl_window_get_window\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
115 	Linker.link(gdk_window_set_gl_capability, \"gdk_window_set_gl_capability\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
116 	Linker.link(gdk_window_unset_gl_capability, \"gdk_window_unset_gl_capability\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
117 	Linker.link(gdk_window_is_gl_capable, \"gdk_window_is_gl_capable\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
118 	Linker.link(gdk_window_get_gl_window, \"gdk_window_get_gl_window\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
119 
120 	// glgdk.GLFont
121 
122 	Linker.link(gdk_gl_font_use_pango_font, \"gdk_gl_font_use_pango_font\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
123 	Linker.link(gdk_gl_font_use_pango_font_for_display, \"gdk_gl_font_use_pango_font_for_display\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
124 
125 	// glgdk.GLDraw
126 
127 	Linker.link(gdk_gl_draw_cube, \"gdk_gl_draw_cube\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
128 	Linker.link(gdk_gl_draw_sphere, \"gdk_gl_draw_sphere\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
129 	Linker.link(gdk_gl_draw_cone, \"gdk_gl_draw_cone\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
130 	Linker.link(gdk_gl_draw_torus, \"gdk_gl_draw_torus\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
131 	Linker.link(gdk_gl_draw_tetrahedron, \"gdk_gl_draw_tetrahedron\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
132 	Linker.link(gdk_gl_draw_octahedron, \"gdk_gl_draw_octahedron\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
133 	Linker.link(gdk_gl_draw_dodecahedron, \"gdk_gl_draw_dodecahedron\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
134 	Linker.link(gdk_gl_draw_icosahedron, \"gdk_gl_draw_icosahedron\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
135 	Linker.link(gdk_gl_draw_teapot, \"gdk_gl_draw_teapot\", LIBRARY.GLGDK, LIBRARY.GDKPIXBUF);
136 
137 	// glgdk.
138 
139 
140 	// glgdk.
141 
142 }");
143 
144 mixin( gshared ~"extern(C)
145 {
146 	// glgdk.GLdInit
147 
148 	void function(int* argc, char*** argv) c_gdk_gl_init;
149 	gboolean function(int* argc, char*** argv) c_gdk_gl_init_check;
150 	gboolean function(int* argc, char*** argv) c_gdk_gl_parse_args;
151 
152 	// glgdk.GLQuery
153 
154 	gboolean function() c_gdk_gl_query_extension;
155 	gboolean function(GdkDisplay* display) c_gdk_gl_query_extension_for_display;
156 	gboolean function(int* major, int* minor) c_gdk_gl_query_version;
157 	gboolean function(GdkDisplay* display, int* major, int* minor) c_gdk_gl_query_version_for_display;
158 	gboolean function(char* extension) c_gdk_gl_query_gl_extension;
159 	GdkGLProc function(char* procName) c_gdk_gl_get_proc_address;
160 
161 	// glgdk.GLConfig
162 
163 	GdkGLConfig* function(int* attribList) c_gdk_gl_config_new;
164 	GdkGLConfig* function(GdkScreen* screen, int* attribList) c_gdk_gl_config_new_for_screen;
165 	GdkGLConfig* function(GdkGLConfigMode mode) c_gdk_gl_config_new_by_mode;
166 	GdkGLConfig* function(GdkScreen* screen, GdkGLConfigMode mode) c_gdk_gl_config_new_by_mode_for_screen;
167 	GdkScreen* function(GdkGLConfig* glconfig) c_gdk_gl_config_get_screen;
168 	gboolean function(GdkGLConfig* glconfig, int attribute, int* value) c_gdk_gl_config_get_attrib;
169 	GdkColormap* function(GdkGLConfig* glconfig) c_gdk_gl_config_get_colormap;
170 	GdkVisual* function(GdkGLConfig* glconfig) c_gdk_gl_config_get_visual;
171 	gint function(GdkGLConfig* glconfig) c_gdk_gl_config_get_depth;
172 	gint function(GdkGLConfig* glconfig) c_gdk_gl_config_get_layer_plane;
173 	gint function(GdkGLConfig* glconfig) c_gdk_gl_config_get_n_aux_buffers;
174 	gint function(GdkGLConfig* glconfig) c_gdk_gl_config_get_n_sample_buffers;
175 	gboolean function(GdkGLConfig* glconfig) c_gdk_gl_config_is_rgba;
176 	gboolean function(GdkGLConfig* glconfig) c_gdk_gl_config_is_double_buffered;
177 	gboolean function(GdkGLConfig* glconfig) c_gdk_gl_config_is_stereo;
178 	gboolean function(GdkGLConfig* glconfig) c_gdk_gl_config_has_alpha;
179 	gboolean function(GdkGLConfig* glconfig) c_gdk_gl_config_has_depth_buffer;
180 	gboolean function(GdkGLConfig* glconfig) c_gdk_gl_config_has_stencil_buffer;
181 	gboolean function(GdkGLConfig* glconfig) c_gdk_gl_config_has_accum_buffer;
182 
183 	// glgdk.GLContext
184 
185 	GdkGLContext* function(GdkGLDrawable* gldrawable, GdkGLContext* shareList, gboolean direct, int renderType) c_gdk_gl_context_new;
186 	void function(GdkGLContext* glcontext) c_gdk_gl_context_destroy;
187 	gboolean function(GdkGLContext* glcontext, GdkGLContext* src, ulong mask) c_gdk_gl_context_copy;
188 	GdkGLDrawable* function(GdkGLContext* glcontext) c_gdk_gl_context_get_gl_drawable;
189 	GdkGLConfig* function(GdkGLContext* glcontext) c_gdk_gl_context_get_gl_config;
190 	GdkGLContext* function(GdkGLContext* glcontext) c_gdk_gl_context_get_share_list;
191 	gboolean function(GdkGLContext* glcontext) c_gdk_gl_context_is_direct;
192 	int function(GdkGLContext* glcontext) c_gdk_gl_context_get_render_type;
193 	GdkGLContext* function() c_gdk_gl_context_get_current;
194 
195 	// glgdk.GLDrawable
196 
197 	gboolean function(GdkGLDrawable* gldrawable, GdkGLContext* glcontext) c_gdk_gl_drawable_make_current;
198 	gboolean function(GdkGLDrawable* gldrawable) c_gdk_gl_drawable_is_double_buffered;
199 	void function(GdkGLDrawable* gldrawable) c_gdk_gl_drawable_swap_buffers;
200 	void function(GdkGLDrawable* gldrawable) c_gdk_gl_drawable_wait_gl;
201 	void function(GdkGLDrawable* gldrawable) c_gdk_gl_drawable_wait_gdk;
202 	gboolean function(GdkGLDrawable* gldrawable, GdkGLContext* glcontext) c_gdk_gl_drawable_gl_begin;
203 	void function(GdkGLDrawable* gldrawable) c_gdk_gl_drawable_gl_end;
204 	GdkGLConfig* function(GdkGLDrawable* gldrawable) c_gdk_gl_drawable_get_gl_config;
205 	void function(GdkGLDrawable* gldrawable, gint* width, gint* height) c_gdk_gl_drawable_get_size;
206 	GdkGLDrawable* function() c_gdk_gl_drawable_get_current;
207 
208 	// glgdk.GLPixmap
209 
210 	GdkGLPixmap* function(GdkGLConfig* glconfig, GdkPixmap* pixmap, int* attribList) c_gdk_gl_pixmap_new;
211 	void function(GdkGLPixmap* glpixmap) c_gdk_gl_pixmap_destroy;
212 	GdkPixmap* function(GdkGLPixmap* glpixmap) c_gdk_gl_pixmap_get_pixmap;
213 	GdkGLPixmap* function(GdkPixmap* pixmap, GdkGLConfig* glconfig, int* attribList) c_gdk_pixmap_set_gl_capability;
214 	void function(GdkPixmap* pixmap) c_gdk_pixmap_unset_gl_capability;
215 	gboolean function(GdkPixmap* pixmap) c_gdk_pixmap_is_gl_capable;
216 	GdkGLPixmap* function(GdkPixmap* pixmap) c_gdk_pixmap_get_gl_pixmap;
217 
218 	// glgdk.GLWindow
219 
220 	GdkGLWindow* function(GdkGLConfig* glconfig, GdkWindow* window, int* attribList) c_gdk_gl_window_new;
221 	void function(GdkGLWindow* glwindow) c_gdk_gl_window_destroy;
222 	GdkWindow* function(GdkGLWindow* glwindow) c_gdk_gl_window_get_window;
223 	GdkGLWindow* function(GdkWindow* window, GdkGLConfig* glconfig, int* attribList) c_gdk_window_set_gl_capability;
224 	void function(GdkWindow* window) c_gdk_window_unset_gl_capability;
225 	gboolean function(GdkWindow* window) c_gdk_window_is_gl_capable;
226 	GdkGLWindow* function(GdkWindow* window) c_gdk_window_get_gl_window;
227 
228 	// glgdk.GLFont
229 
230 	PangoFont* function(PangoFontDescription* fontDesc, int first, int count, int listBase) c_gdk_gl_font_use_pango_font;
231 	PangoFont* function(GdkDisplay* display, PangoFontDescription* fontDesc, int first, int count, int listBase) c_gdk_gl_font_use_pango_font_for_display;
232 
233 	// glgdk.GLDraw
234 
235 	void function(gboolean solid, double size) c_gdk_gl_draw_cube;
236 	void function(gboolean solid, double radius, int slices, int stacks) c_gdk_gl_draw_sphere;
237 	void function(gboolean solid, double base, double height, int slices, int stacks) c_gdk_gl_draw_cone;
238 	void function(gboolean solid, double innerRadius, double outerRadius, int nsides, int rings) c_gdk_gl_draw_torus;
239 	void function(gboolean solid) c_gdk_gl_draw_tetrahedron;
240 	void function(gboolean solid) c_gdk_gl_draw_octahedron;
241 	void function(gboolean solid) c_gdk_gl_draw_dodecahedron;
242 	void function(gboolean solid) c_gdk_gl_draw_icosahedron;
243 	void function(gboolean solid, double scale) c_gdk_gl_draw_teapot;
244 
245 	// glgdk.
246 
247 
248 	// glgdk.
249 
250 }");
251 
252 // glgdk.GLdInit
253 
254 alias c_gdk_gl_init  gdk_gl_init;
255 alias c_gdk_gl_init_check  gdk_gl_init_check;
256 alias c_gdk_gl_parse_args  gdk_gl_parse_args;
257 
258 // glgdk.GLQuery
259 
260 alias c_gdk_gl_query_extension  gdk_gl_query_extension;
261 alias c_gdk_gl_query_extension_for_display  gdk_gl_query_extension_for_display;
262 alias c_gdk_gl_query_version  gdk_gl_query_version;
263 alias c_gdk_gl_query_version_for_display  gdk_gl_query_version_for_display;
264 alias c_gdk_gl_query_gl_extension  gdk_gl_query_gl_extension;
265 alias c_gdk_gl_get_proc_address  gdk_gl_get_proc_address;
266 
267 // glgdk.GLConfig
268 
269 alias c_gdk_gl_config_new  gdk_gl_config_new;
270 alias c_gdk_gl_config_new_for_screen  gdk_gl_config_new_for_screen;
271 alias c_gdk_gl_config_new_by_mode  gdk_gl_config_new_by_mode;
272 alias c_gdk_gl_config_new_by_mode_for_screen  gdk_gl_config_new_by_mode_for_screen;
273 alias c_gdk_gl_config_get_screen  gdk_gl_config_get_screen;
274 alias c_gdk_gl_config_get_attrib  gdk_gl_config_get_attrib;
275 alias c_gdk_gl_config_get_colormap  gdk_gl_config_get_colormap;
276 alias c_gdk_gl_config_get_visual  gdk_gl_config_get_visual;
277 alias c_gdk_gl_config_get_depth  gdk_gl_config_get_depth;
278 alias c_gdk_gl_config_get_layer_plane  gdk_gl_config_get_layer_plane;
279 alias c_gdk_gl_config_get_n_aux_buffers  gdk_gl_config_get_n_aux_buffers;
280 alias c_gdk_gl_config_get_n_sample_buffers  gdk_gl_config_get_n_sample_buffers;
281 alias c_gdk_gl_config_is_rgba  gdk_gl_config_is_rgba;
282 alias c_gdk_gl_config_is_double_buffered  gdk_gl_config_is_double_buffered;
283 alias c_gdk_gl_config_is_stereo  gdk_gl_config_is_stereo;
284 alias c_gdk_gl_config_has_alpha  gdk_gl_config_has_alpha;
285 alias c_gdk_gl_config_has_depth_buffer  gdk_gl_config_has_depth_buffer;
286 alias c_gdk_gl_config_has_stencil_buffer  gdk_gl_config_has_stencil_buffer;
287 alias c_gdk_gl_config_has_accum_buffer  gdk_gl_config_has_accum_buffer;
288 
289 // glgdk.GLContext
290 
291 alias c_gdk_gl_context_new  gdk_gl_context_new;
292 alias c_gdk_gl_context_destroy  gdk_gl_context_destroy;
293 alias c_gdk_gl_context_copy  gdk_gl_context_copy;
294 alias c_gdk_gl_context_get_gl_drawable  gdk_gl_context_get_gl_drawable;
295 alias c_gdk_gl_context_get_gl_config  gdk_gl_context_get_gl_config;
296 alias c_gdk_gl_context_get_share_list  gdk_gl_context_get_share_list;
297 alias c_gdk_gl_context_is_direct  gdk_gl_context_is_direct;
298 alias c_gdk_gl_context_get_render_type  gdk_gl_context_get_render_type;
299 alias c_gdk_gl_context_get_current  gdk_gl_context_get_current;
300 
301 // glgdk.GLDrawable
302 
303 alias c_gdk_gl_drawable_make_current  gdk_gl_drawable_make_current;
304 alias c_gdk_gl_drawable_is_double_buffered  gdk_gl_drawable_is_double_buffered;
305 alias c_gdk_gl_drawable_swap_buffers  gdk_gl_drawable_swap_buffers;
306 alias c_gdk_gl_drawable_wait_gl  gdk_gl_drawable_wait_gl;
307 alias c_gdk_gl_drawable_wait_gdk  gdk_gl_drawable_wait_gdk;
308 alias c_gdk_gl_drawable_gl_begin  gdk_gl_drawable_gl_begin;
309 alias c_gdk_gl_drawable_gl_end  gdk_gl_drawable_gl_end;
310 alias c_gdk_gl_drawable_get_gl_config  gdk_gl_drawable_get_gl_config;
311 alias c_gdk_gl_drawable_get_size  gdk_gl_drawable_get_size;
312 alias c_gdk_gl_drawable_get_current  gdk_gl_drawable_get_current;
313 
314 // glgdk.GLPixmap
315 
316 alias c_gdk_gl_pixmap_new  gdk_gl_pixmap_new;
317 alias c_gdk_gl_pixmap_destroy  gdk_gl_pixmap_destroy;
318 alias c_gdk_gl_pixmap_get_pixmap  gdk_gl_pixmap_get_pixmap;
319 alias c_gdk_pixmap_set_gl_capability  gdk_pixmap_set_gl_capability;
320 alias c_gdk_pixmap_unset_gl_capability  gdk_pixmap_unset_gl_capability;
321 alias c_gdk_pixmap_is_gl_capable  gdk_pixmap_is_gl_capable;
322 alias c_gdk_pixmap_get_gl_pixmap  gdk_pixmap_get_gl_pixmap;
323 
324 // glgdk.GLWindow
325 
326 alias c_gdk_gl_window_new  gdk_gl_window_new;
327 alias c_gdk_gl_window_destroy  gdk_gl_window_destroy;
328 alias c_gdk_gl_window_get_window  gdk_gl_window_get_window;
329 alias c_gdk_window_set_gl_capability  gdk_window_set_gl_capability;
330 alias c_gdk_window_unset_gl_capability  gdk_window_unset_gl_capability;
331 alias c_gdk_window_is_gl_capable  gdk_window_is_gl_capable;
332 alias c_gdk_window_get_gl_window  gdk_window_get_gl_window;
333 
334 // glgdk.GLFont
335 
336 alias c_gdk_gl_font_use_pango_font  gdk_gl_font_use_pango_font;
337 alias c_gdk_gl_font_use_pango_font_for_display  gdk_gl_font_use_pango_font_for_display;
338 
339 // glgdk.GLDraw
340 
341 alias c_gdk_gl_draw_cube  gdk_gl_draw_cube;
342 alias c_gdk_gl_draw_sphere  gdk_gl_draw_sphere;
343 alias c_gdk_gl_draw_cone  gdk_gl_draw_cone;
344 alias c_gdk_gl_draw_torus  gdk_gl_draw_torus;
345 alias c_gdk_gl_draw_tetrahedron  gdk_gl_draw_tetrahedron;
346 alias c_gdk_gl_draw_octahedron  gdk_gl_draw_octahedron;
347 alias c_gdk_gl_draw_dodecahedron  gdk_gl_draw_dodecahedron;
348 alias c_gdk_gl_draw_icosahedron  gdk_gl_draw_icosahedron;
349 alias c_gdk_gl_draw_teapot  gdk_gl_draw_teapot;
350 
351 // glgdk.
352 
353 
354 // glgdk.
355