Reduce our internal dependence on the Cogl 1.x api
authorRobert Bragg <robert@linux.intel.com>
Tue, 21 Feb 2012 15:55:51 +0000 (15:55 +0000)
committerRobert Bragg <robert@linux.intel.com>
Tue, 21 Feb 2012 17:46:11 +0000 (17:46 +0000)
commita8e631543e6e34b40b4a7ae1e345a80db23e6b4d
tree3b9d90f9719b52f42b1248ae0ac990d57a5464d0
parenteff95eba4a2e15124eb38a3d1984c6725efcbe4d
Reduce our internal dependence on the Cogl 1.x api

Since Cogl has started restricting what cogl 1.x api is exposed when
COGL_ENABLE_EXPERIMENTAL_2_0_API is defined and since we build all
Clutter internals with COGL_ENABLE_EXPERIMENTAL_2_0_API defined this
patch makes a first pass at reducing our internal use of the Cogl 1.x
api.

The most notable api that's no longer exposed to us internally is
the cogl_material_ api so this switches all Clutter internals to use the
cogl_pipeline_ api instead. This patch also makes quite a bit of
progress removing internal uses of CoglHandle although there is still
more to go.
12 files changed:
clutter/Makefile.am
clutter/clutter-cogl-compat.h [new file with mode: 0644]
clutter/clutter-offscreen-effect.c
clutter/clutter-offscreen-effect.h
clutter/clutter-path.c
clutter/clutter-shader-effect.c
clutter/clutter-stage-window.h
clutter/clutter-texture.c
clutter/deprecated/clutter-fixed.c
clutter/deprecated/clutter-shader.c
clutter/x11/clutter-x11-texture-pixmap.c
tests/conform/test-cogl-materials.c