Remove the fragment shader generation from the GLES2 wrapper
authorNeil Roberts <neil@linux.intel.com>
Tue, 23 Nov 2010 14:47:17 +0000 (14:47 +0000)
committerNeil Roberts <neil@linux.intel.com>
Wed, 24 Nov 2010 18:06:44 +0000 (18:06 +0000)
commita50010fb408294dce2d1205fe3a70aeead39c192
tree407c83429569ecce402035c70202d83b457f69ed
parent987e3c32dc733b5f6942a10651750080730272e6
Remove the fragment shader generation from the GLES2 wrapper

The GLES2 wrapper no longer needs to generate any fragment shader
state because the GLSL pipeline backend will always give the wrapper a
custom fragment shader. This simplifies a lot of the state comparison
done by the wrapper. The fog generation is also removed even though
it's actually part of the vertex shader because only the fixed
function pipeline backend actually calls the fog functions so it would
be disabled when using any of the other backends anyway. We can fix
this when the two shader backends also start generating vertex
shaders.
clutter/cogl/cogl/Makefile.am
clutter/cogl/cogl/cogl-pipeline-opengl.c
clutter/cogl/cogl/driver/gles/cogl-fixed-fragment-shader.glsl [deleted file]
clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.c
clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.h