~linaro-graphics-wg/compiz-core/linaro-gles2-debianpatches

Viewing all changes in revision 2916.

  • Committer: Alexandros Frantzis
  • Date: 2012-04-02 16:51:48 UTC
  • Revision ID: alexandros.frantzis@linaro.org-20120402165148-835qvb3un5vyb2uy
opengl: Refactor shader infrastructure to use small, performant programs.

This commit replaces the single complicated shader with minimal,
performant shaders, tailored to specific use cases. The new GLShaderCache
object is used for creating and caching the shader data for specific uses
cases (GLShaderParameters).

This commit also adds automatic creation of suitable GL programs in
GLVertexBuffers (see ::setAutoProgram) that don't have a program
explicitly set.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: