Cleanup of the renderers and shader, reduces parameters passed to renderers and shader so saves some CPU time and ROM size, remove duplicate code.
1. move Matrix and Color uniform setters to Renderer base class (reduces the number of parameter to derived renderers)
2. rename Shader::Apply to SetUniforms and move the call to base Renderer class from (removes parameters and code duplication)
4. perform culling first in base renderer Render method so we avoid any GL state changes if renderer is culled (previously we enabled blending etc)
5. remove MVP matrix from Shader as it has no use there anymore
6. rename GetGeometryTypes to ResolveGeometryTypes as its not just-a-getter. Remove duplicate calls to it from text and mesh renderers (removes code duplication)
7. removed implementation of dynamics debug renderer as it was a uncommented hack.
Change-Id: I1bcd57c205ff54cad7f6f3fd23561d568c1d9802
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>