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