source: x/lib/cogl.xml@ 66e5f483

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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 66e5f483 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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