mutter/clutter/cogl/gles
Neil Roberts d4da3a3e2a * clutter/cogl/gles/cogl-gles2-wrapper.h:
* clutter/cogl/gles/cogl-gles2-wrapper.c: All of the settings and
	uniforms are now proxied into COGL variables instead of setting
	the GL uniforms directly. Just before glDrawArrays is executed a
	shader is generated using the given settings to avoid using 'if'
	statements. The shaders are cached.

	* clutter/cogl/gles/cogl-fixed-vertex-shader.glsl: 
	* clutter/cogl/gles/cogl-fixed-fragment-shader.glsl: The shaders
	are now split into parts using comments instead of 'if' statements
	so that the simplest shader can be generated on the fly.

	* clutter/cogl/gles/stringify.sh: Now splits up the shader sources
	into separate C strings where deliminated by special comments.

	* clutter/cogl/gles/cogl-program.h: 
	* clutter/cogl/gles/cogl-program.c: A custom shader can no longer
	be directly linked with the fixed-functionality replacement
	because the replacement changes depending on the settings. Instead
	the bound shader is linked with the appropriate replacement shader
	just before glDrawArrays is executed. The custom uniform variables
	must also be proxied through COGL variables because their location
	can change when relinked.
2008-06-24 16:21:40 +00:00
..
cogl-context.c
cogl-context.h Bug 918 - Group doesn't clip if it's children are clipped 2008-06-23 14:57:36 +00:00
cogl-defines.h.in
cogl-fbo.c 2008-06-23 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-23 11:01:30 +00:00
cogl-fbo.h
cogl-fixed-fragment-shader.glsl * clutter/cogl/gles/cogl-gles2-wrapper.h: 2008-06-24 16:21:40 +00:00
cogl-fixed-vertex-shader.glsl * clutter/cogl/gles/cogl-gles2-wrapper.h: 2008-06-24 16:21:40 +00:00
cogl-gles2-wrapper.c * clutter/cogl/gles/cogl-gles2-wrapper.h: 2008-06-24 16:21:40 +00:00
cogl-gles2-wrapper.h * clutter/cogl/gles/cogl-gles2-wrapper.h: 2008-06-24 16:21:40 +00:00
cogl-internal.h
cogl-primitives.c Bug 918 - Group doesn't clip if it's children are clipped 2008-06-23 14:57:36 +00:00
cogl-program.c * clutter/cogl/gles/cogl-gles2-wrapper.h: 2008-06-24 16:21:40 +00:00
cogl-program.h * clutter/cogl/gles/cogl-gles2-wrapper.h: 2008-06-24 16:21:40 +00:00
cogl-shader.c
cogl-shader.h
cogl-texture.c 2008-06-23 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-23 11:01:30 +00:00
cogl-texture.h
cogl-util.c
cogl-util.h
cogl.c Bug 918 - Group doesn't clip if it's children are clipped 2008-06-23 14:57:36 +00:00
Makefile.am
stringify.sh * clutter/cogl/gles/cogl-gles2-wrapper.h: 2008-06-24 16:21:40 +00:00