Evas GL common: Call glGetUniformLocation as early as possible
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 11 Feb 2015 12:13:13 +0000 (21:13 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 12 Feb 2015 02:23:03 +0000 (11:23 +0900)
commit7e26c305220b4dd8e7e2a85b7b50444e855e26fe
treef22a61bc1f2423690018d152c680b8750afbaafc
parent986b60eaf0175b3592883c85cfb6f5f5a280f31d
Evas GL common: Call glGetUniformLocation as early as possible

This should speed up setting uniforms in the shaders, by storing
their locations in the Evas_GL_Program description.

I kept the previous solution with name as fallback, but it won't
actually be used with the current shaders.
src/modules/evas/engines/gl_common/evas_gl_common.h
src/modules/evas/engines/gl_common/evas_gl_context.c
src/modules/evas/engines/gl_common/evas_gl_shader.c