Go to file
Emmanuele Bassi 812aba31e7 winsys: Drop xlib_get_visual_info from the vtable
We don't need the hack any more; CoglRenderer has the appropriate API
for the Xlib-based winsys backends.
2015-07-22 20:28:19 +01:00
build MSVC Builds: Rename "Install" Projects 2015-03-06 17:48:51 +08:00
cogl winsys: Drop xlib_get_visual_info from the vtable 2015-07-22 20:28:19 +01:00
cogl-gles2 fix experimental pc files dep on cogl-1.0 2014-02-20 18:14:43 +00:00
cogl-gst cogl-gst-video-sink: Fix a call to g_return_val_if_fail 2014-03-21 15:30:30 +00:00
cogl-pango pango: Conditionally use deprecated API 2015-06-10 15:14:30 +01:00
cogl-path Update cogl.symbols and cogl-path.symbols 2014-04-16 12:32:16 +02:00
deps This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
doc Update doc/RELEASING notes 2015-02-23 19:45:11 +00:00
examples examples: Fix compiler warnings 2015-06-10 15:15:59 +01:00
po Updated Occitan translation 2015-05-30 20:25:50 +00:00
test-fixtures Add support for RG textures 2014-01-20 14:40:45 +00:00
tests build: Use a dot instead of source command 2015-06-11 00:59:21 +08:00
.gitignore Update .gitignore 2015-04-20 12:09:27 -07:00
.vimrc misc: Add a .vimrc file 2011-05-17 15:24:54 +01:00
autogen.sh Support automake 1.15 2015-01-29 15:46:19 +00:00
ChangeLog dist: Don't use elaborate script to gen Changelogs 2011-07-20 16:58:46 +01:00
cogl.doap Adds an initial cogl.doap file 2011-05-06 12:12:13 +01:00
config-custom.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
config.h.win32.in Update config.h.win32.in 2013-03-15 00:26:35 +08:00
configure.ac build: Drop -Werror for cast-align warnings 2015-06-10 17:51:03 +01:00
COPYING This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
Makefile.am Build and install cogl-path as a shared library 2013-12-11 18:49:19 +00:00
NEWS Update NEWS for the 1.20.0 release 2015-02-23 19:45:05 +00:00
README.in This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00

README for Cogl @COGL_1_VERSION@
===============================================================================

Note: This file is delimited with -- markers so it is possible to split
sections out for other purposes, such as for release notes.

--
DESCRIPTION
-------------------------------------------------------------------------------

Cogl is a small open source library for using 3D graphics hardware for
rendering. The API departs from the flat state machine style of OpenGL and is
designed to make it easy to write orthogonal components that can render without
stepping on each others toes.

As well as aiming for a nice API, we think having a single library as opposed
to an API specification like OpenGL has a few advantages too; like being
able to paper over the inconsistencies/bugs of different OpenGL
implementations in a centralized place, not to mention the myriad of OpenGL
extensions. It also means we are in a better position to provide utility
APIs that help software developers since they only need to be implemented
once and there is no risk of inconsistency between implementations.

Having other backends, besides OpenGL, such as drm, Gallium or D3D are
options we are interested in for the future.

--
REQUIREMENTS
-------------------------------------------------------------------------------

Cogl currently only requires:

  • OpenGL ≥ 1.3 (or 1.2 + multitexturing), or OpenGL ES 2.0 (or 1.1)
  • GLX, AGL, WGL or an EGL implementation

Cogl also has optional dependencies:

  • GLib ≥ @GLIB_REQ_VERSION@
     - for gtype integration
  • GDK-Pixbuf ≥ @GDK_PIXBUF_REQ_VERSION@
     - for image loading
  • Cairo ≥ @CAIRO_REQ_VERSION@
     - for debugging texture atlasing (debug builds only)

The optional Cogl Pango library requires:
  • Cairo ≥ @CAIRO_REQ_VERSION@
  • PangoCairo ≥ @PANGOCAIRO_REQ_VERSION@

The optional Cogl GStreamer library requires:

  • GStreamer 1.0

On X11, Cogl depends on the following extensions

  • XComposite ≥ @XCOMPOSITE_REQ_VERSION@
  • XDamage
  • XExt
  • XFixes ≥ @XFIXES_REQ_VERSION@

For the Wayland backend, Cogl requires:
  • Wayland ≥ @WAYLAND_REQ_VERSION@

When running with OpenGL, Cogl requires at least version 1.3
or 1.2 with the multitexturing extension. However to build Cogl
you will need the latest GL headers which can be obtained from:

  http://www.khronos.org

If you are building the API reference you will also need:

  • GTK-Doc ≥ @GTK_DOC_REQ_VERSION@

If you are building the additional documentation you will also need:

  • xsltproc
  • jw (optional, for generating PDFs)

If you are building the Introspection data you will also need:

  • GObject-Introspection ≥ @GI_REQ_VERSION@

GObject-Introspection is available from:

  git://git.gnome.org/gobject-introspection

If you want support for profiling Cogl you will also need:

  • UProf ≥ @UPROF_REQ_VERSION@

UProf is available from:

  git://github.com/rib/UProf.git

--
DOCUMENTATION
-------------------------------------------------------------------------------

The 1.x stable API is documented here:

  http://developer.gnome.org/cogl/stable/

The 1.x development API is documented here:

  http://developer.gnome.org/cogl/1.@COGL_1_MINOR_VERSION@

The experimental 2.0 API is documented here:

  http://cogl3d.org/cogl2-reference/

--
LICENSE
-------------------------------------------------------------------------------
Most of Cogl is licensed under the terms of the MIT license. There are
also some files under the SGI Free Software License B, version 2.0,
cogl-point-in-poly.c is under a 3 clause BSD license and stb_image.c
is public domain. Please see individual files for details.

deps/glib is licensed under the LGPL (please see individual files for
details and deps/glib/COPYING for a copy of the LGPL license) This
code is only referenced when building Cogl with the --enable-standalone
configure option.

--
BUILDING AND INSTALLATION
-------------------------------------------------------------------------------

Please refer to the INSTALL document.

--
BUGS
-------------------------------------------------------------------------------

Please report bugs here:

  http://bugzilla.gnome.org/enter_bug.cgi?product=cogl

You will need a Bugzilla account.

Please include the following in bug reports:

  • what system you're running Cogl on;
  • which version of Cogl you are using;
  • which version of GLib and OpenGL (or OpenGL ES) you are using;
  • which video card and which drivers you are using, including output of
    glxinfo and xdpyinfo (if applicable);
  • how to reproduce the bug.

If you cannot reproduce the bug with one of the tests that come with
Cogl's source code, it can help a lot to include a small test case
displaying the bad behaviour.

If the bug exposes a crash, the exact text printed out and a stack trace
obtained using gdb are greatly appreciated.

--
CONTRIBUTING
-------------------------------------------------------------------------------

The CODING_STYLE file describes the coding style we use throughout Cogl,
please try your best to conform to this style because the consistency
really helps keep the code maintainable.

We can accept contributions in several ways:
  • Either as patches attached to bugs on bugzilla
      - For this you may be interested in using git-bz.

        See http://git.fishsoup.net/man/git-bz.html for details
  • You can email us patches
      - For this we recommend using git-send-email

  • You can create a remote branch and ask us to pull from that for more
    substantial changes.
      - For this we recommend using github.

Ideally standalone patches should be created using git format-patch since
that makes it easiest to import the patch with a commit message into a
git repository.