cogl-atlas-texture: Use a single atlas for both RGB and RGBA textures
authorNeil Roberts <neil@linux.intel.com>
Fri, 29 Jan 2010 12:19:42 +0000 (12:19 +0000)
committerNeil Roberts <neil@linux.intel.com>
Mon, 1 Feb 2010 13:27:29 +0000 (13:27 +0000)
commit72fba19eac68ffa30c3f60aeecfdbfa6a2da7bd4
treee9120bb85c9e42bf3ff1c8cd98698f3d72b86763
parent996614cfaf582bbfbf86874a95b4a7eef3c50630
cogl-atlas-texture: Use a single atlas for both RGB and RGBA textures

The internal format of the atlas texture is still set to the
appropriate format so Cogl will disable blending for textures that are
intended to be RGB. This should end up ignoring the alpha channel from
the texture in the atlas. This makes the code slightly easier to
maintain and should also improve the chances of batching.
clutter/cogl/cogl/cogl-atlas-texture.c
clutter/cogl/cogl/cogl-context.c
clutter/cogl/cogl/cogl-context.h