CodeWriter: Write [Diagnostics] attribute
[vala-lang.git] / vapi / packages / cogl-1.0 / cogl-1.0.gi
blobca985d64aba5d1994bf484c041b343b43473066f
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="Cogl">
4 <function name="attribute_type_get_type" symbol="cogl_attribute_type_get_type">
5 <return-type type="GType"/>
6 </function>
7 <function name="begin_gl" symbol="cogl_begin_gl">
8 <return-type type="void"/>
9 </function>
10 <function name="blend_string_error_get_type" symbol="cogl_blend_string_error_get_type">
11 <return-type type="GType"/>
12 </function>
13 <function name="blend_string_error_quark" symbol="cogl_blend_string_error_quark">
14 <return-type type="GQuark"/>
15 </function>
16 <function name="check_extension" symbol="cogl_check_extension">
17 <return-type type="gboolean"/>
18 <parameters>
19 <parameter name="name" type="char*"/>
20 <parameter name="ext" type="char*"/>
21 </parameters>
22 </function>
23 <function name="clear" symbol="cogl_clear">
24 <return-type type="void"/>
25 <parameters>
26 <parameter name="color" type="CoglColor*"/>
27 <parameter name="buffers" type="unsigned"/>
28 </parameters>
29 </function>
30 <function name="clip_ensure" symbol="cogl_clip_ensure">
31 <return-type type="void"/>
32 </function>
33 <function name="clip_pop" symbol="cogl_clip_pop">
34 <return-type type="void"/>
35 </function>
36 <function name="clip_push" symbol="cogl_clip_push">
37 <return-type type="void"/>
38 <parameters>
39 <parameter name="x_offset" type="float"/>
40 <parameter name="y_offset" type="float"/>
41 <parameter name="width" type="float"/>
42 <parameter name="height" type="float"/>
43 </parameters>
44 </function>
45 <function name="clip_push_from_path" symbol="cogl_clip_push_from_path">
46 <return-type type="void"/>
47 </function>
48 <function name="clip_push_from_path_preserve" symbol="cogl_clip_push_from_path_preserve">
49 <return-type type="void"/>
50 </function>
51 <function name="clip_push_rectangle" symbol="cogl_clip_push_rectangle">
52 <return-type type="void"/>
53 <parameters>
54 <parameter name="x0" type="float"/>
55 <parameter name="y0" type="float"/>
56 <parameter name="x1" type="float"/>
57 <parameter name="y1" type="float"/>
58 </parameters>
59 </function>
60 <function name="clip_push_window_rect" symbol="cogl_clip_push_window_rect">
61 <return-type type="void"/>
62 <parameters>
63 <parameter name="x_offset" type="float"/>
64 <parameter name="y_offset" type="float"/>
65 <parameter name="width" type="float"/>
66 <parameter name="height" type="float"/>
67 </parameters>
68 </function>
69 <function name="clip_push_window_rectangle" symbol="cogl_clip_push_window_rectangle">
70 <return-type type="void"/>
71 <parameters>
72 <parameter name="x_offset" type="int"/>
73 <parameter name="y_offset" type="int"/>
74 <parameter name="width" type="int"/>
75 <parameter name="height" type="int"/>
76 </parameters>
77 </function>
78 <function name="clip_stack_restore" symbol="cogl_clip_stack_restore">
79 <return-type type="void"/>
80 </function>
81 <function name="clip_stack_save" symbol="cogl_clip_stack_save">
82 <return-type type="void"/>
83 </function>
84 <function name="create_program" symbol="cogl_create_program">
85 <return-type type="CoglHandle"/>
86 </function>
87 <function name="create_shader" symbol="cogl_create_shader">
88 <return-type type="CoglHandle"/>
89 <parameters>
90 <parameter name="shader_type" type="CoglShaderType"/>
91 </parameters>
92 </function>
93 <function name="depth_test_function_get_type" symbol="cogl_depth_test_function_get_type">
94 <return-type type="GType"/>
95 </function>
96 <function name="disable_fog" symbol="cogl_disable_fog">
97 <return-type type="void"/>
98 </function>
99 <function name="double_to_fixed" symbol="cogl_double_to_fixed">
100 <return-type type="CoglFixed"/>
101 <parameters>
102 <parameter name="value" type="double"/>
103 </parameters>
104 </function>
105 <function name="double_to_int" symbol="cogl_double_to_int">
106 <return-type type="int"/>
107 <parameters>
108 <parameter name="value" type="double"/>
109 </parameters>
110 </function>
111 <function name="double_to_uint" symbol="cogl_double_to_uint">
112 <return-type type="unsigned"/>
113 <parameters>
114 <parameter name="value" type="double"/>
115 </parameters>
116 </function>
117 <function name="driver_error_get_type" symbol="cogl_driver_error_get_type">
118 <return-type type="GType"/>
119 </function>
120 <function name="end_gl" symbol="cogl_end_gl">
121 <return-type type="void"/>
122 </function>
123 <function name="error_get_type" symbol="cogl_error_get_type">
124 <return-type type="GType"/>
125 </function>
126 <function name="feature_flags_get_type" symbol="cogl_feature_flags_get_type">
127 <return-type type="GType"/>
128 </function>
129 <function name="features_available" symbol="cogl_features_available">
130 <return-type type="gboolean"/>
131 <parameters>
132 <parameter name="features" type="CoglFeatureFlags"/>
133 </parameters>
134 </function>
135 <function name="flush" symbol="cogl_flush">
136 <return-type type="void"/>
137 </function>
138 <function name="fog_mode_get_type" symbol="cogl_fog_mode_get_type">
139 <return-type type="GType"/>
140 </function>
141 <function name="frustum" symbol="cogl_frustum">
142 <return-type type="void"/>
143 <parameters>
144 <parameter name="left" type="float"/>
145 <parameter name="right" type="float"/>
146 <parameter name="bottom" type="float"/>
147 <parameter name="top" type="float"/>
148 <parameter name="z_near" type="float"/>
149 <parameter name="z_far" type="float"/>
150 </parameters>
151 </function>
152 <function name="get_backface_culling_enabled" symbol="cogl_get_backface_culling_enabled">
153 <return-type type="gboolean"/>
154 </function>
155 <function name="get_bitmasks" symbol="cogl_get_bitmasks">
156 <return-type type="void"/>
157 <parameters>
158 <parameter name="red" type="int*"/>
159 <parameter name="green" type="int*"/>
160 <parameter name="blue" type="int*"/>
161 <parameter name="alpha" type="int*"/>
162 </parameters>
163 </function>
164 <function name="get_depth_test_enabled" symbol="cogl_get_depth_test_enabled">
165 <return-type type="gboolean"/>
166 </function>
167 <function name="get_features" symbol="cogl_get_features">
168 <return-type type="CoglFeatureFlags"/>
169 </function>
170 <function name="get_modelview_matrix" symbol="cogl_get_modelview_matrix">
171 <return-type type="void"/>
172 <parameters>
173 <parameter name="matrix" type="CoglMatrix*"/>
174 </parameters>
175 </function>
176 <function name="get_option_group" symbol="cogl_get_option_group">
177 <return-type type="GOptionGroup*"/>
178 </function>
179 <function name="get_path" symbol="cogl_get_path">
180 <return-type type="CoglPath*"/>
181 </function>
182 <function name="get_proc_address" symbol="cogl_get_proc_address">
183 <return-type type="CoglFuncPtr"/>
184 <parameters>
185 <parameter name="name" type="char*"/>
186 </parameters>
187 </function>
188 <function name="get_projection_matrix" symbol="cogl_get_projection_matrix">
189 <return-type type="void"/>
190 <parameters>
191 <parameter name="matrix" type="CoglMatrix*"/>
192 </parameters>
193 </function>
194 <function name="get_viewport" symbol="cogl_get_viewport">
195 <return-type type="void"/>
196 <parameters>
197 <parameter name="v" type="float[]"/>
198 </parameters>
199 </function>
200 <function name="indices_type_get_type" symbol="cogl_indices_type_get_type">
201 <return-type type="GType"/>
202 </function>
203 <function name="is_bitmap" symbol="cogl_is_bitmap">
204 <return-type type="gboolean"/>
205 <parameters>
206 <parameter name="handle" type="CoglHandle"/>
207 </parameters>
208 </function>
209 <function name="is_buffer_EXP" symbol="cogl_is_buffer_EXP">
210 <return-type type="gboolean"/>
211 <parameters>
212 <parameter name="object" type="void*"/>
213 </parameters>
214 </function>
215 <function name="is_material" symbol="cogl_is_material">
216 <return-type type="gboolean"/>
217 <parameters>
218 <parameter name="handle" type="CoglHandle"/>
219 </parameters>
220 </function>
221 <function name="is_offscreen" symbol="cogl_is_offscreen">
222 <return-type type="gboolean"/>
223 <parameters>
224 <parameter name="handle" type="CoglHandle"/>
225 </parameters>
226 </function>
227 <function name="is_path" symbol="cogl_is_path">
228 <return-type type="gboolean"/>
229 <parameters>
230 <parameter name="handle" type="CoglHandle"/>
231 </parameters>
232 </function>
233 <function name="is_pixel_array_EXP" symbol="cogl_is_pixel_array_EXP">
234 <return-type type="gboolean"/>
235 <parameters>
236 <parameter name="object" type="void*"/>
237 </parameters>
238 </function>
239 <function name="is_program" symbol="cogl_is_program">
240 <return-type type="gboolean"/>
241 <parameters>
242 <parameter name="handle" type="CoglHandle"/>
243 </parameters>
244 </function>
245 <function name="is_shader" symbol="cogl_is_shader">
246 <return-type type="gboolean"/>
247 <parameters>
248 <parameter name="handle" type="CoglHandle"/>
249 </parameters>
250 </function>
251 <function name="is_texture" symbol="cogl_is_texture">
252 <return-type type="gboolean"/>
253 <parameters>
254 <parameter name="handle" type="CoglHandle"/>
255 </parameters>
256 </function>
257 <function name="is_texture_3d_EXP" symbol="cogl_is_texture_3d_EXP">
258 <return-type type="gboolean"/>
259 <parameters>
260 <parameter name="handle" type="CoglHandle"/>
261 </parameters>
262 </function>
263 <function name="is_texture_pixmap_x11_EXP" symbol="cogl_is_texture_pixmap_x11_EXP">
264 <return-type type="gboolean"/>
265 <parameters>
266 <parameter name="handle" type="CoglHandle"/>
267 </parameters>
268 </function>
269 <function name="is_vertex_buffer" symbol="cogl_is_vertex_buffer">
270 <return-type type="gboolean"/>
271 <parameters>
272 <parameter name="handle" type="CoglHandle"/>
273 </parameters>
274 </function>
275 <function name="is_vertex_buffer_indices" symbol="cogl_is_vertex_buffer_indices">
276 <return-type type="gboolean"/>
277 <parameters>
278 <parameter name="handle" type="CoglHandle"/>
279 </parameters>
280 </function>
281 <function name="offscreen_new_to_texture" symbol="cogl_offscreen_new_to_texture">
282 <return-type type="CoglHandle"/>
283 <parameters>
284 <parameter name="handle" type="CoglHandle"/>
285 </parameters>
286 </function>
287 <function name="offscreen_ref" symbol="cogl_offscreen_ref">
288 <return-type type="CoglHandle"/>
289 <parameters>
290 <parameter name="handle" type="CoglHandle"/>
291 </parameters>
292 </function>
293 <function name="offscreen_unref" symbol="cogl_offscreen_unref">
294 <return-type type="void"/>
295 <parameters>
296 <parameter name="handle" type="CoglHandle"/>
297 </parameters>
298 </function>
299 <function name="ortho" symbol="cogl_ortho">
300 <return-type type="void"/>
301 <parameters>
302 <parameter name="left" type="float"/>
303 <parameter name="right" type="float"/>
304 <parameter name="bottom" type="float"/>
305 <parameter name="top" type="float"/>
306 <parameter name="near" type="float"/>
307 <parameter name="far" type="float"/>
308 </parameters>
309 </function>
310 <function name="pango_ensure_glyph_cache_for_layout" symbol="cogl_pango_ensure_glyph_cache_for_layout">
311 <return-type type="void"/>
312 <parameters>
313 <parameter name="layout" type="PangoLayout*"/>
314 </parameters>
315 </function>
316 <function name="pango_render_layout" symbol="cogl_pango_render_layout">
317 <return-type type="void"/>
318 <parameters>
319 <parameter name="layout" type="PangoLayout*"/>
320 <parameter name="x" type="int"/>
321 <parameter name="y" type="int"/>
322 <parameter name="color" type="CoglColor*"/>
323 <parameter name="flags" type="int"/>
324 </parameters>
325 </function>
326 <function name="pango_render_layout_line" symbol="cogl_pango_render_layout_line">
327 <return-type type="void"/>
328 <parameters>
329 <parameter name="line" type="PangoLayoutLine*"/>
330 <parameter name="x" type="int"/>
331 <parameter name="y" type="int"/>
332 <parameter name="color" type="CoglColor*"/>
333 </parameters>
334 </function>
335 <function name="pango_render_layout_subpixel" symbol="cogl_pango_render_layout_subpixel">
336 <return-type type="void"/>
337 <parameters>
338 <parameter name="layout" type="PangoLayout*"/>
339 <parameter name="x" type="int"/>
340 <parameter name="y" type="int"/>
341 <parameter name="color" type="CoglColor*"/>
342 <parameter name="flags" type="int"/>
343 </parameters>
344 </function>
345 <function name="perspective" symbol="cogl_perspective">
346 <return-type type="void"/>
347 <parameters>
348 <parameter name="fovy" type="float"/>
349 <parameter name="aspect" type="float"/>
350 <parameter name="z_near" type="float"/>
351 <parameter name="z_far" type="float"/>
352 </parameters>
353 </function>
354 <function name="pixel_format_get_type" symbol="cogl_pixel_format_get_type">
355 <return-type type="GType"/>
356 </function>
357 <function name="polygon" symbol="cogl_polygon">
358 <return-type type="void"/>
359 <parameters>
360 <parameter name="vertices" type="CoglTextureVertex*"/>
361 <parameter name="n_vertices" type="unsigned"/>
362 <parameter name="use_color" type="gboolean"/>
363 </parameters>
364 </function>
365 <function name="pop_draw_buffer" symbol="cogl_pop_draw_buffer">
366 <return-type type="void"/>
367 </function>
368 <function name="pop_framebuffer" symbol="cogl_pop_framebuffer">
369 <return-type type="void"/>
370 </function>
371 <function name="pop_matrix" symbol="cogl_pop_matrix">
372 <return-type type="void"/>
373 </function>
374 <function name="program_attach_shader" symbol="cogl_program_attach_shader">
375 <return-type type="void"/>
376 <parameters>
377 <parameter name="program_handle" type="CoglHandle"/>
378 <parameter name="shader_handle" type="CoglHandle"/>
379 </parameters>
380 </function>
381 <function name="program_get_uniform_location" symbol="cogl_program_get_uniform_location">
382 <return-type type="int"/>
383 <parameters>
384 <parameter name="handle" type="CoglHandle"/>
385 <parameter name="uniform_name" type="char*"/>
386 </parameters>
387 </function>
388 <function name="program_link" symbol="cogl_program_link">
389 <return-type type="void"/>
390 <parameters>
391 <parameter name="handle" type="CoglHandle"/>
392 </parameters>
393 </function>
394 <function name="program_ref" symbol="cogl_program_ref">
395 <return-type type="CoglHandle"/>
396 <parameters>
397 <parameter name="handle" type="CoglHandle"/>
398 </parameters>
399 </function>
400 <function name="program_set_uniform_1f" symbol="cogl_program_set_uniform_1f">
401 <return-type type="void"/>
402 <parameters>
403 <parameter name="program" type="CoglHandle"/>
404 <parameter name="uniform_location" type="int"/>
405 <parameter name="value" type="float"/>
406 </parameters>
407 </function>
408 <function name="program_set_uniform_1i" symbol="cogl_program_set_uniform_1i">
409 <return-type type="void"/>
410 <parameters>
411 <parameter name="program" type="CoglHandle"/>
412 <parameter name="uniform_location" type="int"/>
413 <parameter name="value" type="int"/>
414 </parameters>
415 </function>
416 <function name="program_set_uniform_float" symbol="cogl_program_set_uniform_float">
417 <return-type type="void"/>
418 <parameters>
419 <parameter name="program" type="CoglHandle"/>
420 <parameter name="uniform_location" type="int"/>
421 <parameter name="n_components" type="int"/>
422 <parameter name="count" type="int"/>
423 <parameter name="value" type="float*"/>
424 </parameters>
425 </function>
426 <function name="program_set_uniform_int" symbol="cogl_program_set_uniform_int">
427 <return-type type="void"/>
428 <parameters>
429 <parameter name="program" type="CoglHandle"/>
430 <parameter name="uniform_location" type="int"/>
431 <parameter name="n_components" type="int"/>
432 <parameter name="count" type="int"/>
433 <parameter name="value" type="int*"/>
434 </parameters>
435 </function>
436 <function name="program_set_uniform_matrix" symbol="cogl_program_set_uniform_matrix">
437 <return-type type="void"/>
438 <parameters>
439 <parameter name="program" type="CoglHandle"/>
440 <parameter name="uniform_location" type="int"/>
441 <parameter name="dimensions" type="int"/>
442 <parameter name="count" type="int"/>
443 <parameter name="transpose" type="gboolean"/>
444 <parameter name="value" type="float*"/>
445 </parameters>
446 </function>
447 <function name="program_uniform_1f" symbol="cogl_program_uniform_1f">
448 <return-type type="void"/>
449 <parameters>
450 <parameter name="uniform_no" type="int"/>
451 <parameter name="value" type="float"/>
452 </parameters>
453 </function>
454 <function name="program_uniform_1i" symbol="cogl_program_uniform_1i">
455 <return-type type="void"/>
456 <parameters>
457 <parameter name="uniform_no" type="int"/>
458 <parameter name="value" type="int"/>
459 </parameters>
460 </function>
461 <function name="program_uniform_float" symbol="cogl_program_uniform_float">
462 <return-type type="void"/>
463 <parameters>
464 <parameter name="uniform_no" type="int"/>
465 <parameter name="size" type="int"/>
466 <parameter name="count" type="int"/>
467 <parameter name="value" type="float*"/>
468 </parameters>
469 </function>
470 <function name="program_uniform_int" symbol="cogl_program_uniform_int">
471 <return-type type="void"/>
472 <parameters>
473 <parameter name="uniform_no" type="int"/>
474 <parameter name="size" type="int"/>
475 <parameter name="count" type="int"/>
476 <parameter name="value" type="int*"/>
477 </parameters>
478 </function>
479 <function name="program_uniform_matrix" symbol="cogl_program_uniform_matrix">
480 <return-type type="void"/>
481 <parameters>
482 <parameter name="uniform_no" type="int"/>
483 <parameter name="size" type="int"/>
484 <parameter name="count" type="int"/>
485 <parameter name="transpose" type="gboolean"/>
486 <parameter name="value" type="float*"/>
487 </parameters>
488 </function>
489 <function name="program_unref" symbol="cogl_program_unref">
490 <return-type type="void"/>
491 <parameters>
492 <parameter name="handle" type="CoglHandle"/>
493 </parameters>
494 </function>
495 <function name="program_use" symbol="cogl_program_use">
496 <return-type type="void"/>
497 <parameters>
498 <parameter name="handle" type="CoglHandle"/>
499 </parameters>
500 </function>
501 <function name="push_draw_buffer" symbol="cogl_push_draw_buffer">
502 <return-type type="void"/>
503 </function>
504 <function name="push_framebuffer" symbol="cogl_push_framebuffer">
505 <return-type type="void"/>
506 <parameters>
507 <parameter name="buffer" type="CoglFramebuffer*"/>
508 </parameters>
509 </function>
510 <function name="push_matrix" symbol="cogl_push_matrix">
511 <return-type type="void"/>
512 </function>
513 <function name="read_pixels" symbol="cogl_read_pixels">
514 <return-type type="void"/>
515 <parameters>
516 <parameter name="x" type="int"/>
517 <parameter name="y" type="int"/>
518 <parameter name="width" type="int"/>
519 <parameter name="height" type="int"/>
520 <parameter name="source" type="CoglReadPixelsFlags"/>
521 <parameter name="format" type="CoglPixelFormat"/>
522 <parameter name="pixels" type="guint8*"/>
523 </parameters>
524 </function>
525 <function name="read_pixels_flags_get_type" symbol="cogl_read_pixels_flags_get_type">
526 <return-type type="GType"/>
527 </function>
528 <function name="rectangle" symbol="cogl_rectangle">
529 <return-type type="void"/>
530 <parameters>
531 <parameter name="x_1" type="float"/>
532 <parameter name="y_1" type="float"/>
533 <parameter name="x_2" type="float"/>
534 <parameter name="y_2" type="float"/>
535 </parameters>
536 </function>
537 <function name="rectangle_with_multitexture_coords" symbol="cogl_rectangle_with_multitexture_coords">
538 <return-type type="void"/>
539 <parameters>
540 <parameter name="x1" type="float"/>
541 <parameter name="y1" type="float"/>
542 <parameter name="x2" type="float"/>
543 <parameter name="y2" type="float"/>
544 <parameter name="tex_coords" type="float*"/>
545 <parameter name="tex_coords_len" type="int"/>
546 </parameters>
547 </function>
548 <function name="rectangle_with_texture_coords" symbol="cogl_rectangle_with_texture_coords">
549 <return-type type="void"/>
550 <parameters>
551 <parameter name="x1" type="float"/>
552 <parameter name="y1" type="float"/>
553 <parameter name="x2" type="float"/>
554 <parameter name="y2" type="float"/>
555 <parameter name="tx1" type="float"/>
556 <parameter name="ty1" type="float"/>
557 <parameter name="tx2" type="float"/>
558 <parameter name="ty2" type="float"/>
559 </parameters>
560 </function>
561 <function name="rectangles" symbol="cogl_rectangles">
562 <return-type type="void"/>
563 <parameters>
564 <parameter name="verts" type="float*"/>
565 <parameter name="n_rects" type="unsigned"/>
566 </parameters>
567 </function>
568 <function name="rectangles_with_texture_coords" symbol="cogl_rectangles_with_texture_coords">
569 <return-type type="void"/>
570 <parameters>
571 <parameter name="verts" type="float*"/>
572 <parameter name="n_rects" type="unsigned"/>
573 </parameters>
574 </function>
575 <function name="rotate" symbol="cogl_rotate">
576 <return-type type="void"/>
577 <parameters>
578 <parameter name="angle" type="float"/>
579 <parameter name="x" type="float"/>
580 <parameter name="y" type="float"/>
581 <parameter name="z" type="float"/>
582 </parameters>
583 </function>
584 <function name="scale" symbol="cogl_scale">
585 <return-type type="void"/>
586 <parameters>
587 <parameter name="x" type="float"/>
588 <parameter name="y" type="float"/>
589 <parameter name="z" type="float"/>
590 </parameters>
591 </function>
592 <function name="set_backface_culling_enabled" symbol="cogl_set_backface_culling_enabled">
593 <return-type type="void"/>
594 <parameters>
595 <parameter name="setting" type="gboolean"/>
596 </parameters>
597 </function>
598 <function name="set_depth_test_enabled" symbol="cogl_set_depth_test_enabled">
599 <return-type type="void"/>
600 <parameters>
601 <parameter name="setting" type="gboolean"/>
602 </parameters>
603 </function>
604 <function name="set_draw_buffer" symbol="cogl_set_draw_buffer">
605 <return-type type="void"/>
606 <parameters>
607 <parameter name="target" type="CoglBufferTarget"/>
608 <parameter name="offscreen" type="CoglHandle"/>
609 </parameters>
610 </function>
611 <function name="set_fog" symbol="cogl_set_fog">
612 <return-type type="void"/>
613 <parameters>
614 <parameter name="fog_color" type="CoglColor*"/>
615 <parameter name="mode" type="CoglFogMode"/>
616 <parameter name="density" type="float"/>
617 <parameter name="z_near" type="float"/>
618 <parameter name="z_far" type="float"/>
619 </parameters>
620 </function>
621 <function name="set_framebuffer" symbol="cogl_set_framebuffer">
622 <return-type type="void"/>
623 <parameters>
624 <parameter name="buffer" type="CoglFramebuffer*"/>
625 </parameters>
626 </function>
627 <function name="set_modelview_matrix" symbol="cogl_set_modelview_matrix">
628 <return-type type="void"/>
629 <parameters>
630 <parameter name="matrix" type="CoglMatrix*"/>
631 </parameters>
632 </function>
633 <function name="set_path" symbol="cogl_set_path">
634 <return-type type="void"/>
635 <parameters>
636 <parameter name="path" type="CoglPath*"/>
637 </parameters>
638 </function>
639 <function name="set_projection_matrix" symbol="cogl_set_projection_matrix">
640 <return-type type="void"/>
641 <parameters>
642 <parameter name="matrix" type="CoglMatrix*"/>
643 </parameters>
644 </function>
645 <function name="set_source" symbol="cogl_set_source">
646 <return-type type="void"/>
647 <parameters>
648 <parameter name="material" type="CoglHandle"/>
649 </parameters>
650 </function>
651 <function name="set_source_color" symbol="cogl_set_source_color">
652 <return-type type="void"/>
653 <parameters>
654 <parameter name="color" type="CoglColor*"/>
655 </parameters>
656 </function>
657 <function name="set_source_color4f" symbol="cogl_set_source_color4f">
658 <return-type type="void"/>
659 <parameters>
660 <parameter name="red" type="float"/>
661 <parameter name="green" type="float"/>
662 <parameter name="blue" type="float"/>
663 <parameter name="alpha" type="float"/>
664 </parameters>
665 </function>
666 <function name="set_source_color4ub" symbol="cogl_set_source_color4ub">
667 <return-type type="void"/>
668 <parameters>
669 <parameter name="red" type="guint8"/>
670 <parameter name="green" type="guint8"/>
671 <parameter name="blue" type="guint8"/>
672 <parameter name="alpha" type="guint8"/>
673 </parameters>
674 </function>
675 <function name="set_source_texture" symbol="cogl_set_source_texture">
676 <return-type type="void"/>
677 <parameters>
678 <parameter name="texture_handle" type="CoglHandle"/>
679 </parameters>
680 </function>
681 <function name="set_viewport" symbol="cogl_set_viewport">
682 <return-type type="void"/>
683 <parameters>
684 <parameter name="x" type="int"/>
685 <parameter name="y" type="int"/>
686 <parameter name="width" type="int"/>
687 <parameter name="height" type="int"/>
688 </parameters>
689 </function>
690 <function name="shader_compile" symbol="cogl_shader_compile">
691 <return-type type="void"/>
692 <parameters>
693 <parameter name="handle" type="CoglHandle"/>
694 </parameters>
695 </function>
696 <function name="shader_get_info_log" symbol="cogl_shader_get_info_log">
697 <return-type type="char*"/>
698 <parameters>
699 <parameter name="handle" type="CoglHandle"/>
700 </parameters>
701 </function>
702 <function name="shader_get_type" symbol="cogl_shader_get_type">
703 <return-type type="CoglShaderType"/>
704 <parameters>
705 <parameter name="handle" type="CoglHandle"/>
706 </parameters>
707 </function>
708 <function name="shader_is_compiled" symbol="cogl_shader_is_compiled">
709 <return-type type="gboolean"/>
710 <parameters>
711 <parameter name="handle" type="CoglHandle"/>
712 </parameters>
713 </function>
714 <function name="shader_ref" symbol="cogl_shader_ref">
715 <return-type type="CoglHandle"/>
716 <parameters>
717 <parameter name="handle" type="CoglHandle"/>
718 </parameters>
719 </function>
720 <function name="shader_source" symbol="cogl_shader_source">
721 <return-type type="void"/>
722 <parameters>
723 <parameter name="shader" type="CoglHandle"/>
724 <parameter name="source" type="char*"/>
725 </parameters>
726 </function>
727 <function name="shader_type_get_type" symbol="cogl_shader_type_get_type">
728 <return-type type="GType"/>
729 </function>
730 <function name="shader_unref" symbol="cogl_shader_unref">
731 <return-type type="void"/>
732 <parameters>
733 <parameter name="handle" type="CoglHandle"/>
734 </parameters>
735 </function>
736 <function name="sqrti" symbol="cogl_sqrti">
737 <return-type type="int"/>
738 <parameters>
739 <parameter name="x" type="int"/>
740 </parameters>
741 </function>
742 <function name="texture_3d_new_from_data_EXP" symbol="cogl_texture_3d_new_from_data_EXP">
743 <return-type type="CoglHandle"/>
744 <parameters>
745 <parameter name="width" type="unsigned"/>
746 <parameter name="height" type="unsigned"/>
747 <parameter name="depth" type="unsigned"/>
748 <parameter name="flags" type="CoglTextureFlags"/>
749 <parameter name="format" type="CoglPixelFormat"/>
750 <parameter name="internal_format" type="CoglPixelFormat"/>
751 <parameter name="rowstride" type="unsigned"/>
752 <parameter name="image_stride" type="unsigned"/>
753 <parameter name="data" type="guint8*"/>
754 <parameter name="error" type="GError**"/>
755 </parameters>
756 </function>
757 <function name="texture_3d_new_with_size_EXP" symbol="cogl_texture_3d_new_with_size_EXP">
758 <return-type type="CoglHandle"/>
759 <parameters>
760 <parameter name="width" type="unsigned"/>
761 <parameter name="height" type="unsigned"/>
762 <parameter name="depth" type="unsigned"/>
763 <parameter name="flags" type="CoglTextureFlags"/>
764 <parameter name="internal_format" type="CoglPixelFormat"/>
765 <parameter name="error" type="GError**"/>
766 </parameters>
767 </function>
768 <function name="texture_flags_get_type" symbol="cogl_texture_flags_get_type">
769 <return-type type="GType"/>
770 </function>
771 <function name="texture_get_data" symbol="cogl_texture_get_data">
772 <return-type type="int"/>
773 <parameters>
774 <parameter name="handle" type="CoglHandle"/>
775 <parameter name="format" type="CoglPixelFormat"/>
776 <parameter name="rowstride" type="unsigned"/>
777 <parameter name="data" type="guint8*"/>
778 </parameters>
779 </function>
780 <function name="texture_get_format" symbol="cogl_texture_get_format">
781 <return-type type="CoglPixelFormat"/>
782 <parameters>
783 <parameter name="handle" type="CoglHandle"/>
784 </parameters>
785 </function>
786 <function name="texture_get_gl_texture" symbol="cogl_texture_get_gl_texture">
787 <return-type type="gboolean"/>
788 <parameters>
789 <parameter name="handle" type="CoglHandle"/>
790 <parameter name="out_gl_handle" type="GLuint*"/>
791 <parameter name="out_gl_target" type="GLenum*"/>
792 </parameters>
793 </function>
794 <function name="texture_get_height" symbol="cogl_texture_get_height">
795 <return-type type="unsigned"/>
796 <parameters>
797 <parameter name="handle" type="CoglHandle"/>
798 </parameters>
799 </function>
800 <function name="texture_get_max_waste" symbol="cogl_texture_get_max_waste">
801 <return-type type="int"/>
802 <parameters>
803 <parameter name="handle" type="CoglHandle"/>
804 </parameters>
805 </function>
806 <function name="texture_get_rowstride" symbol="cogl_texture_get_rowstride">
807 <return-type type="unsigned"/>
808 <parameters>
809 <parameter name="handle" type="CoglHandle"/>
810 </parameters>
811 </function>
812 <function name="texture_get_width" symbol="cogl_texture_get_width">
813 <return-type type="unsigned"/>
814 <parameters>
815 <parameter name="handle" type="CoglHandle"/>
816 </parameters>
817 </function>
818 <function name="texture_is_sliced" symbol="cogl_texture_is_sliced">
819 <return-type type="gboolean"/>
820 <parameters>
821 <parameter name="handle" type="CoglHandle"/>
822 </parameters>
823 </function>
824 <function name="texture_new_from_bitmap" symbol="cogl_texture_new_from_bitmap">
825 <return-type type="CoglHandle"/>
826 <parameters>
827 <parameter name="bmp_handle" type="CoglHandle"/>
828 <parameter name="flags" type="CoglTextureFlags"/>
829 <parameter name="internal_format" type="CoglPixelFormat"/>
830 </parameters>
831 </function>
832 <function name="texture_new_from_buffer" symbol="cogl_texture_new_from_buffer">
833 <return-type type="CoglHandle"/>
834 <parameters>
835 <parameter name="buffer" type="CoglHandle"/>
836 <parameter name="width" type="unsigned"/>
837 <parameter name="height" type="unsigned"/>
838 <parameter name="flags" type="CoglTextureFlags"/>
839 <parameter name="format" type="CoglPixelFormat"/>
840 <parameter name="internal_format" type="CoglPixelFormat"/>
841 <parameter name="rowstride" type="unsigned"/>
842 <parameter name="offset" type="unsigned"/>
843 </parameters>
844 </function>
845 <function name="texture_new_from_buffer_EXP" symbol="cogl_texture_new_from_buffer_EXP">
846 <return-type type="CoglHandle"/>
847 <parameters>
848 <parameter name="buffer" type="CoglHandle"/>
849 <parameter name="width" type="unsigned"/>
850 <parameter name="height" type="unsigned"/>
851 <parameter name="flags" type="CoglTextureFlags"/>
852 <parameter name="format" type="CoglPixelFormat"/>
853 <parameter name="internal_format" type="CoglPixelFormat"/>
854 <parameter name="rowstride" type="unsigned"/>
855 <parameter name="offset" type="unsigned"/>
856 </parameters>
857 </function>
858 <function name="texture_new_from_data" symbol="cogl_texture_new_from_data">
859 <return-type type="CoglHandle"/>
860 <parameters>
861 <parameter name="width" type="unsigned"/>
862 <parameter name="height" type="unsigned"/>
863 <parameter name="flags" type="CoglTextureFlags"/>
864 <parameter name="format" type="CoglPixelFormat"/>
865 <parameter name="internal_format" type="CoglPixelFormat"/>
866 <parameter name="rowstride" type="unsigned"/>
867 <parameter name="data" type="guint8*"/>
868 </parameters>
869 </function>
870 <function name="texture_new_from_file" symbol="cogl_texture_new_from_file">
871 <return-type type="CoglHandle"/>
872 <parameters>
873 <parameter name="filename" type="char*"/>
874 <parameter name="flags" type="CoglTextureFlags"/>
875 <parameter name="internal_format" type="CoglPixelFormat"/>
876 <parameter name="error" type="GError**"/>
877 </parameters>
878 </function>
879 <function name="texture_new_from_foreign" symbol="cogl_texture_new_from_foreign">
880 <return-type type="CoglHandle"/>
881 <parameters>
882 <parameter name="gl_handle" type="GLuint"/>
883 <parameter name="gl_target" type="GLenum"/>
884 <parameter name="width" type="GLuint"/>
885 <parameter name="height" type="GLuint"/>
886 <parameter name="x_pot_waste" type="GLuint"/>
887 <parameter name="y_pot_waste" type="GLuint"/>
888 <parameter name="format" type="CoglPixelFormat"/>
889 </parameters>
890 </function>
891 <function name="texture_new_from_sub_texture" symbol="cogl_texture_new_from_sub_texture">
892 <return-type type="CoglHandle"/>
893 <parameters>
894 <parameter name="full_texture" type="CoglHandle"/>
895 <parameter name="sub_x" type="int"/>
896 <parameter name="sub_y" type="int"/>
897 <parameter name="sub_width" type="int"/>
898 <parameter name="sub_height" type="int"/>
899 </parameters>
900 </function>
901 <function name="texture_new_with_size" symbol="cogl_texture_new_with_size">
902 <return-type type="CoglHandle"/>
903 <parameters>
904 <parameter name="width" type="unsigned"/>
905 <parameter name="height" type="unsigned"/>
906 <parameter name="flags" type="CoglTextureFlags"/>
907 <parameter name="internal_format" type="CoglPixelFormat"/>
908 </parameters>
909 </function>
910 <function name="texture_pixmap_x11_is_using_tfp_extension_EXP" symbol="cogl_texture_pixmap_x11_is_using_tfp_extension_EXP">
911 <return-type type="gboolean"/>
912 <parameters>
913 <parameter name="handle" type="CoglHandle"/>
914 </parameters>
915 </function>
916 <function name="texture_pixmap_x11_new_EXP" symbol="cogl_texture_pixmap_x11_new_EXP">
917 <return-type type="CoglHandle"/>
918 <parameters>
919 <parameter name="pixmap" type="guint32"/>
920 <parameter name="automatic_updates" type="gboolean"/>
921 </parameters>
922 </function>
923 <function name="texture_pixmap_x11_report_level_get_type" symbol="cogl_texture_pixmap_x11_report_level_get_type">
924 <return-type type="GType"/>
925 </function>
926 <function name="texture_pixmap_x11_set_damage_object_EXP" symbol="cogl_texture_pixmap_x11_set_damage_object_EXP">
927 <return-type type="void"/>
928 <parameters>
929 <parameter name="handle" type="CoglHandle"/>
930 <parameter name="damage" type="guint32"/>
931 <parameter name="report_level" type="CoglTexturePixmapX11ReportLevel"/>
932 </parameters>
933 </function>
934 <function name="texture_pixmap_x11_update_area_EXP" symbol="cogl_texture_pixmap_x11_update_area_EXP">
935 <return-type type="void"/>
936 <parameters>
937 <parameter name="handle" type="CoglHandle"/>
938 <parameter name="x" type="int"/>
939 <parameter name="y" type="int"/>
940 <parameter name="width" type="int"/>
941 <parameter name="height" type="int"/>
942 </parameters>
943 </function>
944 <function name="texture_ref" symbol="cogl_texture_ref">
945 <return-type type="CoglHandle"/>
946 <parameters>
947 <parameter name="handle" type="CoglHandle"/>
948 </parameters>
949 </function>
950 <function name="texture_set_region" symbol="cogl_texture_set_region">
951 <return-type type="gboolean"/>
952 <parameters>
953 <parameter name="handle" type="CoglHandle"/>
954 <parameter name="src_x" type="int"/>
955 <parameter name="src_y" type="int"/>
956 <parameter name="dst_x" type="int"/>
957 <parameter name="dst_y" type="int"/>
958 <parameter name="dst_width" type="unsigned"/>
959 <parameter name="dst_height" type="unsigned"/>
960 <parameter name="width" type="int"/>
961 <parameter name="height" type="int"/>
962 <parameter name="format" type="CoglPixelFormat"/>
963 <parameter name="rowstride" type="unsigned"/>
964 <parameter name="data" type="guint8*"/>
965 </parameters>
966 </function>
967 <function name="texture_unref" symbol="cogl_texture_unref">
968 <return-type type="void"/>
969 <parameters>
970 <parameter name="handle" type="CoglHandle"/>
971 </parameters>
972 </function>
973 <function name="transform" symbol="cogl_transform">
974 <return-type type="void"/>
975 <parameters>
976 <parameter name="matrix" type="CoglMatrix*"/>
977 </parameters>
978 </function>
979 <function name="translate" symbol="cogl_translate">
980 <return-type type="void"/>
981 <parameters>
982 <parameter name="x" type="float"/>
983 <parameter name="y" type="float"/>
984 <parameter name="z" type="float"/>
985 </parameters>
986 </function>
987 <function name="vertex_buffer_add" symbol="cogl_vertex_buffer_add">
988 <return-type type="void"/>
989 <parameters>
990 <parameter name="handle" type="CoglHandle"/>
991 <parameter name="attribute_name" type="char*"/>
992 <parameter name="n_components" type="guint8"/>
993 <parameter name="type" type="CoglAttributeType"/>
994 <parameter name="normalized" type="gboolean"/>
995 <parameter name="stride" type="guint16"/>
996 <parameter name="pointer" type="void*"/>
997 </parameters>
998 </function>
999 <function name="vertex_buffer_delete" symbol="cogl_vertex_buffer_delete">
1000 <return-type type="void"/>
1001 <parameters>
1002 <parameter name="handle" type="CoglHandle"/>
1003 <parameter name="attribute_name" type="char*"/>
1004 </parameters>
1005 </function>
1006 <function name="vertex_buffer_disable" symbol="cogl_vertex_buffer_disable">
1007 <return-type type="void"/>
1008 <parameters>
1009 <parameter name="handle" type="CoglHandle"/>
1010 <parameter name="attribute_name" type="char*"/>
1011 </parameters>
1012 </function>
1013 <function name="vertex_buffer_draw" symbol="cogl_vertex_buffer_draw">
1014 <return-type type="void"/>
1015 <parameters>
1016 <parameter name="handle" type="CoglHandle"/>
1017 <parameter name="mode" type="CoglVerticesMode"/>
1018 <parameter name="first" type="int"/>
1019 <parameter name="count" type="int"/>
1020 </parameters>
1021 </function>
1022 <function name="vertex_buffer_draw_elements" symbol="cogl_vertex_buffer_draw_elements">
1023 <return-type type="void"/>
1024 <parameters>
1025 <parameter name="handle" type="CoglHandle"/>
1026 <parameter name="mode" type="CoglVerticesMode"/>
1027 <parameter name="indices" type="CoglHandle"/>
1028 <parameter name="min_index" type="int"/>
1029 <parameter name="max_index" type="int"/>
1030 <parameter name="indices_offset" type="int"/>
1031 <parameter name="count" type="int"/>
1032 </parameters>
1033 </function>
1034 <function name="vertex_buffer_enable" symbol="cogl_vertex_buffer_enable">
1035 <return-type type="void"/>
1036 <parameters>
1037 <parameter name="handle" type="CoglHandle"/>
1038 <parameter name="attribute_name" type="char*"/>
1039 </parameters>
1040 </function>
1041 <function name="vertex_buffer_get_n_vertices" symbol="cogl_vertex_buffer_get_n_vertices">
1042 <return-type type="unsigned"/>
1043 <parameters>
1044 <parameter name="handle" type="CoglHandle"/>
1045 </parameters>
1046 </function>
1047 <function name="vertex_buffer_indices_get_for_quads" symbol="cogl_vertex_buffer_indices_get_for_quads">
1048 <return-type type="CoglHandle"/>
1049 <parameters>
1050 <parameter name="n_indices" type="unsigned"/>
1051 </parameters>
1052 </function>
1053 <function name="vertex_buffer_indices_get_type" symbol="cogl_vertex_buffer_indices_get_type">
1054 <return-type type="CoglIndicesType"/>
1055 <parameters>
1056 <parameter name="indices" type="CoglHandle"/>
1057 </parameters>
1058 </function>
1059 <function name="vertex_buffer_indices_new" symbol="cogl_vertex_buffer_indices_new">
1060 <return-type type="CoglHandle"/>
1061 <parameters>
1062 <parameter name="indices_type" type="CoglIndicesType"/>
1063 <parameter name="indices_array" type="void*"/>
1064 <parameter name="indices_len" type="int"/>
1065 </parameters>
1066 </function>
1067 <function name="vertex_buffer_new" symbol="cogl_vertex_buffer_new">
1068 <return-type type="CoglHandle"/>
1069 <parameters>
1070 <parameter name="n_vertices" type="unsigned"/>
1071 </parameters>
1072 </function>
1073 <function name="vertex_buffer_ref" symbol="cogl_vertex_buffer_ref">
1074 <return-type type="CoglHandle"/>
1075 <parameters>
1076 <parameter name="handle" type="CoglHandle"/>
1077 </parameters>
1078 </function>
1079 <function name="vertex_buffer_submit" symbol="cogl_vertex_buffer_submit">
1080 <return-type type="void"/>
1081 <parameters>
1082 <parameter name="handle" type="CoglHandle"/>
1083 </parameters>
1084 </function>
1085 <function name="vertex_buffer_unref" symbol="cogl_vertex_buffer_unref">
1086 <return-type type="void"/>
1087 <parameters>
1088 <parameter name="handle" type="CoglHandle"/>
1089 </parameters>
1090 </function>
1091 <function name="vertices_mode_get_type" symbol="cogl_vertices_mode_get_type">
1092 <return-type type="GType"/>
1093 </function>
1094 <function name="viewport" symbol="cogl_viewport">
1095 <return-type type="void"/>
1096 <parameters>
1097 <parameter name="width" type="unsigned"/>
1098 <parameter name="height" type="unsigned"/>
1099 </parameters>
1100 </function>
1101 <callback name="CoglFuncPtr">
1102 <return-type type="void"/>
1103 </callback>
1104 <callback name="CoglMaterialLayerCallback">
1105 <return-type type="gboolean"/>
1106 <parameters>
1107 <parameter name="material" type="CoglMaterial*"/>
1108 <parameter name="layer_index" type="int"/>
1109 <parameter name="user_data" type="void*"/>
1110 </parameters>
1111 </callback>
1112 <callback name="CoglUserDataDestroyCallback">
1113 <return-type type="void"/>
1114 <parameters>
1115 <parameter name="user_data" type="void*"/>
1116 </parameters>
1117 </callback>
1118 <struct name="CoglAngle">
1119 <method name="cos" symbol="cogl_angle_cos">
1120 <return-type type="CoglFixed"/>
1121 <parameters>
1122 <parameter name="angle" type="CoglAngle"/>
1123 </parameters>
1124 </method>
1125 <method name="sin" symbol="cogl_angle_sin">
1126 <return-type type="CoglFixed"/>
1127 <parameters>
1128 <parameter name="angle" type="CoglAngle"/>
1129 </parameters>
1130 </method>
1131 <method name="tan" symbol="cogl_angle_tan">
1132 <return-type type="CoglFixed"/>
1133 <parameters>
1134 <parameter name="angle" type="CoglAngle"/>
1135 </parameters>
1136 </method>
1137 </struct>
1138 <struct name="CoglBitmap">
1139 <method name="error_get_type" symbol="cogl_bitmap_error_get_type">
1140 <return-type type="GType"/>
1141 </method>
1142 <method name="error_quark" symbol="cogl_bitmap_error_quark">
1143 <return-type type="GQuark"/>
1144 </method>
1145 <method name="get_size_from_file" symbol="cogl_bitmap_get_size_from_file">
1146 <return-type type="gboolean"/>
1147 <parameters>
1148 <parameter name="filename" type="char*"/>
1149 <parameter name="width" type="int*"/>
1150 <parameter name="height" type="int*"/>
1151 </parameters>
1152 </method>
1153 <method name="new_from_file" symbol="cogl_bitmap_new_from_file">
1154 <return-type type="CoglBitmap*"/>
1155 <parameters>
1156 <parameter name="filename" type="char*"/>
1157 <parameter name="error" type="GError**"/>
1158 </parameters>
1159 </method>
1160 </struct>
1161 <struct name="CoglBuffer">
1162 <method name="access_get_type" symbol="cogl_buffer_access_get_type">
1163 <return-type type="GType"/>
1164 </method>
1165 <method name="bit_get_type" symbol="cogl_buffer_bit_get_type">
1166 <return-type type="GType"/>
1167 </method>
1168 <method name="get_size_EXP" symbol="cogl_buffer_get_size_EXP">
1169 <return-type type="unsigned"/>
1170 <parameters>
1171 <parameter name="buffer" type="CoglBuffer*"/>
1172 </parameters>
1173 </method>
1174 <method name="get_update_hint_EXP" symbol="cogl_buffer_get_update_hint_EXP">
1175 <return-type type="CoglBufferUpdateHint"/>
1176 <parameters>
1177 <parameter name="buffer" type="CoglBuffer*"/>
1178 </parameters>
1179 </method>
1180 <method name="map_EXP" symbol="cogl_buffer_map_EXP">
1181 <return-type type="guint8*"/>
1182 <parameters>
1183 <parameter name="buffer" type="CoglBuffer*"/>
1184 <parameter name="access" type="CoglBufferAccess"/>
1185 <parameter name="hints" type="CoglBufferMapHint"/>
1186 </parameters>
1187 </method>
1188 <method name="map_hint_get_type" symbol="cogl_buffer_map_hint_get_type">
1189 <return-type type="GType"/>
1190 </method>
1191 <method name="set_data_EXP" symbol="cogl_buffer_set_data_EXP">
1192 <return-type type="gboolean"/>
1193 <parameters>
1194 <parameter name="buffer" type="CoglBuffer*"/>
1195 <parameter name="offset" type="gsize"/>
1196 <parameter name="data" type="guint8*"/>
1197 <parameter name="size" type="gsize"/>
1198 </parameters>
1199 </method>
1200 <method name="set_update_hint_EXP" symbol="cogl_buffer_set_update_hint_EXP">
1201 <return-type type="void"/>
1202 <parameters>
1203 <parameter name="buffer" type="CoglBuffer*"/>
1204 <parameter name="hint" type="CoglBufferUpdateHint"/>
1205 </parameters>
1206 </method>
1207 <method name="target_get_type" symbol="cogl_buffer_target_get_type">
1208 <return-type type="GType"/>
1209 </method>
1210 <method name="unmap_EXP" symbol="cogl_buffer_unmap_EXP">
1211 <return-type type="void"/>
1212 <parameters>
1213 <parameter name="buffer" type="CoglBuffer*"/>
1214 </parameters>
1215 </method>
1216 <method name="update_hint_get_type" symbol="cogl_buffer_update_hint_get_type">
1217 <return-type type="GType"/>
1218 </method>
1219 </struct>
1220 <struct name="CoglColor">
1221 <method name="copy" symbol="cogl_color_copy">
1222 <return-type type="CoglColor*"/>
1223 <parameters>
1224 <parameter name="color" type="CoglColor*"/>
1225 </parameters>
1226 </method>
1227 <method name="equal" symbol="cogl_color_equal">
1228 <return-type type="gboolean"/>
1229 <parameters>
1230 <parameter name="v1" type="gconstpointer"/>
1231 <parameter name="v2" type="gconstpointer"/>
1232 </parameters>
1233 </method>
1234 <method name="free" symbol="cogl_color_free">
1235 <return-type type="void"/>
1236 <parameters>
1237 <parameter name="color" type="CoglColor*"/>
1238 </parameters>
1239 </method>
1240 <method name="get_alpha" symbol="cogl_color_get_alpha">
1241 <return-type type="float"/>
1242 <parameters>
1243 <parameter name="color" type="CoglColor*"/>
1244 </parameters>
1245 </method>
1246 <method name="get_alpha_byte" symbol="cogl_color_get_alpha_byte">
1247 <return-type type="unsigned"/>
1248 <parameters>
1249 <parameter name="color" type="CoglColor*"/>
1250 </parameters>
1251 </method>
1252 <method name="get_alpha_float" symbol="cogl_color_get_alpha_float">
1253 <return-type type="float"/>
1254 <parameters>
1255 <parameter name="color" type="CoglColor*"/>
1256 </parameters>
1257 </method>
1258 <method name="get_blue" symbol="cogl_color_get_blue">
1259 <return-type type="float"/>
1260 <parameters>
1261 <parameter name="color" type="CoglColor*"/>
1262 </parameters>
1263 </method>
1264 <method name="get_blue_byte" symbol="cogl_color_get_blue_byte">
1265 <return-type type="unsigned"/>
1266 <parameters>
1267 <parameter name="color" type="CoglColor*"/>
1268 </parameters>
1269 </method>
1270 <method name="get_blue_float" symbol="cogl_color_get_blue_float">
1271 <return-type type="float"/>
1272 <parameters>
1273 <parameter name="color" type="CoglColor*"/>
1274 </parameters>
1275 </method>
1276 <method name="get_green" symbol="cogl_color_get_green">
1277 <return-type type="float"/>
1278 <parameters>
1279 <parameter name="color" type="CoglColor*"/>
1280 </parameters>
1281 </method>
1282 <method name="get_green_byte" symbol="cogl_color_get_green_byte">
1283 <return-type type="unsigned"/>
1284 <parameters>
1285 <parameter name="color" type="CoglColor*"/>
1286 </parameters>
1287 </method>
1288 <method name="get_green_float" symbol="cogl_color_get_green_float">
1289 <return-type type="float"/>
1290 <parameters>
1291 <parameter name="color" type="CoglColor*"/>
1292 </parameters>
1293 </method>
1294 <method name="get_red" symbol="cogl_color_get_red">
1295 <return-type type="float"/>
1296 <parameters>
1297 <parameter name="color" type="CoglColor*"/>
1298 </parameters>
1299 </method>
1300 <method name="get_red_byte" symbol="cogl_color_get_red_byte">
1301 <return-type type="unsigned"/>
1302 <parameters>
1303 <parameter name="color" type="CoglColor*"/>
1304 </parameters>
1305 </method>
1306 <method name="get_red_float" symbol="cogl_color_get_red_float">
1307 <return-type type="float"/>
1308 <parameters>
1309 <parameter name="color" type="CoglColor*"/>
1310 </parameters>
1311 </method>
1312 <method name="init_from_4f" symbol="cogl_color_init_from_4f">
1313 <return-type type="void"/>
1314 <parameters>
1315 <parameter name="color" type="CoglColor*"/>
1316 <parameter name="red" type="float"/>
1317 <parameter name="green" type="float"/>
1318 <parameter name="blue" type="float"/>
1319 <parameter name="alpha" type="float"/>
1320 </parameters>
1321 </method>
1322 <method name="init_from_4fv" symbol="cogl_color_init_from_4fv">
1323 <return-type type="void"/>
1324 <parameters>
1325 <parameter name="color" type="CoglColor*"/>
1326 <parameter name="color_array" type="float*"/>
1327 </parameters>
1328 </method>
1329 <method name="init_from_4ub" symbol="cogl_color_init_from_4ub">
1330 <return-type type="void"/>
1331 <parameters>
1332 <parameter name="color" type="CoglColor*"/>
1333 <parameter name="red" type="guint8"/>
1334 <parameter name="green" type="guint8"/>
1335 <parameter name="blue" type="guint8"/>
1336 <parameter name="alpha" type="guint8"/>
1337 </parameters>
1338 </method>
1339 <method name="new" symbol="cogl_color_new">
1340 <return-type type="CoglColor*"/>
1341 </method>
1342 <method name="premultiply" symbol="cogl_color_premultiply">
1343 <return-type type="void"/>
1344 <parameters>
1345 <parameter name="color" type="CoglColor*"/>
1346 </parameters>
1347 </method>
1348 <method name="set_alpha" symbol="cogl_color_set_alpha">
1349 <return-type type="void"/>
1350 <parameters>
1351 <parameter name="color" type="CoglColor*"/>
1352 <parameter name="alpha" type="float"/>
1353 </parameters>
1354 </method>
1355 <method name="set_alpha_byte" symbol="cogl_color_set_alpha_byte">
1356 <return-type type="void"/>
1357 <parameters>
1358 <parameter name="color" type="CoglColor*"/>
1359 <parameter name="alpha" type="unsigned"/>
1360 </parameters>
1361 </method>
1362 <method name="set_alpha_float" symbol="cogl_color_set_alpha_float">
1363 <return-type type="void"/>
1364 <parameters>
1365 <parameter name="color" type="CoglColor*"/>
1366 <parameter name="alpha" type="float"/>
1367 </parameters>
1368 </method>
1369 <method name="set_blue" symbol="cogl_color_set_blue">
1370 <return-type type="void"/>
1371 <parameters>
1372 <parameter name="color" type="CoglColor*"/>
1373 <parameter name="blue" type="float"/>
1374 </parameters>
1375 </method>
1376 <method name="set_blue_byte" symbol="cogl_color_set_blue_byte">
1377 <return-type type="void"/>
1378 <parameters>
1379 <parameter name="color" type="CoglColor*"/>
1380 <parameter name="blue" type="unsigned"/>
1381 </parameters>
1382 </method>
1383 <method name="set_blue_float" symbol="cogl_color_set_blue_float">
1384 <return-type type="void"/>
1385 <parameters>
1386 <parameter name="color" type="CoglColor*"/>
1387 <parameter name="blue" type="float"/>
1388 </parameters>
1389 </method>
1390 <method name="set_from_4f" symbol="cogl_color_set_from_4f">
1391 <return-type type="void"/>
1392 <parameters>
1393 <parameter name="color" type="CoglColor*"/>
1394 <parameter name="red" type="float"/>
1395 <parameter name="green" type="float"/>
1396 <parameter name="blue" type="float"/>
1397 <parameter name="alpha" type="float"/>
1398 </parameters>
1399 </method>
1400 <method name="set_from_4ub" symbol="cogl_color_set_from_4ub">
1401 <return-type type="void"/>
1402 <parameters>
1403 <parameter name="color" type="CoglColor*"/>
1404 <parameter name="red" type="guint8"/>
1405 <parameter name="green" type="guint8"/>
1406 <parameter name="blue" type="guint8"/>
1407 <parameter name="alpha" type="guint8"/>
1408 </parameters>
1409 </method>
1410 <method name="set_green" symbol="cogl_color_set_green">
1411 <return-type type="void"/>
1412 <parameters>
1413 <parameter name="color" type="CoglColor*"/>
1414 <parameter name="green" type="float"/>
1415 </parameters>
1416 </method>
1417 <method name="set_green_byte" symbol="cogl_color_set_green_byte">
1418 <return-type type="void"/>
1419 <parameters>
1420 <parameter name="color" type="CoglColor*"/>
1421 <parameter name="green" type="unsigned"/>
1422 </parameters>
1423 </method>
1424 <method name="set_green_float" symbol="cogl_color_set_green_float">
1425 <return-type type="void"/>
1426 <parameters>
1427 <parameter name="color" type="CoglColor*"/>
1428 <parameter name="green" type="float"/>
1429 </parameters>
1430 </method>
1431 <method name="set_red" symbol="cogl_color_set_red">
1432 <return-type type="void"/>
1433 <parameters>
1434 <parameter name="color" type="CoglColor*"/>
1435 <parameter name="red" type="float"/>
1436 </parameters>
1437 </method>
1438 <method name="set_red_byte" symbol="cogl_color_set_red_byte">
1439 <return-type type="void"/>
1440 <parameters>
1441 <parameter name="color" type="CoglColor*"/>
1442 <parameter name="red" type="unsigned"/>
1443 </parameters>
1444 </method>
1445 <method name="set_red_float" symbol="cogl_color_set_red_float">
1446 <return-type type="void"/>
1447 <parameters>
1448 <parameter name="color" type="CoglColor*"/>
1449 <parameter name="red" type="float"/>
1450 </parameters>
1451 </method>
1452 <method name="unpremultiply" symbol="cogl_color_unpremultiply">
1453 <return-type type="void"/>
1454 <parameters>
1455 <parameter name="color" type="CoglColor*"/>
1456 </parameters>
1457 </method>
1458 <field name="red" type="guint8"/>
1459 <field name="green" type="guint8"/>
1460 <field name="blue" type="guint8"/>
1461 <field name="alpha" type="guint8"/>
1462 <field name="padding0" type="guint32"/>
1463 <field name="padding1" type="guint32"/>
1464 <field name="padding2" type="guint32"/>
1465 </struct>
1466 <struct name="CoglFixed">
1467 <method name="atan" symbol="cogl_fixed_atan">
1468 <return-type type="CoglFixed"/>
1469 <parameters>
1470 <parameter name="a" type="CoglFixed"/>
1471 </parameters>
1472 </method>
1473 <method name="atan2" symbol="cogl_fixed_atan2">
1474 <return-type type="CoglFixed"/>
1475 <parameters>
1476 <parameter name="a" type="CoglFixed"/>
1477 <parameter name="b" type="CoglFixed"/>
1478 </parameters>
1479 </method>
1480 <method name="cos" symbol="cogl_fixed_cos">
1481 <return-type type="CoglFixed"/>
1482 <parameters>
1483 <parameter name="angle" type="CoglFixed"/>
1484 </parameters>
1485 </method>
1486 <method name="div" symbol="cogl_fixed_div">
1487 <return-type type="CoglFixed"/>
1488 <parameters>
1489 <parameter name="a" type="CoglFixed"/>
1490 <parameter name="b" type="CoglFixed"/>
1491 </parameters>
1492 </method>
1493 <method name="log2" symbol="cogl_fixed_log2">
1494 <return-type type="CoglFixed"/>
1495 <parameters>
1496 <parameter name="x" type="unsigned"/>
1497 </parameters>
1498 </method>
1499 <method name="mul" symbol="cogl_fixed_mul">
1500 <return-type type="CoglFixed"/>
1501 <parameters>
1502 <parameter name="a" type="CoglFixed"/>
1503 <parameter name="b" type="CoglFixed"/>
1504 </parameters>
1505 </method>
1506 <method name="mul_div" symbol="cogl_fixed_mul_div">
1507 <return-type type="CoglFixed"/>
1508 <parameters>
1509 <parameter name="a" type="CoglFixed"/>
1510 <parameter name="b" type="CoglFixed"/>
1511 <parameter name="c" type="CoglFixed"/>
1512 </parameters>
1513 </method>
1514 <method name="pow" symbol="cogl_fixed_pow">
1515 <return-type type="unsigned"/>
1516 <parameters>
1517 <parameter name="x" type="unsigned"/>
1518 <parameter name="y" type="CoglFixed"/>
1519 </parameters>
1520 </method>
1521 <method name="pow2" symbol="cogl_fixed_pow2">
1522 <return-type type="unsigned"/>
1523 <parameters>
1524 <parameter name="x" type="CoglFixed"/>
1525 </parameters>
1526 </method>
1527 <method name="sin" symbol="cogl_fixed_sin">
1528 <return-type type="CoglFixed"/>
1529 <parameters>
1530 <parameter name="angle" type="CoglFixed"/>
1531 </parameters>
1532 </method>
1533 <method name="sqrt" symbol="cogl_fixed_sqrt">
1534 <return-type type="CoglFixed"/>
1535 <parameters>
1536 <parameter name="x" type="CoglFixed"/>
1537 </parameters>
1538 </method>
1539 <method name="tan" symbol="cogl_fixed_tan">
1540 <return-type type="CoglFixed"/>
1541 <parameters>
1542 <parameter name="angle" type="CoglFixed"/>
1543 </parameters>
1544 </method>
1545 </struct>
1546 <struct name="CoglFramebuffer">
1547 </struct>
1548 <struct name="CoglHandle">
1549 <method name="ref" symbol="cogl_handle_ref">
1550 <return-type type="CoglHandle"/>
1551 <parameters>
1552 <parameter name="handle" type="CoglHandle"/>
1553 </parameters>
1554 </method>
1555 <method name="unref" symbol="cogl_handle_unref">
1556 <return-type type="void"/>
1557 <parameters>
1558 <parameter name="handle" type="CoglHandle"/>
1559 </parameters>
1560 </method>
1561 </struct>
1562 <struct name="CoglMaterial">
1563 <method name="alpha_func_get_type" symbol="cogl_material_alpha_func_get_type">
1564 <return-type type="GType"/>
1565 </method>
1566 <method name="copy" symbol="cogl_material_copy">
1567 <return-type type="CoglMaterial*"/>
1568 <parameters>
1569 <parameter name="source" type="CoglMaterial*"/>
1570 </parameters>
1571 </method>
1572 <method name="filter_get_type" symbol="cogl_material_filter_get_type">
1573 <return-type type="GType"/>
1574 </method>
1575 <method name="foreach_layer" symbol="cogl_material_foreach_layer">
1576 <return-type type="void"/>
1577 <parameters>
1578 <parameter name="material" type="CoglMaterial*"/>
1579 <parameter name="callback" type="CoglMaterialLayerCallback"/>
1580 <parameter name="user_data" type="void*"/>
1581 </parameters>
1582 </method>
1583 <method name="get_ambient" symbol="cogl_material_get_ambient">
1584 <return-type type="void"/>
1585 <parameters>
1586 <parameter name="material" type="CoglMaterial*"/>
1587 <parameter name="ambient" type="CoglColor*"/>
1588 </parameters>
1589 </method>
1590 <method name="get_color" symbol="cogl_material_get_color">
1591 <return-type type="void"/>
1592 <parameters>
1593 <parameter name="material" type="CoglMaterial*"/>
1594 <parameter name="color" type="CoglColor*"/>
1595 </parameters>
1596 </method>
1597 <method name="get_depth_range" symbol="cogl_material_get_depth_range">
1598 <return-type type="void"/>
1599 <parameters>
1600 <parameter name="material" type="CoglMaterial*"/>
1601 <parameter name="near_val" type="float*"/>
1602 <parameter name="far_val" type="float*"/>
1603 </parameters>
1604 </method>
1605 <method name="get_depth_test_enabled" symbol="cogl_material_get_depth_test_enabled">
1606 <return-type type="gboolean"/>
1607 <parameters>
1608 <parameter name="material" type="CoglMaterial*"/>
1609 </parameters>
1610 </method>
1611 <method name="get_depth_test_function" symbol="cogl_material_get_depth_test_function">
1612 <return-type type="CoglDepthTestFunction"/>
1613 <parameters>
1614 <parameter name="material" type="CoglMaterial*"/>
1615 </parameters>
1616 </method>
1617 <method name="get_depth_writing_enabled" symbol="cogl_material_get_depth_writing_enabled">
1618 <return-type type="gboolean"/>
1619 <parameters>
1620 <parameter name="material" type="CoglMaterial*"/>
1621 </parameters>
1622 </method>
1623 <method name="get_diffuse" symbol="cogl_material_get_diffuse">
1624 <return-type type="void"/>
1625 <parameters>
1626 <parameter name="material" type="CoglMaterial*"/>
1627 <parameter name="diffuse" type="CoglColor*"/>
1628 </parameters>
1629 </method>
1630 <method name="get_emission" symbol="cogl_material_get_emission">
1631 <return-type type="void"/>
1632 <parameters>
1633 <parameter name="material" type="CoglMaterial*"/>
1634 <parameter name="emission" type="CoglColor*"/>
1635 </parameters>
1636 </method>
1637 <method name="get_layer_point_sprite_coords_enabled" symbol="cogl_material_get_layer_point_sprite_coords_enabled">
1638 <return-type type="gboolean"/>
1639 <parameters>
1640 <parameter name="material" type="CoglMaterial*"/>
1641 <parameter name="layer_index" type="int"/>
1642 </parameters>
1643 </method>
1644 <method name="get_layers" symbol="cogl_material_get_layers">
1645 <return-type type="GList*"/>
1646 <parameters>
1647 <parameter name="material" type="CoglMaterial*"/>
1648 </parameters>
1649 </method>
1650 <method name="get_n_layers" symbol="cogl_material_get_n_layers">
1651 <return-type type="int"/>
1652 <parameters>
1653 <parameter name="material" type="CoglMaterial*"/>
1654 </parameters>
1655 </method>
1656 <method name="get_point_size" symbol="cogl_material_get_point_size">
1657 <return-type type="float"/>
1658 <parameters>
1659 <parameter name="material" type="CoglHandle"/>
1660 </parameters>
1661 </method>
1662 <method name="get_shininess" symbol="cogl_material_get_shininess">
1663 <return-type type="float"/>
1664 <parameters>
1665 <parameter name="material" type="CoglMaterial*"/>
1666 </parameters>
1667 </method>
1668 <method name="get_specular" symbol="cogl_material_get_specular">
1669 <return-type type="void"/>
1670 <parameters>
1671 <parameter name="material" type="CoglMaterial*"/>
1672 <parameter name="specular" type="CoglColor*"/>
1673 </parameters>
1674 </method>
1675 <method name="get_user_program" symbol="cogl_material_get_user_program">
1676 <return-type type="CoglHandle"/>
1677 <parameters>
1678 <parameter name="material" type="CoglMaterial*"/>
1679 </parameters>
1680 </method>
1681 <method name="new" symbol="cogl_material_new">
1682 <return-type type="CoglMaterial*"/>
1683 </method>
1684 <method name="ref" symbol="cogl_material_ref">
1685 <return-type type="CoglHandle"/>
1686 <parameters>
1687 <parameter name="handle" type="CoglHandle"/>
1688 </parameters>
1689 </method>
1690 <method name="remove_layer" symbol="cogl_material_remove_layer">
1691 <return-type type="void"/>
1692 <parameters>
1693 <parameter name="material" type="CoglMaterial*"/>
1694 <parameter name="layer_index" type="int"/>
1695 </parameters>
1696 </method>
1697 <method name="set_alpha_test_function" symbol="cogl_material_set_alpha_test_function">
1698 <return-type type="void"/>
1699 <parameters>
1700 <parameter name="material" type="CoglMaterial*"/>
1701 <parameter name="alpha_func" type="CoglMaterialAlphaFunc"/>
1702 <parameter name="alpha_reference" type="float"/>
1703 </parameters>
1704 </method>
1705 <method name="set_ambient" symbol="cogl_material_set_ambient">
1706 <return-type type="void"/>
1707 <parameters>
1708 <parameter name="material" type="CoglMaterial*"/>
1709 <parameter name="ambient" type="CoglColor*"/>
1710 </parameters>
1711 </method>
1712 <method name="set_ambient_and_diffuse" symbol="cogl_material_set_ambient_and_diffuse">
1713 <return-type type="void"/>
1714 <parameters>
1715 <parameter name="material" type="CoglMaterial*"/>
1716 <parameter name="color" type="CoglColor*"/>
1717 </parameters>
1718 </method>
1719 <method name="set_blend" symbol="cogl_material_set_blend">
1720 <return-type type="gboolean"/>
1721 <parameters>
1722 <parameter name="material" type="CoglMaterial*"/>
1723 <parameter name="blend_string" type="char*"/>
1724 <parameter name="error" type="GError**"/>
1725 </parameters>
1726 </method>
1727 <method name="set_blend_constant" symbol="cogl_material_set_blend_constant">
1728 <return-type type="void"/>
1729 <parameters>
1730 <parameter name="material" type="CoglMaterial*"/>
1731 <parameter name="constant_color" type="CoglColor*"/>
1732 </parameters>
1733 </method>
1734 <method name="set_color" symbol="cogl_material_set_color">
1735 <return-type type="void"/>
1736 <parameters>
1737 <parameter name="material" type="CoglMaterial*"/>
1738 <parameter name="color" type="CoglColor*"/>
1739 </parameters>
1740 </method>
1741 <method name="set_color4f" symbol="cogl_material_set_color4f">
1742 <return-type type="void"/>
1743 <parameters>
1744 <parameter name="material" type="CoglMaterial*"/>
1745 <parameter name="red" type="float"/>
1746 <parameter name="green" type="float"/>
1747 <parameter name="blue" type="float"/>
1748 <parameter name="alpha" type="float"/>
1749 </parameters>
1750 </method>
1751 <method name="set_color4ub" symbol="cogl_material_set_color4ub">
1752 <return-type type="void"/>
1753 <parameters>
1754 <parameter name="material" type="CoglMaterial*"/>
1755 <parameter name="red" type="guint8"/>
1756 <parameter name="green" type="guint8"/>
1757 <parameter name="blue" type="guint8"/>
1758 <parameter name="alpha" type="guint8"/>
1759 </parameters>
1760 </method>
1761 <method name="set_depth_range" symbol="cogl_material_set_depth_range">
1762 <return-type type="gboolean"/>
1763 <parameters>
1764 <parameter name="material" type="CoglMaterial*"/>
1765 <parameter name="near_val" type="float"/>
1766 <parameter name="far_val" type="float"/>
1767 <parameter name="error" type="GError**"/>
1768 </parameters>
1769 </method>
1770 <method name="set_depth_test_enabled" symbol="cogl_material_set_depth_test_enabled">
1771 <return-type type="void"/>
1772 <parameters>
1773 <parameter name="material" type="CoglMaterial*"/>
1774 <parameter name="enable" type="gboolean"/>
1775 </parameters>
1776 </method>
1777 <method name="set_depth_test_function" symbol="cogl_material_set_depth_test_function">
1778 <return-type type="void"/>
1779 <parameters>
1780 <parameter name="material" type="CoglMaterial*"/>
1781 <parameter name="function" type="CoglDepthTestFunction"/>
1782 </parameters>
1783 </method>
1784 <method name="set_depth_writing_enabled" symbol="cogl_material_set_depth_writing_enabled">
1785 <return-type type="void"/>
1786 <parameters>
1787 <parameter name="material" type="CoglMaterial*"/>
1788 <parameter name="enable" type="gboolean"/>
1789 </parameters>
1790 </method>
1791 <method name="set_diffuse" symbol="cogl_material_set_diffuse">
1792 <return-type type="void"/>
1793 <parameters>
1794 <parameter name="material" type="CoglMaterial*"/>
1795 <parameter name="diffuse" type="CoglColor*"/>
1796 </parameters>
1797 </method>
1798 <method name="set_emission" symbol="cogl_material_set_emission">
1799 <return-type type="void"/>
1800 <parameters>
1801 <parameter name="material" type="CoglMaterial*"/>
1802 <parameter name="emission" type="CoglColor*"/>
1803 </parameters>
1804 </method>
1805 <method name="set_layer" symbol="cogl_material_set_layer">
1806 <return-type type="void"/>
1807 <parameters>
1808 <parameter name="material" type="CoglMaterial*"/>
1809 <parameter name="layer_index" type="int"/>
1810 <parameter name="texture" type="CoglHandle"/>
1811 </parameters>
1812 </method>
1813 <method name="set_layer_combine" symbol="cogl_material_set_layer_combine">
1814 <return-type type="gboolean"/>
1815 <parameters>
1816 <parameter name="material" type="CoglMaterial*"/>
1817 <parameter name="layer_index" type="int"/>
1818 <parameter name="blend_string" type="char*"/>
1819 <parameter name="error" type="GError**"/>
1820 </parameters>
1821 </method>
1822 <method name="set_layer_combine_constant" symbol="cogl_material_set_layer_combine_constant">
1823 <return-type type="void"/>
1824 <parameters>
1825 <parameter name="material" type="CoglMaterial*"/>
1826 <parameter name="layer_index" type="int"/>
1827 <parameter name="constant" type="CoglColor*"/>
1828 </parameters>
1829 </method>
1830 <method name="set_layer_filters" symbol="cogl_material_set_layer_filters">
1831 <return-type type="void"/>
1832 <parameters>
1833 <parameter name="material" type="CoglMaterial*"/>
1834 <parameter name="layer_index" type="int"/>
1835 <parameter name="min_filter" type="CoglMaterialFilter"/>
1836 <parameter name="mag_filter" type="CoglMaterialFilter"/>
1837 </parameters>
1838 </method>
1839 <method name="set_layer_matrix" symbol="cogl_material_set_layer_matrix">
1840 <return-type type="void"/>
1841 <parameters>
1842 <parameter name="material" type="CoglMaterial*"/>
1843 <parameter name="layer_index" type="int"/>
1844 <parameter name="matrix" type="CoglMatrix*"/>
1845 </parameters>
1846 </method>
1847 <method name="set_layer_point_sprite_coords_enabled" symbol="cogl_material_set_layer_point_sprite_coords_enabled">
1848 <return-type type="gboolean"/>
1849 <parameters>
1850 <parameter name="material" type="CoglMaterial*"/>
1851 <parameter name="layer_index" type="int"/>
1852 <parameter name="enable" type="gboolean"/>
1853 <parameter name="error" type="GError**"/>
1854 </parameters>
1855 </method>
1856 <method name="set_layer_wrap_mode" symbol="cogl_material_set_layer_wrap_mode">
1857 <return-type type="void"/>
1858 <parameters>
1859 <parameter name="material" type="CoglMaterial*"/>
1860 <parameter name="layer_index" type="int"/>
1861 <parameter name="mode" type="CoglMaterialWrapMode"/>
1862 </parameters>
1863 </method>
1864 <method name="set_layer_wrap_mode_p" symbol="cogl_material_set_layer_wrap_mode_p">
1865 <return-type type="void"/>
1866 <parameters>
1867 <parameter name="material" type="CoglMaterial*"/>
1868 <parameter name="layer_index" type="int"/>
1869 <parameter name="mode" type="CoglMaterialWrapMode"/>
1870 </parameters>
1871 </method>
1872 <method name="set_layer_wrap_mode_s" symbol="cogl_material_set_layer_wrap_mode_s">
1873 <return-type type="void"/>
1874 <parameters>
1875 <parameter name="material" type="CoglMaterial*"/>
1876 <parameter name="layer_index" type="int"/>
1877 <parameter name="mode" type="CoglMaterialWrapMode"/>
1878 </parameters>
1879 </method>
1880 <method name="set_layer_wrap_mode_t" symbol="cogl_material_set_layer_wrap_mode_t">
1881 <return-type type="void"/>
1882 <parameters>
1883 <parameter name="material" type="CoglMaterial*"/>
1884 <parameter name="layer_index" type="int"/>
1885 <parameter name="mode" type="CoglMaterialWrapMode"/>
1886 </parameters>
1887 </method>
1888 <method name="set_point_size" symbol="cogl_material_set_point_size">
1889 <return-type type="void"/>
1890 <parameters>
1891 <parameter name="material" type="CoglHandle"/>
1892 <parameter name="point_size" type="float"/>
1893 </parameters>
1894 </method>
1895 <method name="set_shininess" symbol="cogl_material_set_shininess">
1896 <return-type type="void"/>
1897 <parameters>
1898 <parameter name="material" type="CoglMaterial*"/>
1899 <parameter name="shininess" type="float"/>
1900 </parameters>
1901 </method>
1902 <method name="set_specular" symbol="cogl_material_set_specular">
1903 <return-type type="void"/>
1904 <parameters>
1905 <parameter name="material" type="CoglMaterial*"/>
1906 <parameter name="specular" type="CoglColor*"/>
1907 </parameters>
1908 </method>
1909 <method name="set_user_program" symbol="cogl_material_set_user_program">
1910 <return-type type="void"/>
1911 <parameters>
1912 <parameter name="material" type="CoglMaterial*"/>
1913 <parameter name="program" type="CoglHandle"/>
1914 </parameters>
1915 </method>
1916 <method name="unref" symbol="cogl_material_unref">
1917 <return-type type="void"/>
1918 <parameters>
1919 <parameter name="handle" type="CoglHandle"/>
1920 </parameters>
1921 </method>
1922 <method name="wrap_mode_get_type" symbol="cogl_material_wrap_mode_get_type">
1923 <return-type type="GType"/>
1924 </method>
1925 </struct>
1926 <struct name="CoglMaterialLayer">
1927 <method name="get_mag_filter" symbol="cogl_material_layer_get_mag_filter">
1928 <return-type type="CoglMaterialFilter"/>
1929 <parameters>
1930 <parameter name="layer" type="CoglMaterialLayer*"/>
1931 </parameters>
1932 </method>
1933 <method name="get_min_filter" symbol="cogl_material_layer_get_min_filter">
1934 <return-type type="CoglMaterialFilter"/>
1935 <parameters>
1936 <parameter name="layer" type="CoglMaterialLayer*"/>
1937 </parameters>
1938 </method>
1939 <method name="get_texture" symbol="cogl_material_layer_get_texture">
1940 <return-type type="CoglHandle"/>
1941 <parameters>
1942 <parameter name="layer" type="CoglMaterialLayer*"/>
1943 </parameters>
1944 </method>
1945 <method name="get_wrap_mode_p" symbol="cogl_material_layer_get_wrap_mode_p">
1946 <return-type type="CoglMaterialWrapMode"/>
1947 <parameters>
1948 <parameter name="layer" type="CoglMaterialLayer*"/>
1949 </parameters>
1950 </method>
1951 <method name="get_wrap_mode_s" symbol="cogl_material_layer_get_wrap_mode_s">
1952 <return-type type="CoglMaterialWrapMode"/>
1953 <parameters>
1954 <parameter name="layer" type="CoglMaterialLayer*"/>
1955 </parameters>
1956 </method>
1957 <method name="get_wrap_mode_t" symbol="cogl_material_layer_get_wrap_mode_t">
1958 <return-type type="CoglMaterialWrapMode"/>
1959 <parameters>
1960 <parameter name="layer" type="CoglMaterialLayer*"/>
1961 </parameters>
1962 </method>
1963 <method name="type_get_type" symbol="cogl_material_layer_type_get_type">
1964 <return-type type="GType"/>
1965 </method>
1966 </struct>
1967 <struct name="CoglMatrix">
1968 <method name="equal" symbol="cogl_matrix_equal">
1969 <return-type type="gboolean"/>
1970 <parameters>
1971 <parameter name="v1" type="gconstpointer"/>
1972 <parameter name="v2" type="gconstpointer"/>
1973 </parameters>
1974 </method>
1975 <method name="frustum" symbol="cogl_matrix_frustum">
1976 <return-type type="void"/>
1977 <parameters>
1978 <parameter name="matrix" type="CoglMatrix*"/>
1979 <parameter name="left" type="float"/>
1980 <parameter name="right" type="float"/>
1981 <parameter name="bottom" type="float"/>
1982 <parameter name="top" type="float"/>
1983 <parameter name="z_near" type="float"/>
1984 <parameter name="z_far" type="float"/>
1985 </parameters>
1986 </method>
1987 <method name="get_array" symbol="cogl_matrix_get_array">
1988 <return-type type="float*"/>
1989 <parameters>
1990 <parameter name="matrix" type="CoglMatrix*"/>
1991 </parameters>
1992 </method>
1993 <method name="get_inverse" symbol="cogl_matrix_get_inverse">
1994 <return-type type="gboolean"/>
1995 <parameters>
1996 <parameter name="matrix" type="CoglMatrix*"/>
1997 <parameter name="inverse" type="CoglMatrix*"/>
1998 </parameters>
1999 </method>
2000 <method name="init_from_array" symbol="cogl_matrix_init_from_array">
2001 <return-type type="void"/>
2002 <parameters>
2003 <parameter name="matrix" type="CoglMatrix*"/>
2004 <parameter name="array" type="float*"/>
2005 </parameters>
2006 </method>
2007 <method name="init_identity" symbol="cogl_matrix_init_identity">
2008 <return-type type="void"/>
2009 <parameters>
2010 <parameter name="matrix" type="CoglMatrix*"/>
2011 </parameters>
2012 </method>
2013 <method name="multiply" symbol="cogl_matrix_multiply">
2014 <return-type type="void"/>
2015 <parameters>
2016 <parameter name="result" type="CoglMatrix*"/>
2017 <parameter name="a" type="CoglMatrix*"/>
2018 <parameter name="b" type="CoglMatrix*"/>
2019 </parameters>
2020 </method>
2021 <method name="ortho" symbol="cogl_matrix_ortho">
2022 <return-type type="void"/>
2023 <parameters>
2024 <parameter name="matrix" type="CoglMatrix*"/>
2025 <parameter name="left" type="float"/>
2026 <parameter name="right" type="float"/>
2027 <parameter name="bottom" type="float"/>
2028 <parameter name="top" type="float"/>
2029 <parameter name="z_near" type="float"/>
2030 <parameter name="z_far" type="float"/>
2031 </parameters>
2032 </method>
2033 <method name="perspective" symbol="cogl_matrix_perspective">
2034 <return-type type="void"/>
2035 <parameters>
2036 <parameter name="matrix" type="CoglMatrix*"/>
2037 <parameter name="fov_y" type="float"/>
2038 <parameter name="aspect" type="float"/>
2039 <parameter name="z_near" type="float"/>
2040 <parameter name="z_far" type="float"/>
2041 </parameters>
2042 </method>
2043 <method name="rotate" symbol="cogl_matrix_rotate">
2044 <return-type type="void"/>
2045 <parameters>
2046 <parameter name="matrix" type="CoglMatrix*"/>
2047 <parameter name="angle" type="float"/>
2048 <parameter name="x" type="float"/>
2049 <parameter name="y" type="float"/>
2050 <parameter name="z" type="float"/>
2051 </parameters>
2052 </method>
2053 <method name="scale" symbol="cogl_matrix_scale">
2054 <return-type type="void"/>
2055 <parameters>
2056 <parameter name="matrix" type="CoglMatrix*"/>
2057 <parameter name="sx" type="float"/>
2058 <parameter name="sy" type="float"/>
2059 <parameter name="sz" type="float"/>
2060 </parameters>
2061 </method>
2062 <method name="transform_point" symbol="cogl_matrix_transform_point">
2063 <return-type type="void"/>
2064 <parameters>
2065 <parameter name="matrix" type="CoglMatrix*"/>
2066 <parameter name="x" type="float*"/>
2067 <parameter name="y" type="float*"/>
2068 <parameter name="z" type="float*"/>
2069 <parameter name="w" type="float*"/>
2070 </parameters>
2071 </method>
2072 <method name="translate" symbol="cogl_matrix_translate">
2073 <return-type type="void"/>
2074 <parameters>
2075 <parameter name="matrix" type="CoglMatrix*"/>
2076 <parameter name="x" type="float"/>
2077 <parameter name="y" type="float"/>
2078 <parameter name="z" type="float"/>
2079 </parameters>
2080 </method>
2081 <field name="xx" type="float"/>
2082 <field name="yx" type="float"/>
2083 <field name="zx" type="float"/>
2084 <field name="wx" type="float"/>
2085 <field name="xy" type="float"/>
2086 <field name="yy" type="float"/>
2087 <field name="zy" type="float"/>
2088 <field name="wy" type="float"/>
2089 <field name="xz" type="float"/>
2090 <field name="yz" type="float"/>
2091 <field name="zz" type="float"/>
2092 <field name="wz" type="float"/>
2093 <field name="xw" type="float"/>
2094 <field name="yw" type="float"/>
2095 <field name="zw" type="float"/>
2096 <field name="ww" type="float"/>
2097 <field name="inv" type="float[]"/>
2098 <field name="type" type="unsigned"/>
2099 <field name="flags" type="unsigned"/>
2100 <field name="_padding3" type="unsigned"/>
2101 </struct>
2102 <struct name="CoglObject">
2103 <method name="get_user_data" symbol="cogl_object_get_user_data">
2104 <return-type type="void*"/>
2105 <parameters>
2106 <parameter name="object" type="CoglObject*"/>
2107 <parameter name="key" type="CoglUserDataKey*"/>
2108 </parameters>
2109 </method>
2110 <method name="ref" symbol="cogl_object_ref">
2111 <return-type type="void*"/>
2112 <parameters>
2113 <parameter name="object" type="void*"/>
2114 </parameters>
2115 </method>
2116 <method name="set_user_data" symbol="cogl_object_set_user_data">
2117 <return-type type="void"/>
2118 <parameters>
2119 <parameter name="object" type="CoglObject*"/>
2120 <parameter name="key" type="CoglUserDataKey*"/>
2121 <parameter name="user_data" type="void*"/>
2122 <parameter name="destroy" type="CoglUserDataDestroyCallback"/>
2123 </parameters>
2124 </method>
2125 <method name="unref" symbol="cogl_object_unref">
2126 <return-type type="void"/>
2127 <parameters>
2128 <parameter name="object" type="void*"/>
2129 </parameters>
2130 </method>
2131 </struct>
2132 <struct name="CoglPangoFontMap">
2133 <method name="clear_glyph_cache" symbol="cogl_pango_font_map_clear_glyph_cache">
2134 <return-type type="void"/>
2135 <parameters>
2136 <parameter name="fm" type="CoglPangoFontMap*"/>
2137 </parameters>
2138 </method>
2139 <method name="create_context" symbol="cogl_pango_font_map_create_context">
2140 <return-type type="PangoContext*"/>
2141 <parameters>
2142 <parameter name="fm" type="CoglPangoFontMap*"/>
2143 </parameters>
2144 </method>
2145 <method name="get_renderer" symbol="cogl_pango_font_map_get_renderer">
2146 <return-type type="PangoRenderer*"/>
2147 <parameters>
2148 <parameter name="fm" type="CoglPangoFontMap*"/>
2149 </parameters>
2150 </method>
2151 <method name="get_use_mipmapping" symbol="cogl_pango_font_map_get_use_mipmapping">
2152 <return-type type="gboolean"/>
2153 <parameters>
2154 <parameter name="fm" type="CoglPangoFontMap*"/>
2155 </parameters>
2156 </method>
2157 <method name="new" symbol="cogl_pango_font_map_new">
2158 <return-type type="PangoFontMap*"/>
2159 </method>
2160 <method name="set_resolution" symbol="cogl_pango_font_map_set_resolution">
2161 <return-type type="void"/>
2162 <parameters>
2163 <parameter name="font_map" type="CoglPangoFontMap*"/>
2164 <parameter name="dpi" type="double"/>
2165 </parameters>
2166 </method>
2167 <method name="set_use_mipmapping" symbol="cogl_pango_font_map_set_use_mipmapping">
2168 <return-type type="void"/>
2169 <parameters>
2170 <parameter name="fm" type="CoglPangoFontMap*"/>
2171 <parameter name="value" type="gboolean"/>
2172 </parameters>
2173 </method>
2174 </struct>
2175 <struct name="CoglPangoRenderer">
2176 </struct>
2177 <struct name="CoglPangoRendererClass">
2178 </struct>
2179 <struct name="CoglPath">
2180 <method name="arc" symbol="cogl_path_arc">
2181 <return-type type="void"/>
2182 <parameters>
2183 <parameter name="center_x" type="float"/>
2184 <parameter name="center_y" type="float"/>
2185 <parameter name="radius_x" type="float"/>
2186 <parameter name="radius_y" type="float"/>
2187 <parameter name="angle_1" type="float"/>
2188 <parameter name="angle_2" type="float"/>
2189 </parameters>
2190 </method>
2191 <method name="close" symbol="cogl_path_close">
2192 <return-type type="void"/>
2193 </method>
2194 <method name="copy" symbol="cogl_path_copy">
2195 <return-type type="CoglPath*"/>
2196 <parameters>
2197 <parameter name="path" type="CoglPath*"/>
2198 </parameters>
2199 </method>
2200 <method name="curve_to" symbol="cogl_path_curve_to">
2201 <return-type type="void"/>
2202 <parameters>
2203 <parameter name="x_1" type="float"/>
2204 <parameter name="y_1" type="float"/>
2205 <parameter name="x_2" type="float"/>
2206 <parameter name="y_2" type="float"/>
2207 <parameter name="x_3" type="float"/>
2208 <parameter name="y_3" type="float"/>
2209 </parameters>
2210 </method>
2211 <method name="ellipse" symbol="cogl_path_ellipse">
2212 <return-type type="void"/>
2213 <parameters>
2214 <parameter name="center_x" type="float"/>
2215 <parameter name="center_y" type="float"/>
2216 <parameter name="radius_x" type="float"/>
2217 <parameter name="radius_y" type="float"/>
2218 </parameters>
2219 </method>
2220 <method name="fill" symbol="cogl_path_fill">
2221 <return-type type="void"/>
2222 </method>
2223 <method name="fill_preserve" symbol="cogl_path_fill_preserve">
2224 <return-type type="void"/>
2225 </method>
2226 <method name="fill_rule_get_type" symbol="cogl_path_fill_rule_get_type">
2227 <return-type type="GType"/>
2228 </method>
2229 <method name="get_fill_rule" symbol="cogl_path_get_fill_rule">
2230 <return-type type="CoglPathFillRule"/>
2231 </method>
2232 <method name="line" symbol="cogl_path_line">
2233 <return-type type="void"/>
2234 <parameters>
2235 <parameter name="x_1" type="float"/>
2236 <parameter name="y_1" type="float"/>
2237 <parameter name="x_2" type="float"/>
2238 <parameter name="y_2" type="float"/>
2239 </parameters>
2240 </method>
2241 <method name="line_to" symbol="cogl_path_line_to">
2242 <return-type type="void"/>
2243 <parameters>
2244 <parameter name="x" type="float"/>
2245 <parameter name="y" type="float"/>
2246 </parameters>
2247 </method>
2248 <method name="move_to" symbol="cogl_path_move_to">
2249 <return-type type="void"/>
2250 <parameters>
2251 <parameter name="x" type="float"/>
2252 <parameter name="y" type="float"/>
2253 </parameters>
2254 </method>
2255 <method name="new" symbol="cogl_path_new">
2256 <return-type type="void"/>
2257 </method>
2258 <method name="polygon" symbol="cogl_path_polygon">
2259 <return-type type="void"/>
2260 <parameters>
2261 <parameter name="coords" type="float*"/>
2262 <parameter name="num_points" type="int"/>
2263 </parameters>
2264 </method>
2265 <method name="polyline" symbol="cogl_path_polyline">
2266 <return-type type="void"/>
2267 <parameters>
2268 <parameter name="coords" type="float*"/>
2269 <parameter name="num_points" type="int"/>
2270 </parameters>
2271 </method>
2272 <method name="rectangle" symbol="cogl_path_rectangle">
2273 <return-type type="void"/>
2274 <parameters>
2275 <parameter name="x_1" type="float"/>
2276 <parameter name="y_1" type="float"/>
2277 <parameter name="x_2" type="float"/>
2278 <parameter name="y_2" type="float"/>
2279 </parameters>
2280 </method>
2281 <method name="rel_curve_to" symbol="cogl_path_rel_curve_to">
2282 <return-type type="void"/>
2283 <parameters>
2284 <parameter name="x_1" type="float"/>
2285 <parameter name="y_1" type="float"/>
2286 <parameter name="x_2" type="float"/>
2287 <parameter name="y_2" type="float"/>
2288 <parameter name="x_3" type="float"/>
2289 <parameter name="y_3" type="float"/>
2290 </parameters>
2291 </method>
2292 <method name="rel_line_to" symbol="cogl_path_rel_line_to">
2293 <return-type type="void"/>
2294 <parameters>
2295 <parameter name="x" type="float"/>
2296 <parameter name="y" type="float"/>
2297 </parameters>
2298 </method>
2299 <method name="rel_move_to" symbol="cogl_path_rel_move_to">
2300 <return-type type="void"/>
2301 <parameters>
2302 <parameter name="x" type="float"/>
2303 <parameter name="y" type="float"/>
2304 </parameters>
2305 </method>
2306 <method name="round_rectangle" symbol="cogl_path_round_rectangle">
2307 <return-type type="void"/>
2308 <parameters>
2309 <parameter name="x_1" type="float"/>
2310 <parameter name="y_1" type="float"/>
2311 <parameter name="x_2" type="float"/>
2312 <parameter name="y_2" type="float"/>
2313 <parameter name="radius" type="float"/>
2314 <parameter name="arc_step" type="float"/>
2315 </parameters>
2316 </method>
2317 <method name="set_fill_rule" symbol="cogl_path_set_fill_rule">
2318 <return-type type="void"/>
2319 <parameters>
2320 <parameter name="fill_rule" type="CoglPathFillRule"/>
2321 </parameters>
2322 </method>
2323 <method name="stroke" symbol="cogl_path_stroke">
2324 <return-type type="void"/>
2325 </method>
2326 <method name="stroke_preserve" symbol="cogl_path_stroke_preserve">
2327 <return-type type="void"/>
2328 </method>
2329 </struct>
2330 <struct name="CoglPixelArray">
2331 <method name="new_with_size_EXP" symbol="cogl_pixel_array_new_with_size_EXP">
2332 <return-type type="CoglPixelArray*"/>
2333 <parameters>
2334 <parameter name="width" type="unsigned"/>
2335 <parameter name="height" type="unsigned"/>
2336 <parameter name="format" type="CoglPixelFormat"/>
2337 <parameter name="stride" type="unsigned*"/>
2338 </parameters>
2339 </method>
2340 </struct>
2341 <struct name="CoglTextureVertex">
2342 <field name="x" type="float"/>
2343 <field name="y" type="float"/>
2344 <field name="z" type="float"/>
2345 <field name="tx" type="float"/>
2346 <field name="ty" type="float"/>
2347 <field name="color" type="CoglColor"/>
2348 </struct>
2349 <struct name="CoglUserDataKey">
2350 <field name="unused" type="int"/>
2351 </struct>
2352 <struct name="CoglVector3">
2353 <method name="add_EXP" symbol="cogl_vector3_add_EXP">
2354 <return-type type="void"/>
2355 <parameters>
2356 <parameter name="result" type="CoglVector3*"/>
2357 <parameter name="a" type="CoglVector3*"/>
2358 <parameter name="b" type="CoglVector3*"/>
2359 </parameters>
2360 </method>
2361 <method name="copy_EXP" symbol="cogl_vector3_copy_EXP">
2362 <return-type type="CoglVector3*"/>
2363 <parameters>
2364 <parameter name="vector" type="CoglVector3*"/>
2365 </parameters>
2366 </method>
2367 <method name="cross_product_EXP" symbol="cogl_vector3_cross_product_EXP">
2368 <return-type type="void"/>
2369 <parameters>
2370 <parameter name="result" type="CoglVector3*"/>
2371 <parameter name="u" type="CoglVector3*"/>
2372 <parameter name="v" type="CoglVector3*"/>
2373 </parameters>
2374 </method>
2375 <method name="distance_EXP" symbol="cogl_vector3_distance_EXP">
2376 <return-type type="float"/>
2377 <parameters>
2378 <parameter name="a" type="CoglVector3*"/>
2379 <parameter name="b" type="CoglVector3*"/>
2380 </parameters>
2381 </method>
2382 <method name="divide_scalar_EXP" symbol="cogl_vector3_divide_scalar_EXP">
2383 <return-type type="void"/>
2384 <parameters>
2385 <parameter name="vector" type="CoglVector3*"/>
2386 <parameter name="scalar" type="float"/>
2387 </parameters>
2388 </method>
2389 <method name="dot_product_EXP" symbol="cogl_vector3_dot_product_EXP">
2390 <return-type type="float"/>
2391 <parameters>
2392 <parameter name="a" type="CoglVector3*"/>
2393 <parameter name="b" type="CoglVector3*"/>
2394 </parameters>
2395 </method>
2396 <method name="equal_EXP" symbol="cogl_vector3_equal_EXP">
2397 <return-type type="gboolean"/>
2398 <parameters>
2399 <parameter name="v1" type="gconstpointer"/>
2400 <parameter name="v2" type="gconstpointer"/>
2401 </parameters>
2402 </method>
2403 <method name="equal_with_epsilon_EXP" symbol="cogl_vector3_equal_with_epsilon_EXP">
2404 <return-type type="gboolean"/>
2405 <parameters>
2406 <parameter name="vector0" type="CoglVector3*"/>
2407 <parameter name="vector1" type="CoglVector3*"/>
2408 <parameter name="epsilon" type="float"/>
2409 </parameters>
2410 </method>
2411 <method name="free_EXP" symbol="cogl_vector3_free_EXP">
2412 <return-type type="void"/>
2413 <parameters>
2414 <parameter name="vector" type="CoglVector3*"/>
2415 </parameters>
2416 </method>
2417 <method name="init_EXP" symbol="cogl_vector3_init_EXP">
2418 <return-type type="void"/>
2419 <parameters>
2420 <parameter name="vector" type="CoglVector3*"/>
2421 <parameter name="x" type="float"/>
2422 <parameter name="y" type="float"/>
2423 <parameter name="z" type="float"/>
2424 </parameters>
2425 </method>
2426 <method name="init_zero_EXP" symbol="cogl_vector3_init_zero_EXP">
2427 <return-type type="void"/>
2428 <parameters>
2429 <parameter name="vector" type="CoglVector3*"/>
2430 </parameters>
2431 </method>
2432 <method name="invert_EXP" symbol="cogl_vector3_invert_EXP">
2433 <return-type type="void"/>
2434 <parameters>
2435 <parameter name="vector" type="CoglVector3*"/>
2436 </parameters>
2437 </method>
2438 <method name="magnitude_EXP" symbol="cogl_vector3_magnitude_EXP">
2439 <return-type type="float"/>
2440 <parameters>
2441 <parameter name="vector" type="CoglVector3*"/>
2442 </parameters>
2443 </method>
2444 <method name="multiply_scalar_EXP" symbol="cogl_vector3_multiply_scalar_EXP">
2445 <return-type type="void"/>
2446 <parameters>
2447 <parameter name="vector" type="CoglVector3*"/>
2448 <parameter name="scalar" type="float"/>
2449 </parameters>
2450 </method>
2451 <method name="normalize_EXP" symbol="cogl_vector3_normalize_EXP">
2452 <return-type type="void"/>
2453 <parameters>
2454 <parameter name="vector" type="CoglVector3*"/>
2455 </parameters>
2456 </method>
2457 <method name="subtract_EXP" symbol="cogl_vector3_subtract_EXP">
2458 <return-type type="void"/>
2459 <parameters>
2460 <parameter name="result" type="CoglVector3*"/>
2461 <parameter name="a" type="CoglVector3*"/>
2462 <parameter name="b" type="CoglVector3*"/>
2463 </parameters>
2464 </method>
2465 <field name="x" type="float"/>
2466 <field name="y" type="float"/>
2467 <field name="z" type="float"/>
2468 </struct>
2469 <enum name="CoglAttributeType">
2470 <member name="COGL_ATTRIBUTE_TYPE_BYTE" value="5120"/>
2471 <member name="COGL_ATTRIBUTE_TYPE_UNSIGNED_BYTE" value="5121"/>
2472 <member name="COGL_ATTRIBUTE_TYPE_SHORT" value="5122"/>
2473 <member name="COGL_ATTRIBUTE_TYPE_UNSIGNED_SHORT" value="5123"/>
2474 <member name="COGL_ATTRIBUTE_TYPE_FLOAT" value="5126"/>
2475 </enum>
2476 <enum name="CoglBitmapError">
2477 <member name="COGL_BITMAP_ERROR_FAILED" value="0"/>
2478 <member name="COGL_BITMAP_ERROR_UNKNOWN_TYPE" value="1"/>
2479 <member name="COGL_BITMAP_ERROR_CORRUPT_IMAGE" value="2"/>
2480 </enum>
2481 <enum name="CoglBlendStringError">
2482 <member name="COGL_BLEND_STRING_ERROR_PARSE_ERROR" value="0"/>
2483 <member name="COGL_BLEND_STRING_ERROR_ARGUMENT_PARSE_ERROR" value="1"/>
2484 <member name="COGL_BLEND_STRING_ERROR_INVALID_ERROR" value="2"/>
2485 <member name="COGL_BLEND_STRING_ERROR_GPU_UNSUPPORTED_ERROR" value="3"/>
2486 </enum>
2487 <enum name="CoglBufferAccess">
2488 <member name="COGL_BUFFER_ACCESS_READ" value="1"/>
2489 <member name="COGL_BUFFER_ACCESS_WRITE" value="2"/>
2490 <member name="COGL_BUFFER_ACCESS_READ_WRITE" value="3"/>
2491 </enum>
2492 <enum name="CoglBufferBit">
2493 <member name="COGL_BUFFER_BIT_COLOR" value="1"/>
2494 <member name="COGL_BUFFER_BIT_DEPTH" value="2"/>
2495 <member name="COGL_BUFFER_BIT_STENCIL" value="4"/>
2496 </enum>
2497 <enum name="CoglBufferMapHint">
2498 <member name="COGL_BUFFER_MAP_HINT_DISCARD" value="1"/>
2499 </enum>
2500 <enum name="CoglBufferTarget">
2501 <member name="COGL_WINDOW_BUFFER" value="2"/>
2502 <member name="COGL_OFFSCREEN_BUFFER" value="4"/>
2503 </enum>
2504 <enum name="CoglBufferUpdateHint">
2505 <member name="COGL_BUFFER_UPDATE_HINT_STATIC" value="0"/>
2506 <member name="COGL_BUFFER_UPDATE_HINT_DYNAMIC" value="1"/>
2507 <member name="COGL_BUFFER_UPDATE_HINT_STREAM" value="2"/>
2508 </enum>
2509 <enum name="CoglDepthTestFunction">
2510 <member name="COGL_DEPTH_TEST_FUNCTION_NEVER" value="512"/>
2511 <member name="COGL_DEPTH_TEST_FUNCTION_LESS" value="513"/>
2512 <member name="COGL_DEPTH_TEST_FUNCTION_EQUAL" value="514"/>
2513 <member name="COGL_DEPTH_TEST_FUNCTION_LEQUAL" value="515"/>
2514 <member name="COGL_DEPTH_TEST_FUNCTION_GREATER" value="516"/>
2515 <member name="COGL_DEPTH_TEST_FUNCTION_NOTEQUAL" value="517"/>
2516 <member name="COGL_DEPTH_TEST_FUNCTION_GEQUAL" value="518"/>
2517 <member name="COGL_DEPTH_TEST_FUNCTION_ALWAYS" value="519"/>
2518 </enum>
2519 <enum name="CoglDriverError">
2520 <member name="COGL_DRIVER_ERROR_UNKNOWN_VERSION" value="0"/>
2521 <member name="COGL_DRIVER_ERROR_INVALID_VERSION" value="1"/>
2522 </enum>
2523 <enum name="CoglError">
2524 <member name="COGL_ERROR_UNSUPPORTED" value="0"/>
2525 </enum>
2526 <enum name="CoglFeatureFlags">
2527 <member name="COGL_FEATURE_TEXTURE_RECTANGLE" value="2"/>
2528 <member name="COGL_FEATURE_TEXTURE_NPOT" value="4"/>
2529 <member name="COGL_FEATURE_TEXTURE_YUV" value="8"/>
2530 <member name="COGL_FEATURE_TEXTURE_READ_PIXELS" value="16"/>
2531 <member name="COGL_FEATURE_SHADERS_GLSL" value="32"/>
2532 <member name="COGL_FEATURE_OFFSCREEN" value="64"/>
2533 <member name="COGL_FEATURE_OFFSCREEN_MULTISAMPLE" value="128"/>
2534 <member name="COGL_FEATURE_OFFSCREEN_BLIT" value="256"/>
2535 <member name="COGL_FEATURE_FOUR_CLIP_PLANES" value="512"/>
2536 <member name="COGL_FEATURE_STENCIL_BUFFER" value="1024"/>
2537 <member name="COGL_FEATURE_VBOS" value="2048"/>
2538 <member name="COGL_FEATURE_PBOS" value="4096"/>
2539 <member name="COGL_FEATURE_UNSIGNED_INT_INDICES" value="8192"/>
2540 <member name="COGL_FEATURE_DEPTH_RANGE" value="16384"/>
2541 <member name="COGL_FEATURE_TEXTURE_NPOT_BASIC" value="32768"/>
2542 <member name="COGL_FEATURE_TEXTURE_NPOT_MIPMAP" value="65536"/>
2543 <member name="COGL_FEATURE_TEXTURE_NPOT_REPEAT" value="131072"/>
2544 <member name="COGL_FEATURE_POINT_SPRITE" value="262144"/>
2545 <member name="COGL_FEATURE_TEXTURE_3D" value="524288"/>
2546 <member name="COGL_FEATURE_SHADERS_ARBFP" value="1048576"/>
2547 </enum>
2548 <enum name="CoglFogMode">
2549 <member name="COGL_FOG_MODE_LINEAR" value="0"/>
2550 <member name="COGL_FOG_MODE_EXPONENTIAL" value="1"/>
2551 <member name="COGL_FOG_MODE_EXPONENTIAL_SQUARED" value="2"/>
2552 </enum>
2553 <enum name="CoglIndicesType">
2554 <member name="COGL_INDICES_TYPE_UNSIGNED_BYTE" value="0"/>
2555 <member name="COGL_INDICES_TYPE_UNSIGNED_SHORT" value="1"/>
2556 <member name="COGL_INDICES_TYPE_UNSIGNED_INT" value="2"/>
2557 </enum>
2558 <enum name="CoglMaterialAlphaFunc">
2559 <member name="COGL_MATERIAL_ALPHA_FUNC_NEVER" value="512"/>
2560 <member name="COGL_MATERIAL_ALPHA_FUNC_LESS" value="513"/>
2561 <member name="COGL_MATERIAL_ALPHA_FUNC_EQUAL" value="514"/>
2562 <member name="COGL_MATERIAL_ALPHA_FUNC_LEQUAL" value="515"/>
2563 <member name="COGL_MATERIAL_ALPHA_FUNC_GREATER" value="516"/>
2564 <member name="COGL_MATERIAL_ALPHA_FUNC_NOTEQUAL" value="517"/>
2565 <member name="COGL_MATERIAL_ALPHA_FUNC_GEQUAL" value="518"/>
2566 <member name="COGL_MATERIAL_ALPHA_FUNC_ALWAYS" value="519"/>
2567 </enum>
2568 <enum name="CoglMaterialFilter">
2569 <member name="COGL_MATERIAL_FILTER_NEAREST" value="9728"/>
2570 <member name="COGL_MATERIAL_FILTER_LINEAR" value="9729"/>
2571 <member name="COGL_MATERIAL_FILTER_NEAREST_MIPMAP_NEAREST" value="9984"/>
2572 <member name="COGL_MATERIAL_FILTER_LINEAR_MIPMAP_NEAREST" value="9985"/>
2573 <member name="COGL_MATERIAL_FILTER_NEAREST_MIPMAP_LINEAR" value="9986"/>
2574 <member name="COGL_MATERIAL_FILTER_LINEAR_MIPMAP_LINEAR" value="9987"/>
2575 </enum>
2576 <enum name="CoglMaterialLayerType">
2577 <member name="COGL_MATERIAL_LAYER_TYPE_TEXTURE" value="0"/>
2578 </enum>
2579 <enum name="CoglMaterialWrapMode">
2580 <member name="COGL_MATERIAL_WRAP_MODE_REPEAT" value="10497"/>
2581 <member name="COGL_MATERIAL_WRAP_MODE_CLAMP_TO_EDGE" value="33071"/>
2582 <member name="COGL_MATERIAL_WRAP_MODE_AUTOMATIC" value="519"/>
2583 </enum>
2584 <enum name="CoglPathFillRule">
2585 <member name="COGL_PATH_FILL_RULE_NON_ZERO" value="0"/>
2586 <member name="COGL_PATH_FILL_RULE_EVEN_ODD" value="1"/>
2587 </enum>
2588 <enum name="CoglPixelFormat">
2589 <member name="COGL_PIXEL_FORMAT_ANY" value="0"/>
2590 <member name="COGL_PIXEL_FORMAT_A_8" value="17"/>
2591 <member name="COGL_PIXEL_FORMAT_RGB_565" value="4"/>
2592 <member name="COGL_PIXEL_FORMAT_RGBA_4444" value="21"/>
2593 <member name="COGL_PIXEL_FORMAT_RGBA_5551" value="22"/>
2594 <member name="COGL_PIXEL_FORMAT_YUV" value="7"/>
2595 <member name="COGL_PIXEL_FORMAT_G_8" value="8"/>
2596 <member name="COGL_PIXEL_FORMAT_RGB_888" value="2"/>
2597 <member name="COGL_PIXEL_FORMAT_BGR_888" value="34"/>
2598 <member name="COGL_PIXEL_FORMAT_RGBA_8888" value="19"/>
2599 <member name="COGL_PIXEL_FORMAT_BGRA_8888" value="51"/>
2600 <member name="COGL_PIXEL_FORMAT_ARGB_8888" value="83"/>
2601 <member name="COGL_PIXEL_FORMAT_ABGR_8888" value="115"/>
2602 <member name="COGL_PIXEL_FORMAT_RGBA_8888_PRE" value="147"/>
2603 <member name="COGL_PIXEL_FORMAT_BGRA_8888_PRE" value="179"/>
2604 <member name="COGL_PIXEL_FORMAT_ARGB_8888_PRE" value="211"/>
2605 <member name="COGL_PIXEL_FORMAT_ABGR_8888_PRE" value="243"/>
2606 <member name="COGL_PIXEL_FORMAT_RGBA_4444_PRE" value="149"/>
2607 <member name="COGL_PIXEL_FORMAT_RGBA_5551_PRE" value="150"/>
2608 </enum>
2609 <enum name="CoglReadPixelsFlags">
2610 <member name="COGL_READ_PIXELS_COLOR_BUFFER" value="1"/>
2611 </enum>
2612 <enum name="CoglShaderType">
2613 <member name="COGL_SHADER_TYPE_VERTEX" value="0"/>
2614 <member name="COGL_SHADER_TYPE_FRAGMENT" value="1"/>
2615 </enum>
2616 <enum name="CoglTextureFlags">
2617 <member name="COGL_TEXTURE_NONE" value="0"/>
2618 <member name="COGL_TEXTURE_NO_AUTO_MIPMAP" value="1"/>
2619 <member name="COGL_TEXTURE_NO_SLICING" value="2"/>
2620 <member name="COGL_TEXTURE_NO_ATLAS" value="4"/>
2621 </enum>
2622 <enum name="CoglTexturePixmapX11ReportLevel">
2623 <member name="COGL_TEXTURE_PIXMAP_X11_DAMAGE_RAW_RECTANGLES" value="0"/>
2624 <member name="COGL_TEXTURE_PIXMAP_X11_DAMAGE_DELTA_RECTANGLES" value="1"/>
2625 <member name="COGL_TEXTURE_PIXMAP_X11_DAMAGE_BOUNDING_BOX" value="2"/>
2626 <member name="COGL_TEXTURE_PIXMAP_X11_DAMAGE_NON_EMPTY" value="3"/>
2627 </enum>
2628 <enum name="CoglVerticesMode">
2629 <member name="COGL_VERTICES_MODE_POINTS" value="0"/>
2630 <member name="COGL_VERTICES_MODE_LINE_STRIP" value="3"/>
2631 <member name="COGL_VERTICES_MODE_LINE_LOOP" value="2"/>
2632 <member name="COGL_VERTICES_MODE_LINES" value="1"/>
2633 <member name="COGL_VERTICES_MODE_TRIANGLE_STRIP" value="5"/>
2634 <member name="COGL_VERTICES_MODE_TRIANGLE_FAN" value="6"/>
2635 <member name="COGL_VERTICES_MODE_TRIANGLES" value="4"/>
2636 </enum>
2637 <constant name="CLUTTER_COGL_HAS_GL" type="int" value="1"/>
2638 <constant name="COGL_AFIRST_BIT" type="int" value="64"/>
2639 <constant name="COGL_A_BIT" type="int" value="16"/>
2640 <constant name="COGL_BGR_BIT" type="int" value="32"/>
2641 <constant name="COGL_FIXED_0_5" type="int" value="32768"/>
2642 <constant name="COGL_FIXED_1" type="int" value="1"/>
2643 <constant name="COGL_FIXED_2_PI" type="int" value="411775"/>
2644 <constant name="COGL_FIXED_BITS" type="int" value="32"/>
2645 <constant name="COGL_FIXED_EPSILON" type="int" value="1"/>
2646 <constant name="COGL_FIXED_MAX" type="int" value="2147483647"/>
2647 <constant name="COGL_FIXED_MIN" type="int" value="-2147483648"/>
2648 <constant name="COGL_FIXED_PI" type="int" value="205887"/>
2649 <constant name="COGL_FIXED_PI_2" type="int" value="102944"/>
2650 <constant name="COGL_FIXED_PI_4" type="int" value="51472"/>
2651 <constant name="COGL_FIXED_Q" type="int" value="-16"/>
2652 <constant name="COGL_HAS_GL" type="int" value="1"/>
2653 <constant name="COGL_HAS_X11" type="int" value="1"/>
2654 <constant name="COGL_HAS_XLIB" type="int" value="1"/>
2655 <constant name="COGL_PIXEL_FORMAT_24" type="int" value="2"/>
2656 <constant name="COGL_PIXEL_FORMAT_32" type="int" value="3"/>
2657 <constant name="COGL_PREMULT_BIT" type="int" value="128"/>
2658 <constant name="COGL_RADIANS_TO_DEGREES" type="int" value="3754936"/>
2659 <constant name="COGL_SQRTI_ARG_10_PERCENT" type="int" value="5590"/>
2660 <constant name="COGL_SQRTI_ARG_5_PERCENT" type="int" value="210"/>
2661 <constant name="COGL_SQRTI_ARG_MAX" type="int" value="4194303"/>
2662 <constant name="COGL_TEXTURE_MAX_WASTE" type="int" value="127"/>
2663 <constant name="COGL_UNORDERED_MASK" type="int" value="15"/>
2664 <constant name="COGL_UNPREMULT_MASK" type="int" value="127"/>
2665 </namespace>
2666 </api>