Changed rendering to remove need for sampler names. 80/64680/1
authorDavid Steele <david.steele@samsung.com>
Wed, 2 Mar 2016 20:19:30 +0000 (20:19 +0000)
committerDavid Steele <david.steele@samsung.com>
Mon, 4 Apr 2016 15:09:35 +0000 (16:09 +0100)
commit151c243df781c5e8948268f60f009a2426ac60c6
tree51f585f4eaf745e0f171e58cdf4dc44b7b515e94
parent5ec86b45081ff6dd2f3b2555f465b10c9d64a697
Changed rendering to remove need for sampler names.

Used glGetActiveUniform to introspect the shader and get the sampler
uniforms. No longer need to store the sampler names with the textures.

The program now generates a list of active texture sampler locations;
The renderer has been changed to bind textures using the matching sampler index.

Affects test cases that check GL state for particular sampler names, as these
are no longer queried.

Change-Id: I194570eb3ec35160a18ee0aebb6f978805855b1a
Signed-off-by: David Steele <david.steele@samsung.com>
automated-tests/src/dali-devel/utc-Dali-Material.cpp
automated-tests/src/dali/dali-test-suite-utils/test-application.cpp
automated-tests/src/dali/dali-test-suite-utils/test-gl-abstraction.cpp
automated-tests/src/dali/dali-test-suite-utils/test-gl-abstraction.h
automated-tests/src/dali/utc-Dali-RenderTask.cpp
automated-tests/src/dali/utc-Dali-ShaderEffect.cpp
dali/internal/render/renderers/render-renderer.cpp
dali/internal/render/shaders/program.cpp
dali/internal/render/shaders/program.h