source: x/lib/cogl.xml@ c93c620c

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 c93c620c was c93c620c, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tags

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