1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY cogl-download-http "&gnome-download-http;/cogl/1.18/cogl-&cogl-version;.tar.xz">
|
---|
8 | <!ENTITY cogl-download-ftp "&gnome-download-ftp;/cogl/1.18/cogl-&cogl-version;.tar.xz">
|
---|
9 | <!ENTITY cogl-md5sum "994a29f5c02768367b6f035bfe456ba6">
|
---|
10 | <!ENTITY cogl-size "1.6 MB">
|
---|
11 | <!ENTITY cogl-buildsize "60 MB">
|
---|
12 | <!ENTITY cogl-time "0.6 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="cogl" xreflabel="Cogl-&cogl-version;">
|
---|
16 | <?dbhtml filename="cogl.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Cogl-&cogl-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="cogl">
|
---|
26 | <primary sortas="a-Cogl">Cogl</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Cogl</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>Cogl</application> is a modern 3D graphics API with associated
|
---|
34 | utility APIs designed to expose the features of 3D graphics hardware using
|
---|
35 | a direct state access API design, as opposed to the state-machine style
|
---|
36 | of OpenGL.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs75_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&cogl-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&cogl-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &cogl-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &cogl-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &cogl-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &cogl-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect3">Cogl Dependencies</bridgehead>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
78 | <para role="required">
|
---|
79 | <xref linkend="gdk-pixbuf"/>,
|
---|
80 | <xref linkend="mesalib"/>, and
|
---|
81 | <xref linkend="pango"/>
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
85 | <para role="recommended">
|
---|
86 | <xref linkend="gobject-introspection"/>
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
90 | <para role="optional">
|
---|
91 | <xref linkend="gst10-plugins-base"/>,
|
---|
92 | <xref linkend="gtk-doc"/>,
|
---|
93 | <xref linkend="sdl"/>,
|
---|
94 | <ulink url="http://www.libsdl.org/tmp/release/">SDL2</ulink>, and
|
---|
95 | <ulink url="http://wayland.freedesktop.org/">Wayland</ulink>
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | <para condition="html" role="usernotes">User Notes:
|
---|
99 | <ulink url="&blfs-wiki;/cogl"/>
|
---|
100 | </para>
|
---|
101 | </sect2>
|
---|
102 |
|
---|
103 | <sect2 role="installation">
|
---|
104 | <title>Installation of Cogl</title>
|
---|
105 |
|
---|
106 | <para>
|
---|
107 | Install <application>Cogl</application> by running the following
|
---|
108 | commands:
|
---|
109 | </para>
|
---|
110 |
|
---|
111 | <screen><userinput>./configure --prefix=/usr --enable-gles1 --enable-gles2 &&
|
---|
112 | make</userinput></screen>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | To test the results, issue: <command>make check</command>. The
|
---|
116 | tests should be run from an X terminal on the hardware accelerated
|
---|
117 | Xorg Server.
|
---|
118 | </para>
|
---|
119 |
|
---|
120 | <para>
|
---|
121 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
125 |
|
---|
126 | </sect2>
|
---|
127 |
|
---|
128 | <sect2 role="commands">
|
---|
129 | <title>Command Explanations</title>
|
---|
130 |
|
---|
131 | <para>
|
---|
132 | <parameter>--enable-gles1</parameter>: This switch enables support
|
---|
133 | for OpenGL ES 1.1.
|
---|
134 | </para>
|
---|
135 |
|
---|
136 | <para>
|
---|
137 | <parameter>--enable-gles2</parameter>: This switch enables support
|
---|
138 | for OpenGL ES 2.0.
|
---|
139 | </para>
|
---|
140 |
|
---|
141 | <para>
|
---|
142 | <option>--enable-cogl-gst</option>: This switch enables gstreamer support.
|
---|
143 | </para>
|
---|
144 |
|
---|
145 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
146 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
147 |
|
---|
148 | </sect2>
|
---|
149 |
|
---|
150 | <sect2 role="content">
|
---|
151 | <title>Contents</title>
|
---|
152 |
|
---|
153 | <segmentedlist>
|
---|
154 | <segtitle>Installed Programs</segtitle>
|
---|
155 | <segtitle>Installed Libraries</segtitle>
|
---|
156 | <segtitle>Installed Directories</segtitle>
|
---|
157 |
|
---|
158 | <seglistitem>
|
---|
159 | <seg>
|
---|
160 | None
|
---|
161 | </seg>
|
---|
162 | <seg>
|
---|
163 | libcogl-gles2.so,
|
---|
164 | libcogl-pango.so and
|
---|
165 | libcogl.so, and optional libraries
|
---|
166 | libcogl-gst.so and /usr/lib/gstreamer-1.0/libgstcogl.so
|
---|
167 | </seg>
|
---|
168 | <seg>
|
---|
169 | /usr/include/cogl and
|
---|
170 | /usr/share/cogl
|
---|
171 | </seg>
|
---|
172 | </seglistitem>
|
---|
173 | </segmentedlist>
|
---|
174 |
|
---|
175 | <variablelist>
|
---|
176 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
177 | <?dbfo list-presentation="list"?>
|
---|
178 | <?dbhtml list-presentation="table"?>
|
---|
179 |
|
---|
180 | <varlistentry id="libcogl-gles2">
|
---|
181 | <term><filename class="libraryfile">libcogl-gles2.so</filename></term>
|
---|
182 | <listitem>
|
---|
183 | <para>
|
---|
184 | is the OpenGL ES 2.0 integration library for
|
---|
185 | <application>Cogl</application>.
|
---|
186 | </para>
|
---|
187 | <indexterm zone="cogl libcogl-gles2">
|
---|
188 | <primary sortas="c-libcogl-gles2">libcogl-gles2.so</primary>
|
---|
189 | </indexterm>
|
---|
190 | </listitem>
|
---|
191 | </varlistentry>
|
---|
192 |
|
---|
193 | <varlistentry id="libcogl-pango">
|
---|
194 | <term><filename class="libraryfile">libcogl-pango.so</filename></term>
|
---|
195 | <listitem>
|
---|
196 | <para>
|
---|
197 | is the <application>Pango</application> integration library
|
---|
198 | for <application>Cogl</application>.
|
---|
199 | </para>
|
---|
200 | <indexterm zone="cogl libcogl-pango">
|
---|
201 | <primary sortas="c-libcogl-pango">libcogl-pango.so</primary>
|
---|
202 | </indexterm>
|
---|
203 | </listitem>
|
---|
204 | </varlistentry>
|
---|
205 |
|
---|
206 | <varlistentry id="libcogl">
|
---|
207 | <term><filename class="libraryfile">libcogl.so</filename></term>
|
---|
208 | <listitem>
|
---|
209 | <para>
|
---|
210 | is an object oriented GL/GLES Abstraction/Utility Layer library.
|
---|
211 | </para>
|
---|
212 | <indexterm zone="cogl libcogl">
|
---|
213 | <primary sortas="c-libcogl">libcogl.so</primary>
|
---|
214 | </indexterm>
|
---|
215 | </listitem>
|
---|
216 | </varlistentry>
|
---|
217 |
|
---|
218 | </variablelist>
|
---|
219 |
|
---|
220 | </sect2>
|
---|
221 |
|
---|
222 | </sect1>
|
---|