Merge branch 'more-texture-backends'
authorNeil Roberts <neil@linux.intel.com>
Sat, 6 Feb 2010 00:20:07 +0000 (00:20 +0000)
committerNeil Roberts <neil@linux.intel.com>
Sat, 6 Feb 2010 00:20:32 +0000 (00:20 +0000)
commit830f2402d4f49b7173eb7fa0bda5762a4c430c9a
tree25c56682a79aca6692b20219aa1ed43f6a5fe16d
parent1bdc3db9ab54316f5f313dc3e991f3a621e83586
parent6b1b27d4f894cbefc90601eaf6214b55a71834b7
Merge branch 'more-texture-backends'

This adds three new texture backends.

- CoglTexture2D: This is a trimmed down version of CoglTexture2DSliced
  which only supports a single texture and only works with the
  GL_TEXTURE_2D target. The code is a lot simpler so it has a less
  overheads than dealing with slices. Cogl will use this wherever
  possible.

- CoglSubTexture: This is used to get a CoglHandle to represent a
  subregion of another texture. The texture can be used as if it was a
  standalone texture but it does not need to copy the resources.

- CoglAtlasTexture: This collects RGB and RGBA textures into a single
  GL texture with the aim of reducing texture state changes and
  increasing batching. The backend will try to manage the atlas and
  may move the textures around to close gaps in the texture. By
  default all textures will be placed in the atlas.
clutter/cogl/cogl/cogl-journal.c
clutter/cogl/cogl/cogl-vertex-buffer.c
tests/conform/Makefile.am
tests/conform/test-conform-main.c