mirror of
https://github.com/brl/mutter.git
synced 2024-12-28 05:42:14 +00:00
c50935edca
- In cogl-material.h it directly sets the values of the CoglMaterialLayerCombineFunc to some GL_* constants. However these aren't defined in GLES 2 beacuse it has no fixed function texture combining. Instead the CGL_* versions are now used. cogl-defines.h now sets these to either the GL_* version if it is available, otherwise it directly uses the number. - Under GLES 2 cogl-material.c needs to access the CoglTexture struct so it needs to include cogl-texture-private.h - There are now #define's in cogl-gles2-wrapper.h to remap the GL function names to the wrapper names. These are disabled in cogl-gles2-wrapper.c by defining COGL_GLES2_WRAPPER_NO_REMAP. - Added missing wrappers for glLoadMatrixf and glMaterialfv. - Renamed the TexEnvf wrapper to TexEnvi because the latter is used instead from the material API. |
||
---|---|---|
.. | ||
cogl-bitmap-fallback.c | ||
cogl-bitmap-pixbuf.c | ||
cogl-bitmap.c | ||
cogl-bitmap.h | ||
cogl-clip-stack.c | ||
cogl-clip-stack.h | ||
cogl-color.c | ||
cogl-fixed.c | ||
cogl-handle.h | ||
cogl-material-private.h | ||
cogl-material.c | ||
cogl-matrix.c | ||
cogl-primitives.c | ||
cogl-primitives.h | ||
cogl-util.c | ||
cogl-util.h | ||
cogl-vertex-buffer-private.h | ||
cogl-vertex-buffer.c | ||
Makefile.am | ||
stb_image.c |