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