Go to file
Emmanuele Bassi c91621e8c2 gdk: Use the Cogl visual on Xlib winsys
GDK 3.16 started selecting different visuals, to best comply with the
requirements for OpenGL, and this has broken Clutter on GLX drivers that
are fairly picky in how they select visuals and GLXFBConfig.

GDK selects GLXFBConfig that do not include depth or stencil buffers;
Cogl, on the other hand, needs both depth and stencil buffers, and keeps
selecting the first available visual, assuming that the GLX driver will
give us the best compliant one, as per specification. Sadly, some
drivers will return incompatible configurations, and then bomb out when
you try to embed Clutter inside GTK+, because of mismatched visuals.

Cogl has an old, deprecated, Clutter-only API that allows us to retrieve
the XVisualInfo mapping to the GLXFBConfig it uses; this means we should
look up the GdkVisual for it when creating our own GdkWindows, instead
of relying on the RGBA and system GdkVisuals exposed by GDK — at least
on X11.

https://bugzilla.gnome.org/show_bug.cgi?id=747489
2015-06-10 19:06:25 +01:00
build build: Fix the URLs in the release email template 2015-05-12 11:51:04 +01:00
clutter gdk: Use the Cogl visual on Xlib winsys 2015-06-10 19:06:25 +01:00
doc Move API reference down one level 2015-05-19 15:27:30 +01:00
examples examples: Add transparency to the rounded rectangle 2015-04-30 13:04:32 +01:00
po Updated Czech translation 2015-05-18 13:56:25 +02:00
tests tests: Remove calls to clutter_x11_enable_xinput() 2015-04-23 20:18:25 +01:00
.gitignore Move API reference down one level 2015-05-19 15:27:30 +01:00
autogen.sh build: Drop version check on auto* 2012-05-11 17:37:20 +01:00
ChangeLog.pre-git-import build: Put back ChangeLog.pre-git-import to unbreak distcheck 2011-06-13 23:15:17 +01:00
clutter.doap doap category core 2014-09-19 12:38:54 +01:00
configure.ac build: No need to conditionally include -Wshadow 2015-06-10 14:01:32 +01:00
COPYING Update the COPYING file 2011-08-15 17:16:54 +01:00
Makefile.am Fully rework the conformance test suite 2013-12-12 18:51:11 +00:00
NEWS Release Clutter 1.22.0 (stable) 2015-03-23 11:07:05 +00:00
README.in Drop the UProf dependency 2015-03-03 17:44:15 +00:00
README.md Drop the UProf dependency 2015-03-03 17:44:15 +00:00

Clutter

What is Clutter?

Clutter is an open source software library for creating fast, compelling, portable, and dynamic graphical user interfaces.

Requirements

Clutter currently requires:

On X11, Clutter depends on the following extensions:

  • XComposite
  • XDamage
  • XExt
  • XInput 2.x
  • XKB

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

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:

Resources

The official Clutter website is:

    http://www.clutter-project.org/

The API references for the latest stable release are available at:

    https://developer.gnome.org/clutter/stable/

The Clutter Cookbook is available at:

    https://developer.gnome.org/clutter-cookbook/

New releases of Clutter are available at:

    https://download.gnome.org/sources/clutter/

To subscribe to the Clutter mailing lists and read the archives, use the Mailman web interface available at:

    https://mail.gnome.org/mailman/listinfo/clutter-list

New bug page on Bugzilla:

    https://bugzilla.gnome.org/enter_bug.cgi?product=clutter

Clutter is licensed under the terms of the GNU Lesser General Public License, version 2.1 or (at your option) later: see the COPYING file for more information.

Building and Installation

To build Clutter from a release tarball, the usual autotool triad should be followed:

  1. ./configure
  2. make
  3. make install

To build Clutter from a Git clone, run the autogen.sh script instead of the configure one. The autogen.sh script will run the configure script for you, unless the NOCONFIGURE environment variable is set to a non-empty value.

See also the BuildingClutter page on the wiki.

Versioning

Clutter uses the common "Linux kernel" versioning system, where even-numbered minor versions are stable and odd-numbered minor versions are development snapshots.

Different major versions break both API and ABI but are parallel installable. The same major version with differing minor version is expected to be ABI compatible with other minor versions; differing micro versions are meant just for bug fixing. On odd minor versions the newly added API might still change.

The micro version indicates the origin of the release: even micro numbers are only used for released archives; odd micro numbers are only used on the Git repository.

Contributing

If you want to hack on and improve Clutter check the HACKING file for general implementation guidelines, and the HACKING.backends for backend-specific implementation issues.

The CODING_STYLE file contains the rules for writing code conformant to the style guidelines used throughout Clutter. Remember: the coding style is mandatory; patches not conforming to it will be rejected by default.

The usual workflow for contributions should be:

  1. Fork the repository
  2. Create a branch (git checkout -b my_work)
  3. Commit your changes (git commit -am "Added my awesome feature")
  4. Push to the branch (git push origin my_work)
  5. Create an Bug with a link to your branch
  6. Sit back, relax and wait for feedback and eventual merge

Bugs

Bugs should be reported to the Clutter Bugzilla at:

    https://bugzilla.gnome.org/enter_bug.cgi?product=clutter

You will need a Bugzilla account.

In the report you should include:

  • what system you're running Clutter on;
  • which version of Clutter 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 Clutter source code, you should 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.