2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
4 <!ENTITY version "1.10.2">
6 <book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
9 <title>Cogl Reference Manual</title>
10 <releaseinfo>for Cogl &version;</releaseinfo>
14 <holder>OpenedHand LTD</holder>
20 <holder>Intel Corporation</holder>
25 Permission is granted to copy, distribute and/or modify this
26 document under the terms of the <citetitle>GNU Free
27 Documentation License</citetitle>, Version 1.1 or any later
28 version published by the Free Software Foundation with no
29 Invariant Sections, no Front-Cover Texts, and no Back-Cover
30 Texts. You may obtain a copy of the <citetitle>GNU Free
31 Documentation License</citetitle> from the Free Software
32 Foundation by visiting <ulink type="http"
33 url="http://www.fsf.org">their Web site</ulink> or by writing
37 The Free Software Foundation, Inc.,
38 <street>59 Temple Place</street> - Suite 330,
39 <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>,
40 <country>USA</country>
48 <title>Cogl - a modern 3D graphics API</title>
50 <section id="cogl-intro">
51 <title>About Cogl</title>
53 <para>Cogl is a modern 3D graphics API with associated utility
54 APIs designed to expose the features of 3D graphics hardware
55 using a more object oriented design than OpenGL. The library has
56 primarily been driven by the practical needs of Clutter but it
57 is not tied to any one toolkit or even constrained to developing
62 <xi:include href="xml/cogl.xml"/>
63 <xi:include href="xml/cogl-color.xml"/>
64 <xi:include href="xml/cogl-texture.xml"/>
65 <xi:include href="blend-strings.xml"/>
66 <xi:include href="xml/cogl-material.xml"/>
67 <xi:include href="xml/cogl-primitives.xml"/>
68 <xi:include href="xml/cogl-paths.xml"/>
69 <xi:include href="xml/cogl-clipping.xml"/>
70 <xi:include href="xml/cogl-vertex-buffer.xml"/>
71 <xi:include href="xml/cogl-matrix.xml"/>
72 <xi:include href="xml/cogl-shaders.xml"/>
73 <xi:include href="xml/cogl-offscreen.xml"/>
74 <xi:include href="xml/cogl-bitmap.xml"/>
75 <xi:include href="xml/cogl-fixed.xml"/>
76 <xi:include href="xml/cogl-gtype.xml"/>
81 <title>Cogl experimental API</title>
83 <section id="cogl-experimental">
84 <title>About the experimental API</title>
86 <para>Cogl has some experimental API developers are welcomed to play
87 with. The main drawback when using those is that there is no API
88 stability guarantee, functions flagged as experimental could be changed
89 or removed in future versions of the library. To use this experimental
90 API you will need to define
91 <literal>COGL_ENABLE_EXPERIMENTAL_API</literal> before including
92 <filename class="headerfile"><clutter/clutter.h></filename> or
93 <filename class="headerfile"><cogl/cogl.h></filename>.</para>
97 <xi:include href="xml/cogl-buffer.xml"/>
98 <xi:include href="xml/cogl-vector.xml"/>
99 <xi:include href="xml/cogl-texture-3d.xml"/>
100 <xi:include href="xml/cogl-quaternion.xml"/>
105 <title>Cogl deprecated API</title>
107 <section id="cogl-deprecated">
109 <title>About the deprecated API</title>
111 <para>Cogl has evolved from once being a thin abstraction over
112 OpenGL and GLES where a lot of OpenGL's state machine style APIs
113 were simply rebranded as Cogl API into the more distinguished API
114 style we have today. The result of this evolution though is that
115 some of the APIs are considered deprecated and because we plan to
116 remove them at the next opportunity we have to break the API
117 developers should aim to avoid these functions to keep their code
118 working with future major versions of Cogl.</para>
122 <xi:include href="xml/cogl-deprecated.xml"/>
123 <xi:include href="xml/cogl-texture-deprecated.xml"/>
124 <xi:include href="xml/cogl-material-deprecated.xml"/>
125 <xi:include href="xml/cogl-clipping-deprecated.xml"/>
126 <xi:include href="xml/cogl-vertex-buffer-deprecated.xml"/>
127 <xi:include href="xml/cogl-shaders-deprecated.xml"/>
128 <xi:include href="xml/cogl-offscreen-deprecated.xml"/>
132 <chapter id="coglglossary">
133 <title>Glossaries</title>
135 <xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
139 <title>Index of all symbols</title>
140 <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
143 <index role="deprecated">
144 <title>Index of deprecated symbols</title>
145 <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
149 <title>Index of new symbols in 0.8</title>
150 <xi:include href="xml/api-index-0.8.xml"><xi:fallback /></xi:include>
154 <title>Index of new symbols in 1.0</title>
155 <xi:include href="xml/api-index-1.0.xml"><xi:fallback /></xi:include>
159 <title>Index of new symbols in 1.2</title>
160 <xi:include href="xml/api-index-1.2.xml"><xi:fallback /></xi:include>
164 <title>Index of new symbols in 1.4</title>
165 <xi:include href="xml/api-index-1.4.xml"><xi:fallback /></xi:include>
169 <title>Index of new symbols in 1.6</title>
170 <xi:include href="xml/api-index-1.6.xml"><xi:fallback /></xi:include>
174 <title>Index of new symbols in 1.8</title>
175 <xi:include href="xml/api-index-1.8.xml"><xi:fallback /></xi:include>
178 <appendix id="license">
179 <title>License</title>
182 This library is free software; you can redistribute it and/or
183 modify it under the terms of the <citetitle>GNU Library General
184 Public License</citetitle> as published by the Free Software
185 Foundation; either version 2 of the License, or (at your option)
190 This library is distributed in the hope that it will be useful,
191 but WITHOUT ANY WARRANTY; without even the implied warranty of
192 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
193 <citetitle>GNU Library General Public License</citetitle> for
198 You may obtain a copy of the <citetitle>GNU Library General
199 Public License</citetitle> from the Free Software Foundation by
200 visiting <ulink type="http" url="http://www.fsf.org">their Web
201 site</ulink> or by writing to:
204 Free Software Foundation, Inc.
205 <street>59 Temple Place</street> - Suite 330
206 <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>
207 <country>USA</country>