separate iOS centric OpenGL code and generic ES 2.0 code