[gles] Adds shader to render primitives with per-vertex color. Refactors GL calls