1
0
Fork 0
mutter-performance-source/cogl/driver/gl
Robert Bragg 01937201e4 Unify a lot of gles2 vs gl glsl code
Since we used to support hybrid fixed-function + glsl pipelines when
running with OpenGL there were numerous differences in how we handled
codegen and uniform updates between GLES2 and full OpenGL. Now that we
only support end-to-end glsl pipelines this patch can largely unify how
we handle GLES2 and OpenGL.

Most notably we now never use the builtin attribute names. This should
also make it easy for us to support creating strict OpenGL 3.1 contexts
where the builtin names have been removed.

Reviewed-by: Neil Roberts <neil@linux.intel.com>

(cherry picked from commit 2701b93f159bf2d3387cedf2d06fe921ad5641f3)
2013-01-22 17:48:01 +00:00
..
gl Unify a lot of gles2 vs gl glsl code 2013-01-22 17:48:01 +00:00
gles check the glsl version during init 2013-01-22 17:48:01 +00:00
cogl-attribute-gl-private.h buffer: splits out GL specific code 2013-01-22 17:47:59 +00:00
cogl-attribute-gl.c Unify a lot of gles2 vs gl glsl code 2013-01-22 17:48:01 +00:00
cogl-buffer-gl-private.h buffer: splits out GL specific code 2013-01-22 17:47:59 +00:00
cogl-buffer-gl.c buffer: splits out GL specific code 2013-01-22 17:47:59 +00:00
cogl-clip-stack-gl-private.h clip-stack: Splits out opengl specific code 2013-01-22 17:47:59 +00:00
cogl-clip-stack-gl.c clip-stack: Splits out opengl specific code 2013-01-22 17:47:59 +00:00
cogl-framebuffer-gl-private.h Adds CoglError api 2013-01-22 17:47:39 +00:00
cogl-framebuffer-gl.c buffer: splits out GL specific code 2013-01-22 17:47:59 +00:00
cogl-pipeline-fragend-fixed-private.h Re-organize the source layout 2013-01-22 17:47:19 +00:00
cogl-pipeline-fragend-fixed.c Clearly define 3 progends that own the frag+vertends 2013-01-22 17:48:00 +00:00
cogl-pipeline-fragend-glsl-private.h Re-organize the source layout 2013-01-22 17:47:19 +00:00
cogl-pipeline-fragend-glsl.c Unify a lot of gles2 vs gl glsl code 2013-01-22 17:48:01 +00:00
cogl-pipeline-opengl-private.h Re-organize the source layout 2013-01-22 17:47:19 +00:00
cogl-pipeline-opengl.c Unify a lot of gles2 vs gl glsl code 2013-01-22 17:48:01 +00:00
cogl-pipeline-progend-fixed-private.h Re-organize the source layout 2013-01-22 17:47:19 +00:00
cogl-pipeline-progend-fixed.c Clearly define 3 progends that own the frag+vertends 2013-01-22 17:48:00 +00:00
cogl-pipeline-progend-glsl-private.h Re-organize the source layout 2013-01-22 17:47:19 +00:00
cogl-pipeline-progend-glsl.c Unify a lot of gles2 vs gl glsl code 2013-01-22 17:48:01 +00:00
cogl-pipeline-vertend-fixed-private.h Re-organize the source layout 2013-01-22 17:47:19 +00:00
cogl-pipeline-vertend-fixed.c Clearly define 3 progends that own the frag+vertends 2013-01-22 17:48:00 +00:00
cogl-pipeline-vertend-glsl-private.h Re-organize the source layout 2013-01-22 17:47:19 +00:00
cogl-pipeline-vertend-glsl.c Unify a lot of gles2 vs gl glsl code 2013-01-22 17:48:01 +00:00
cogl-texture-2d-gl-private.h Fix a warning in the vtable for texture_2d_get_data 2013-01-22 17:48:00 +00:00
cogl-texture-2d-gl.c Fix a warning in the vtable for texture_2d_get_data 2013-01-22 17:48:00 +00:00