mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
bc8a18ebc3
Setting up layer combine functions and blend modes is very awkward to do programatically. This adds a parser for string based descriptions which are more consise and readable. E.g. a material layer combine function could now be given as: "RGBA = ADD (TEXTURE[A], PREVIOUS[RGB])" or "RGB = REPLACE (PREVIOUS)" "A = MODULATE (PREVIOUS, TEXTURE)" The simple syntax and grammar are only designed to expose standard fixed function hardware, more advanced combining must be done with shaders. This includes standalone documentation of blend strings covering the aspects that are common to blending and texture combining, and adds documentation with examples specific to the new cogl_material_set_blend() and cogl_material_layer_set_combine() functions. Note: The hope is to remove the now redundant bits of the material API before 1.0 |
||
---|---|---|
common | ||
doc/reference/cogl | ||
gl | ||
gles | ||
cogl-bitmap.h | ||
cogl-color.h | ||
cogl-debug.h | ||
cogl-deprecated.h | ||
cogl-fixed.h | ||
cogl-material.h | ||
cogl-matrix.h | ||
cogl-offscreen.h | ||
cogl-path.h | ||
cogl-shader.h | ||
cogl-texture.h | ||
cogl-types.h | ||
cogl-vertex-buffer.h | ||
cogl.h.in | ||
cogl.pc.in | ||
Makefile.am | ||
TODO |