Adds flags in  GLProgram to prevent sending uneeded uniforms
Merge pull request #4038 from ricardoquesada/perf_glprogram

Adds flags in  GLProgram to prevent sending uneeded uniforms