559495caf7
uniforms for alpha testing. * clutter/cogl/gles/cogl-gles2-wrapper.c (cogl_gles2_wrapper_init): Get the uniforms for alpha testing settings. (cogl_wrap_glEnable, cogl_wrap_glDisable): Enable/disable alpha testing. (cogl_wrap_glAlphaFunc): Filled in the wrapper. * clutter/cogl/gles/cogl-fixed-fragment-shader.glsl: Added alpha testing. * clutter/cogl/gles/cogl-gles2-wrapper.h: * clutter/cogl/gles/cogl-gles2-wrapper.c (cogl_wrap_glGetIntegerv): Added a wrapper for glGetIntegerv so that it can report zero clip planes. * clutter/cogl/gles/cogl.c: * clutter/cogl/gles/cogl-texture.c: Use the wrapped version of glGetIntegerv * clutter/cogl/gles/cogl-primitives.c (_cogl_path_fill_nodes): Use _cogl_features_available to check for the stencil buffer instead of an #ifdef. The stencil buffer is available in the default profile for the GLES 2 simulator. |
||
---|---|---|
.. | ||
cogl-context.c | ||
cogl-context.h | ||
cogl-defines.h.in | ||
cogl-fbo.c | ||
cogl-fbo.h | ||
cogl-fixed-fragment-shader.glsl | ||
cogl-fixed-vertex-shader.glsl | ||
cogl-gles2-wrapper.c | ||
cogl-gles2-wrapper.h | ||
cogl-internal.h | ||
cogl-primitives.c | ||
cogl-texture.c | ||
cogl-texture.h | ||
cogl-util.c | ||
cogl-util.h | ||
cogl.c | ||
Makefile.am | ||
stringify.sh |