source: x/lib/cogl.xml@ 193af65e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 193af65e was e2439a3, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Update to cogl-1.22.8

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23249 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.8 KB
Line 
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 <!-- Editors, update this for new releases as needed -->
8 <!ENTITY cogl-minor "1.22">
9
10 <!ENTITY cogl-download-http "&gnome-download-http;/cogl/&cogl-minor;/cogl-&cogl-version;.tar.xz">
11 <!ENTITY cogl-download-ftp "&gnome-download-ftp;/cogl/&cogl-minor;/cogl-&cogl-version;.tar.xz">
12 <!ENTITY cogl-md5sum "7dd8b2e24171ef7399f851cea144b569">
13 <!ENTITY cogl-size "1.7 MB">
14 <!ENTITY cogl-buildsize "69 MB (add 2 MB for tests)">
15 <!ENTITY cogl-time "0.3 SBU (Using parallelism=4; add 0.2 SBU for tests)">
16 <!-- Timing may depend on the capabilities and speed of the graphics card.
17 The timing for 1.22.8 was taken on an Intel-based system, with HD Graphics
18 530 on a Skylake i5-6600k.-->
19]>
20
21<sect1 id="cogl" xreflabel="Cogl-&cogl-version;">
22 <?dbhtml filename="cogl.html"?>
23
24 <sect1info>
25 <othername>$LastChangedBy$</othername>
26 <date>$Date$</date>
27 </sect1info>
28
29 <title>Cogl-&cogl-version;</title>
30
31 <indexterm zone="cogl">
32 <primary sortas="a-Cogl">Cogl</primary>
33 </indexterm>
34
35 <sect2 role="package">
36 <title>Introduction to Cogl</title>
37
38 <para>
39 <application>Cogl</application> is a modern 3D graphics API with associated
40 utility APIs designed to expose the features of 3D graphics hardware using
41 a direct state access API design, as opposed to the state-machine style
42 of OpenGL.
43 </para>
44
45 &lfs91_checked;
46
47 <bridgehead renderas="sect3">Package Information</bridgehead>
48 <itemizedlist spacing="compact">
49 <listitem>
50 <para>
51 Download (HTTP): <ulink url="&cogl-download-http;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download (FTP): <ulink url="&cogl-download-ftp;"/>
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download MD5 sum: &cogl-md5sum;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Download size: &cogl-size;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated disk space required: &cogl-buildsize;
72 </para>
73 </listitem>
74 <listitem>
75 <para>
76 Estimated build time: &cogl-time;
77 </para>
78 </listitem>
79 </itemizedlist>
80
81<!-- No longer required with 1.22.8
82 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
83 <itemizedlist spacing="compact">
84 <listitem>
85 <para>
86 Required patch:
87 <ulink url="&patch-root;/cogl-&cogl-version;-mesa_20_fixes-1.patch"/>
88 </para>
89 </listitem>
90 </itemizedlist>
91-->
92
93 <bridgehead renderas="sect3">Cogl Dependencies</bridgehead>
94
95 <bridgehead renderas="sect4">Required</bridgehead>
96 <para role="required">
97 <xref linkend="cairo"/>,
98 <xref linkend="gdk-pixbuf"/>,
99 <xref linkend="glu"/>,
100 <xref linkend="mesa"/>,
101 <xref linkend="pango"/>, and
102 <xref linkend="wayland"/>
103 </para>
104
105 <bridgehead renderas="sect4">Recommended</bridgehead>
106 <para role="recommended">
107 <xref linkend="gobject-introspection"/>
108 </para>
109
110 <bridgehead renderas="sect4">Optional</bridgehead>
111 <para role="optional">
112 <xref linkend="gst10-plugins-base"/>,
113 <xref linkend="gtk-doc"/>,
114 <xref linkend="sdl"/>, and
115 <xref linkend="sdl2"/>
116 </para>
117
118 <para condition="html" role="usernotes">User Notes:
119 <ulink url="&blfs-wiki;/cogl"/>
120 </para>
121 </sect2>
122
123 <sect2 role="installation">
124 <title>Installation of Cogl</title>
125
126<!--
127 <para>
128 First fix an issue introduced by mesa-20.x and later:
129 </para>
130
131<screen><userinput>patch -Np1 -i ../cogl-&cogl-version;-mesa_20_fixes-1.patch</userinput></screen>
132-->
133
134 <para>
135 Install <application>Cogl</application> by running the following
136 commands:
137 </para>
138
139 &parallel_issues;
140
141<screen><userinput>autoreconf &amp;&amp;
142
143./configure --prefix=/usr \
144 --enable-gles1 \
145 --enable-gles2 \
146 --enable-{kms,wayland,xlib}-egl-platform \
147 --enable-wayland-egl-server &amp;&amp;
148make</userinput></screen>
149
150 <para>
151 To test the results, issue: <command>make check</command>. The
152 tests should be run from an X terminal on the hardware accelerated
153 Xorg Server. A few tests will use all CPUs in parallel, regardless of
154 parallellism settings.
155 </para>
156
157 <para>
158 Now, as the <systemitem class="username">root</systemitem> user:
159 </para>
160
161<screen role="root"><userinput>make install</userinput></screen>
162
163 </sect2>
164
165 <sect2 role="commands">
166 <title>Command Explanations</title>
167
168 <para>
169 <parameter>--enable-gles1</parameter>: This switch enables support
170 for OpenGL ES 1.1.
171 </para>
172
173 <para>
174 <parameter>--enable-gles2</parameter>: This switch enables support
175 for OpenGL ES 2.0.
176 </para>
177
178 <para>
179 <parameter>--enable-{kms,wayland,xlib}-egl-platform</parameter>:
180 These switches enable support for KMS, Wayland and Xlib EGL platforms.
181 They are required for <application>GNOME</application> Wayland support.
182 </para>
183
184 <para>
185 <parameter>--enable-wayland-egl-server</parameter>: This switch
186 enables <application>Cogl</application>'s Wayland Server API which is
187 required for <application>GNOME</application> Wayland support.
188 </para>
189
190 <para>
191 <option>--enable-cogl-gst</option>: This switch enables gstreamer support.
192 </para>
193
194 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
195 href="../../xincludes/gtk-doc-rebuild.xml"/>
196
197 </sect2>
198
199 <sect2 role="content">
200 <title>Contents</title>
201
202 <segmentedlist>
203 <segtitle>Installed Programs</segtitle>
204 <segtitle>Installed Libraries</segtitle>
205 <segtitle>Installed Directories</segtitle>
206
207 <seglistitem>
208 <seg>
209 None
210 </seg>
211 <seg>
212 libcogl-gles2.so,
213 libcogl-pango.so,
214 libcogl-path.so, and
215 libcogl.so, and optional libraries
216 libcogl-gst.so and /usr/lib/gstreamer-1.0/libgstcogl.so
217 </seg>
218 <seg>
219 /usr/include/cogl and
220 /usr/share/cogl
221 </seg>
222 </seglistitem>
223 </segmentedlist>
224
225 <variablelist>
226 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
227 <?dbfo list-presentation="list"?>
228 <?dbhtml list-presentation="table"?>
229
230 <varlistentry id="libcogl-gles2">
231 <term><filename class="libraryfile">libcogl-gles2.so</filename></term>
232 <listitem>
233 <para>
234 is the OpenGL ES 2.0 integration library for
235 <application>Cogl</application>.
236 </para>
237 <indexterm zone="cogl libcogl-gles2">
238 <primary sortas="c-libcogl-gles2">libcogl-gles2.so</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="libcogl-pango">
244 <term><filename class="libraryfile">libcogl-pango.so</filename></term>
245 <listitem>
246 <para>
247 is the <application>Pango</application> integration library
248 for <application>Cogl</application>.
249 </para>
250 <indexterm zone="cogl libcogl-pango">
251 <primary sortas="c-libcogl-pango">libcogl-pango.so</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="libcogl">
257 <term><filename class="libraryfile">libcogl.so</filename></term>
258 <listitem>
259 <para>
260 is an object oriented GL/GLES Abstraction/Utility Layer library.
261 </para>
262 <indexterm zone="cogl libcogl">
263 <primary sortas="c-libcogl">libcogl.so</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 </variablelist>
269
270 </sect2>
271
272</sect1>
Note: See TracBrowser for help on using the repository browser.