mutter/clutter/cogl/common
Robert Bragg 40b0bb4e95 Adds a CoglMaterial abstraction, which includes support for multi-texturing
My previous work to provide muti-texturing support has been extended into
a CoglMaterial abstraction that adds control over the texture combine
functions (controlling how multiple texture layers are blended together),
the gl blend function (used for blending the final primitive with the
framebuffer), the alpha function (used to discard fragments based on
their alpha channel), describing attributes such as a diffuse, ambient and
specular color (for use with the standard OpenGL lighting model), and
per layer rotations. (utilizing the new CoglMatrix utility API)

For now the only way this abstraction is exposed is via a new
cogl_material_rectangle function, that is similar to cogl_texture_rectangle
but doesn't take a texture handle (the source material is pulled from
the context), and the array of texture coordinates is extended to be able
to supply coordinates for each layer.

Note: this function doesn't support sliced textures; supporting sliced
textures is a non trivial problem, considering the ability to rotate layers.
Note: cogl_material_rectangle, has quite a few workarounds, for a number of
other limitations within Cogl a.t.m.
Note: The GLES1/2 multi-texturing support has yet to be updated to use
the material abstraction.
2008-12-22 16:35:52 +00:00
..
cogl-bitmap-fallback.c 2008-06-30 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-30 14:20:46 +00:00
cogl-bitmap-pixbuf.c 2008-08-27 Emmanuele Bassi <ebassi@openedhand.com> 2008-08-27 12:56:54 +00:00
cogl-bitmap.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
cogl-bitmap.h Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
cogl-clip-stack.c Bug 1172 - Disjoint paths and clip to path 2008-12-04 13:45:09 +00:00
cogl-clip-stack.h Bug 1172 - Disjoint paths and clip to path 2008-12-04 13:45:09 +00:00
cogl-color.c 2008-11-12 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-12 13:57:58 +00:00
cogl-fixed.c * clutter/cogl/gles/cogl.c (cogl_perspective): 2008-11-06 11:42:11 +00:00
cogl-handle.h [multi-texturing] This adds a new cogl_multi_texture API for GL,GLES1 + GLES2 2008-12-22 16:35:51 +00:00
cogl-material-private.h Adds a CoglMaterial abstraction, which includes support for multi-texturing 2008-12-22 16:35:52 +00:00
cogl-material.c Adds a CoglMaterial abstraction, which includes support for multi-texturing 2008-12-22 16:35:52 +00:00
cogl-matrix.c Adds CoglMatrix utility code 2008-12-22 16:35:52 +00:00
cogl-mesh-private.h Bug 1164 - Implements the proposed Mesh API 2008-11-10 18:53:14 +00:00
cogl-mesh.c * clutter/cogl/gl/cogl.c: 2008-12-10 12:13:20 +00:00
cogl-primitives.c Bug 1172 - Disjoint paths and clip to path 2008-12-04 13:45:09 +00:00
cogl-primitives.h Bug 1172 - Disjoint paths and clip to path 2008-12-04 13:45:09 +00:00
cogl-util.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
cogl-util.h Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
Makefile.am Adds a CoglMaterial abstraction, which includes support for multi-texturing 2008-12-22 16:35:52 +00:00
stb_image.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00