Abstract out some sdl/ogl rendering methods like global uniforms