~noskcaj/ubuntu/trusty/cogl/1.16.2

« back to all changes in this revision

Viewing changes to README

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha, Jeremy Bicha, Rico Tzschichholz
  • Date: 2013-02-26 16:43:25 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20130226164325-t4z9rylpa20v0p6q
Tags: 1.13.4-0ubuntu1
[ Jeremy Bicha ]
* New upstream release
  - soname bump
* debian/control.in:
  - Bump minimum glib to 2.32
  - Drop obsolete breaks/replaces
  - Bump libclutter-1.0-dev breaks for soname transition
* debian/libcogl-dev.install:
  - Add some missing files

[ Rico Tzschichholz ]
* debian/control.in:
  - Build-depend on libxrandr-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
README for Cogl 1.12.2
2
 
===============================================================================
3
 
 
4
 
Note: This file is delimited with -- markers so it is possible to split
5
 
sections out for other purposes, such as for release notes.
6
 
 
7
 
--
8
 
DESCRIPTION
9
 
-------------------------------------------------------------------------------
10
 
 
11
 
Cogl is a small open source library for using 3D graphics hardware for
12
 
rendering. The API departs from the flat state machine style of OpenGL and is
13
 
designed to make it easy to write orthogonal components that can render without
14
 
stepping on each others toes.
15
 
 
16
 
As well as aiming for a nice API, we think having a single library as opposed
17
 
to an API specification like OpenGL has a few advantages too; like being
18
 
able to paper over the inconsistencies/bugs of different OpenGL
19
 
implementations in a centralized place, not to mention the myriad of OpenGL
20
 
extensions. It also means we are in a better position to provide utility
21
 
APIs that help software developers since they only need to be implemented
22
 
once and there is no risk of inconsistency between implementations.
23
 
 
24
 
Having other backends, besides OpenGL, such as drm, Gallium or D3D are
25
 
options we are interested in for the future.
26
 
 
27
 
--
28
 
REQUIREMENTS
29
 
-------------------------------------------------------------------------------
30
 
 
31
 
Cogl currently only requires:
32
 
 
33
 
  • GLib ≥ 2.28.0
34
 
  • OpenGL ≥ 1.3 (or 1.2 + multitexturing), or OpenGL ES 2.0 (or 1.1)
35
 
  • GLX, AGL, WGL or an EGL implementation
36
 
 
37
 
Cogl also has optional dependencies:
38
 
 
39
 
  • GDK-Pixbuf ≥ 2.0
40
 
     - for image loading
41
 
  • Cairo ≥ 1.10
42
 
     - for debugging texture atlasing (debug builds only)
43
 
 
44
 
The optional Cogl Pango library requires:
45
 
  • Cairo ≥ 1.10
46
 
  • PangoCairo ≥ 1.20
47
 
 
48
 
On X11, Cogl depends on the following extensions
49
 
 
50
 
  • XComposite ≥ 0.4
51
 
  • XDamage
52
 
  • XExt
53
 
  • XFixes ≥ 3
54
 
 
55
 
When running with OpenGL, Cogl requires at least version 1.3
56
 
or 1.2 with the multitexturing extension. However to build Cogl
57
 
you will need the latest GL headers which can be obtained from:
58
 
 
59
 
  http://www.khronos.org
60
 
 
61
 
If you are building the API reference you will also need:
62
 
 
63
 
  • GTK-Doc ≥ 1.13
64
 
 
65
 
If you are building the additional documentation you will also need:
66
 
 
67
 
  • xsltproc
68
 
  • jw (optional, for generating PDFs)
69
 
 
70
 
If you are building the Introspection data you will also need:
71
 
 
72
 
  • GObject-Introspection ≥ 0.9.5
73
 
 
74
 
GObject-Introspection is available from:
75
 
 
76
 
  git://git.gnome.org/gobject-introspection
77
 
 
78
 
If you want support for profiling Cogl you will also need:
79
 
 
80
 
  • UProf ≥ 0.3
81
 
 
82
 
UProf is available from:
83
 
 
84
 
  git://github.com/rib/UProf.git
85
 
 
86
 
--
87
 
DOCUMENTATION
88
 
-------------------------------------------------------------------------------
89
 
 
90
 
The 1.x stable API is documented here:
91
 
 
92
 
  http://developer.gnome.org/cogl/stable/
93
 
 
94
 
The 1.x development API is documented here:
95
 
 
96
 
  http://developer.gnome.org/cogl/1.$(COGL_1_MINOR_VERSION)
97
 
 
98
 
The experimental 2.0 API is currently not hosted online but can be built
99
 
by passing the --enable-gtk-doc option to ./configure when building
100
 
and the documentation can then be found under
101
 
doc/reference/cogl-2.0-experimental/html/index.html
102
 
 
103
 
--
104
 
LICENSE
105
 
-------------------------------------------------------------------------------
106
 
 
107
 
Most of Cogl is licensed under the terms of the GNU Lesser General Public
108
 
License, version 2.1 or (at your option) later. Some files are licensed under
109
 
more permissive licenses MIT or BSD style licenses though so please see
110
 
individual files for details.
111
 
 
112
 
--
113
 
BUILDING AND INSTALLATION
114
 
-------------------------------------------------------------------------------
115
 
 
116
 
Please refer to the INSTALL document.
117
 
 
118
 
--
119
 
BUGS
120
 
-------------------------------------------------------------------------------
121
 
 
122
 
Please report bugs here:
123
 
 
124
 
  http://bugzilla.gnome.org/enter_bug.cgi?product=cogl
125
 
 
126
 
You will need a Bugzilla account.
127
 
 
128
 
Please include the following in bug reports:
129
 
 
130
 
  • what system you're running Cogl on;
131
 
  • which version of Cogl you are using;
132
 
  • which version of GLib and OpenGL (or OpenGL ES) you are using;
133
 
  • which video card and which drivers you are using, including output of
134
 
    glxinfo and xdpyinfo (if applicable);
135
 
  • how to reproduce the bug.
136
 
 
137
 
If you cannot reproduce the bug with one of the tests that come with
138
 
Cogl's source code, it can help a lot to include a small test case
139
 
displaying the bad behaviour.
140
 
 
141
 
If the bug exposes a crash, the exact text printed out and a stack trace
142
 
obtained using gdb are greatly appreciated.
143
 
 
144
 
--
145
 
CONTRIBUTING
146
 
-------------------------------------------------------------------------------
147
 
 
148
 
The CODING_STYLE file describes the coding style we use throughout Cogl,
149
 
please try your best to conform to this style because the consistency
150
 
really helps keep the code maintainable.
151
 
 
152
 
We can accept contributions in several ways:
153
 
  • Either as patches attached to bugs on bugzilla
154
 
      - For this you may be interested in using git-bz.
155
 
 
156
 
        See http://git.fishsoup.net/man/git-bz.html for details
157
 
  • You can email us patches
158
 
      - For this we recommend using git-send-email
159
 
 
160
 
  • You can create a remote branch and ask us to pull from that for more
161
 
    substantial changes.
162
 
      - For this we recommend using github.
163
 
 
164
 
Ideally standalone patches should be created using git format-patch since
165
 
that makes it easiest to import the patch with a commit message into a
166
 
git repository.